-
Notifications
You must be signed in to change notification settings - Fork 20
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
Fix handling of squeue call with invalid jobid #326
Fix handling of squeue call with invalid jobid #326
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #326 +/- ##
=======================================
Coverage 98.87% 98.87%
=======================================
Files 55 55
Lines 2222 2225 +3
=======================================
+ Hits 2197 2200 +3
Misses 25 25 ☔ View full report in Codecov by Sentry. |
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.
[this is approved.gif]
5ff342a
to
d105f23
Compare
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.
Thanks for taking care, looks good to me 👍
In case a job is already completed and only one non-existing job id is provided the
squeue
command is failing with exit code 1 and it prints "Invalid job id specified" to stderr. If two or more non-existing job ids or a mixture of existing ones and non-existings jobs are provided,squeue
command succeeds.This pull request is adjusting the handling of failed
squeue
commands correspondigly.Thanks to @rodwalker for reporting it.