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

dataproc.create_cluster_test: test_cluster_create failed #3923

Closed
flaky-bot bot opened this issue Jun 1, 2020 · 4 comments
Closed

dataproc.create_cluster_test: test_cluster_create failed #3923

flaky-bot bot opened this issue Jun 1, 2020 · 4 comments
Assignees
Labels
api: dataproc Issues related to the Dataproc API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. 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 Jun 1, 2020

This test failed!

To configure my behavior, see the Build Cop Bot documentation.

If I'm commenting on this issue too often, add the buildcop: quiet label and
I will stop commenting.


commit: d671543
buildURL: Build Status, Sponge
status: failed

Test output
Traceback (most recent call last):
  File "/workspace/dataproc/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/workspace/dataproc/.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py", line 826, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/workspace/dataproc/.nox/py-3-8/lib/python3.8/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.DEADLINE_EXCEEDED
	details = "Deadline Exceeded"
	debug_error_string = "{"created":"@1591012437.589734564","description":"Error received from peer ipv4:74.125.31.95:443","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Deadline Exceeded","grpc_status":4}"
>

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

Traceback (most recent call last):
File "/workspace/dataproc/create_cluster_test.py", line 44, in test_cluster_create
create_cluster.create_cluster(PROJECT_ID, REGION, CLUSTER_NAME)
File "/workspace/dataproc/create_cluster.py", line 62, in create_cluster
operation = cluster_client.create_cluster(project_id, region, cluster)
File "/workspace/dataproc/.nox/py-3-8/lib/python3.8/site-packages/google/cloud/dataproc_v1/gapic/cluster_controller_client.py", line 289, in create_cluster
operation = self._inner_api_calls["create_cluster"](
File "/workspace/dataproc/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py", line 143, in call
return wrapped_func(*args, **kwargs)
File "/workspace/dataproc/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py", line 281, in retry_wrapped_func
return retry_target(
File "/workspace/dataproc/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py", line 184, in retry_target
return target()
File "/workspace/dataproc/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/timeout.py", line 214, in func_with_timeout
return func(*args, **kwargs)
File "/workspace/dataproc/.nox/py-3-8/lib/python3.8/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.DeadlineExceeded: 504 Deadline Exceeded

@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 Jun 1, 2020
@kurtisvg kurtisvg added the api: dataproc Issues related to the Dataproc API. label Jun 1, 2020
@kurtisvg kurtisvg assigned bradmiro and unassigned kurtisvg Jun 1, 2020
@flaky-bot
Copy link
Author

flaky-bot bot commented Jun 2, 2020

Test passed for commit e7e6f93 (Build Status, Sponge)! Closing this issue.

@flaky-bot flaky-bot bot closed this as completed Jun 2, 2020
@flaky-bot flaky-bot bot reopened this Jun 3, 2020
@flaky-bot
Copy link
Author

flaky-bot bot commented Jun 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.


commit: 572d951
buildURL: Build Status, Sponge
status: failed

Test output
Traceback (most recent call last):
  File "/workspace/dataproc/.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/dataproc/.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/dataproc/.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.DEADLINE_EXCEEDED
	details = "Deadline Exceeded"
	debug_error_string = "{"created":"@1591178408.468149281","description":"Error received from peer ipv4:172.217.203.95:443","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Deadline Exceeded","grpc_status":4}"
>

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

Traceback (most recent call last):
File "/workspace/dataproc/create_cluster_test.py", line 44, in test_cluster_create
create_cluster.create_cluster(PROJECT_ID, REGION, CLUSTER_NAME)
File "/workspace/dataproc/create_cluster.py", line 62, in create_cluster
operation = cluster_client.create_cluster(project_id, region, cluster)
File "/workspace/dataproc/.nox/py-3-6/lib/python3.6/site-packages/google/cloud/dataproc_v1/gapic/cluster_controller_client.py", line 290, in create_cluster
request, retry=retry, timeout=timeout, metadata=metadata
File "/workspace/dataproc/.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/dataproc/.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/dataproc/.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py", line 184, in retry_target
return target()
File "/workspace/dataproc/.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/dataproc/.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.DeadlineExceeded: 504 Deadline Exceeded

@tmatsuo
Copy link
Contributor

tmatsuo commented Jun 3, 2020

@bradmiro

JFYI, here is what I would do:

  1. All the RPC is flaky. Look at the code and if any RPCs are not retried, make a change and let it retry.

  2. If we still see DeadlineExceededErrors too often, talk with the service provider to discuss if the current Deadline value is appropriate.

@bradmiro
Copy link
Collaborator

bradmiro commented Jun 4, 2020

Thanks Takashi, I'm currently investigating this at b/158098991.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dataproc Issues related to the Dataproc API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. 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

4 participants