Skip to content

Commit

Permalink
bump to failed
Browse files Browse the repository at this point in the history
  • Loading branch information
mesmith75 committed Jun 24, 2024
1 parent b3302a4 commit cd18860
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ganga/GangaCore/GPIDev/Lib/Job/Job.py
Original file line number Diff line number Diff line change
Expand Up @@ -2462,6 +2462,7 @@ def _kill(self, transition_update):
raise JobError(msg)
try:
if self.backend.master_kill():
have_failures = False
############
# added as part of typestamp prototype by Justin
if not self._getParent():
Expand All @@ -2476,9 +2477,14 @@ def _kill(self, transition_update):
"completed_frozen",
]:
jobs.updateStatus(
"killed", transition_update=transition_update, update_master=False
"killed", transition_update=transition_update
)
self.updateStatus("killed", transition_update=transition_update)
elif jobs.status in ['failed', 'failed_frozen']:
have_failures = True
if have_failures:
self.updateStatus("failed", transition_update=transition_update)
else:
self.updateStatus("killed", transition_update=transition_update)
#
############

Expand Down

0 comments on commit cd18860

Please sign in to comment.