Skip to content

Unit tests failing since Jan 6th #2750

@jonwzheng

Description

@jonwzheng

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 mamba environments 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?

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions