sylabs / singularity

SingularityCE is the Community Edition of Singularity, an open source container platform designed to be simple, fast, and secure.
https://sylabs.io/docs/
Other
748 stars 96 forks source link

sles15: OCI image bind tests failing #2078

Closed dtrudg closed 1 year ago

dtrudg commented 1 year ago

Version of Singularity

main

Describe the bug

    --- FAIL: TestE2E (477.12s)
        --- FAIL: TestE2E/PAR (0.00s)
            --- FAIL: TestE2E/PAR/ACTIONS (0.02s)
                --- FAIL: TestE2E/PAR/ACTIONS/ociBindImage (0.05s)
                --- FAIL: TestE2E/PAR/ACTIONS/bind_image (0.05s)
                --- FAIL: TestE2E/PAR/ACTIONS/persistent_overlay (0.06s)

I believe that this is just down to mkfs.ext3 not being on the default PATH.... under [/usr]/sbin and [/usr]/sbin isn't on PATH?

    === CONT  TestE2E/PAR/ACTIONS/persistent_overlay
        exec.go:28: Running cmd "mksquashfs" with args ["/tmp/stest.1039513117/persistent-overlay-2403508318/root-squash-dir-238268924" "/tmp/stest.1039513117/persistent-overlay-2403508318/squashfs.simg" "-noappend" "-all-root"]
        exec.go:28: Running cmd "dd" with args ["if=/dev/zero" "of=/tmp/stest.1039513117/persistent-overlay-2403508318/ext3_fs.img" "bs=1M" "count=64" "status=none"]
        exec.go:28: Running cmd "mkfs.ext3" with args ["-q" "-F" "/tmp/stest.1039513117/persistent-overlay-2403508318/ext3_fs.img"]
        actions.go:789: Unexpected error while running command.

            Command:  mkfs.ext3 -q -F /tmp/stest.1039513117/persistent-overlay-2403508318/ext3_fs.img
            ExitCode: 127
            Error:    exec: "mkfs.ext3": executable file not found in $PATH
            Stdout:
            Stderr:
dtrudg commented 1 year ago

@preminger - could you look into this?

You can use a local VM of openSUSE Leap 15.5 - as this is equivalent to SLES 15.5