GoogleCloudPlatform / python-docs-samples

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

healthcare.api-client.v1.dicom.dicom_stores_test: test_get_set_dicom_store_iam_policy failed #9345

Closed flaky-bot[bot] closed 1 year ago

flaky-bot[bot] commented 1 year ago

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


commit: 0d6a1711e8effdc44570f1ecfd327eee66928109 buildURL: Build Status, Sponge status: failed

Test output
Traceback (most recent call last):
  File "/workspace/healthcare/api-client/v1/dicom/dicom_stores_test.py", line 75, in test_dataset
    clean_up()
  File "/workspace/healthcare/api-client/v1/dicom/.nox/py-3-9/lib/python3.9/site-packages/backoff/_sync.py", line 110, in retry
    ret = target(*args, **kwargs)
  File "/workspace/healthcare/api-client/v1/dicom/dicom_stores_test.py", line 67, in clean_up
    datasets.delete_dataset(project_id, location, dataset_id)
  File "/workspace/healthcare/api-client/v1/dicom/../datasets/datasets.py", line 80, in delete_dataset
    response = request.execute()
  File "/workspace/healthcare/api-client/v1/dicom/.nox/py-3-9/lib/python3.9/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/workspace/healthcare/api-client/v1/dicom/.nox/py-3-9/lib/python3.9/site-packages/googleapiclient/http.py", line 922, in execute
    resp, content = _retry_request(
  File "/workspace/healthcare/api-client/v1/dicom/.nox/py-3-9/lib/python3.9/site-packages/googleapiclient/http.py", line 190, in _retry_request
    resp, content = http.request(uri, method, *args, **kwargs)
  File "/workspace/healthcare/api-client/v1/dicom/.nox/py-3-9/lib/python3.9/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/dicom/.nox/py-3-9/lib/python3.9/site-packages/google/auth/credentials.py", line 133, in before_request
    self.refresh(request)
  File "/workspace/healthcare/api-client/v1/dicom/.nox/py-3-9/lib/python3.9/site-packages/google/oauth2/service_account.py", line 410, in refresh
    access_token, expiry, _ = _client.jwt_grant(
  File "/workspace/healthcare/api-client/v1/dicom/.nox/py-3-9/lib/python3.9/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/dicom/.nox/py-3-9/lib/python3.9/site-packages/google/oauth2/_client.py", line 161, in _token_endpoint_request
    response_status_ok, response_data = _token_endpoint_request_no_throw(
  File "/workspace/healthcare/api-client/v1/dicom/.nox/py-3-9/lib/python3.9/site-packages/google/oauth2/_client.py", line 121, in _token_endpoint_request_no_throw
    response_data = json.loads(response_body)
  File "/usr/local/lib/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
flaky-bot[bot] commented 1 year 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 (0d6a1711e8effdc44570f1ecfd327eee66928109), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).