Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests.system: test_listing_topic_subscriptions[grpc-grpc] failed #872

Closed
flaky-bot bot opened this issue Feb 21, 2023 · 1 comment
Closed

tests.system: test_listing_topic_subscriptions[grpc-grpc] failed #872

flaky-bot bot opened this issue Feb 21, 2023 · 1 comment
Labels
api: pubsub Issues related to the googleapis/python-pubsub API. flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@flaky-bot
Copy link

flaky-bot bot commented Feb 21, 2023

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: fbc7f9e
buildURL: Build Status, Sponge
status: failed

Test output
args = (subscription: "projects/precise-truck-742/subscriptions/sub-2.1677014691471"
,)
kwargs = {'metadata': [('x-goog-request-params', 'subscription=projects/precise-truck-742/subscriptions/sub-2.1677014691471'), ('x-goog-api-client', 'gl-python/3.10.5 grpc/1.51.1 gax/2.11.0 gccl/2.14.1')], 'timeout': 60.0}
@functools.wraps(callable_)
def error_remapped_callable(*args, **kwargs):
    try:
      return callable_(*args, **kwargs)

.nox/system-3-10/lib/python3.10/site-packages/google/api_core/grpc_helpers.py:72:


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7fe22419bbb0>
request = subscription: "projects/precise-truck-742/subscriptions/sub-2.1677014691471"

timeout = 60.0
metadata = [('x-goog-request-params', 'subscription=projects/precise-truck-742/subscriptions/sub-2.1677014691471'), ('x-goog-api-client', 'gl-python/3.10.5 grpc/1.51.1 gax/2.11.0 gccl/2.14.1')]
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/system-3-10/lib/python3.10/site-packages/grpc/_channel.py:946:


state = <grpc._channel._RPCState object at 0x7fe21e7a0f40>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7fe21e629780>
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.NOT_FOUND
E details = "Resource not found (resource=sub-2.1677014691471)."
E debug_error_string = "UNKNOWN:Error received from peer ipv4:74.125.197.95:443 {created_time:"2023-02-21T21:25:58.567895693+00:00", grpc_status:5, grpc_message:"Resource not found (resource=sub-2.1677014691471)."}"
E >

.nox/system-3-10/lib/python3.10/site-packages/grpc/_channel.py:849: _InactiveRpcError

The above exception was the direct cause of the following exception:

@pytest.fixture
def cleanup():
    registry = []
    yield registry

    # Perform all clean up.
    for to_call, args, kwargs in registry:
      to_call(*args, **kwargs)

tests/system.py:82:


google/pubsub_v1/services/subscriber/client.py:1075: in delete_subscription
rpc(
.nox/system-3-10/lib/python3.10/site-packages/google/api_core/gapic_v1/method.py:113: in call
return wrapped_func(*args, **kwargs)
.nox/system-3-10/lib/python3.10/site-packages/google/api_core/retry.py:349: in retry_wrapped_func
return retry_target(
.nox/system-3-10/lib/python3.10/site-packages/google/api_core/retry.py:191: in retry_target
return target()
.nox/system-3-10/lib/python3.10/site-packages/google/api_core/timeout.py:120: in func_with_timeout
return func(*args, **kwargs)


args = (subscription: "projects/precise-truck-742/subscriptions/sub-2.1677014691471"
,)
kwargs = {'metadata': [('x-goog-request-params', 'subscription=projects/precise-truck-742/subscriptions/sub-2.1677014691471'), ('x-goog-api-client', 'gl-python/3.10.5 grpc/1.51.1 gax/2.11.0 gccl/2.14.1')], 'timeout': 60.0}

@functools.wraps(callable_)
def error_remapped_callable(*args, **kwargs):
    try:
        return callable_(*args, **kwargs)
    except grpc.RpcError as exc:
      raise exceptions.from_grpc_error(exc) from exc

E google.api_core.exceptions.NotFound: 404 Resource not found (resource=sub-2.1677014691471).

.nox/system-3-10/lib/python3.10/site-packages/google/api_core/grpc_helpers.py:74: NotFound

@flaky-bot flaky-bot bot added flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Feb 21, 2023
@product-auto-label product-auto-label bot added the api: pubsub Issues related to the googleapis/python-pubsub API. label Feb 21, 2023
@flaky-bot flaky-bot bot added the flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. label Feb 22, 2023
@flaky-bot
Copy link
Author

flaky-bot bot commented Feb 22, 2023

Looks like this issue is flaky. 😟

I'm going to leave this open and stop commenting.

A human should fix and close this.


When run at the same commit (fbc7f9e), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).

@acocuzzo acocuzzo added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels Feb 23, 2023
@acocuzzo acocuzzo closed this as completed Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the googleapis/python-pubsub API. flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

1 participant