Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples.snippets.export_model_tabular_classification_sample_test: test_ucaip_generated_export_model_tabular_classification_sample failed #106

Closed
flaky-bot bot opened this issue Dec 2, 2020 · 3 comments
Assignees
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to 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 Dec 2, 2020

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/5359002081594179584"
output_config {
  export_format_...output_uri_prefix: "gs://ucaip-samples-test-output/tmp/export_model_test_79652c7e-5f25-4aad-bd9a-ac40e029c6f0"
  }
}
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/ucaip-sample-tests/locations/us-central1/models/5359002081594179584'), ('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 0x7f07efc982d0>
request = name: "projects/ucaip-sample-tests/locations/us-central1/models/5359002081594179584"
output_config {
export_format_i... output_uri_prefix: "gs://ucaip-samples-test-output/tmp/export_model_test_79652c7e-5f25-4aad-bd9a-ac40e029c6f0"
}
}

timeout = None
metadata = [('x-goog-request-params', 'name=projects/ucaip-sample-tests/locations/us-central1/models/5359002081594179584'), ('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 0x7f07efc98790>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f07fe73f820>
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":"@1606907539.997788449","description":"Error received from peer ipv4:74.125.20.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 0x7f07efb16e50>

def test_ucaip_generated_export_model_tabular_classification_sample(capsys):
    export_model_tabular_classification_sample.export_model_tabular_classification_sample(
        project=PROJECT_ID,
        model_id=MODEL_ID,
      gcs_destination_output_uri_prefix=f"{GCS_BUCKET}/{GCS_PREFIX}",
    )

export_model_tabular_classification_sample_test.py:44:


export_model_tabular_classification_sample.py:37: in export_model_tabular_classification_sample
response = client.export_model(name=name, output_config=output_config)
../../google/cloud/aiplatform_v1beta1/services/model_service/client.py:937: in export_model
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

@flaky-bot flaky-bot bot added buildcop: issue 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 Dec 2, 2020
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Dec 2, 2020
@dizcology
Copy link
Contributor

fixed in #120

@flaky-bot flaky-bot bot reopened this Dec 5, 2020
@flaky-bot
Copy link
Author

flaky-bot bot commented Dec 5, 2020

Looks like this issue is flaky. 😟

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

A human should fix and close this.


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

Test output
args = (name: "projects/ucaip-sample-tests/locations/us-central1/models/5359002081594179584"
output_config {
  export_format_...output_uri_prefix: "gs://ucaip-samples-test-output/tmp/export_model_test_e9fde9ba-0ef4-4ce0-ac75-b0d22aa72170"
  }
}
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/ucaip-sample-tests/locations/us-central1/models/5359002081594179584'), ('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 = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f510d0c5250>
request = name: "projects/ucaip-sample-tests/locations/us-central1/models/5359002081594179584"
output_config {
export_format_i... output_uri_prefix: "gs://ucaip-samples-test-output/tmp/export_model_test_e9fde9ba-0ef4-4ce0-ac75-b0d22aa72170"
}
}

timeout = None
metadata = [('x-goog-request-params', 'name=projects/ucaip-sample-tests/locations/us-central1/models/5359002081594179584'), ('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 = <grpc._channel._RPCState object at 0x7f510d0c5710>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f510e0607d0>
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":"@1607167277.681395608","description":"Error received from peer ipv4:74.125.142.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 0x7f510d0b85d0>

def test_ucaip_generated_export_model_tabular_classification_sample(capsys):
    export_model_tabular_classification_sample.export_model_tabular_classification_sample(
        project=PROJECT_ID,
        model_id=MODEL_ID,
      gcs_destination_output_uri_prefix=f"{GCS_BUCKET}/{GCS_PREFIX}",
    )

export_model_tabular_classification_sample_test.py:44:


export_model_tabular_classification_sample.py:37: in export_model_tabular_classification_sample
response = client.export_model(name=name, output_config=output_config)
../../google/cloud/aiplatform_v1beta1/services/model_service/client.py:937: in export_model
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 flaky-bot bot reopened this Dec 8, 2020
@flaky-bot
Copy link
Author

flaky-bot bot commented Dec 8, 2020

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

Test output
args = (name: "projects/ucaip-sample-tests/locations/us-central1/models/5359002081594179584"
output_config {
  export_format_...output_uri_prefix: "gs://ucaip-samples-test-output/tmp/export_model_test_205fcc53-b3d4-44ab-b13f-c42cffb0af97"
  }
}
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/ucaip-sample-tests/locations/us-central1/models/5359002081594179584'), ('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 = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f5aa70772d0>
request = name: "projects/ucaip-sample-tests/locations/us-central1/models/5359002081594179584"
output_config {
export_format_i... output_uri_prefix: "gs://ucaip-samples-test-output/tmp/export_model_test_205fcc53-b3d4-44ab-b13f-c42cffb0af97"
}
}

timeout = None
metadata = [('x-goog-request-params', 'name=projects/ucaip-sample-tests/locations/us-central1/models/5359002081594179584'), ('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 = <grpc._channel._RPCState object at 0x7f5aa7077790>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f5aa7175640>
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":"@1607426205.173210509","description":"Error received from peer ipv4:74.125.142.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 0x7f5aa7075650>

def test_ucaip_generated_export_model_tabular_classification_sample(capsys):
    export_model_tabular_classification_sample.export_model_tabular_classification_sample(
        project=PROJECT_ID,
        model_id=MODEL_ID,
      gcs_destination_output_uri_prefix=f"{GCS_BUCKET}/{GCS_PREFIX}",
    )

export_model_tabular_classification_sample_test.py:44:


export_model_tabular_classification_sample.py:37: in export_model_tabular_classification_sample
response = client.export_model(name=name, output_config=output_config)
../../google/cloud/aiplatform_v1beta1/services/model_service/client.py:937: in export_model
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to 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