Skip to content

Catch UnroutableError for orphaned processes in verdi process calls#2445

Merged
sphuber merged 2 commits into
aiidateam:provenance_redesignfrom
sphuber:fix_2443_verdi_process_unroutables
Feb 8, 2019
Merged

Catch UnroutableError for orphaned processes in verdi process calls#2445
sphuber merged 2 commits into
aiidateam:provenance_redesignfrom
sphuber:fix_2443_verdi_process_unroutables

Conversation

@sphuber
Copy link
Copy Markdown
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
Copy Markdown

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 requested a review from giovannipizzi February 8, 2019 08:11
@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