Skip to content

'tableadmin_test.test_run_table_operations' sample fails with 503 UNAVAILABLE #417

@tseaver

Description

@tseaver

From these failed Kokoro builds:

Failed: google.api_core.exceptions.ServiceUnavailable: 503 The service is currently unavailable.
args = (name: "projects/python-docs-samples-tests/instances/bigtable-test/tables/tableadmin-test-7ab1db71"
modifications {
  id: "cf2"
  drop: true
}
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/python-docs-samples-tests/instances/bigtable-test/tables/tableadmin-test-7ab1db71'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.39.0 gax/1.31.2')]}

    @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 0x7f73806a5160>
request = name: "projects/python-docs-samples-tests/instances/bigtable-test/tables/tableadmin-test-7ab1db71"
modifications {
  id: "cf2"
  drop: true
}

timeout = None
metadata = [('x-goog-request-params', 'name=projects/python-docs-samples-tests/instances/bigtable-test/tables/tableadmin-test-7ab1db71'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.39.0 gax/1.31.2')]
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 0x7f73806755f8>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f737e5cb608>
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.UNAVAILABLE
E           	details = "The service is currently unavailable."
E           	debug_error_string = "{"created":"@1630441021.581603795","description":"Error received from peer ipv4:173.194.202.95:443","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"The service is currently unavailable.","grpc_status":14}"
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:

capsys = <_pytest.capture.CaptureFixture object at 0x7f7380720cc0>

    def test_run_table_operations(capsys):
        table_id = TABLE_ID_FORMAT.format(uuid.uuid4().hex[:8])

>       run_table_operations(PROJECT, BIGTABLE_INSTANCE, table_id)

tableadmin_test.py:31:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tableadmin.py:216: in run_table_operations
    column_family2.delete()
../../google/cloud/bigtable/column_family.py:327: in delete
    request={"name": self._table.name, "modifications": [modification]}
../../google/cloud/bigtable_admin_v2/services/bigtable_table_admin/client.py:984: in modify_column_families
    response = rpc(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.UNAVAILABLE
	details = "The service is currently .../core/lib/surface/call.cc","file_line":1069,"grpc_message":"The service is currently unavailable.","grpc_status":14}"
>

>   ???
E   google.api_core.exceptions.ServiceUnavailable: 503 The service is currently unavailable.

<string>:3: ServiceUnavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigtableIssues related to the googleapis/python-bigtable API.samplesIssues that are directly related to samples.type: processA process-related concern. May include testing, release, or the like.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions