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_serializers.TestCloudPickleSerializer: test_serialize_func failed #2733

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
@pytest.fixture
    def mock_filesystem():
>       with fake_filesystem_unittest.Patcher() as patcher:

tests/unit/vertexai/conftest.py:114: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.nox/unit-3-10/lib/python3.10/site-packages/pyfakefs/fake_filesystem_unittest.py:714: in __enter__
    self.setUp()
.nox/unit-3-10/lib/python3.10/site-packages/pyfakefs/fake_filesystem_unittest.py:896: in setUp
    self.start_patching()
.nox/unit-3-10/lib/python3.10/site-packages/pyfakefs/fake_filesystem_unittest.py:904: in start_patching
    self.patch_modules()
.nox/unit-3-10/lib/python3.10/site-packages/pyfakefs/fake_filesystem_unittest.py:929: in patch_modules
    self._stubs.smart_set(module, name, self.fake_modules[attr])
.nox/unit-3-10/lib/python3.10/site-packages/pyfakefs/mox3_stubout.py:108: in smart_set
    setattr(orig_obj, attr_name, new_attr)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = 
name = 'os', value = 

    def __setattr__(self, name, value):
        if name in self._bypass_keys:
            super().__setattr__(name, value)
        elif name not in self._allowed_keys:
>           raise AttributeError(f"{self.__name__}.{name} does not exist")
E           AttributeError: torch._functorch.config.os does not exist

.nox/unit-3-10/lib/python3.10/site-packages/torch/_dynamo/config_utils.py:72: AttributeError
flaky-bot[bot] commented 11 months ago

Test passed for commit 9fedd34d004a60c7105c066085a296bc12b28138 (Build Status, Sponge)! Closing this issue.

flaky-bot[bot] commented 11 months ago

Test passed for commit 9fedd34d004a60c7105c066085a296bc12b28138 (Build Status, Sponge)! Closing this issue.

flaky-bot[bot] commented 11 months ago

Test passed for commit 9fedd34d004a60c7105c066085a296bc12b28138 (Build Status, Sponge)! Closing this issue.

flaky-bot[bot] commented 11 months ago

Test passed for commit 9fedd34d004a60c7105c066085a296bc12b28138 (Build Status, Sponge)! Closing this issue.