ReproNim / containers

Containers "distribution" for reproducible neuroimaging
Apache License 2.0
26 stars 16 forks source link

Tests fail on Debian for me #40

Closed yarikoptic closed 3 years ago

yarikoptic commented 4 years ago
$> git describe
0.3-17-g14d96ff
(dev3) 1 27589.....................................:Thu 20 Feb 2020 03:46:27 PM EST:.
(git-annex)lena:~/proj/repronim/containers[enh-hash]
$> bats -t scripts/tests
1..5
FAIL: Arguments are not equal.
 #1=<<255>>
 #2=<<0>>
not ok 1 verifying arguments passed to singularity_cmd Docker shim
# (in test file scripts/tests/test_singularity_cmd.bats, line 29)
#   `export REPRONIM_USE_DOCKER=1' failed with status 255
# latest: Pulling from mjtravers/singularity-shim
# Digest: sha256:c9f208f8e7d27f381228ce6989d645acf879b26d95ed93e40a202e9e01ea71b7
# Status: Image is up to date for mjtravers/singularity-shim:latest
# docker.io/mjtravers/singularity-shim:latest
ok 2 verifying ability to singularity exec under /tmp subdir
FAIL: Arguments are not equal.
 #1=<<255>>
 #2=<<0>>
not ok 3 verifying ability to singularity exec under /tmp subdir (explicit use of docker)
# (from function `check_subdir' in file scripts/tests/test_singularity_cmd.bats, line 99,
#  in test file scripts/tests/test_singularity_cmd.bats, line 54)
#   `check_subdir "$(_mktemp_dir_under /tmp)"' failed with status 255
# latest: Pulling from mjtravers/singularity-shim
# Digest: sha256:c9f208f8e7d27f381228ce6989d645acf879b26d95ed93e40a202e9e01ea71b7
# Status: Image is up to date for mjtravers/singularity-shim:latest
# docker.io/mjtravers/singularity-shim:latest
ok 4 verifying ability to singularity exec under /home/yoh subdir
FAIL: Arguments are not equal.
 #1=<<255>>
 #2=<<0>>
not ok 5 verifying ability to singularity exec under /home/yoh subdir (explicit use of docker)
# (from function `check_subdir' in file scripts/tests/test_singularity_cmd.bats, line 99,
#  in test file scripts/tests/test_singularity_cmd.bats, line 65)
#   `check_subdir "$(_mktemp_dir_under $HOME)"' failed with status 255
# latest: Pulling from mjtravers/singularity-shim
# Digest: sha256:c9f208f8e7d27f381228ce6989d645acf879b26d95ed93e40a202e9e01ea71b7
# Status: Image is up to date for mjtravers/singularity-shim:latest
# docker.io/mjtravers/singularity-shim:latest

@mjtravers - do they still pass for you? I didn't investigate yet WTF has changed. FWIW I have

$> docker images | grep shim
mjtravers/singularity-shim              latest              adc09cd8a346        6 months ago        139MB

$> docker pull mjtravers/singularity-shim
Using default tag: latest
latest: Pulling from mjtravers/singularity-shim
Digest: sha256:c9f208f8e7d27f381228ce6989d645acf879b26d95ed93e40a202e9e01ea71b7
Status: Image is up to date for mjtravers/singularity-shim:latest
docker.io/mjtravers/singularity-shim:latest
yarikoptic commented 4 years ago

FWIW: looking into it