Run and Job Statuses - NatLabRockies/alfalfa GitHub Wiki
Run Statuses
Found in run.py
| Status | Meaning |
|---|---|
| CREATED | Run has created in database (this can be done from a seed model or from scratch), No work has been done yet |
| PREPROCESSING | Run is being processed so that it can later be run by a different job |
| READY | Run is ready to be started |
| STARTING | Run initializing simulation and warming up |
| STARTED | Run is waiting to start simulation loop |
| RUNNING | Run has entered simulation loop |
| STOPPING | Run has finished simulation or has had stop externally triggered. It is now gracefully stopping simulation routines and cleaning up data |
| COMPLETE | Run completed successfully |
| ERROR | Run entered an errorred state and was terminated. Error log can be retrieved from Run object in database |
Job Statuses
Found in job.py. Job statuses are not directly reported to users.
| Status | Meaning |
|---|---|
| INITIALIZING | Job is being created |
| INITIALIZED | Job has been created and is ready to be started |
| RUNNING | Job running/executing code |
| WAITING | Job is waiting for user input |
| STOPPING | Job is still running but will stop as soon as possible |
| VALIDATING | Job is conducting checks to validate that it completed successfully |
| CLEANING_UP | Job is closing connections and cleaning up files |
| STOPPED | Job successfully terminated |
| ERROR | Job entered errorred state and was terminated. Check job.log file or Run error log for more information |