Skip to content

mlflow.exceptions.MlflowException: experiments should have 2 rows assert 1 == 2 #205

@amotl

Description

@amotl

Problem

Currently, all submitted patches fail CI.

FAILED tests/test_examples.py::test_tracking_pycaret - mlflow.exceptions.MlflowException: experiments should have 2 rows
assert 1 == 2
 +  where 1 = <bound method Query.count of <sqlalchemy.orm.query.Query object at 0x7ffa8977c310>>()
 +    where <bound method Query.count of <sqlalchemy.orm.query.Query object at 0x7ffa8977c310>> = <sqlalchemy.orm.query.Query object at 0x7ffa8977c310>.count
 +      where <sqlalchemy.orm.query.Query object at 0x7ffa8977c310> = <bound method Session.query of <sqlalchemy.orm.session.Session object at 0x7ffa897a5990>>(SqlExperiment)
 +        where <bound method Session.query of <sqlalchemy.orm.session.Session object at 0x7ffa897a5990>> = <sqlalchemy.orm.session.Session object at 0x7ffa897a5990>.query
======= 1 failed, 139 passed, 3 skipped, 6 warnings in 249.87s (0:04:09) =======

Evaluation

Maybe some flaw in the test suite that existed from the very beginning? Possibly a REFRESH TABLE statement missing, that now trips more often due to arbitrary timing changes (new hardware on GHA runners / CrateDB got faster / you name it).

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions