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

tests.system.aiplatform.test_experiment_model.TestExperimentModel: test_deploy_model_with_cpu_container failed #2147

Closed
flaky-bot bot opened this issue May 2, 2023 · 1 comment
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API. 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.

Comments

@flaky-bot
Copy link

flaky-bot bot commented May 2, 2023

Note: #1915 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


commit: 809257f
buildURL: Build Status, Sponge
status: failed

Test output
self = 
shared_state = {'bucket': , 'resources': [}
def test_deploy_model_with_cpu_container(self, shared_state):
    aiplatform.init(
        project=e2e_base._PROJECT,
        location=e2e_base._LOCATION,
        staging_bucket=f"gs://{shared_state['staging_bucket_name']}",
    )

    # It takes long time to deploy a model. To reduce the system test run
    # time, we randomly choose one registered model to test deployment.
    registered_model = random.choice(self.registered_models_cpu)

    # Deploy the registered model
    endpoint = registered_model.deploy()

    pred = endpoint.predict([[1, 2]])
  assert isinstance(pred, models.Prediction)

E AssertionError: assert False
E + where False = isinstance(Prediction(predictions=[1.0], deployed_model_id='4571472480153108480', model_version_id='1', model_resource_name='projects/580378083368/locations/us-central1/models/1002554493415456768', explanations=None), <class 'google.cloud.aiplatform.models.Prediction'>)
E + where <class 'google.cloud.aiplatform.models.Prediction'> = models.Prediction

tests/system/aiplatform/test_experiment_model.py:345: AssertionError

@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 May 2, 2023
@product-auto-label product-auto-label bot added the api: vertex-ai Issues related to the googleapis/python-aiplatform API. label May 2, 2023
@flaky-bot
Copy link
Author

flaky-bot bot commented May 2, 2023

Test passed for commit 575ee0f (Build Status, Sponge)! Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API. 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.
Projects
None yet
Development

No branches or pull requests

0 participants