mirror of
https://github.com/clearml/clearml
synced 2025-04-21 06:44:16 +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
|
continue
|
||||||
if node.job.is_stopped():
|
if node.job.is_stopped():
|
||||||
completed_jobs.append(j)
|
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:
|
elif node.timeout:
|
||||||
started = node.job.task.data.started
|
started = node.job.task.data.started
|
||||||
if (datetime.now().astimezone(started.tzinfo) - started).total_seconds() > node.timeout:
|
if (datetime.now().astimezone(started.tzinfo) - started).total_seconds() > node.timeout:
|
||||||
|
Loading…
Reference in New Issue
Block a user