In order to avoid stale entries in the Slurm DB database, we pass the -S <today> option to sacct. "Today" is determined at submission time, so if a job finishes the next day, it will be lost and ReFrame will block indefinitely. I knew this bug existed, but this time I came across it, so I open the issue.