| Summary: | squeue --states=all does not include jobs in STOPPED state | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Michael Pelletier <michael.v.pelletier> |
| Component: | User Commands | Assignee: | Director of Support <support> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | 4 - Minor Issue | ||
| Priority: | --- | ||
| Version: | 21.08.2 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | Raytheon Missile, Space and Airborne | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | --- |
| Machine Name: | CLE Version: | ||
| Version Fixed: | 22.05.0 23.02.0pre1 | Target Release: | --- |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
Hi Michael, this does seem like an oversight. We will look into this and let you know what we find. 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. Thanks! |
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.