-
Notifications
You must be signed in to change notification settings - Fork 117
[bugfix] Fix infinite loop bug when cleanup phase fails #1124
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
Conversation
|
Hello @ekouts, Thank you for updating! Cheers! There are no PEP8 issues in this Pull Request!Do see the ReFrame Coding Style Guide Comment last updated at 2020-01-27 17:25:33 UTC |
teojgo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just add one empty line separating the absolute from relative imports.
Codecov Report
@@ Coverage Diff @@
## master #1124 +/- ##
=======================================
Coverage 91.96% 91.96%
=======================================
Files 81 81
Lines 11653 11653
=======================================
Hits 10717 10717
Misses 936 936
Continue to review full report at Codecov.
|
vkarak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We had a private chat with @ekouts about the changes need to be made. I'll re-review later.
vkarak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The implementation looks good. The only thing are the unit tests. Check my respective comments.
The task cleanup should be in a try block for both serial and asynchronous execution policies in order to have the correct _retired_tasks list.
The output of reframe for tests that fail on cleanup can also be misleading because both will be printed
The line
[ OK ]is printed just after performance.To avoid the confusion now the OK is printed after the performance stage in both serial and asynchronous policy and a new message
[ ERROR ]is printed for failure in the cleanup stage. The error message is different because the failure is probably due to a reframe/system error. New output looks like that:serial:
async:
Fixes #1121