-
Notifications
You must be signed in to change notification settings - Fork 246
Description
Description
Unit tests have been failing since January 6th. Notably, neither RMG-Py and RMG-database have had recent new commits - the last ones were in December.
Last successful CI: https://github.com/ReactionMechanismGenerator/RMG-Py/actions/runs/12617937457
First failing CI: https://github.com/ReactionMechanismGenerator/RMG-Py/actions/runs/12629122576
Edit: Chemprop is also having failures since Jan 6th (chemprop/chemprop#1145) so more likely than not it is related to the runners or some meta-aspect of how we are conducting the CI. turns out this was something completely unrelated
3 tests are failing:
FAILED test/rmgpy/molecule/groupTest.py::TestGroup::test_repr_png - AssertionError: 1
FAILED test/rmgpy/tools/fluxdiagramTest.py::FluxDiagramTest::test_avi_simple - AssertionError: 1
FAILED test/rmgpy/tools/fluxdiagramTest.py::FluxDiagramTest::test_avi_liquid - AssertionError: 1
apparently all due to a graphviz failure, traceback:
Warning: Could not load "/home/runner/miniconda3/envs/rmg_env/lib/graphviz/libgvplugin_pango.so.6" - file not found
Warning: Could not load "/home/runner/miniconda3/envs/rmg_env/lib/graphviz/libgvplugin_pango.so.6" - file not found
Format: "png" not recognized. Use one of: bmp canon cmap cmapx cmapx_np dot eps fig gtk gv ico imap imap_np ismap jpe jpeg jpg pdf pic plain plain-ext png pov ps ps2 svg svgz tif tiff tk vml vmlz x11 xdot xdot1.2 xdot1.4 xlib
Troubleshooting steps so far
- I verified that the
mambaenvironments for both of the fail and success runs were the same. The runners were slightly different:
Success run:
__glibc=2.35=0
__linux=6.5.0=0
Linux/6.5.0-1025-azure ubuntu/22.04.5 glibc/2.35
Fail run:
__glibc=2.39=0
__linux=6.8.0=0
Linux/6.8.0-1017-azure ubuntu/24.04.1 glibc/2.39
Could these subtle variations in runner be making a difference?
- I started a new branch,
fix_failing_ci, and tried modifying the env file in case we're missing any hidden dependencies: https://stackoverflow.com/questions/60058398/graphviz-warning-with-libgvplugin-pango-so-6-dot-fails-to-produce-pdf
Interestingly, we had this problem in the past ("graphviz/libgvplugin_pango.so.6" - file not found" missing dependency on WSL installations #2141) for WSL and we solved it by justapt-get install-inggraphviz.
So far, adding these dependencies hasn't solved the problem.
What to do next?
if anyone has any better ideas, please comment below.
- Test manual run of unit-tests
- investigate whether different runners could be causing this issue? maybe force runner type in CI?