GoogleCloudPlatform / python-docs-samples

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

healthcare.api-client.v1.fhir.fhir_stores_test: test_import_fhir_store_gcs failed #6874

Closed flaky-bot[bot] closed 2 years ago

flaky-bot[bot] commented 2 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: 84d7cb58a5b088fb347ff46792c3b949551aed6c buildURL: Build Status, Sponge status: failed

Test output
Traceback (most recent call last):
  File "/workspace/healthcare/api-client/v1/fhir/fhir_stores_test.py", line 62, in test_dataset
    create()
  File "/workspace/healthcare/api-client/v1/fhir/.nox/py-3-10/lib/python3.10/site-packages/backoff/_sync.py", line 94, in retry
    ret = target(*args, **kwargs)
  File "/workspace/healthcare/api-client/v1/fhir/fhir_stores_test.py", line 52, in create
    datasets.create_dataset(project_id, location, dataset_id)
  File "/workspace/healthcare/api-client/v1/fhir/../datasets/datasets.py", line 47, in create_dataset
    response = request.execute()
  File "/workspace/healthcare/api-client/v1/fhir/.nox/py-3-10/lib/python3.10/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/workspace/healthcare/api-client/v1/fhir/.nox/py-3-10/lib/python3.10/site-packages/googleapiclient/http.py", line 937, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: 
flaky-bot[bot] commented 2 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.


commit: 4e8bbf405fcd41720f130cbcb6796e71b2a32b33 buildURL: Build Status, Sponge status: failed

Test output
Traceback (most recent call last):
  File "/workspace/healthcare/api-client/v1/fhir/fhir_stores_test.py", line 62, in test_dataset
    create()
  File "/workspace/healthcare/api-client/v1/fhir/.nox/py-3-10/lib/python3.10/site-packages/backoff/_sync.py", line 94, in retry
    ret = target(*args, **kwargs)
  File "/workspace/healthcare/api-client/v1/fhir/fhir_stores_test.py", line 52, in create
    datasets.create_dataset(project_id, location, dataset_id)
  File "/workspace/healthcare/api-client/v1/fhir/../datasets/datasets.py", line 47, in create_dataset
    response = request.execute()
  File "/workspace/healthcare/api-client/v1/fhir/.nox/py-3-10/lib/python3.10/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/workspace/healthcare/api-client/v1/fhir/.nox/py-3-10/lib/python3.10/site-packages/googleapiclient/http.py", line 937, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: 
leahecole commented 2 years ago

I enabled the Healthcare API in the new test project

flaky-bot[bot] commented 2 years ago

Oops! Looks like this issue is still flaky. It failed again. :grimacing:

I reopened the issue, but a human will need to close it again.


commit: 767d63113bf3e7f2b43047bbc594ec22c4178d33 buildURL: Build Status, Sponge status: failed

Test output
Traceback (most recent call last):
  File "/workspace/healthcare/api-client/v1/fhir/fhir_stores_test.py", line 244, in test_import_fhir_store_gcs
    fhir_stores.import_fhir_resources(
  File "/workspace/healthcare/api-client/v1/fhir/fhir_stores.py", line 358, in import_fhir_resources
    response = request.execute()
  File "/workspace/healthcare/api-client/v1/fhir/.nox/py-3-10/lib/python3.10/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/workspace/healthcare/api-client/v1/fhir/.nox/py-3-10/lib/python3.10/site-packages/googleapiclient/http.py", line 937, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: 
busunkim96 commented 2 years ago

I gave the healthcare service agent in the new project permissions to python-docs-samples-tests buckets. This is now resolved. https://source.cloud.google.com/results/invocations/067e1094-bbf9-42d7-9c14-4302cc173d5f/targets