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

Catch UnroutableError for orphaned processes in verdi process calls #2445

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Feb 1, 2019

Fixes #2443

If the RabbitMQ task of a running process is lost before it is
completed, it will never complete, but any verdi process commands that
try to reach it such as pause, play and kill will throw an
UnroutableError. This exception should be caught and an error message
should be printed instead.

@coveralls
Copy link

coveralls commented Feb 1, 2019

Coverage Status

Coverage increased (+0.006%) to 69.725% when pulling 52b5ce2 on sphuber:fix_2443_verdi_process_unroutables into d4996f1 on aiidateam:provenance_redesign.

If the RabbitMQ task of a running process is lost before it is
completed, it will never complete, but any `verdi process` commands that
try to reach it such as `pause`, `play` and `kill` will throw an
`UnroutableError`. This exception should be caught and an error message
should be printed instead.
@sphuber sphuber force-pushed the fix_2443_verdi_process_unroutables branch from d2588c5 to 1baa58f Compare February 8, 2019 08:10
@sphuber sphuber merged commit 4378d52 into aiidateam:provenance_redesign Feb 8, 2019
@sphuber sphuber deleted the fix_2443_verdi_process_unroutables branch February 8, 2019 10:47
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

Successfully merging this pull request may close these issues.

3 participants