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_deidentify_dataset failed #6374

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 57, in test_dataset
    create()
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-8/lib/python3.8/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-8/lib/python3.8/site-packages/retrying.py", line 206, in call
    return attempt.get(self._wrap_exception)
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-8/lib/python3.8/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-8/lib/python3.8/site-packages/six.py", line 719, in reraise
    raise value
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-8/lib/python3.8/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 47, in create
    datasets.create_dataset(project_id, cloud_region, dataset_id)
  File "/workspace/healthcare/api-client/v1/datasets/datasets.py", line 47, in create_dataset
    response = request.execute()
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-8/lib/python3.8/site-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-8/lib/python3.8/site-packages/googleapiclient/http.py", line 920, in execute
    resp, content = _retry_request(
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-8/lib/python3.8/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-8/lib/python3.8/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-8/lib/python3.8/site-packages/google/auth/credentials.py", line 133, in before_request
    self.refresh(request)
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-8/lib/python3.8/site-packages/google/oauth2/service_account.py", line 376, in refresh
    access_token, expiry, _ = _client.jwt_grant(
  File "/workspace/healthcare/api-client/v1/datasets/.nox/py-3-8/lib/python3.8/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-8/lib/python3.8/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-8/lib/python3.8/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).