Repository navigation
Closed
Labels
api: cloudfunctionsIssues related to the Cloud Run functions API.Issues related to the Cloud Run functions API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.Tells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.An issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
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: bb1c1df
buildURL: Build Status, Sponge
status: failed
Test output
Traceback (most recent call last):
File "/workspace/functions/v2/label_gce_instance/main_test.py", line 66, in test_functions_label_gce_instance_should_set_label
main.label_gce_instance(event)
File "/workspace/functions/v2/label_gce_instance/main.py", line 58, in label_gce_instance
instance = instances_client.get(
^^^^^^^^^^^^^^^^^^^^^
File "/workspace/functions/v2/label_gce_instance/.nox/py-3-11/lib/python3.11/site-packages/google/cloud/compute_v1/services/instances/client.py", line 2325, in get
response = rpc(
^^^^
File "/workspace/functions/v2/label_gce_instance/.nox/py-3-11/lib/python3.11/site-packages/google/api_core/gapic_v1/method.py", line 154, in __call__
return wrapped_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/functions/v2/label_gce_instance/.nox/py-3-11/lib/python3.11/site-packages/google/api_core/grpc_helpers.py", line 72, in error_remapped_callable
return callable_(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/functions/v2/label_gce_instance/.nox/py-3-11/lib/python3.11/site-packages/google/cloud/compute_v1/services/instances/transports/rest.py", line 2425, in __call__
raise core_exceptions.from_http_response(response)
google.api_core.exceptions.NotFound: 404 GET https://compute.googleapis.com/compute/v1/projects/python-docs-samples-tests/zones/us-central1-a/instances/functions-label-gce-test-instance-py-311: The resource 'projects/python-docs-samples-tests/zones/us-central1-a/instances/functions-label-gce-test-instance-py-311' was not foundMetadata
Metadata
Assignees
Labels
api: cloudfunctionsIssues related to the Cloud Run functions API.Issues related to the Cloud Run functions API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.Tells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.An issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Activity
flaky-bot commentedon Jan 14, 2023
Test passed for commit c954b52 (Build Status, Sponge)! Closing this issue.
flaky-bot commentedon Jan 14, 2023
Looks like this issue is flaky. 😟
I'm going to leave this open and stop commenting.
A human should fix and close this.
commit: c954b52
buildURL: Build Status, Sponge
status: failed
Test output
Traceback (most recent call last): File "/workspace/functions/v2/label_gce_instance/main_test.py", line 66, in test_functions_label_gce_instance_should_set_label main.label_gce_instance(event) File "/workspace/functions/v2/label_gce_instance/main.py", line 58, in label_gce_instance instance = instances_client.get( ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/functions/v2/label_gce_instance/.nox/py-3-11/lib/python3.11/site-packages/google/cloud/compute_v1/services/instances/client.py", line 2325, in get response = rpc( ^^^^ File "/workspace/functions/v2/label_gce_instance/.nox/py-3-11/lib/python3.11/site-packages/google/api_core/gapic_v1/method.py", line 154, in __call__ return wrapped_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/functions/v2/label_gce_instance/.nox/py-3-11/lib/python3.11/site-packages/google/api_core/grpc_helpers.py", line 72, in error_remapped_callable return callable_(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/functions/v2/label_gce_instance/.nox/py-3-11/lib/python3.11/site-packages/google/cloud/compute_v1/services/instances/transports/rest.py", line 2425, in __call__ raise core_exceptions.from_http_response(response) google.api_core.exceptions.NotFound: 404 GET https://compute.googleapis.com/compute/v1/projects/python-docs-samples-tests/zones/us-central1-a/instances/functions-label-gce-test-instance-py-311: The resource 'projects/python-docs-samples-tests/zones/us-central1-a/instances/functions-label-gce-test-instance-py-311' was not foundace-n commentedon Jan 18, 2023
#8872 (temporarily) added Python 3.11 tests to this sample. During that time, the
python-docs-samples-testsproject didn't have a matchingfunctions-label-gce-test-instance-py-311GCE instance - which was what caused this test to fail.I went ahead and created that instance, so this bug should now be resolved.