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.hl7v2.hl7v2_stores_test: test_get_set_hl7v2_store_iam_policy failed #6381

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/hl7v2/hl7v2_stores_test.py", line 55, in test_dataset
    create()
  File "/workspace/healthcare/api-client/v1/hl7v2/.nox/py-3-8/lib/python3.8/site-packages/backoff/_sync.py", line 94, in retry
    ret = target(*args, **kwargs)
  File "/workspace/healthcare/api-client/v1/hl7v2/hl7v2_stores_test.py", line 45, in create
    datasets.create_dataset(project_id, location, dataset_id)
  File "/workspace/healthcare/api-client/v1/hl7v2/../datasets/datasets.py", line 47, in create_dataset
    response = request.execute()
  File "/workspace/healthcare/api-client/v1/hl7v2/.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/hl7v2/.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/hl7v2/.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/hl7v2/.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/hl7v2/.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/hl7v2/.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/hl7v2/.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/hl7v2/.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/hl7v2/.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).