Skip to content

CI failure debugging #634

@liamhuber

Description

@liamhuber

Uploading to coveralls has been spotty for a while, but four days ago the daily test started to fail consistently with:

 ======================================================================
ERROR: test_draw (unit.test_node.TestNode.test_draw)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/pyiron_workflow/pyiron_workflow/tests/unit/test_node.py", line 347, in test_draw
    p.unlink()
  File "/home/runner/work/pyiron_workflow/pyiron_workflow/cached-miniforge/my-env/lib/python3.12/pathlib.py", line 1342, in unlink
    os.unlink(self)
IsADirectoryError: [Errno 21] Is a directory: '/home/runner/work/pyiron_workflow/pyiron_workflow/start/cached-miniforge'

----------------------------------------------------------------------
Ran 224 tests in 40.683s

Everything is fine on my local machine, this test only produces the three image files and these get cleaned up ok. On the CI it really is putting conda env information inside the node directory. This isn't just an unlucky overlap of paths, in #631 I played around with it and it's consistently and exactly putting it where the node directory is created. Force-removing the whole directory with shutil.rmtree(...) does the trick (cf. #632), but really shouldn't be necessary.

What's more, even if I fix that, the docs CI job is still failing:

Run mkdir public_html
/home/runner/work/_temp/54c68941-f48b-40bf-89f5-3538d59d9f93.sh: /home/runner/work/pyiron_workflow/pyiron_workflow/cached-miniforge/my-env/bin/sphinx-build: cached-miniforge/my-env/bin/python3.12: bad interpreter: No such file or directory

That isn't part of the dailies, but at the latest was working two weeks ago when executorlib was bumped (#627).

So, it really looks like something took a wrong turn in the upstream CI env management exactly between 4 and 5 days ago.

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