Skip to content

Spanner: 'test_transaction_read_and_insert_then_rollback' systest flake #5718

@tseaver

Description

@tseaver

See: https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/7509

________ TestSessionAPI.test_transaction_read_and_insert_then_rollback _________

args = (<tests.system.test_system.TestSessionAPI testMethod=test_transaction_read_and_insert_then_rollback>,)
kwargs = {}, tries = 0

    @wraps(to_wrap)
    def wrapped_function(*args, **kwargs):
        tries = 0
        while tries < self.max_tries:
            try:
>               return to_wrap(*args, **kwargs)

../.nox/sys-2-7/lib/python2.7/site-packages/test_utils/retry.py:95: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/system/test_system.py:566: in test_transaction_read_and_insert_then_rollback
    rows = list(transaction.read(self.TABLE, self.COLUMNS, self.ALL))
google/cloud/spanner_v1/streamed.py:141: in __iter__
    self._consume_next()
google/cloud/spanner_v1/streamed.py:114: in _consume_next
    response = six.next(self._response_iterator)
google/cloud/spanner_v1/snapshot.py:44: in _restart_on_unavailable
    for item in iterator:
../.nox/sys-2-7/lib/python2.7/site-packages/google/api_core/grpc_helpers.py:83: in next
    six.raise_from(exceptions.from_grpc_error(exc), exc)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

value = Aborted('Transaction was aborted.',)
from_value = <_Rendezvous of RPC that terminated with:
	status = StatusCode.ABORTED
	detail..."file_line":1095,"grpc_message":"Transaction was aborted.","grpc_status":10}"
>

    def raise_from(value, from_value):
>       raise value
E       Aborted: 409 Transaction was aborted.

../.nox/sys-2-7/lib/python2.7/site-packages/six.py:737: Aborted

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the Spanner API.flakytestingtype: 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