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
615 stars 327 forks source link

tests.unit.vertexai.test_vizier_hyperparameter_tuner.TestVizierHyperparameterTuner: test_run_trial_vertex_model_remote_container_train failed #2769

Closed flaky-bot[bot] closed 11 months ago

flaky-bot[bot] commented 11 months ago

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

Test output
self = 

    @pytest.mark.usefixtures(
        "google_auth_mock",
        "mock_create_study",
        "mock_blob_upload_from_filename",
        "mock_create_custom_job",
        "mock_get_custom_job_succeeded",
    )
    def test_run_trial_vertex_model_remote_container_train(self):
        vertexai.init(project=_TEST_PROJECT, location=_TEST_LOCATION)
        vertexai.preview.init(remote=True)

        test_tuner = VizierHyperparameterTuner(
            get_model_func=get_test_remote_container_trainer,
            max_trial_count=16,
            parallel_trial_count=4,
            hparam_space=[],
        )
        test_trial = Trial(name="trial_0", parameters=[])
>       test_model, test_metric_value = test_tuner._run_trial(
            x_train=_TEST_TRAINING_DATA,
            y_train=None,
            x_test=_TEST_X_TEST,
            y_test=_TEST_Y_TEST_CLASSIFICATION_BINARY,
            trial=test_trial,
        )
E       TypeError: cannot unpack non-iterable NoneType object

/tmpfs/src/github/python-aiplatform/tests/unit/vertexai/test_vizier_hyperparameter_tuner.py:1306: TypeError
flaky-bot[bot] commented 11 months ago

Closing as a duplicate of #2763

flaky-bot[bot] commented 11 months ago

Closing as a duplicate of #2763

flaky-bot[bot] commented 11 months ago

Closing as a duplicate of #2763

flaky-bot[bot] commented 11 months ago

Closing as a duplicate of #2763