-
Notifications
You must be signed in to change notification settings - Fork 117
[feat] Make job completion time available as a logging variable #1090
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
[feat] Make job completion time available as a logging variable #1090
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 2019-12-18 18:48:57 UTC |
|
@jenkins-cscs retry kesch |
|
@jenkins-cscs retry kesch |
Codecov Report
@@ Coverage Diff @@
## master #1090 +/- ##
==========================================
- Coverage 91.7% 91.55% -0.16%
==========================================
Files 81 81
Lines 11121 11172 +51
==========================================
+ Hits 10199 10228 +29
- Misses 922 944 +22
Continue to review full report at Codecov.
|
- Change the environment context manager so that it uses Environment class - Add an option for logging in run_command - Set completion_time of slurm scheduler inside the respective function instead of update_state
Plus some minor fine tuning of code style.
|
Code-wise this PR is ready. Only remaining thing is to document the new logging variable. |
|
I changed the name of the logging variable to |
|
@brandongc I will merge this one. You should now be able to use |
The attribute is more accurate for the slurm scheduler that uses sacct (but not the squeue job scheduler). The accuracy for the rest is dependent on the polling rate of the running tasks.
Closes #1044.