Skip to content

tests.system.aiplatform.test_model_monitoring.TestModelDeploymentMonitoring: test_mdm_invalid_config_incorrect_model_id failed #1584

Description

@flaky-bot

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

Test output
self = 
shared_state = {'resources': [ 
resource name: projects/580378083368/locations/us-central1/models/1440918784293470208]}
def test_mdm_invalid_config_incorrect_model_id(self, shared_state):
  [temp_endpoint, model] = self.temp_endpoint(shared_state)

tests/system/aiplatform/test_model_monitoring.py:323:


tests/system/aiplatform/test_model_monitoring.py:147: in temp_endpoint
endpoint = model.deploy(machine_type="n1-standard-2")
google/cloud/aiplatform/models.py:3201: in deploy
return self._deploy(
google/cloud/aiplatform/base.py:793: in wrapper
return method(*args, **kwargs)
google/cloud/aiplatform/models.py:3376: in _deploy
endpoint._deploy_call(
google/cloud/aiplatform/models.py:1233: in _deploy_call
operation_future.result()


self = <google.api_core.operation.Operation object at 0x7f6160674790>
timeout = None, retry = <google.api_core.retry.Retry object at 0x7f617b5694c0>

def result(self, timeout=None, retry=DEFAULT_RETRY):
    """Get the result of the operation, blocking if necessary.

    Args:
        timeout (int):
            How long (in seconds) to wait for the operation to complete.
            If None, wait indefinitely.

    Returns:
        google.protobuf.Message: The Operation's result.

    Raises:
        google.api_core.GoogleAPICallError: If the operation errors or if
            the timeout is reached before the operation completes.
    """
    kwargs = {} if retry is DEFAULT_RETRY else {"retry": retry}
    self._blocking_poll(timeout=timeout, **kwargs)

    if self._exception is not None:
        # pylint: disable=raising-bad-type
        # Pylint doesn't recognize that this is valid in this case.
      raise self._exception

E google.api_core.exceptions.ResourceExhausted: 429 The following quotas are exceeded: DeployedCustomModelsPerProjectPerRegion

.nox/system-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py:135: ResourceExhausted

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: vertex-aiIssues related to the googleapis/python-aiplatform API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions