Skip to content

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

@flaky-bot

Description

@flaky-bot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: pubsubIssues related to the googleapis/python-pubsub API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions