Hi there, One of our staff has just noticed that sacct -j ${OLDER_JOBID} now requires a start time in 18.08.6-2 when before it didn't. Without: csamuel@cori12:~> sacct -j 19672721 -X JobID JobName Partition Account AllocCPUS State ExitCode ------------ ---------- ---------- ---------- ---------- ---------- -------- csamuel@cori12:~> With: csamuel@cori12:~> sacct -j 19672721 -S 2019-01-01 -X JobID JobName Partition Account AllocCPUS State ExitCode ------------ ---------- ---------- ---------- ---------- ---------- -------- 19672721 stream-2TB debug nstaff 4096 COMPLETED 0:0 The manual page for sacct says: -S, --starttime Select eligible jobs in any state after the specified time. Default is 00:00:00 of the current day, unless the '-s' or '-j' options are used. If the '-s' option is used, then the default is 'now'. If states are given with the '-s' option then only jobs in this state at this time will be returned. If the '-j' option is used, then the default time is Unix Epoch 0. See the DEFAULT TIME WINDOW for more details. as well as: WITH --jobs AND WITHOUT --state specified: --starttime Dfaults to Epoch 0. --endtime Defaults to Now. So it appears that it should still work. I wonder if this is an unexpected side effect of this item in NEWS? -- Enforce documented default usage start and end times when querying jobs from the database. All the best, Chris
This looks like a regression introduced by a recent rework of the sacct flag logic. The intent was to more closely and clearly implement what is stated in the documentation, but this particular case is not correct. I'll get this fixed; thanks for reporting it.
(In reply to Broderick Gardner from comment #2) > This looks like a regression introduced by a recent rework of the sacct flag > logic. The intent was to more closely and clearly implement what is stated > in the documentation, but this particular case is not correct. I'll get this > fixed; thanks for reporting it. Thanks Broderick, much appreciated! All the best, Chris
Hi Chris, This bug is definitely a regression of bug 5717. We are already reviewing a patch and improving regression tests (see test12.10). We'll let you know, Albert
Hi Chris, The patch has been committed in branch slurm-18.08 (3361bf611c61de3bb90f8cadbacf58b4d1dc8707) and it will be added to 18.08.7. I'm closing this as fixed. Thanks for reporting it, Albert
(In reply to Albert Gil from comment #20) > Hi Chris, Hi Albert, > The patch has been committed in branch slurm-18.08 > (3361bf611c61de3bb90f8cadbacf58b4d1dc8707) and it will be added to 18.08.7. Thanks for that - I'm currently trying to automate our builds of Slurm RPMs (we've got to build 3 different sets for the Cray, each with different config options) and so once I've got that working then I'll pull this patch into our build to see if it resolved the issue. All the best, Chris
*** Ticket 6755 has been marked as a duplicate of this ticket. ***
*** Ticket 6830 has been marked as a duplicate of this ticket. ***
Hi Chris, > > The patch has been committed in branch slurm-18.08 > > (3361bf611c61de3bb90f8cadbacf58b4d1dc8707) and it will be added to 18.08.7. > > Thanks for that - I'm currently trying to automate our builds of Slurm RPMs > (we've got to build 3 different sets for the Cray, each with different > config options) and so once I've got that working then I'll pull this patch > into our build to see if it resolved the issue. As you probably know, 18.08.7 was released last week, mainly to avoid more duplicates of this regression bug. Albert
*** Ticket 7046 has been marked as a duplicate of this ticket. ***