fractal-analytics-platform / fractal-server

Fractal backend
https://fractal-analytics-platform.github.io/fractal-server/
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

Review uncaught exception in test #1801

Closed tcompa closed 2 days ago

tcompa commented 4 days ago

E.g. in https://github.com/fractal-analytics-platform/fractal-server/actions/runs/11010728532/job/30573299446?pr=1798

tests/no_version/test_backend_slurm.py::test_slurm_account_in_common_script_lines
  /home/runner/.cache/pypoetry/virtualenvs/fractal-server-21eqDTaF-py3.9/lib/python3.9/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-332

  Traceback (most recent call last):
    File "/opt/hostedtoolcache/Python/3.9.20/x64/lib/python3.9/threading.py", line 980, in _bootstrap_inner
      self.run()
    File "/home/runner/work/fractal-server/fractal-server/fractal_server/app/runner/executors/slurm/sudo/_executor_wait_thread.py", line 95, in run
      self.shutdown_callback()
  AttributeError: 'FractalSlurmWaitThread' object has no attribute 'shutdown_callback'