Skip to content

samples.snippets.get_model_evaluation_sample_test: test_ucaip_generated_get_model_evaluation_sample failed #107

@flaky-bot

Description

@flaky-bot

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

Test output
args = (name: "projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221"
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=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 = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f07efb4d790>
request = name: "projects/ucaip-sample-tests/locations/us-central1/models/5162251072873431040/evaluations/5615675837586029221"

timeout = None
metadata = [('x-goog-request-params', 'name=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 = <grpc._channel._RPCState object at 0x7f07efb4d410>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f07efde3f00>
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":"@1606907540.586318659","description":"Error received from peer ipv4:142.250.107.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 0x7f07efc9d710>

def test_ucaip_generated_get_model_evaluation_sample(capsys):
    get_model_evaluation_sample.get_model_evaluation_sample(
      project=PROJECT_ID, model_id=MODEL_ID, evaluation_id=EVALUATION_ID
    )

get_model_evaluation_sample_test.py:27:


get_model_evaluation_sample.py:33: in get_model_evaluation_sample
response = client.get_model_evaluation(name=name)
../../google/cloud/aiplatform_v1beta1/services/model_service/client.py:1022: in get_model_evaluation
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

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.samplesIssues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions