Ability to run test jobs in maintenance mode

Dear developers,

The addition of maintenance mode is a great tool. And so is the cryosparcm test workers command.
However it seems that if cryosparc is in maintenance mode, the test jobs will fail because they won’t be launched.

(base) cryosparcv2@hodgkin:~$ cryosparcm test workers P202 --target hodgkin

Using project P202
Testing targets hodgkin.rhpc.nki.nl
Running worker tests...
2023-01-25 11:42:33,705 WORKER_TEST          log                  CRITICAL | Worker test results
2023-01-25 11:42:33,706 WORKER_TEST          log                  CRITICAL | hodgkin.rhpc.nki.nl
2023-01-25 11:42:33,706 WORKER_TEST          log                  CRITICAL |   ✕ LAUNCH
2023-01-25 11:42:33,706 WORKER_TEST          log                  CRITICAL |     Error: 
2023-01-25 11:42:33,706 WORKER_TEST          log                  CRITICAL |     See P202 J1 for more information
2023-01-25 11:42:33,706 WORKER_TEST          log                  CRITICAL |   ⚠ SSD
2023-01-25 11:42:33,706 WORKER_TEST          log                  CRITICAL |     Did not run: Launch test failed
2023-01-25 11:42:33,706 WORKER_TEST          log                  CRITICAL |   ⚠ GPU
2023-01-25 11:42:33,706 WORKER_TEST          log                  CRITICAL |     Did not run: Launch test failed
(base) cryosparcv2@hodgkin:~$ cryosparcm maintenancemode off

Turning maintenance mode OFF
(base) cryosparcv2@hodgkin:~$ cryosparcm test workers P202 --target hodgkin

Using project P202
Testing targets hodgkin.rhpc.nki.nl
Running worker tests...
2023-01-25 11:46:18,026 WORKER_TEST          log                  CRITICAL | Worker test results
2023-01-25 11:46:18,026 WORKER_TEST          log                  CRITICAL | hodgkin.rhpc.nki.nl
2023-01-25 11:46:18,027 WORKER_TEST          log                  CRITICAL |   ✓ LAUNCH
2023-01-25 11:46:18,027 WORKER_TEST          log                  CRITICAL |   ✓ SSD
2023-01-25 11:46:18,027 WORKER_TEST          log                  CRITICAL |   ✓ GPU

Feature request: let test jobs run in maintenance mode.

Thanks!

Edit: formatting

Hey @Andrea,

Thank you for the suggestion! We’ve taken note.