projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be2d7e5
)
7313: crunch-job reports an error when a task doesn't record state.
author
Brett Smith <brett@curoverse.com>
Tue, 17 Nov 2015 03:42:31 +0000
(22:42 -0500)
committer
Brett Smith <brett@curoverse.com>
Tue, 17 Nov 2015 03:42:31 +0000
(22:42 -0500)
Closes #7313.
sdk/cli/bin/crunch-job
patch
|
blob
|
history
diff --git
a/sdk/cli/bin/crunch-job
b/sdk/cli/bin/crunch-job
index 70ba04fcaba75019b008707be24ffecc8b2c403f..28da66d0ca74296ef8475a5d96c0cb6fb3d41764 100755
(executable)
--- 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;