GoogleCloudPlatform / python-docs-samples

Code samples used on cloud.google.com
Apache License 2.0
7.46k stars 6.44k forks source link

healthcare.api-client.v1.datasets.datasets_test: test_CRUD_dataset failed #6343

Closed flaky-bot[bot] closed 3 years ago

flaky-bot[bot] commented 3 years ago

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

Test output
Traceback (most recent call last):
  File "/workspace/healthcare/api-client/v1/datasets/datasets_test.py", line 141, in test_CRUD_dataset
    get_dataset()
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/retrying.py", line 49, in wrapped_f
    return Retrying(*dargs, **dkw).call(f, *args, **kw)
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/retrying.py", line 206, in call
    return attempt.get(self._wrap_exception)
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/retrying.py", line 247, in get
    six.reraise(self.value[0], self.value[1], self.value[2])
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/six.py", line 719, in reraise
    raise value
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/retrying.py", line 200, in call
    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
  File "/workspace/healthcare/api-client/v1/datasets/datasets_test.py", line 139, in get_dataset
    datasets.get_dataset(project_id, cloud_region, crud_dataset_id)
  File "/workspace/healthcare/api-client/v1/datasets/datasets.py", line 112, in get_dataset
    dataset = datasets.get(name=dataset_name).execute()
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/googleapiclient/http.py", line 929, in execute
    headers=self.headers,
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/googleapiclient/http.py", line 191, in _retry_request
    resp, content = http.request(uri, method, *args, **kwargs)
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/google_auth_httplib2.py", line 209, in request
    self.credentials.before_request(self._request, method, uri, request_headers)
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/google/auth/credentials.py", line 133, in before_request
    self.refresh(request)
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/google/oauth2/service_account.py", line 377, in refresh
    request, self._token_uri, assertion
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/google/oauth2/_client.py", line 193, in jwt_grant
    response_data = _token_endpoint_request(request, token_uri, body)
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/google/oauth2/_client.py", line 165, in _token_endpoint_request
    _handle_error_response(response_data)
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-7/lib/python3.7/site-packages/google/oauth2/_client.py", line 60, in _handle_error_response
    raise exceptions.RefreshError(error_details, response_data)
google.auth.exceptions.RefreshError: ('invalid_grant: Invalid JWT Signature.', {'error': 'invalid_grant', 'error_description': 'Invalid JWT Signature.'})
flaky-bot[bot] commented 3 years ago

Looks like this issue is flaky. :worried:

I'm going to leave this open and stop commenting.

A human should fix and close this.


When run at the same commit (b99df8d36109e4fe3e397bfd2cbacac06960340c), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).