#276: cleanup is not inhibited after errors -------------------------+-------------------------------------------------- Reporter: eschnett | Owner: mthomas Type: defect | Status: closed Priority: blocker | Milestone: Component: SimFactory | Version: Resolution: fixed | Keywords: -------------------------+-------------------------------------------------- Changes (by mthomas):
* status: new => closed * resolution: => fixed
Comment:
This has been implemented. I've added a new job_status - E. How this works is the first thing GetJobStatus does is analyzed the output it received to look of the job_id exists somewhere in the output. If it finds the job id, but then is unable to match any of the regular expressions to determine exactly what the job status is, it is assigned this 'E' status, and the then simfactory won't do anything with the job unless --force is specified. This will stop simfactory from accidentally cleaning up an active simulation if for some reason it can't correctly detect its status.
This is a good idea, btw. Thank you!