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 #147

Closed
flaky-bot bot opened this issue Mar 18, 2021 · 7 comments · Fixed by #150
Closed

samples.snippets.create_cluster_test: test_cluster_create failed #147

flaky-bot bot opened this issue Mar 18, 2021 · 7 comments · Fixed by #150
Assignees
Labels
api: dataproc Issues related to the googleapis/python-dataproc API. 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 Mar 18, 2021

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

@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 Mar 18, 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 Mar 18, 2021
@flaky-bot flaky-bot bot added the flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. label Mar 19, 2021
@flaky-bot
Copy link
Author

flaky-bot bot commented Mar 19, 2021

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

@yoshi-automation yoshi-automation added 🚨 This issue needs some love. and removed 🚨 This issue needs some love. labels Mar 24, 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 Mar 25, 2021
gcf-merge-on-green bot pushed a commit that referenced this issue Mar 26, 2021
Dataproc 2.0 is the new default image which does not support n1-standard-1.

Fixes #147, #148, #149
@flaky-bot
Copy link
Author

flaky-bot bot commented Mar 26, 2021

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

Test output
args = (project_id: "python-docs-samples-tests"
cluster_name: "py-cc-test-330a4751-7133-4c10-a246-110474ad02ef"
region: "us-central1"
,)
kwargs = {'metadata': [('x-goog-api-client', 'gl-python/3.6.13 grpc/1.36.0 gax/1.26.2 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 0x7f4c4d60c940>
request = project_id: "python-docs-samples-tests"
cluster_name: "py-cc-test-330a4751-7133-4c10-a246-110474ad02ef"
region: "us-central1"

timeout = None
metadata = [('x-goog-api-client', 'gl-python/3.6.13 grpc/1.36.0 gax/1.26.2 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 0x7f4c4d60ce80>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f4c4d4983c8>
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-330a4751-7133-4c10-a246-110474ad02ef"
E debug_error_string = "{"created":"@1616749386.131768706","description":"Error received from peer ipv4:74.125.195.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-330a4751-7133-4c10-a246-110474ad02ef","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-330a4751-7133-4c10-a246-110474ad02ef","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-330a4751-7133-4c10-a246-110474ad02ef

:3: NotFound

@bradmiro
Copy link
Contributor

Fixed in #150

@flaky-bot
Copy link
Author

flaky-bot bot commented Mar 30, 2021

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

Test output
args = (project_id: "python-docs-samples-tests"
cluster_name: "py-cc-test-25ecc0eb-ebdf-4c28-8e1c-8380016e1cde"
region: "us-central1"
,)
kwargs = {'metadata': [('x-goog-api-client', 'gl-python/3.6.13 grpc/1.36.0 gax/1.26.3 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 0x7fe33036aba8>
request = project_id: "python-docs-samples-tests"
cluster_name: "py-cc-test-25ecc0eb-ebdf-4c28-8e1c-8380016e1cde"
region: "us-central1"

timeout = None
metadata = [('x-goog-api-client', 'gl-python/3.6.13 grpc/1.36.0 gax/1.26.3 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 0x7fe33036af60>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7fe330474348>
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-25ecc0eb-ebdf-4c28-8e1c-8380016e1cde"
E debug_error_string = "{"created":"@1617095185.342210654","description":"Error received from peer ipv4:74.125.142.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-25ecc0eb-ebdf-4c28-8e1c-8380016e1cde","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-25ecc0eb-ebdf-4c28-8e1c-8380016e1cde","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-25ecc0eb-ebdf-4c28-8e1c-8380016e1cde

:3: NotFound

@flaky-bot flaky-bot bot reopened this Mar 30, 2021
@flaky-bot flaky-bot bot reopened this Mar 31, 2021
@flaky-bot
Copy link
Author

flaky-bot bot commented Mar 31, 2021

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

Test output
args = (project_id: "python-docs-samples-tests"
cluster_name: "py-cc-test-14977873-4058-48a6-894e-d4604c0798bd"
region: "us-central1"
,)
kwargs = {'metadata': [('x-goog-api-client', 'gl-python/3.6.13 grpc/1.36.0 gax/1.26.3 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 0x7fb1b6328ba8>
request = project_id: "python-docs-samples-tests"
cluster_name: "py-cc-test-14977873-4058-48a6-894e-d4604c0798bd"
region: "us-central1"

timeout = None
metadata = [('x-goog-api-client', 'gl-python/3.6.13 grpc/1.36.0 gax/1.26.3 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 0x7fb1b6328f60>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7fb1b6432088>
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-14977873-4058-48a6-894e-d4604c0798bd"
E debug_error_string = "{"created":"@1617181624.347348409","description":"Error received from peer ipv4:74.125.20.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-14977873-4058-48a6-894e-d4604c0798bd","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-14977873-4058-48a6-894e-d4604c0798bd","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-14977873-4058-48a6-894e-d4604c0798bd

:3: NotFound

@bradmiro
Copy link
Contributor

This looks like a reporting lag. Closing again.

@flaky-bot flaky-bot bot reopened this Apr 1, 2021
@flaky-bot
Copy link
Author

flaky-bot bot commented Apr 1, 2021

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

Test output
args = (project_id: "python-docs-samples-tests"
cluster_name: "py-cc-test-ed2fb94b-1197-4503-95da-d2470578a88c"
region: "us-central1"
,)
kwargs = {'metadata': [('x-goog-api-client', 'gl-python/3.6.13 grpc/1.36.0 gax/1.26.3 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 0x7efcbd839d68>
request = project_id: "python-docs-samples-tests"
cluster_name: "py-cc-test-ed2fb94b-1197-4503-95da-d2470578a88c"
region: "us-central1"

timeout = None
metadata = [('x-goog-api-client', 'gl-python/3.6.13 grpc/1.36.0 gax/1.26.3 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 0x7efcbd839eb8>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7efcbd943048>
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-ed2fb94b-1197-4503-95da-d2470578a88c"
E debug_error_string = "{"created":"@1617267755.974154599","description":"Error received from peer ipv4:74.125.20.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-ed2fb94b-1197-4503-95da-d2470578a88c","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-ed2fb94b-1197-4503-95da-d2470578a88c","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-ed2fb94b-1197-4503-95da-d2470578a88c

:3: NotFound

msampathkumar pushed a commit to GoogleCloudPlatform/python-docs-samples that referenced this issue Nov 14, 2022
parthea pushed a commit to googleapis/google-cloud-python that referenced this issue Sep 22, 2023
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: 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.

3 participants