[ET Trac] [Einstein Toolkit] #276: cleanup is not inhibited after errors

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Feb 10 10:00:24 CST 2011


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

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/276#comment:1>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list