Ticket 13678 - squeue --states=all does not include jobs in STOPPED state
Summary: squeue --states=all does not include jobs in STOPPED state
Status: RESOLVED FIXED
Alias: None
Product: Slurm
Classification: Unclassified
Component: User Commands (show other tickets)
Version: 21.08.2
Hardware: Linux Linux
: 4 - Minor Issue
Assignee: Director of Support
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2022-03-22 13:35 MDT by Michael Pelletier
Modified: 2022-05-19 10:34 MDT (History)
0 users

See Also:
Site: Raytheon Missile, Space and Airborne
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed: 22.05.0 23.02.0pre1
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description Michael Pelletier 2022-03-22 13:35:42 MDT
Running squeue -a --states=all does not include jobs in the STOPPED state.

Reproducer:

$ sbatch --wrap="/bin/sleep 300"
Submitted batch job 2339
$ squeue --me
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REAS
              2339      hpc1     wrap  pelletm  R       0:03      1 eand-idstesla 
$ scancel --signal=SIGSTOP 2339
$ squeue --me # Job appears
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REAS
              2339      hpc1     wrap  pelletm ST       0:27      1 eand-idstesla
$
$ squeue --me --states=all # Job does not appear
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REAS
$

It can be worked around by specifying the full list of states individually, which of course is suboptimal, as "all" should include all states.
Comment 5 Jason Booth 2022-03-24 10:30:52 MDT
Hi Michael, this does seem like an oversight. We will look into this and let you know what we find.
Comment 13 Caden Ellis 2022-05-19 10:23:35 MDT
Hello Michael, thanks for logging the bug. We have fixed the --states=all option now. 
The commit is 5e0da15c9835. If there are any other issues, feel free to let us know in a new bug.
Comment 14 Michael Pelletier 2022-05-19 10:34:35 MDT
Thanks!