Thanks to visit codestin.com
Credit goes to github.com

Skip to content

spanner.cloud-client.backup_sample_test: test_list_backup_operations failed #4756

Closed
@flaky-bot

Description

@flaky-bot

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


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

Test output
Traceback (most recent call last):
  File "/workspace/spanner/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/workspace/spanner/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py", line 826, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/workspace/spanner/cloud-client/.nox/py-3-6/lib/python3.6/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.INVALID_ARGUMENT
	details = "Invalid ListBackupOperations request."
	debug_error_string = "{"created":"@1600940038.245573849","description":"Error received from peer ipv4:74.125.195.95:443","file":"src/core/lib/surface/call.cc","file_line":1061,"grpc_message":"Invalid ListBackupOperations request.","grpc_status":3}"
>

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

Traceback (most recent call last):
File "/workspace/spanner/cloud-client/backup_sample_test.py", line 82, in test_list_backup_operations
backup_sample.list_backup_operations(INSTANCE_ID, DATABASE_ID)
File "/workspace/spanner/cloud-client/backup_sample.py", line 126, in list_backup_operations
for op in operations:
File "/workspace/spanner/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/page_iterator.py", line 212, in _items_iter
for page in self._page_iter(increment=False):
File "/workspace/spanner/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/page_iterator.py", line 243, in _page_iter
page = self._next_page()
File "/workspace/spanner/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/page_iterator.py", line 534, in _next_page
response = self._method(self._request)
File "/workspace/spanner/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py", line 145, in call
return wrapped_func(*args, **kwargs)
File "/workspace/spanner/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py", line 286, in retry_wrapped_func
on_error=on_error,
File "/workspace/spanner/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py", line 184, in retry_target
return target()
File "/workspace/spanner/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/timeout.py", line 214, in func_with_timeout
return func(*args, **kwargs)
File "/workspace/spanner/cloud-client/.nox/py-3-6/lib/python3.6/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.InvalidArgument: 400 Invalid ListBackupOperations request.

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: spannerIssues related to the Spanner API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to 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