Skip to content
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

privateca.snippets.test_certificate_authorities: test_create_monitor_ca_policy failed #9075

Closed
flaky-bot bot opened this issue Feb 1, 2023 · 3 comments · Fixed by #9189
Closed

privateca.snippets.test_certificate_authorities: test_create_monitor_ca_policy failed #9075

flaky-bot bot opened this issue Feb 1, 2023 · 3 comments · Fixed by #9189
Assignees
Labels
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. priority: p2 Moderately-important priority. Fix may not be included in 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 Feb 1, 2023

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

Test output
Traceback (most recent call last):
  File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py", line 72, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py", line 946, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/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.ABORTED
	details = "Too many concurrent edits to the project configuration. Please try again."
	debug_error_string = "UNKNOWN:Error received from peer ipv4:209.85.146.95:443 {grpc_message:"Too many concurrent edits to the project configuration. Please try again.", grpc_status:10, created_time:"2023-02-01T13:30:29.376263893+00:00"}"
>

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

Traceback (most recent call last):
File "/workspace/privateca/snippets/test_certificate_authorities.py", line 117, in test_create_monitor_ca_policy
create_ca_monitor_policy(PROJECT)
File "/workspace/privateca/snippets/monitor_certificate_authority.py", line 49, in create_ca_monitor_policy
channel = notificationChannelServiceClient.create_notification_channel(
File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/site-packages/google/cloud/monitoring_v3/services/notification_channel_service/client.py", line 1106, in create_notification_channel
response = rpc(
File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py", line 113, in call
return wrapped_func(*args, **kwargs)
File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/timeout.py", line 120, in func_with_timeout
return func(*args, **kwargs)
File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/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.Aborted: 409 Too many concurrent edits to the project configuration. Please try again.

@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 Feb 1, 2023
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Feb 1, 2023
@flaky-bot flaky-bot bot added the flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. label Feb 1, 2023
@flaky-bot
Copy link
Author

flaky-bot bot commented Feb 1, 2023

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 (78c86ec), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).

@dandhlee
Copy link
Collaborator

dandhlee commented Feb 3, 2023

"Too many concurrent edits to the project configuration. Please try again.", closing for now.

@dandhlee dandhlee closed this as not planned Won't fix, can't repro, duplicate, stale Feb 3, 2023
@flaky-bot
Copy link
Author

flaky-bot bot commented Feb 4, 2023

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

Test output
Traceback (most recent call last):
  File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py", line 72, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py", line 946, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/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.ABORTED
	details = "Too many concurrent edits to the project configuration. Please try again."
	debug_error_string = "UNKNOWN:Error received from peer ipv4:142.251.161.95:443 {created_time:"2023-02-04T13:28:35.334706209+00:00", grpc_status:10, grpc_message:"Too many concurrent edits to the project configuration. Please try again."}"
>

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

Traceback (most recent call last):
File "/workspace/privateca/snippets/test_certificate_authorities.py", line 117, in test_create_monitor_ca_policy
create_ca_monitor_policy(PROJECT)
File "/workspace/privateca/snippets/monitor_certificate_authority.py", line 49, in create_ca_monitor_policy
channel = notificationChannelServiceClient.create_notification_channel(
File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/site-packages/google/cloud/monitoring_v3/services/notification_channel_service/client.py", line 1106, in create_notification_channel
response = rpc(
File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py", line 113, in call
return wrapped_func(*args, **kwargs)
File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/timeout.py", line 120, in func_with_timeout
return func(*args, **kwargs)
File "/workspace/privateca/snippets/.nox/py-3-8/lib/python3.8/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.Aborted: 409 Too many concurrent edits to the project configuration. Please try again.

@flaky-bot flaky-bot bot reopened this Feb 4, 2023
@kweinmeister kweinmeister added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels Feb 10, 2023
@rsamborski rsamborski assigned rsamborski and unassigned vchudnov-g Feb 28, 2023
leahecole pushed a commit that referenced this issue Mar 1, 2023
* Fixing flacky privateca tests (#9075, #9081)

* Fixing backoff to be longer than 1 minute
telpirion pushed a commit that referenced this issue Mar 13, 2023
* Fixing flacky privateca tests (#9075, #9081)

* Fixing backoff to be longer than 1 minute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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. priority: p2 Moderately-important priority. Fix may not be included in 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

Successfully merging a pull request may close this issue.

4 participants