-
Notifications
You must be signed in to change notification settings - Fork 29
samples.snippets.create_cluster_test: test_cluster_create failed #147
Description
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: fb8232d
buildURL: Build Status, Sponge
status: failed
Test output
args = (project_id: "python-docs-samples-tests"
cluster_name: "py-cc-test-ccc48392-3ecd-4185-b3c4-9a71b3d21014"
region: "us-central1"
,)
kwargs = {'metadata': [('x-goog-api-client', 'gl-python/3.6.13 grpc/1.36.0 gax/1.26.1 gapic/2.3.0')]}
@six.wraps(callable_)
def error_remapped_callable(*args, **kwargs):
try:
return callable_(*args, **kwargs)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py:73:
self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7faa4a1e8a90>
request = project_id: "python-docs-samples-tests"
cluster_name: "py-cc-test-ccc48392-3ecd-4185-b3c4-9a71b3d21014"
region: "us-central1"
timeout = None
metadata = [('x-goog-api-client', 'gl-python/3.6.13 grpc/1.36.0 gax/1.26.1 gapic/2.3.0')]
credentials = None, wait_for_ready = None, compression = None
def __call__(self,
request,
timeout=None,
metadata=None,
credentials=None,
wait_for_ready=None,
compression=None):
state, call, = self._blocking(request, timeout, metadata, credentials,
wait_for_ready, compression)
return _end_unary_response_blocking(state, call, False, None)
.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py:923:
state = <grpc._channel._RPCState object at 0x7faa4a1e8da0>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7faa4a0717c8>
with_call = False, deadline = None
def _end_unary_response_blocking(state, call, with_call, deadline):
if state.code is grpc.StatusCode.OK:
if with_call:
rendezvous = _MultiThreadedRendezvous(state, call, None, deadline)
return state.response, rendezvous
else:
return state.response
else:
raise _InactiveRpcError(state)
E grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E status = StatusCode.NOT_FOUND
E details = "Not found: Cluster projects/python-docs-samples-tests/regions/us-central1/clusters/py-cc-test-ccc48392-3ecd-4185-b3c4-9a71b3d21014"
E debug_error_string = "{"created":"@1616058186.553333463","description":"Error received from peer ipv4:74.125.197.95:443","file":"src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"Not found: Cluster projects/python-docs-samples-tests/regions/us-central1/clusters/py-cc-test-ccc48392-3ecd-4185-b3c4-9a71b3d21014","grpc_status":5}"
E >
.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py:826: _InactiveRpcError
The above exception was the direct cause of the following exception:
@pytest.fixture(autouse=True)
def teardown():
yield
cluster_client = dataproc.ClusterControllerClient(
client_options={"api_endpoint": f"{REGION}-dataproc.googleapis.com:443"}
)
# Client library function
operation = cluster_client.delete_cluster(
request={
"project_id": PROJECT_ID,
"region": REGION,
"cluster_name": CLUSTER_NAME,
}
)
create_cluster_test.py:41:
../../google/cloud/dataproc_v1/services/cluster_controller/client.py:700: in delete_cluster
response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py:145: in call
return wrapped_func(*args, **kwargs)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py:286: in retry_wrapped_func
on_error=on_error,
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py:184: in retry_target
return target()
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py:75: in error_remapped_callable
six.raise_from(exceptions.from_grpc_error(exc), exc)
value = None
from_value = <_InactiveRpcError of RPC that terminated with:
status = StatusCode.NOT_FOUND
details = "Not found: Cluster projects...on-docs-samples-tests/regions/us-central1/clusters/py-cc-test-ccc48392-3ecd-4185-b3c4-9a71b3d21014","grpc_status":5}"
???
E google.api_core.exceptions.NotFound: 404 Not found: Cluster projects/python-docs-samples-tests/regions/us-central1/clusters/py-cc-test-ccc48392-3ecd-4185-b3c4-9a71b3d21014
:3: NotFound