[ARVADOS] updated: afa8e5f3339bfe899c5c3d08032798f7977085f9

Git user git at public.curoverse.com
Wed Jan 18 17:29:39 EST 2017


Summary of changes:
 sdk/cli/bin/crunch-job | 1 +
 1 file changed, 1 insertion(+)

       via  afa8e5f3339bfe899c5c3d08032798f7977085f9 (commit)
      from  c8aa6553fd4af8be3ca9b1d9d9d660750cd59d1b (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 afa8e5f3339bfe899c5c3d08032798f7977085f9
Author: Tom Clegg <tom at curoverse.com>
Date:   Wed Jan 18 17:29:13 2017 -0500

    10883: scancel slurm job when erroring out early.
    
    refs #10883

diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index a2e42d6..68c9252 100755
--- a/sdk/cli/bin/crunch-job
+++ b/sdk/cli/bin/crunch-job
@@ -1843,6 +1843,7 @@ sub croak
   my ($package, $file, $line) = caller;
   my $message = "@_ at $file line $line\n";
   Log (undef, $message);
+  release_allocation();
   freeze() if @jobstep_todo;
   create_output_collection() if @jobstep_todo;
   cleanup();

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list