GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — samples.snippets.subscriber_test: test_receive_synchronously_with_lease failed · Issue #341 · googleapis/python-pubsub

This repository was archived by the owner on Oct 13, 2026. It is now read-only.
This repository was archived by the owner on Oct 13, 2026. It is now read-only.

samples.snippets.subscriber_test: test_receive_synchronously_with_lease failed #341

Copy link
Copy link
Closed
#434
Closed
samples.snippets.subscriber_test: test_receive_synchronously_with_lease failed#341
#434
Copy link
Assignees
anguillanneuf
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.samplesIssues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@flaky-bot
flaky-bot
bot
opened on Mar 22, 2021
Issue body actions

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


commit: 0a662a6
buildURL: Build Status, Sponge
status: failed

Test output
args = (subscription: "projects/python-docs-samples-tests/subscriptions/subscription-test-subscription-sync-3.8-67e8d2e8a0694...GMOEgRQE1B0XlsRDXptXFcnUwwRcnxmdm1dFgIGR1F6XHOSwM2p4pzYYhclSsjBp9hsM6SJgNJPZho9XxJLLD5-NTBFQV5AEkw-BURJUytDCypYEU4E"
,)
kwargs = {'metadata': [('x-goog-request-params', 'subscription=projects/python-docs-samples-tests/subscriptions/subscription-te...nc-3.8-67e8d2e8a0694699941f982bd11daedd'), ('x-goog-api-client', 'gl-python/3.8.8 grpc/1.36.1 gax/1.26.1 gccl/2.4.0')]}
@six.wraps(callable_)
def error_remapped_callable(*args, **kwargs):
    try:
      return callable_(*args, **kwargs)

.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:73:


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7fbb3c7c50d0>
request = subscription: "projects/python-docs-samples-tests/subscriptions/subscription-test-subscription-sync-3.8-67e8d2e8a06946...pcGMOEgRQE1B0XlsRDXptXFcnUwwRcnxmdm1dFgIGR1F6XHOSwM2p4pzYYhclSsjBp9hsM6SJgNJPZho9XxJLLD5-NTBFQV5AEkw-BURJUytDCypYEU4E"

timeout = None
metadata = [('x-goog-request-params', 'subscription=projects/python-docs-samples-tests/subscriptions/subscription-test-subscripti...ync-3.8-67e8d2e8a0694699941f982bd11daedd'), ('x-goog-api-client', 'gl-python/3.8.8 grpc/1.36.1 gax/1.26.1 gccl/2.4.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-8/lib/python3.8/site-packages/grpc/_channel.py:923:


state = <grpc._channel._RPCState object at 0x7fbb3c7727c0>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7fbb3c775fc0>
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":"@1616414726.271814232","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-8/lib/python3.8/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 0x7fbb3f0cb4c0>
topic = 'projects/python-docs-samples-tests/topics/subscription-test-topic-3.8-67e8d2e8a0694699941f982bd11daedd'
subscription_sync = 'projects/python-docs-samples-tests/subscriptions/subscription-test-subscription-sync-3.8-67e8d2e8a0694699941f982bd11daedd'
capsys = <_pytest.capture.CaptureFixture object at 0x7fbb3f0d03a0>

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:567: in synchronous_pull_with_lease_management
subscriber.modify_ack_deadline(
../../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:913: in modify_ack_deadline
rpc(
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py:145: in call
return wrapped_func(*args, **kwargs)
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py:281: in retry_wrapped_func
return retry_target(
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py:184: in retry_target
return target()
.nox/py-3-8/lib/python3.8/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
....195.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

Activity

Next
  1. flaky-bot
    added
    flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Mar 22, 2021
  2. product-auto-label
    added
    api: pubsubIssues related to the googleapis/python-pubsub API.
    samplesIssues that are directly related to samples.
    on Mar 22, 2021
  3. anguillanneuf commented on Mar 22, 2021

    @anguillanneuf
    anguillanneuf
    on Mar 22, 2021
    Contributor
    More actions

    This flaky error should go away with the next release: 2.4.1.

    From the logs:

    --- IMPORTANT IMPORTANT IMPORTANT ---
    Now we rewind the repo back to the latest release...
    Previous HEAD position was 0a662a6 chore(samples): fix typo
    HEAD is now at a11ac13 chore: release v2.4.0 (#296)
    The current head is: 
    a11ac1373cd1996089620d8b72b4b4d1b3f1812f
    
  4. anguillanneuf
    removed
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    on Mar 22, 2021
  5. yoshi-automation
    added
    triage meI really want to be triaged.
    on Mar 23, 2021
  6. flaky-bot
    added
    flakybot: flakyTells the Flaky Bot not to close or comment on this issue.
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    on Mar 23, 2021
  7. flaky-bot commented on Mar 23, 2021

    @flaky-bot
    flaky-botBot
    on Mar 23, 2021
    Author
    More actions

    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 (0a662a6), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).

  8. yoshi-automation
    added
    🚨This issue needs some love.
    and removed
    triage meI really want to be triaged.
    on Mar 23, 2021
  9. meredithslota
    removed
    🚨This issue needs some love.
    on Mar 30, 2021
  10. meredithslota commented on Mar 30, 2021

    @meredithslota
    meredithslota
    on Mar 30, 2021
    Contributor
    More actions

    2.4.1 was just released - https://github.com/googleapis/python-pubsub/releases/tag/2.4.1 - I suspect flaky-bot needs a human to close this first and then it will reopen if the test fails again. I'm gonna give it a shot. :)

  11. 2 remaining items

  12. flaky-bot commented on Apr 9, 2021

    @flaky-bot
    flaky-botBot
    on Apr 9, 2021
    Author
    More actions

    Oops! Looks like this issue is still flaky. It failed again. 😬

    I reopened the issue, but a human will need to close it again.


    commit: 5812018
    buildURL: Build Status, Sponge
    status: failed

    Test output
    args = (topic: "projects/python-docs-samples-tests/topics/subscription-test-topic-3.6-34c24062d8214ca587826bd6fcddde06"
    ,)
    kwargs = {'metadata': [('x-goog-request-params', 'topic=projects/python-docs-samples-tests/topics/subscription-test-topic-3.6-34c24062d8214ca587826bd6fcddde06'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.37.0 gax/1.26.3 gccl/2.4.1')]}
    
    @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 0x7fab4114d588>
    request = topic: "projects/python-docs-samples-tests/topics/subscription-test-topic-3.6-34c24062d8214ca587826bd6fcddde06"

    timeout = None
    metadata = [('x-goog-request-params', 'topic=projects/python-docs-samples-tests/topics/subscription-test-topic-3.6-34c24062d8214ca587826bd6fcddde06'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.37.0 gax/1.26.3 gccl/2.4.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/py-3-6/lib/python3.6/site-packages/grpc/_channel.py:946:


    state = <grpc._channel._RPCState object at 0x7fab4124e518>
    call = <grpc._cython.cygrpc.SegregatedCall object at 0x7fab412b9408>
    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":"@1617959408.555737112","description":"Error received from peer ipv4:74.125.20.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:849: _InactiveRpcError

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

    publisher_client = <google.cloud.pubsub_v1.PublisherClient object at 0x7fab4117c7f0>

    @pytest.fixture(scope="module")
    def topic(publisher_client):
        topic_path = publisher_client.topic_path(PROJECT_ID, TOPIC)
    
        try:
            topic = publisher_client.get_topic(request={"topic": topic_path})
        except:  # noqa
            topic = publisher_client.create_topic(request={"name": topic_path})
    
        yield topic.name
    
      publisher_client.delete_topic(request={"topic": topic.name})
    

    subscriber_test.py:61:


    ../../google/cloud/pubsub_v1/_gapic.py:40: in
    fx = lambda self, *a, **kw: wrapped_fx(self.api, *a, **kw) # noqa
    ../../google/pubsub_v1/services/publisher/client.py:1011: in delete_topic
    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
    ...5.20.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

  13. yoshi-automation
    added
    🚨This issue needs some love.
    on Apr 9, 2021
  14. meredithslota
    assigned
    anguillanneuf
    on Apr 9, 2021
  15. meredithslota commented on Apr 9, 2021

    @meredithslota
    meredithslota
    on Apr 9, 2021
    Contributor
    More actions

    @anguillanneuf flaky-bot has reopened this; can you PTAL?

  16. anguillanneuf commented on Apr 9, 2021

    @anguillanneuf
    anguillanneuf
    on Apr 9, 2021
    Contributor
    More actions

    @meredithslota Safe to close because it failed periodic-head (against head) but not periodic (against the released version).

    If the test failed both, we should definitely investigate. cc: @tmatsuo

    We retry UNKNOWN three times and that's not enough...🤨

    python-pubsub/samples/snippets/subscriber_test.py

    Line 470 in 9f451a1

    @backoff.on_exception(backoff.expo, Unknown, max_time=300)

  17. anguillanneuf
    removed
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    on Apr 9, 2021
  18. meredithslota
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Apr 10, 2021
  19. yoshi-automation
    removed
    🚨This issue needs some love.
    on Apr 10, 2021
  20. anguillanneuf
    closed this as completedon May 20, 2021
  21. flaky-bot
    reopened this on May 27, 2021
  22. flaky-bot commented on May 27, 2021

    @flaky-bot
    flaky-botBot
    on May 27, 2021
    Author
    More actions

    Oops! Looks like this issue is still flaky. It failed again. 😬

    I reopened the issue, but a human will need to close it again.


    commit: e907f6e
    buildURL: Build Status, Sponge
    status: failed

    Test output
    args = (topic: "projects/python-docs-samples-tests/topics/subscription-test-topic-3.8-00b039c2284a407f84be429af9cb8316"
    ,)
    kwargs = {'metadata': [('x-goog-request-params', 'topic=projects/python-docs-samples-tests/topics/subscription-test-topic-3.8-00b039c2284a407f84be429af9cb8316'), ('x-goog-api-client', 'gl-python/3.8.8 grpc/1.38.0 gax/1.28.0 gccl/2.5.0')]}
    
    @six.wraps(callable_)
    def error_remapped_callable(*args, **kwargs):
        try:
    
          return callable_(*args, **kwargs)
    

    .nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:67:


    self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f7d69fda8b0>
    request = topic: "projects/python-docs-samples-tests/topics/subscription-test-topic-3.8-00b039c2284a407f84be429af9cb8316"

    timeout = None
    metadata = [('x-goog-request-params', 'topic=projects/python-docs-samples-tests/topics/subscription-test-topic-3.8-00b039c2284a407f84be429af9cb8316'), ('x-goog-api-client', 'gl-python/3.8.8 grpc/1.38.0 gax/1.28.0 gccl/2.5.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-8/lib/python3.8/site-packages/grpc/_channel.py:946:


    state = <grpc._channel._RPCState object at 0x7f7d6a136c70>
    call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f7d69fc02c0>
    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":"@1622113664.165441020","description":"Error received from peer ipv4:74.125.197.95:443","file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Stream removed","grpc_status":2}"
    E >

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

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

    publisher_client = <google.cloud.pubsub_v1.PublisherClient object at 0x7f7d68754850>

    @pytest.fixture(scope="module")
    def topic(publisher_client):
        topic_path = publisher_client.topic_path(PROJECT_ID, TOPIC)
    
        try:
            topic = publisher_client.get_topic(request={"topic": topic_path})
        except:  # noqa
            topic = publisher_client.create_topic(request={"name": topic_path})
    
        yield topic.name
    
      publisher_client.delete_topic(request={"topic": topic.name})
    

    subscriber_test.py:61:


    ../../google/cloud/pubsub_v1/_gapic.py:40: in
    fx = lambda self, *a, **kw: wrapped_fx(self.api, *a, **kw) # noqa
    ../../google/pubsub_v1/services/publisher/client.py:1010: in delete_topic
    rpc(
    .nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py:145: in call
    return wrapped_func(*args, **kwargs)
    .nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py:285: in retry_wrapped_func
    return retry_target(
    .nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py:188: in retry_target
    return target()
    .nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:69: 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
    ....197.95:443","file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Stream removed","grpc_status":2}"

    ???
    E google.api_core.exceptions.Unknown: None Stream removed

    :3: Unknown

  23. anguillanneuf
    closed this as completedon Jun 17, 2021
  24. flaky-bot commented on Jun 20, 2021

    @flaky-bot
    flaky-botBot
    on Jun 20, 2021
    Author
    More actions

    Oops! Looks like this issue is still flaky. It failed again. 😬

    I reopened the issue, but a human will need to close it again.


    commit: ef89f55
    buildURL: Build Status, Sponge
    status: failed

    Test output
    args = (topic: "projects/python-docs-samples-tests/topics/subscription-test-topic-3.8-88a829f24d3d4b6088ada7979fd80356"
    ,)
    kwargs = {'metadata': [('x-goog-request-params', 'topic=projects/python-docs-samples-tests/topics/subscription-test-topic-3.8-88a829f24d3d4b6088ada7979fd80356'), ('x-goog-api-client', 'gl-python/3.8.8 grpc/1.38.0 gax/1.30.0 gccl/2.5.0')]}
    
    @six.wraps(callable_)
    def error_remapped_callable(*args, **kwargs):
        try:
    
          return callable_(*args, **kwargs)
    

    .nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:67:


    self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f330625db50>
    request = topic: "projects/python-docs-samples-tests/topics/subscription-test-topic-3.8-88a829f24d3d4b6088ada7979fd80356"

    timeout = None
    metadata = [('x-goog-request-params', 'topic=projects/python-docs-samples-tests/topics/subscription-test-topic-3.8-88a829f24d3d4b6088ada7979fd80356'), ('x-goog-api-client', 'gl-python/3.8.8 grpc/1.38.0 gax/1.30.0 gccl/2.5.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-8/lib/python3.8/site-packages/grpc/_channel.py:946:


    state = <grpc._channel._RPCState object at 0x7f330632e4f0>
    call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f33063067c0>
    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":"@1624190796.380777146","description":"Error received from peer ipv4:108.177.98.95:443","file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Stream removed","grpc_status":2}"
    E >

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

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

    publisher_client = <google.cloud.pubsub_v1.PublisherClient object at 0x7f33041efc70>

    @pytest.fixture(scope="module")
    def topic(publisher_client):
        topic_path = publisher_client.topic_path(PROJECT_ID, TOPIC)
    
        try:
            topic = publisher_client.get_topic(request={"topic": topic_path})
        except:  # noqa
            topic = publisher_client.create_topic(request={"name": topic_path})
    
        yield topic.name
    
      publisher_client.delete_topic(request={"topic": topic.name})
    

    subscriber_test.py:61:


    ../../google/cloud/pubsub_v1/_gapic.py:40: in
    fx = lambda self, *a, **kw: wrapped_fx(self.api, *a, **kw) # noqa
    ../../google/pubsub_v1/services/publisher/client.py:1010: in delete_topic
    rpc(
    .nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py:145: in call
    return wrapped_func(*args, **kwargs)
    .nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py:285: in retry_wrapped_func
    return retry_target(
    .nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py:188: in retry_target
    return target()
    .nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:69: 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
    ...7.98.95:443","file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Stream removed","grpc_status":2}"

    ???
    E google.api_core.exceptions.Unknown: None Stream removed

    :3: Unknown

  25. flaky-bot
    reopened this on Jun 20, 2021
  26. plamut
    closed this as completedin #434on Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @anguillanneuf
    anguillanneuf

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.samplesIssues that are directly related to samples.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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.