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.
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!