Skip to content

kms.snippets.snippets_test: test_import_manually_wrapped_key failed #8725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
flaky-bot bot opened this issue Nov 30, 2022 · 1 comment
Closed

kms.snippets.snippets_test: test_import_manually_wrapped_key failed #8725

flaky-bot bot opened this issue Nov 30, 2022 · 1 comment
Assignees
Labels
api: cloudkms Issues related to the Cloud Key Management Service API. flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. flakybot: quiet Tells the Flaky Bot to comment less. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. samples Issues that are directly related to samples. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@flaky-bot
Copy link

flaky-bot bot commented Nov 30, 2022

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: 07e8b81
buildURL: Build Status, Sponge
status: failed

Test output
Traceback (most recent call last):
  File "/workspace/kms/snippets/.nox/py-3-9/lib/python3.9/site-packages/google/api_core/grpc_helpers.py", line 72, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/workspace/kms/snippets/.nox/py-3-9/lib/python3.9/site-packages/grpc/_channel.py", line 946, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/workspace/kms/snippets/.nox/py-3-9/lib/python3.9/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.NOT_FOUND
	details = "CryptoKey projects/python-docs-samples-tests/locations/us-east1/keyRings/3a49aa2f-7457-4c28-b669-95f9aa0d4440/cryptoKeys/my-import-job-ec-key not found."
	debug_error_string = "UNKNOWN:Error received from peer ipv4:74.125.199.95:443 {created_time:"2022-11-30T13:44:31.326508988+00:00", grpc_status:5, grpc_message:"CryptoKey projects/python-docs-samples-tests/locations/us-east1/keyRings/3a49aa2f-7457-4c28-b669-95f9aa0d4440/cryptoKeys/my-import-job-ec-key not found."}"
>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/workspace/kms/snippets/snippets_test.py", line 422, in test_import_manually_wrapped_key
import_manually_wrapped_key(project_id, location_id, key_ring_id, import_tests_key_id, import_job_id)
File "/workspace/kms/snippets/import_manually_wrapped_key.py", line 73, in import_manually_wrapped_key
client.import_crypto_key_version({
File "/workspace/kms/snippets/.nox/py-3-9/lib/python3.9/site-packages/google/cloud/kms_v1/services/key_management_service/client.py", line 2099, in import_crypto_key_version
response = rpc(
File "/workspace/kms/snippets/.nox/py-3-9/lib/python3.9/site-packages/google/api_core/gapic_v1/method.py", line 154, in call
return wrapped_func(*args, **kwargs)
File "/workspace/kms/snippets/.nox/py-3-9/lib/python3.9/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.NotFound: 404 CryptoKey projects/python-docs-samples-tests/locations/us-east1/keyRings/3a49aa2f-7457-4c28-b669-95f9aa0d4440/cryptoKeys/my-import-job-ec-key not found.

@flaky-bot flaky-bot bot added flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Nov 30, 2022
@product-auto-label product-auto-label bot added api: cloudkms Issues related to the Cloud Key Management Service API. samples Issues that are directly related to samples. labels Nov 30, 2022
@flaky-bot
Copy link
Author

flaky-bot bot commented 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 flaky-bot bot added the flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. label Nov 30, 2022
@msampathkumar msampathkumar added the flakybot: quiet Tells the Flaky Bot to comment less. label Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: cloudkms Issues related to the Cloud Key Management Service API. flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. flakybot: quiet Tells the Flaky Bot to comment less. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. samples Issues that are directly related to samples. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants