-
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-8ab05006868a4...aSc5XxEAU0VZfFtRGx9ZXH5VBlgEEXV5ZnZvUhAEA0dRfHfTtJ20vNiDNEsxIbrd3sRcernfwO9hZhs9XBJLLD5-NTBFQV5AEkw-BURJUytDCypYEU4"
,)
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 0x7f42781dd2e8>
request = subscription: "projects/python-docs-samples-tests/subscriptions/subscription-test-subscription-sync-3.6-8ab05006868a4f...V6aSc5XxEAU0VZfFtRGx9ZXH5VBlgEEXV5ZnZvUhAEA0dRfHfTtJ20vNiDNEsxIbrd3sRcernfwO9hZhs9XBJLLD5-NTBFQV5AEkw-BURJUytDCypYEU4"
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 0x7f427816a0b8>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f42781d6648>
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":"@1612957817.425078466","description":"Error received from peer ipv4:74.125.142.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:
publisher_client = <google.cloud.pubsub_v1.PublisherClient object at 0x7f42791f2518>
topic = 'projects/python-docs-samples-tests/topics/subscription-test-topic-3.6-8ab05006868a4f46bddd415f7708ed69'
subscription_sync = 'projects/python-docs-samples-tests/subscriptions/subscription-test-subscription-sync-3.6-8ab05006868a4f46bddd415f7708ed69'
capsys = <_pytest.capture.CaptureFixture object at 0x7f427920cb38>
def test_receive_synchronously_with_lease(
publisher_client, topic, subscription_sync, capsys
):
_publish_messages(publisher_client, topic)
subscriber.synchronous_pull_with_lease_management(PROJECT_ID, SUBSCRIPTION_SYNC)
subscriber_test.py:397:
subscriber.py:572: in synchronous_pull_with_lease_management
"ack_deadline_seconds": 15,
../../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:914: in modify_ack_deadline
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()
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py:75: in error_remapped_callable
six.raise_from(exceptions.from_grpc_error(exc), exc)
value = None
from_value = <InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "Stream removed"
debug_error....142.95:443","file":"src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"Stream removed","grpc_status":2}"
???
E google.api_core.exceptions.Unknown: None Stream removed
:3: Unknown