arvados-cli 0.1.20150227192315 → 0.1.20150316190023
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/crunch-job +5 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 588401acaf0d304d733e96d273fcdd9aa2784d23
|
4
|
+
data.tar.gz: b9b21e337625de3d064ec0d10176e9f8ba47b02d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 762e7cfdeb67a3e7d32218626b8c63f68a566ea04321b3770e99f1c5928fc05e88c942f6160e6f735a817b81b74f8607a918313c384de01c8464aa533d5f428c
|
7
|
+
data.tar.gz: c7bdb2e8c86a07f38574f784e7d703df0da4c0fceac9d56a2a23590dc8aae960a0b1613509542ae7d0a08ecc098fdc13d4136d1c2c76edc691bae86aae62ed9d
|
data/bin/crunch-job
CHANGED
@@ -361,7 +361,7 @@ if (!defined $no_clear_tmp) {
|
|
361
361
|
# TODO: When #5036 is done and widely deployed, we can get rid of the
|
362
362
|
# regular expression and just unmount everything with type fuse.keep.
|
363
363
|
srun (["srun", "--nodelist=$nodelist", "-D", $ENV{'TMPDIR'}],
|
364
|
-
['bash', '-ec', 'mount -t fuse,fuse.keep | awk \'($3 ~ /\ykeep\y/){print $3}\' | xargs -r -n 1 fusermount -u -z; sleep 1; rm -rf $JOB_WORK $CRUNCH_INSTALL $CRUNCH_TMP/task $CRUNCH_TMP/src*']);
|
364
|
+
['bash', '-ec', 'mount -t fuse,fuse.keep | awk \'($3 ~ /\ykeep\y/){print $3}\' | xargs -r -n 1 fusermount -u -z; sleep 1; rm -rf $JOB_WORK $CRUNCH_INSTALL $CRUNCH_TMP/task $CRUNCH_TMP/src* $CRUNCH_TMP/*.cid']);
|
365
365
|
exit (1);
|
366
366
|
}
|
367
367
|
while (1)
|
@@ -384,7 +384,7 @@ if ($docker_locator = $Job->{docker_image_locator}) {
|
|
384
384
|
}
|
385
385
|
$docker_stream =~ s/^\.//;
|
386
386
|
my $docker_install_script = qq{
|
387
|
-
if ! $docker_bin images -q --no-trunc | grep -qxF \Q$docker_hash\E; then
|
387
|
+
if ! $docker_bin images -q --no-trunc --all | grep -qxF \Q$docker_hash\E; then
|
388
388
|
arv-get \Q$docker_locator$docker_stream/$docker_hash.tar\E | $docker_bin load
|
389
389
|
fi
|
390
390
|
};
|
@@ -670,6 +670,7 @@ for (my $todo_ptr = 0; $todo_ptr <= $#jobstep_todo; $todo_ptr ++)
|
|
670
670
|
my $childslotname = join (".",
|
671
671
|
$slot[$childslot]->{node}->{name},
|
672
672
|
$slot[$childslot]->{cpu});
|
673
|
+
|
673
674
|
my $childpid = fork();
|
674
675
|
if ($childpid == 0)
|
675
676
|
{
|
@@ -721,7 +722,7 @@ for (my $todo_ptr = 0; $todo_ptr <= $#jobstep_todo; $todo_ptr ++)
|
|
721
722
|
$command .= "&& exec arv-mount --by-id --allow-other $ENV{TASK_KEEPMOUNT} --exec ";
|
722
723
|
if ($docker_hash)
|
723
724
|
{
|
724
|
-
my $cidfile = "$ENV{CRUNCH_TMP}/$
|
725
|
+
my $cidfile = "$ENV{CRUNCH_TMP}/$Jobstep->{arvados_task}->{uuid}-$Jobstep->{failures}.cid";
|
725
726
|
$command .= "crunchstat -cgroup-root=/sys/fs/cgroup -cgroup-parent=docker -cgroup-cid=$cidfile -poll=10000 ";
|
726
727
|
$command .= "$docker_bin run --rm=true --attach=stdout --attach=stderr --attach=stdin -i --user=crunch --cidfile=$cidfile --sig-proxy ";
|
727
728
|
|
@@ -831,7 +832,7 @@ for (my $todo_ptr = 0; $todo_ptr <= $#jobstep_todo; $todo_ptr ++)
|
|
831
832
|
||
|
832
833
|
(@slot > @freeslot && $todo_ptr+1 > $#jobstep_todo))
|
833
834
|
{
|
834
|
-
last THISROUND if $main::please_freeze;
|
835
|
+
last THISROUND if $main::please_freeze || defined($main::success);
|
835
836
|
if ($main::please_info)
|
836
837
|
{
|
837
838
|
$main::please_info = 0;
|
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.
|
4
|
+
version: 0.1.20150316190023
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: arvados
|
@@ -178,7 +178,7 @@ dependencies:
|
|
178
178
|
- - "<"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 1.0.0
|
181
|
-
description: Arvados command line tools, git commit
|
181
|
+
description: Arvados command line tools, git commit e3f359d1cf36bca2b675c495fcff0a76a89cbd38
|
182
182
|
email: gem-dev@curoverse.com
|
183
183
|
executables:
|
184
184
|
- arv
|