From 714c555bda26a6a27fad7caef382d1d6705ad215 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Mon, 16 Nov 2015 22:42:31 -0500 Subject: [PATCH] 7313: crunch-job reports an error when a task doesn't record state. Closes #7313. --- sdk/cli/bin/crunch-job | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job index 70ba04fcab..28da66d0ca 100755 --- a/sdk/cli/bin/crunch-job +++ b/sdk/cli/bin/crunch-job @@ -1182,6 +1182,9 @@ sub reapchildren if (!defined $task_success) { # task did not indicate one way or the other --> fail + Log($jobstepid, sprintf( + "ERROR: Task process exited %d, but never updated its task record to indicate success and record its output.", + exit_status_s($childstatus))); $Jobstep->{'arvados_task'}->{success} = 0; $Jobstep->{'arvados_task'}->save; $task_success = 0; -- 2.39.5