Git Product home page Git Product logo

Comments (4)

flaky-bot avatar flaky-bot commented on June 22, 2024

commit: fbd03b1
buildURL: Build Status, Sponge
status: failed

Test output
self = 
shared_state = {'bucket': , 'resources': [}
caplog = <_pytest.logging.LogCaptureFixture object at 0x7f147d967160>
def test_autologging_enable_disable_check(self, shared_state, caplog):

    caplog.set_level(logging.INFO)

    # first enable autologging with provided tb-backed experiment
    aiplatform.init(
        project=e2e_base._PROJECT,
        location=e2e_base._LOCATION,
        experiment=self._experiment_enable_name,
    )

    shared_state["resources"].append(
        aiplatform.metadata.metadata._experiment_tracker.experiment
    )

    aiplatform.autolog()

    assert aiplatform.utils.autologging_utils._is_autologging_enabled()

    aiplatform.metadata.metadata._experiment_tracker._global_tensorboard = None

    # re-initializing without tb-backed experiment should disable autologging
    aiplatform.init(
        project=e2e_base._PROJECT,
        location=e2e_base._LOCATION,
        experiment=self._experiment_disable_test,
    )
  assert "Disabling" in caplog.text

E AssertionError: assert 'Disabling' in 'INFO root:initializer.py:135 project/location updated, reset Experiment config.\n'
E + where 'INFO root:initializer.py:135 project/location updated, reset Experiment config.\n' = <_pytest.logging.LogCaptureFixture object at 0x7f147d967160>.text

tests/system/aiplatform/test_autologging.py:311: AssertionError

from python-aiplatform.

flaky-bot avatar flaky-bot commented on June 22, 2024

commit: b0a7dd3
buildURL: Build Status, Sponge
status: failed

Test output
self = 
shared_state = {'bucket': , 'resources': [}
caplog = <_pytest.logging.LogCaptureFixture object at 0x7f69fc7c26a0>
def test_autologging_enable_disable_check(self, shared_state, caplog):

    caplog.set_level(logging.INFO)

    # first enable autologging with provided tb-backed experiment
    aiplatform.init(
        project=e2e_base._PROJECT,
        location=e2e_base._LOCATION,
        experiment=self._experiment_enable_name,
    )

    shared_state["resources"].append(
        aiplatform.metadata.metadata._experiment_tracker.experiment
    )

    aiplatform.autolog()

    assert aiplatform.utils.autologging_utils._is_autologging_enabled()

    aiplatform.metadata.metadata._experiment_tracker._global_tensorboard = None

    # re-initializing without tb-backed experiment should disable autologging
    aiplatform.init(
        project=e2e_base._PROJECT,
        location=e2e_base._LOCATION,
        experiment=self._experiment_disable_test,
    )
  assert "Disabling" in caplog.text

E AssertionError: assert 'Disabling' in 'INFO root:initializer.py:135 project/location updated, reset Experiment config.\n'
E + where 'INFO root:initializer.py:135 project/location updated, reset Experiment config.\n' = <_pytest.logging.LogCaptureFixture object at 0x7f69fc7c26a0>.text

tests/system/aiplatform/test_autologging.py:311: AssertionError

from python-aiplatform.

flaky-bot avatar flaky-bot commented on June 22, 2024

commit: 56518f1
buildURL: Build Status, Sponge
status: failed

Test output
self = 
shared_state = {'bucket': , 'resources': [}
caplog = <_pytest.logging.LogCaptureFixture object at 0x7f5a496b85b0>
def test_autologging_enable_disable_check(self, shared_state, caplog):

    caplog.set_level(logging.INFO)

    # first enable autologging with provided tb-backed experiment
    aiplatform.init(
        project=e2e_base._PROJECT,
        location=e2e_base._LOCATION,
        experiment=self._experiment_enable_name,
    )

    shared_state["resources"].append(
        aiplatform.metadata.metadata._experiment_tracker.experiment
    )

    aiplatform.autolog()

    assert aiplatform.utils.autologging_utils._is_autologging_enabled()

    aiplatform.metadata.metadata._experiment_tracker._global_tensorboard = None

    # re-initializing without tb-backed experiment should disable autologging
    aiplatform.init(
        project=e2e_base._PROJECT,
        location=e2e_base._LOCATION,
        experiment=self._experiment_disable_test,
    )
  assert "Disabling" in caplog.text

E AssertionError: assert 'Disabling' in 'INFO root:initializer.py:135 project/location updated, reset Experiment config.\n'
E + where 'INFO root:initializer.py:135 project/location updated, reset Experiment config.\n' = <_pytest.logging.LogCaptureFixture object at 0x7f5a496b85b0>.text

tests/system/aiplatform/test_autologging.py:311: AssertionError

from python-aiplatform.

matthew29tang avatar matthew29tang commented on June 22, 2024

Test has been deprecated and removed.

from python-aiplatform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.