Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

tests.system.TestStreamingPull: test_streaming_pull_max_messages failed #813

@flaky-bot

Description

@flaky-bot

Note: #721 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


commit: 42e7b69
buildURL: Build Status, Sponge
status: failed

Test output
args = (topic: "projects/precise-truck-742/topics/t-1666556768608"
,)
kwargs = {'metadata': [('x-goog-request-params', 'topic=projects/precise-truck-742/topics/t-1666556768608'), ('x-goog-api-client', 'gl-python/3.10.5 grpc/1.50.0 gax/2.10.2 gccl/2.13.10')], '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 0x7f4011ee40d0>
request = topic: "projects/precise-truck-742/topics/t-1666556768608"

timeout = 60.0
metadata = [('x-goog-request-params', 'topic=projects/precise-truck-742/topics/t-1666556768608'), ('x-goog-api-client', 'gl-python/3.10.5 grpc/1.50.0 gax/2.10.2 gccl/2.13.10')]
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 0x7f4015ad18d0>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f4011e43ec0>
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=t-1666556768608)."
E debug_error_string = "UNKNOWN:Error received from peer ipv4:142.250.99.95:443 {created_time:"2022-10-23T20:27:08.896188295+00:00", grpc_status:5, grpc_message:"Resource not found (resource=t-1666556768608)."}"
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/publisher/client.py:1332: in delete_topic
rpc(
.nox/system-3-10/lib/python3.10/site-packages/google/api_core/gapic_v1/method.py:154: in call
return wrapped_func(*args, **kwargs)
.nox/system-3-10/lib/python3.10/site-packages/google/api_core/retry.py:283: in retry_wrapped_func
return retry_target(
.nox/system-3-10/lib/python3.10/site-packages/google/api_core/retry.py:190: in retry_target
return target()
.nox/system-3-10/lib/python3.10/site-packages/google/api_core/timeout.py:99: in func_with_timeout
return func(*args, **kwargs)


args = (topic: "projects/precise-truck-742/topics/t-1666556768608"
,)
kwargs = {'metadata': [('x-goog-request-params', 'topic=projects/precise-truck-742/topics/t-1666556768608'), ('x-goog-api-client', 'gl-python/3.10.5 grpc/1.50.0 gax/2.10.2 gccl/2.13.10')], '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=t-1666556768608).

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

Metadata

Metadata

Assignees

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