Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

samples.snippets.create_cluster_test: test_cluster_create failed #255

Closed
flaky-bot bot opened this issue Sep 1, 2021 · 1 comment
Closed

samples.snippets.create_cluster_test: test_cluster_create failed #255

flaky-bot bot opened this issue Sep 1, 2021 · 1 comment
Labels
api: dataproc Issues related to the googleapis/python-dataproc API. 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 Sep 1, 2021

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


commit: 19897a8
buildURL: Build Status, Sponge
status: failed

Test output
args = (project_id: "python-docs-samples-tests"
cluster_name: "py-cc-test-cf7de06b-1447-4078-9fc0-e9f393b8ccf7"
region: "us-central1"
,)
kwargs = {'metadata': [('x-goog-api-client', 'gl-python/3.8.8 grpc/1.39.0 gax/1.31.2 gapic/2.5.0')]}
@six.wraps(callable_)
def error_remapped_callable(*args, **kwargs):
    try:
      return callable_(*args, **kwargs)

.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:67:


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7fec10558d90>
request = project_id: "python-docs-samples-tests"
cluster_name: "py-cc-test-cf7de06b-1447-4078-9fc0-e9f393b8ccf7"
region: "us-central1"

timeout = None
metadata = [('x-goog-api-client', 'gl-python/3.8.8 grpc/1.39.0 gax/1.31.2 gapic/2.5.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-8/lib/python3.8/site-packages/grpc/_channel.py:946:


state = <grpc._channel._RPCState object at 0x7fec10558730>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7fec10208cc0>
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-cf7de06b-1447-4078-9fc0-e9f393b8ccf7"
E debug_error_string = "{"created":"@1630494278.975546768","description":"Error received from peer ipv4:74.125.142.95:443","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"Not found: Cluster projects/python-docs-samples-tests/regions/us-central1/clusters/py-cc-test-cf7de06b-1447-4078-9fc0-e9f393b8ccf7","grpc_status":5}"
E >

.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py:849: _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:37:


../../google/cloud/dataproc_v1/services/cluster_controller/client.py:849: in delete_cluster
response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py:145: in call
return wrapped_func(*args, **kwargs)
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py:286: in retry_wrapped_func
return retry_target(
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py:189: in retry_target
return target()
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:69: 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-cf7de06b-1447-4078-9fc0-e9f393b8ccf7","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-cf7de06b-1447-4078-9fc0-e9f393b8ccf7

:3: NotFound

@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 Sep 1, 2021
@product-auto-label product-auto-label bot added api: dataproc Issues related to the googleapis/python-dataproc API. samples Issues that are directly related to samples. labels Sep 1, 2021
@meredithslota meredithslota 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 Sep 1, 2021
@flaky-bot
Copy link
Author

flaky-bot bot commented Sep 2, 2021

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

@flaky-bot flaky-bot bot closed this as completed Sep 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: dataproc Issues related to the googleapis/python-dataproc API. 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

No branches or pull requests

1 participant