arvados-cli 0.1.20170417140106 → 0.1.20170610012446

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 +5 -3
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 94b51ed9210ca75d46584df71175e8b19fdce025
4
- data.tar.gz: f53e2c29524f9564a04f9807c33bb7b0d4162749
3
+ metadata.gz: 1a747e6fe2dfe135d96513dc73eab41709ad3097
4
+ data.tar.gz: 41413f7ce30ab67bfebe595453413fa4fc81b886
5
5
  SHA512:
6
- metadata.gz: fbfdf8034452f4bcf9914285c2c92823c2899a66deb486fe9822c4fce5f86583bfd5e4732cdc7d2d209a1d65114a7903cde387186eabdddf340b6f5af2879e77
7
- data.tar.gz: 6dc4b8141630ef3373a04dec09f65a126a4e8ed63041f20ff75ff689ff6f2d36afc8370de6ce3da031d60acb4c4f02ef9a1db0cb4ce928de8e92ea9f9bf06cc3
6
+ metadata.gz: cd4a9c6b86bf9cd8e1955cc6b7f6ad2341ed6d4c541fafe04188a9d56642f139975ec85f533ac7e7742362de1c0acb886692102303fadccfaa92f6b398f8d3cc
7
+ data.tar.gz: bb8929ca3c15a65fdfa0e47d4b1a3855b3bf9200631e3bbaf2911a4077e68ce817f8005daf11943e2b2bc3267480e22707cd7e7e0053f42df0749dc8c7c72313
data/bin/crunch-job CHANGED
@@ -1130,10 +1130,10 @@ freeze();
1130
1130
  my $collated_output = save_output_collection();
1131
1131
  Log (undef, "finish");
1132
1132
 
1133
- save_meta();
1133
+ my $final_log = save_meta();
1134
1134
 
1135
1135
  my $final_state;
1136
- if ($collated_output && $main::success) {
1136
+ if ($collated_output && $final_log && $main::success) {
1137
1137
  $final_state = 'Complete';
1138
1138
  } else {
1139
1139
  $final_state = 'Failed';
@@ -1760,7 +1760,7 @@ sub log_writer_start($)
1760
1760
  $log_pipe_pid = open2($log_pipe_out, $log_pipe_in,
1761
1761
  'arv-put',
1762
1762
  '--stream',
1763
- '--retries', '3',
1763
+ '--retries', '6',
1764
1764
  '--filename', $logfilename,
1765
1765
  '-');
1766
1766
  $log_pipe_out_buf = "";
@@ -1898,6 +1898,8 @@ sub save_meta
1898
1898
  });
1899
1899
  Log(undef, "log collection is " . $log_coll->{portable_data_hash});
1900
1900
  $Job->update_attributes('log' => $log_coll->{portable_data_hash});
1901
+
1902
+ return $log_coll->{portable_data_hash};
1901
1903
  }
1902
1904
 
1903
1905
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arvados-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20170417140106
4
+ version: 0.1.20170610012446
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvados Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-17 00:00:00.000000000 Z
11
+ date: 2017-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: arvados
@@ -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 fc2eaa20275146369e451da6cf14f4461c68117c
167
+ description: Arvados command line tools, git commit 87c9678022eb027f8d7f02129c1ec052205387d8
168
168
  email: gem-dev@curoverse.com
169
169
  executables:
170
170
  - arv