You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A cron job running update_databases.py exited this weekend with:
+ update_databases.py --time 3d --user sauetest --machine frontier --loglevel INFO
Enabled 2 database backends
Using machine config: frontier.ini
reading harness config /sw/acceptance/olcf-test-harness-dev/configs/frontier.ini
Traceback (most recent call last):
File "/sw/acceptance/olcf-test-harness-dev/harness/utilities/update_databases.py", line 291, in <module>
elif slurm_data[entry['job_id']]['state'] in slurm_job_state_codes['pending']:
KeyError: '2801028'
+ set +x
Now, I suspect that this was due to an issue with sacct that caused the slurm_data dictionary to be empty, but either way, we should be checking if a job ID exists in slurm_data before trying to access it.
The text was updated successfully, but these errors were encountered:
A cron job running update_databases.py exited this weekend with:
Now, I suspect that this was due to an issue with
sacct
that caused theslurm_data
dictionary to be empty, but either way, we should be checking if a job ID exists inslurm_data
before trying to access it.The text was updated successfully, but these errors were encountered: