mirror of
https://github.com/clearml/clearml
synced 2025-04-08 14:46:07 +00:00
Fix failed controller pipeline tasks were considered completed
This commit is contained in:
parent
646163a2cb
commit
c30b6d27e8
@ -525,7 +525,7 @@ class PipelineController(object):
|
||||
continue
|
||||
if node.job.is_stopped():
|
||||
completed_jobs.append(j)
|
||||
node.executed = node.job.task_id()
|
||||
node.executed = node.job.task_id() if not node.job.is_failed() else False
|
||||
elif node.timeout:
|
||||
started = node.job.task.data.started
|
||||
if (datetime.now().astimezone(started.tzinfo) - started).total_seconds() > node.timeout:
|
||||
|
Loading…
Reference in New Issue
Block a user