Skip to content

asset.cloud-client.quickstart_deletefeed_test: test_delete_feed failed #4235

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 Jul 3, 2020 · 2 comments · Fixed by #4245
Closed

asset.cloud-client.quickstart_deletefeed_test: test_delete_feed failed #4235

flaky-bot bot opened this issue Jul 3, 2020 · 2 comments · Fixed by #4245
Assignees
Labels
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.

Comments

@flaky-bot
Copy link

flaky-bot bot commented Jul 3, 2020

Note: #3588 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


commit: 51a66f9
buildURL: Build Status, Sponge
status: failed

Test output
Traceback (most recent call last):
  File "/workspace/asset/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/workspace/asset/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py", line 826, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/workspace/asset/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py", line 729, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.INTERNAL
	details = "Internal error encountered."
	debug_error_string = "{"created":"@1593767178.350059468","description":"Error received from peer ipv4:74.125.20.95:443","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"Internal error encountered.","grpc_status":13}"
>

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

Traceback (most recent call last):
File "/workspace/asset/cloud-client/quickstart_deletefeed_test.py", line 41, in test_delete_feed
PROJECT, FEED_ID, [ASSET_NAME, ], full_topic_name)
File "/workspace/asset/cloud-client/quickstart_createfeed.py", line 36, in create_feed
response = client.create_feed(parent, feed_id, feed)
File "/workspace/asset/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/cloud/asset_v1/gapic/asset_service_client.py", line 533, in create_feed
request, retry=retry, timeout=timeout, metadata=metadata
File "/workspace/asset/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py", line 143, in call
return wrapped_func(*args, **kwargs)
File "/workspace/asset/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py", line 286, in retry_wrapped_func
on_error=on_error,
File "/workspace/asset/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py", line 184, in retry_target
return target()
File "/workspace/asset/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/timeout.py", line 214, in func_with_timeout
return func(*args, **kwargs)
File "/workspace/asset/cloud-client/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 59, in error_remapped_callable
six.raise_from(exceptions.from_grpc_error(exc), exc)
File "", line 3, in raise_from
google.api_core.exceptions.InternalServerError: 500 Internal error encountered.

@flaky-bot flaky-bot bot added buildcop: issue 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 Jul 3, 2020
@flaky-bot
Copy link
Author

flaky-bot bot commented Jul 3, 2020

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

@tmatsuo tmatsuo assigned tmatsuo and unassigned crwilcox Jul 6, 2020
@tmatsuo
Copy link
Contributor

tmatsuo commented Jul 6, 2020

I looked at the test code. There is a small room for improvements w.r.t. test setup and teardown. Potentially we can reduce the flakiness too.

tmatsuo pushed a commit to tmatsuo/python-docs-samples that referenced this issue Jul 6, 2020
fixes GoogleCloudPlatform#4235
(by retrying upon InternalServerError)
leahecole added a commit that referenced this issue Jul 6, 2020
fixes #4235
(by retrying upon InternalServerError)

Co-authored-by: Leah E. Cole <[email protected]>
engelke pushed a commit that referenced this issue Nov 28, 2022
fixes #4235
(by retrying upon InternalServerError)

Co-authored-by: Leah E. Cole <[email protected]>
dandhlee pushed a commit that referenced this issue Nov 29, 2022
fixes #4235
(by retrying upon InternalServerError)

Co-authored-by: Leah E. Cole <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants