Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job crashes if JobRunner.update_job() raises ConnectionError #84

Open
LourensVeen opened this issue Jan 13, 2019 · 0 comments
Open

Job crashes if JobRunner.update_job() raises ConnectionError #84

LourensVeen opened this issue Jan 13, 2019 · 0 comments

Comments

@LourensVeen
Copy link
Member

This can easily happen if you lose your network connection after submitting, and should be grounds for a retry on the next connection attempt, not a move into SystemError. Should check RemoteJobFiles.update_job() as well.

[2019-01-12 19:03:14.060] [CRITICAL] Traceback (most recent call last):
  File "cerise/../cerise/back_end/execution_manager.py", line 290, in _process_jobs
    self._job_runner.update_job(job_id)
  File "cerise/../cerise/back_end/job_runner.py", line 52, in update_job
    status = self._sched.get_status(job.remote_job_id)
  File "/usr/local/lib/python3.5/dist-packages/cerulean/slurm_scheduler.py", line 66, in get_status
    10, command, ['-j', job_id, '-h', '-o', '%T'], None, None)
  File "/usr/local/lib/python3.5/dist-packages/cerulean/ssh_terminal.py", line 137, in run
    raise ConnectionError(str(last_exception))
ConnectionError: Timeout opening channel.
 [cerise.back_end.execution_manager]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant