Skip to content

samples.samples.quickstart_test: test_quickstart failed #390

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

Test output
args = (parent: "projects/python-docs-samples-tests/instances/test-instance" create_statement: "CREATE DATABASE `my-database-id`" ,) kwargs = {'metadata': [('google-cloud-resource-prefix', 'projects/python-docs-samples-tests/instances/test-instance/databases/m...-samples-tests/instances/test-instance'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.38.1 gax/1.30.0 gccl/3.6.0')]} 
@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 0x7f43237f3cc0>
request = parent: "projects/python-docs-samples-tests/instances/test-instance"
create_statement: "CREATE DATABASE my-database-id"

timeout = None
metadata = [('google-cloud-resource-prefix', 'projects/python-docs-samples-tests/instances/test-instance/databases/my-database-id...s-samples-tests/instances/test-instance'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.38.1 gax/1.30.0 gccl/3.6.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-6/lib/python3.6/site-packages/grpc/_channel.py:946:


state = <grpc._channel._RPCState object at 0x7f43237f52e8>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f43237a2f88>
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 = "Instance not found: projects/python-docs-samples-tests/instances/test-instance"
E debug_error_string = "{"created":"@1624700026.817055527","description":"Error received from peer ipv4:74.125.135.95:443","file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Instance not found: projects/python-docs-samples-tests/instances/test-instance","grpc_status":5}"
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:

@pytest.fixture def example_database(): spanner_client = spanner.Client() instance = spanner_client.instance(SPANNER_INSTANCE) database = instance.database("my-database-id") if not database.exists(): 
 database.create() 

quickstart_test.py:48:


../../google/cloud/spanner_v1/database.py:374: in create
future = api.create_database(request=request, metadata=metadata)
../../google/cloud/spanner_admin_database_v1/services/database_admin/client.py:615: in create_database
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.NOT_FOUND
details = "Instance not found: project...066,"grpc_message":"Instance not found: projects/python-docs-samples-tests/instances/test-instance","grpc_status":5}"

???
E google.api_core.exceptions.NotFound: 404 Instance not found: projects/python-docs-samples-tests/instances/test-instance

:3: NotFound

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/python-spanner 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.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