GeezerVison is showing github.com — asset.snippets.quickstart_analyzeiampolicylongrunning_test: test_analyze_iam_policy_longrunning failed · Issue #8710 · GoogleCloudPlatform/python-docs-samples
asset.snippets.quickstart_analyzeiampolicylongrunning_test: test_analyze_iam_policy_longrunning failed #8710Labels api: cloudassetIssues related to the Cloud Asset Inventory API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.flakybot: issueAn 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.samplesIssues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. DescriptionThis 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: 07e8b81
buildURL: Build Status, Sponge
status: failed
Test output
Traceback (most recent call last):
File "/workspace/asset/snippets/.nox/py-3-10/lib/python3.10/site-packages/google/api_core/grpc_helpers.py", line 72, in error_remapped_callable
return callable_(*args, **kwargs)
File "/workspace/asset/snippets/.nox/py-3-10/lib/python3.10/site-packages/grpc/_channel.py", line 946, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/workspace/asset/snippets/.nox/py-3-10/lib/python3.10/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAUTHENTICATED
details = "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project."
debug_error_string = "UNKNOWN:Error received from peer ipv4:74.125.199.95:443 {grpc_message:"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", grpc_status:16, created_time:"2022-11-30T13:40:59.415324902+00:00"}"
>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspace/asset/snippets/quickstart_analyzeiampolicylongrunning_test.py", line 70, in test_analyze_iam_policy_longrunning
quickstart_analyzeiampolicylongrunning.analyze_iam_policy_longrunning_gcs(PROJECT, dump_file_path)
File "/workspace/asset/snippets/quickstart_analyzeiampolicylongrunning.py", line 40, in analyze_iam_policy_longrunning_gcs
operation = client.analyze_iam_policy_longrunning(
File "/workspace/asset/snippets/.nox/py-3-10/lib/python3.10/site-packages/google/cloud/asset_v1/services/asset_service/client.py", line 1976, in analyze_iam_policy_longrunning
response = rpc(
File "/workspace/asset/snippets/.nox/py-3-10/lib/python3.10/site-packages/google/api_core/gapic_v1/method.py", line 154, in call
return wrapped_func(*args, **kwargs)
File "/workspace/asset/snippets/.nox/py-3-10/lib/python3.10/site-packages/google/api_core/grpc_helpers.py", line 74, in error_remapped_callable
raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.Unauthenticated: 401 Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project. Activityadded flakybot: issueAn 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. type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. on Nov 30, 2022flaky-bot commented on Nov 30, 2022 Looks like this issue is flaky. 😟
I'm going to leave this open and stop commenting.
A human should fix and close this.
When run at the same commit (07e8b81), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge). flaky-bot commented on Dec 1, 2022 Oops! Looks like this issue is still flaky. It failed again. 😬
I reopened the issue, but a human will need to close it again.
commit: b94a3c4
buildURL: Build Status, Sponge
status: failed
Test output
Traceback (most recent call last):
File "/workspace/asset/snippets/.nox/py-3-9/lib/python3.9/site-packages/google/api_core/retry.py", line 190, in retry_target
return target()
File "/workspace/asset/snippets/.nox/py-3-9/lib/python3.9/site-packages/google/api_core/future/polling.py", line 89, in _done_or_raise
raise _OperationNotComplete()
google.api_core.future.polling._OperationNotComplete
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspace/asset/snippets/.nox/py-3-9/lib/python3.9/site-packages/google/api_core/future/polling.py", line 110, in blocking_poll
retry(self._done_or_raise)(**kwargs)
File "/workspace/asset/snippets/.nox/py-3-9/lib/python3.9/site-packages/google/api_core/retry.py", line 283, in retry_wrapped_func
return retry_target(
File "/workspace/asset/snippets/.nox/py-3-9/lib/python3.9/site-packages/google/api_core/retry.py", line 205, in retry_target
raise exceptions.RetryError(
google.api_core.exceptions.RetryError: Deadline of 300.0s exceeded while calling target function, last exception:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/workspace/asset/snippets/quickstart_analyzeiampolicylongrunning_test.py", line 75, in test_analyze_iam_policy_longrunning
quickstart_analyzeiampolicylongrunning.analyze_iam_policy_longrunning_bigquery(PROJECT, dataset_id, "analysis_")
File "/workspace/asset/snippets/quickstart_analyzeiampolicylongrunning.py", line 75, in analyze_iam_policy_longrunning_bigquery
operation.result(300)
File "/workspace/asset/snippets/.nox/py-3-9/lib/python3.9/site-packages/google/api_core/future/polling.py", line 132, in result
self._blocking_poll(timeout=timeout, **kwargs)
File "/workspace/asset/snippets/.nox/py-3-9/lib/python3.9/site-packages/google/api_core/future/polling.py", line 112, in _blocking_poll
raise concurrent.futures.TimeoutError(
concurrent.futures._base.TimeoutError: Operation did not complete within the designated timeout. kweinmeister commented on Jan 6, 2023 The test retried but still failed. This could have been a longer, transient service interruption.
Closing, and we can investigate further if it reoccurs.
MetadataMetadataapi: cloudassetIssues related to the Cloud Asset Inventory API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.flakybot: issueAn 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.samplesIssues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. DevelopmentNo branches or pull requestsIssue actions
|