googleapis / python-aiplatform

A Python SDK for Vertex AI, a fully managed, end-to-end platform for data science and machine learning.
Apache License 2.0
636 stars 345 forks source link

samples.snippets.list_model_evaluation_slices_sample_test: test_ucaip_generated_get_model_evaluation_slices_sample failed #114

Closed flaky-bot[bot] closed 3 years ago

flaky-bot[bot] commented 3 years ago

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

Test output
args = (parent: "projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221"
,)
kwargs = {'metadata': [('x-goog-request-params', 'parent=projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221'), ('x-goog-api-client', 'gl-python/3.7.7 grpc/1.33.2 gax/1.23.0 gapic/0.3.1')]}

    @six.wraps(callable_)
    def error_remapped_callable(*args, **kwargs):
        try:
>           return callable_(*args, **kwargs)

.nox/py-3-7/lib/python3.7/site-packages/google/api_core/grpc_helpers.py:57: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = 
request = parent: "projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221"

timeout = None
metadata = [('x-goog-request-params', 'parent=projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221'), ('x-goog-api-client', 'gl-python/3.7.7 grpc/1.33.2 gax/1.23.0 gapic/0.3.1')]
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-7/lib/python3.7/site-packages/grpc/_channel.py:923: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

state = 
call = 
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 = "The Model does not exist."
E               debug_error_string = "{"created":"@1606908373.506968741","description":"Error received from peer ipv4:74.125.195.95:443","file":"src/core/lib/surface/call.cc","file_line":1061,"grpc_message":"The Model does not exist.","grpc_status":5}"
E           >

.nox/py-3-7/lib/python3.7/site-packages/grpc/_channel.py:826: _InactiveRpcError

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

capsys = <_pytest.capture.CaptureFixture object at 0x7f07efd19b50>

    def test_ucaip_generated_get_model_evaluation_slices_sample(capsys):
        list_model_evaluation_slices_sample.list_model_evaluation_slices_sample(
>           project=PROJECT_ID, model_id=MODEL_ID, evaluation_id=EVALUATION_ID
        )

list_model_evaluation_slices_sample_test.py:29: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
list_model_evaluation_slices_sample.py:33: in list_model_evaluation_slices_sample
    response = client.list_model_evaluation_slices(parent=parent)
../../google/cloud/aiplatform_v1beta1/services/model_service/client.py:1264: in list_model_evaluation_slices
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
.nox/py-3-7/lib/python3.7/site-packages/google/api_core/gapic_v1/method.py:145: in __call__
    return wrapped_func(*args, **kwargs)
.nox/py-3-7/lib/python3.7/site-packages/google/api_core/grpc_helpers.py:59: 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 = "The Model does not exist."
...","file":"src/core/lib/surface/call.cc","file_line":1061,"grpc_message":"The Model does not exist.","grpc_status":5}"
>

>   ???
E   google.api_core.exceptions.NotFound: 404 The Model does not exist.

:3: NotFound
dizcology commented 3 years ago

fixed in https://github.com/googleapis/python-aiplatform/pull/120

flaky-bot[bot] commented 3 years ago

Looks like this issue is flaky. :worried:

I'm going to leave this open and stop commenting.

A human should fix and close this.


commit: 151ed11f6da8e3e0bee5749d360d9a4b135ad988 buildURL: Build Status, Sponge status: failed

Test output
args = (parent: "projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221"
,)
kwargs = {'metadata': [('x-goog-request-params', 'parent=projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221'), ('x-goog-api-client', 'gl-python/3.7.7 grpc/1.34.0 gax/1.23.0 gapic/0.3.1')]}

    @six.wraps(callable_)
    def error_remapped_callable(*args, **kwargs):
        try:
>           return callable_(*args, **kwargs)

.nox/py-3-7/lib/python3.7/site-packages/google/api_core/grpc_helpers.py:57: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = 
request = parent: "projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221"

timeout = None
metadata = [('x-goog-request-params', 'parent=projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221'), ('x-goog-api-client', 'gl-python/3.7.7 grpc/1.34.0 gax/1.23.0 gapic/0.3.1')]
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-7/lib/python3.7/site-packages/grpc/_channel.py:923: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

state = 
call = 
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 = "The Model does not exist."
E               debug_error_string = "{"created":"@1607168424.726624017","description":"Error received from peer ipv4:74.125.195.95:443","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"The Model does not exist.","grpc_status":5}"
E           >

.nox/py-3-7/lib/python3.7/site-packages/grpc/_channel.py:826: _InactiveRpcError

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

capsys = <_pytest.capture.CaptureFixture object at 0x7f510d027450>

    def test_ucaip_generated_get_model_evaluation_slices_sample(capsys):
        list_model_evaluation_slices_sample.list_model_evaluation_slices_sample(
>           project=PROJECT_ID, model_id=MODEL_ID, evaluation_id=EVALUATION_ID
        )

list_model_evaluation_slices_sample_test.py:29: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
list_model_evaluation_slices_sample.py:33: in list_model_evaluation_slices_sample
    response = client.list_model_evaluation_slices(parent=parent)
../../google/cloud/aiplatform_v1beta1/services/model_service/client.py:1264: in list_model_evaluation_slices
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
.nox/py-3-7/lib/python3.7/site-packages/google/api_core/gapic_v1/method.py:145: in __call__
    return wrapped_func(*args, **kwargs)
.nox/py-3-7/lib/python3.7/site-packages/google/api_core/grpc_helpers.py:59: 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 = "The Model does not exist."
...","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"The Model does not exist.","grpc_status":5}"
>

>   ???
E   google.api_core.exceptions.NotFound: 404 The Model does not exist.

:3: NotFound
flaky-bot[bot] commented 3 years ago

Oops! Looks like this issue is still flaky. It failed again. :grimacing:

I reopened the issue, but a human will need to close it again.


commit: 151ed11f6da8e3e0bee5749d360d9a4b135ad988 buildURL: Build Status, Sponge status: failed

Test output
args = (parent: "projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221"
,)
kwargs = {'metadata': [('x-goog-request-params', 'parent=projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221'), ('x-goog-api-client', 'gl-python/3.7.7 grpc/1.34.0 gax/1.23.0 gapic/0.3.1')]}

    @six.wraps(callable_)
    def error_remapped_callable(*args, **kwargs):
        try:
>           return callable_(*args, **kwargs)

.nox/py-3-7/lib/python3.7/site-packages/google/api_core/grpc_helpers.py:57: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = 
request = parent: "projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221"

timeout = None
metadata = [('x-goog-request-params', 'parent=projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221'), ('x-goog-api-client', 'gl-python/3.7.7 grpc/1.34.0 gax/1.23.0 gapic/0.3.1')]
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-7/lib/python3.7/site-packages/grpc/_channel.py:923: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

state = 
call = 
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 = "The Model does not exist."
E               debug_error_string = "{"created":"@1607427424.940678296","description":"Error received from peer ipv4:74.125.197.95:443","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"The Model does not exist.","grpc_status":5}"
E           >

.nox/py-3-7/lib/python3.7/site-packages/grpc/_channel.py:826: _InactiveRpcError

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

capsys = <_pytest.capture.CaptureFixture object at 0x7f5aa6fb8b50>

    def test_ucaip_generated_get_model_evaluation_slices_sample(capsys):
        list_model_evaluation_slices_sample.list_model_evaluation_slices_sample(
>           project=PROJECT_ID, model_id=MODEL_ID, evaluation_id=EVALUATION_ID
        )

list_model_evaluation_slices_sample_test.py:29: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
list_model_evaluation_slices_sample.py:33: in list_model_evaluation_slices_sample
    response = client.list_model_evaluation_slices(parent=parent)
../../google/cloud/aiplatform_v1beta1/services/model_service/client.py:1264: in list_model_evaluation_slices
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
.nox/py-3-7/lib/python3.7/site-packages/google/api_core/gapic_v1/method.py:145: in __call__
    return wrapped_func(*args, **kwargs)
.nox/py-3-7/lib/python3.7/site-packages/google/api_core/grpc_helpers.py:59: 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 = "The Model does not exist."
...","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"The Model does not exist.","grpc_status":5}"
>

>   ???
E   google.api_core.exceptions.NotFound: 404 The Model does not exist.

:3: NotFound