Skip to content

spanner.cloud-client.backup_sample_test: test_restore_database failed #3870

Closed
@flaky-bot

Description

@flaky-bot

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


commit: 79b0d63
buildURL: Build Status, Sponge
status: failed

Test output
Traceback (most recent call last):
  File "/tmpfs/src/github/python-docs-samples/spanner/cloud-client/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/tmpfs/src/github/python-docs-samples/spanner/cloud-client/.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py", line 826, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/tmpfs/src/github/python-docs-samples/spanner/cloud-client/.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py", line 729, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.NOT_FOUND
	details = "Backup not found: projects/python-docs-samples-tests/instances/test-instance-tb3wb/backups/test-backup-1uz1u"
	debug_error_string = "{"created":"@1590411154.357023264","description":"Error received from peer ipv4:172.217.203.95:443","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Backup not found: projects/python-docs-samples-tests/instances/test-instance-tb3wb/backups/test-backup-1uz1u","grpc_status":5}"
>

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

Traceback (most recent call last):
File "/tmpfs/src/github/python-docs-samples/spanner/cloud-client/backup_sample_test.py", line 75, in test_restore_database
backup_sample.restore_database(INSTANCE_ID, RESTORE_DB_ID, BACKUP_ID)
File "/tmpfs/src/github/python-docs-samples/spanner/cloud-client/backup_sample.py", line 68, in restore_database
operation = new_database.restore(backup)
File "/tmpfs/src/github/python-docs-samples/spanner/cloud-client/.nox/py-3-8/lib/python3.8/site-packages/google/cloud/spanner_v1/database.py", line 544, in restore
future = api.restore_database(
File "/tmpfs/src/github/python-docs-samples/spanner/cloud-client/.nox/py-3-8/lib/python3.8/site-packages/google/cloud/spanner_admin_database_v1/gapic/database_admin_client.py", line 1509, in restore_database
operation = self._inner_api_calls["restore_database"](
File "/tmpfs/src/github/python-docs-samples/spanner/cloud-client/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py", line 143, in call
return wrapped_func(*args, **kwargs)
File "/tmpfs/src/github/python-docs-samples/spanner/cloud-client/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py", line 281, in retry_wrapped_func
return retry_target(
File "/tmpfs/src/github/python-docs-samples/spanner/cloud-client/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py", line 184, in retry_target
return target()
File "/tmpfs/src/github/python-docs-samples/spanner/cloud-client/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/timeout.py", line 214, in func_with_timeout
return func(*args, **kwargs)
File "/tmpfs/src/github/python-docs-samples/spanner/cloud-client/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py", line 59, in error_remapped_callable
six.raise_from(exceptions.from_grpc_error(exc), exc)
File "", line 3, in raise_from
google.api_core.exceptions.NotFound: 404 Backup not found: projects/python-docs-samples-tests/instances/test-instance-tb3wb/backups/test-backup-1uz1u

Metadata

Metadata

Assignees

Labels

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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions