arvados-cli 0.1.20160913014253 → 0.1.20160913140509

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/crunch-job +7 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a3dae7abb2565c96c930378ff0804dee060904f
4
- data.tar.gz: ae346cc798ae73cc9e97299c245af5133f53cf29
3
+ metadata.gz: a24b2c033368b863bb0111748911fc5410c7723a
4
+ data.tar.gz: 0fd51adb8f1580d87269d7a2b81dbd515ea7c7ab
5
5
  SHA512:
6
- metadata.gz: 9185b99de69e9576411307ce24383734a9f03875a9f9723b238c4cb6d5049341132215360956d9060f3b91732378158bce64149281d3ffb2d7b55cc9238cc259
7
- data.tar.gz: 4fd3ab654fc817827d1cfb79c03519112c7397b5f9c66f33e6d49d0f9f0ad9b4bac7a03a94d52c36442f5f5d0898e7f09004e74860d5c894276fd8f1acea7e3b
6
+ metadata.gz: c12b7427875a2f3ec99cf4e2758c5b12d424fd4a53c776a2fbf49e5f94e01d895836940d5a34a5539bb05d7bb4064f7480efdf2d548897294c87ef7e9722f7d8
7
+ data.tar.gz: 67667c14d08e153ae70f300f1384fc3716e9a7d9f70d626b4fd6079f525e94d4a1ed5d36d28d3d5c87a5abefbe5805441bbdbb4fdeeba184988f7b4b9fb66607
data/bin/crunch-job CHANGED
@@ -1510,8 +1510,14 @@ sub preprocess_stderr
1510
1510
  substr $jobstep[$jobstepidx]->{stderr}, 0, 1+length($line), "";
1511
1511
  Log ($jobstepidx, "stderr $line");
1512
1512
  if ($line =~ /srun: error: (SLURM job $ENV{SLURM_JOB_ID} has expired|Unable to confirm allocation for job $ENV{SLURM_JOB_ID})/) {
1513
- # whoa.
1513
+ # If the allocation is revoked, we can't possibly continue, so mark all
1514
+ # nodes as failed. This will cause the overall exit code to be
1515
+ # EX_RETRY_UNLOCKED instead of failure so that crunch_dispatch can re-run
1516
+ # this job.
1514
1517
  $main::please_freeze = 1;
1518
+ foreach my $st (@slot) {
1519
+ $st->{node}->{fail_count}++;
1520
+ }
1515
1521
  }
1516
1522
  elsif ($line =~ /srun: error: (Node failure on|Aborting, .*\bio error\b)/) {
1517
1523
  $jobstep[$jobstepidx]->{tempfail} = 1;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arvados-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20160913014253
4
+ version: 0.1.20160913140509
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvados Authors
@@ -164,7 +164,7 @@ dependencies:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0.8'
167
- description: Arvados command line tools, git commit b54478ea1b7c8aaeaf565d591f32769bcdc09b8f
167
+ description: Arvados command line tools, git commit 50b696969d71739e9fd083664de6a81db7e211b3
168
168
  email: gem-dev@curoverse.com
169
169
  executables:
170
170
  - arv