-
Notifications
You must be signed in to change notification settings - Fork 214
Description
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.
commit: a8c8f53
buildURL: Build Status, Sponge
status: failed
Test output
args = (subscription: "projects/python-docs-samples-tests/subscriptions/subscription-test-subscription-sync-3.6-8ab05006868a4f46bddd415f7708ed69"
,)
kwargs = {'metadata': [('x-goog-request-params', 'subscription=projects/python-docs-samples-tests/subscriptions/subscription-te...c-3.6-8ab05006868a4f46bddd415f7708ed69'), ('x-goog-api-client', 'gl-python/3.6.12 grpc/1.35.0 gax/1.26.0 gccl/2.3.0')]}
@six.wraps(callable_)
def error_remapped_callable(*args, **kwargs):
try:
return callable_(*args, **kwargs)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py:73:
self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f42792e3c18>
request = subscription: "projects/python-docs-samples-tests/subscriptions/subscription-test-subscription-sync-3.6-8ab05006868a4f46bddd415f7708ed69"
timeout = None
metadata = [('x-goog-request-params', 'subscription=projects/python-docs-samples-tests/subscriptions/subscription-test-subscripti...nc-3.6-8ab05006868a4f46bddd415f7708ed69'), ('x-goog-api-client', 'gl-python/3.6.12 grpc/1.35.0 gax/1.26.0 gccl/2.3.0')]
credentials = None, wait_for_ready = None, compression = None
def __call__(self,
request,
timeout=None,
metadata=None,
credentials=None,
wait_for_ready=None,
compression=None):
state, call, = self._blocking(request, timeout, metadata, credentials,
wait_for_ready, compression)
return _end_unary_response_blocking(state, call, False, None)
.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py:923:
state = <grpc._channel._RPCState object at 0x7f427809b2e8>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f4279284388>
with_call = False, deadline = None
def _end_unary_response_blocking(state, call, with_call, deadline):
if state.code is grpc.StatusCode.OK:
if with_call:
rendezvous = _MultiThreadedRendezvous(state, call, None, deadline)
return state.response, rendezvous
else:
return state.response
else:
raise _InactiveRpcError(state)
E grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E status = StatusCode.UNKNOWN
E details = "Stream removed"
E debug_error_string = "{"created":"@1612957834.768279909","description":"Error received from peer ipv4:74.125.195.95:443","file":"src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"Stream removed","grpc_status":2}"
E >
.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py:826: _InactiveRpcError
The above exception was the direct cause of the following exception:
subscriber_client = <google.cloud.pubsub_v1.SubscriberClient object at 0x7f4279256e10>
topic = 'projects/python-docs-samples-tests/topics/subscription-test-topic-3.6-8ab05006868a4f46bddd415f7708ed69'
@pytest.fixture(scope="session")
def subscription_sync(subscriber_client, topic):
subscription_path = subscriber_client.subscription_path(
PROJECT_ID, SUBSCRIPTION_SYNC
)
try:
subscription = subscriber_client.get_subscription(
request={"subscription": subscription_path}
)
except NotFound:
subscription = subscriber_client.create_subscription(
request={"name": subscription_path, "topic": topic}
)
yield subscription.name
subscriber_client.delete_subscription(request={"subscription": subscription.name})
subscriber_test.py:116:
../../google/cloud/pubsub_v1/_gapic.py:40: in
fx = lambda self, *a, **kw: wrapped_fx(self.api, *a, **kw) # noqa
../../google/pubsub_v1/services/subscriber/client.py:813: in delete_subscription
request, retry=retry, timeout=timeout, metadata=metadata,
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py:145: in call
return wrapped_func(*args, **kwargs)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py:286: in retry_wrapped_func
on_error=on_error,
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py:184: in retry_target
return target()
args = (subscription: "projects/python-docs-samples-tests/subscriptions/subscription-test-subscription-sync-3.6-8ab05006868a4f46bddd415f7708ed69"
,)
kwargs = {'metadata': [('x-goog-request-params', 'subscription=projects/python-docs-samples-tests/subscriptions/subscription-te...c-3.6-8ab05006868a4f46bddd415f7708ed69'), ('x-goog-api-client', 'gl-python/3.6.12 grpc/1.35.0 gax/1.26.0 gccl/2.3.0')]}
@six.wraps(callable_)
def error_remapped_callable(*args, **kwargs):
try:
return callable_(*args, **kwargs)
except grpc.RpcError as exc:
six.raise_from(exceptions.from_grpc_error(exc), exc)
E google.api_core.exceptions.Unknown: None Stream removed
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py:75: Unknown