[ARVADOS] updated: 35bf7a16482b304908c5b6bf3cd772647158f593
git at public.curoverse.com
git at public.curoverse.com
Thu Sep 11 15:54:57 EDT 2014
Summary of changes:
sdk/cli/bin/crunch-job | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
via 35bf7a16482b304908c5b6bf3cd772647158f593 (commit)
from e7973cab8f9fc9531e4d928e73928e6eab022f48 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 35bf7a16482b304908c5b6bf3cd772647158f593
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Thu Sep 11 15:54:50 2014 -0400
3187: Update the task start time when the task actually starts.
diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index 55813ab..114c910 100755
--- a/sdk/cli/bin/crunch-job
+++ b/sdk/cli/bin/crunch-job
@@ -730,6 +730,9 @@ for (my $todo_ptr = 0; $todo_ptr <= $#jobstep_todo; $todo_ptr ++)
delete $Jobstep->{stderr};
delete $Jobstep->{finishtime};
+ $Jobstep->{'arvados_task'}->{started_at} = strftime "Y%-%m-%dT%H:%M:%SZ", gmtime($Jobstep->{starttime});
+ $Jobstep->{'arvados_task'}->save;
+
splice @jobstep_todo, $todo_ptr, 1;
--$todo_ptr;
@@ -980,7 +983,6 @@ sub reapchildren
}
$Jobstep->{exitcode} = $childstatus;
$Jobstep->{finishtime} = time;
- $Jobstep->{'arvados_task'}->{started_at} = strftime "Y%-%m-%dT%H:%M:%SZ", gmtime($Jobstep->{starttime});
$Jobstep->{'arvados_task'}->{finished_at} = strftime "Y%-%m-%dT%H:%M:%SZ", gmtime($Jobstep->{finishtime});
$Jobstep->{'arvados_task'}->save;
process_stderr ($jobstepid, $task_success);
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list