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

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

Open
amotl opened this issue Feb 13, 2025 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@amotl
Copy link
Member

amotl commented Feb 13, 2025

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

@amotl amotl added bug Something isn't working help wanted Extra attention is needed labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant