Files
galaxy/lib
John Chilton f25ca4600e Improve error handling for CLI job runner.
Saw this in the logs for a failed test. I'm sure the test would still have failed but at least we'd be handling things in the error path we're meant to.

ERROR    galaxy.jobs.runners:__init__.py:149 (1) Unhandled exception calling queue_job
Traceback (most recent call last):
  File "/home/runner/work/galaxy/galaxy/galaxy root/lib/galaxy/jobs/runners/__init__.py", line 146, in run_next
    method(arg)
  File "/home/runner/work/galaxy/galaxy/galaxy root/lib/galaxy/jobs/runners/cli.py", line 107, in queue_job
    external_job_id = stdout.strip().split()[-1]
IndexError: list index out of range
DEBUG    galaxy.jobs.runners.cli:cli.py:249 (1/None) Terminated at user's request

https://github.com/galaxyproject/galaxy/runs/6068791433?check_suite_focus=true
2022-04-19 11:36:58 -04:00
..