googleapis/python-pubsublite

samples.snippets.quickstart_test: test_delete_lite_topic_example failed

flaky-bot opened this issue · 4 comments

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

Test output
args = (name: "projects/1012616486416/locations/us-central1-a/topics/py-lite-topic-7d6afe3de4074f4a97eb0937c81a798a"
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/1012616486416/locations/us-central1-a/topics/py-lite-topic-7d6afe3de4074f4a97eb0937c81a798a'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.38.0 gax/1.28.0 gapic/0.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:67:


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f0ca6dede80>
request = name: "projects/1012616486416/locations/us-central1-a/topics/py-lite-topic-7d6afe3de4074f4a97eb0937c81a798a"

timeout = None
metadata = [('x-goog-request-params', 'name=projects/1012616486416/locations/us-central1-a/topics/py-lite-topic-7d6afe3de4074f4a97eb0937c81a798a'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.38.0 gax/1.28.0 gapic/0.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 0x7f0ca41fec18>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f0ca4219dc8>
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.INTERNAL
E details = "Internal error encountered."
E debug_error_string = "{"created":"@1621674401.809498669","description":"Error received from peer ipv4:74.125.142.95:443","file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Internal error encountered.","grpc_status":13}"
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:

client = <google.cloud.pubsublite.admin_client.AdminClient object at 0x7f0ca6e2fb38>

@pytest.fixture(scope="module")
def topic_path(client):
    location = CloudZone(CloudRegion(CLOUD_REGION), ZONE_ID)
    topic_path = str(TopicPath(PROJECT_NUMBER, location, TOPIC_ID))
    yield topic_path
    try:
      client.delete_topic(topic_path)

quickstart_test.py:55:


../../google/cloud/pubsublite/admin_client.py:98: in delete_topic
return self._impl.delete_topic(topic_path)
../../google/cloud/pubsublite/internal/wire/admin_client_impl.py:68: in delete_topic
self._underlying.delete_topic(name=str(topic_path))
../../google/cloud/pubsublite_v1/services/admin_service/client.py:830: 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/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.INTERNAL
details = "Internal error encountered."...file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Internal error encountered.","grpc_status":13}"

???
E google.api_core.exceptions.InternalServerError: 500 Internal error encountered.

:3: InternalServerError

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

Test output
args = (name: "projects/1012616486416/locations/us-central1-c/topics/py-lite-topic-72781b7a9ad44df3b2082d15ac089307"
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/1012616486416/locations/us-central1-c/topics/py-lite-topic-72781b7a9ad44df3b2082d15ac089307'), ('x-goog-api-client', 'gl-python/3.7.10 grpc/1.38.0 gax/1.28.0 gapic/0.4.1')]}
@six.wraps(callable_)
def error_remapped_callable(*args, **kwargs):
    try:
      return callable_(*args, **kwargs)

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


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f541e1d5350>
request = name: "projects/1012616486416/locations/us-central1-c/topics/py-lite-topic-72781b7a9ad44df3b2082d15ac089307"

timeout = None
metadata = [('x-goog-request-params', 'name=projects/1012616486416/locations/us-central1-c/topics/py-lite-topic-72781b7a9ad44df3b2082d15ac089307'), ('x-goog-api-client', 'gl-python/3.7.10 grpc/1.38.0 gax/1.28.0 gapic/0.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-7/lib/python3.7/site-packages/grpc/_channel.py:946:


state = <grpc._channel._RPCState object at 0x7f540f629390>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f540dda3820>
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.INTERNAL
E details = "Internal error encountered."
E debug_error_string = "{"created":"@1622624646.991919590","description":"Error received from peer ipv4:74.125.142.95:443","file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Internal error encountered.","grpc_status":13}"
E >

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

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

client = <google.cloud.pubsublite.admin_client.AdminClient object at 0x7f541e195390>

@pytest.fixture(scope="module")
def topic_path(client):
    location = CloudZone(CloudRegion(CLOUD_REGION), ZONE_ID)
    topic_path = str(TopicPath(PROJECT_NUMBER, location, TOPIC_ID))
    yield topic_path
    try:
      client.delete_topic(topic_path)

quickstart_test.py:55:


../../google/cloud/pubsublite/admin_client.py:98: in delete_topic
return self._impl.delete_topic(topic_path)
../../google/cloud/pubsublite/internal/wire/admin_client_impl.py:68: in delete_topic
self._underlying.delete_topic(name=str(topic_path))
../../google/cloud/pubsublite_v1/services/admin_service/client.py:830: in delete_topic
request, retry=retry, timeout=timeout, metadata=metadata,
.nox/py-3-7/lib/python3.7/site-packages/google/api_core/gapic_v1/method.py:145: in call
return wrapped_func(*args, **kwargs)
.nox/py-3-7/lib/python3.7/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.INTERNAL
details = "Internal error encountered."...file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Internal error encountered.","grpc_status":13}"

???
E google.api_core.exceptions.InternalServerError: 500 Internal error encountered.

:3: InternalServerError

This is caused by a backend issue, which is described in #152. When will the backend issue be fixed? @googleapis/api-pubsublite

commit: 4a29b92
buildURL: Build Status, Sponge
status: failed

Test output
args = (name: "projects/1012616486416/locations/us-central1-b/topics/py-lite-topic-c94234415a754f109e7255225e7610ee"
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/1012616486416/locations/us-central1-b/topics/py-lite-topic-c94234415a754f109e7255225e7610ee'), ('x-goog-api-client', 'gl-python/3.7.10 grpc/1.38.0 gax/1.28.0 gapic/0.4.1')]}
@six.wraps(callable_)
def error_remapped_callable(*args, **kwargs):
    try:
      return callable_(*args, **kwargs)

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


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7fc80c0450d0>
request = name: "projects/1012616486416/locations/us-central1-b/topics/py-lite-topic-c94234415a754f109e7255225e7610ee"

timeout = None
metadata = [('x-goog-request-params', 'name=projects/1012616486416/locations/us-central1-b/topics/py-lite-topic-c94234415a754f109e7255225e7610ee'), ('x-goog-api-client', 'gl-python/3.7.10 grpc/1.38.0 gax/1.28.0 gapic/0.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-7/lib/python3.7/site-packages/grpc/_channel.py:946:


state = <grpc._channel._RPCState object at 0x7fc8094ba390>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7fc808444d70>
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.INTERNAL
E details = "Internal error encountered."
E debug_error_string = "{"created":"@1622711024.706266656","description":"Error received from peer ipv4:74.125.20.95:443","file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Internal error encountered.","grpc_status":13}"
E >

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

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

client = <google.cloud.pubsublite.admin_client.AdminClient object at 0x7fc80c034190>

@pytest.fixture(scope="module")
def topic_path(client):
    location = CloudZone(CloudRegion(CLOUD_REGION), ZONE_ID)
    topic_path = str(TopicPath(PROJECT_NUMBER, location, TOPIC_ID))
    yield topic_path
    try:
      client.delete_topic(topic_path)

quickstart_test.py:55:


../../google/cloud/pubsublite/admin_client.py:98: in delete_topic
return self._impl.delete_topic(topic_path)
../../google/cloud/pubsublite/internal/wire/admin_client_impl.py:68: in delete_topic
self._underlying.delete_topic(name=str(topic_path))
../../google/cloud/pubsublite_v1/services/admin_service/client.py:830: in delete_topic
request, retry=retry, timeout=timeout, metadata=metadata,
.nox/py-3-7/lib/python3.7/site-packages/google/api_core/gapic_v1/method.py:145: in call
return wrapped_func(*args, **kwargs)
.nox/py-3-7/lib/python3.7/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.INTERNAL
details = "Internal error encountered."...file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Internal error encountered.","grpc_status":13}"

???
E google.api_core.exceptions.InternalServerError: 500 Internal error encountered.

:3: InternalServerError

Test passed for commit 30fcd3f (Build Status, Sponge)! Closing this issue.