TheRoddyWMS / BatchEuphoria

A library to access different kinds of cluster backends
MIT License
3 stars 5 forks source link

COMPLETED_SUCCESSFUL is set in BE.ExecutionService when qsub exited with 0 #117

Open vinjana opened 6 years ago

vinjana commented 6 years ago

Original at: https://github.com/TheRoddyWMS/Roddy/issues/222

COMPLETED_SUCCESSFUL is set by BE.ExecutionService, when the execution result is successful, i.e. the qsub, not when the job finished successfully on the cluster!

COMPLETED_SUCCESSFUL is meant to be the state of a successfully finished job, not successful submission! The proper status should therefore be just SUBMITTED.

Write the correct status line in Roddy.Job.appendToJobStateLogfile()