Hi Jason,
Here's the debug output:
$ singularity --debug exec epic_analysis.img /bin/sh
VERBOSE [U=0,P=104546] print() Set messagelevel to: 5
DEBUG [U=0,P=104546] init() PIPE_EXEC_FD value: 8
VERBOSE [U=0,P=104546] init() Container runtime
VERBOSE [U=0,P=104546] is_suid() Check if we
are running as setuid
DEBUG [U=0,P=104546] init() Overlay seems
supported by kernel
DEBUG [U=0,P=104546] init() Drop privileges
DEBUG [U=131937,P=104546] init() Read json
configuration from pipe
DEBUG [U=131937,P=104546] init() Set child signal mask
DEBUG [U=131937,P=104546] init() Wait
completion of stage1
VERBOSE [U=131937,P=104559] priv_escalate() Get root privileges
DEBUG [U=0,P=104559] set_parent_death_signal() Set parent
death signal to 9
DEBUG [U=0,P=104559] prepare_stage() Entering in stage 1
DEBUG [U=131937,P=104559] set_parent_death_signal() Set parent
death signal to 9
VERBOSE [U=131937,P=104559] init() Spawn stage 1
VERBOSE [U=131937,P=104559]startup() Execute stage 1
DEBUG [U=131937,P=104559]Stage() Entering stage 1
DEBUG [U=131937,P=104559]prepareUserCaps() Ignoring
group 20013: group: unknown groupid 20013
DEBUG [U=131937,P=104559]prepareFd() Open file
descriptor for /scratch
DEBUG [U=131937,P=104559]prepareFd() Open file
descriptor for /fastdata
DEBUG [U=131937,P=104559]prepareFd() Open file
descriptor for /data
DEBUG [U=131937,P=104559]prepareFd() Open file
descriptor for /shared
DEBUG [U=131937,P=104559]Init() Entering
image format intializer
DEBUG [U=131937,P=104559]Init() Check for
image format sif
DEBUG [U=131937,P=104559]Init() sif format
initializer returns: SIF magic not found
DEBUG [U=131937,P=104559]Init() Check for
image format sandbox
DEBUG [U=131937,P=104559]Init() sandbox
format initializer returns: not a directory image
DEBUG [U=131937,P=104559]Init() Check for
image format squashfs
DEBUG [U=131937,P=104559]Init() squashfs
format initializer returns: not a valid squashfs image
DEBUG [U=131937,P=104559]Init() Check for
image format ext3
DEBUG [U=131937,P=104559]Init() ext3 format
initializer returns: file is not a valid ext3 image
FATAL [U=131937,P=104559]Stage() image format
not recognized
VERBOSE [U=131937,P=104546] init() stage 1
exited with status 255
The user created the problematic image from DockerHub
(markdunning/epic_analysis):
sudo singularity build --writable epic_analysis.img
docker://markdunning/epic_analysis
However, regenerating an image from DockerHub using 'pull' works fine:
$ SINGULARITY_LOCALCACHEDIR=$TMPDIR/ SINGULARITY_CACHEDIR=$TMPDIR/
singularity pull docker://markdunning/epic_analysis
$ singularity exec epic_analysis_latest.sif /bin/cat /etc/issue
Debian GNU/Linux 9 \n \l
Regards,
Will
> To view this discussion on the web visit
https://groups.google.com/a/lbl.gov/d/msgid/singularity/CAGfAqt_pUVga2Sp20Feb5JZ%2B%2BCE-tbxu%2BbjBDXtCu7amRqNM8g%40mail.gmail.com.