https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-fs/unionfs-fuse-2.2 fails tests on MUSL. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 770486 [details] build.log build log and emerge --info
Error(s) that match a know pattern: /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp0_l1zefb/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp0dc1tw0_/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp0sykolva/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp0vlse0mw/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp252wqvf5/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp3pmc0zpd/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp3sc4d1oh/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp611wr_dl/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp6r_wfprj/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp6zler22c/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp7m9l1x38/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp8nd_cwn_/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp99w05gp7/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp9u03i8ox/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp_0ls26oz/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp_0twgmlq/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpbb55pw5u/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpcatbwceg/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpd2c7xtoe/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpdbd1kiqi/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpdqgysgp5/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpe6h1wqs2/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpe7_aaeft/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpe_idk6oq/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpg99u217h/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpgs6fa0tf/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmph0xg8i6o/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpkzbzetku/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpl54q0rse/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpmhskliih/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpp26x9uz6/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpppuycoo0/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmppv75o6qv/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpq5kj_5b4/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpqqfwfvo4/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpu3adxh59/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpu3bkqnlm/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpuqyumc0_/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpwrrdq2d9/src/unionfs: No such file or directory /bin/sh: line 1: /var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpz89r4v6z/src/unionfs: No such file or directory E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp0_l1zefb/src/unionfs -o cow rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp0dc1tw0_/src/unionfs rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp0sykolva/src/unionfs ro1=ro:rw1=rw union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp0vlse0mw/src/unionfs -o cow rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp252wqvf5/src/unionfs -o cow rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp3pmc0zpd/src/unionfs -o cow rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp3sc4d1oh/src/unionfs ro1=ro:rw1=rw union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp611wr_dl/src/unionfs rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp6r_wfprj/src/unionfs -o cow ro1=ro:rw1=rw union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp6zler22c/src/unionfs -o cow ro1=ro:ro2=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp7m9l1x38/src/unionfs -o cow ro1=ro:rw1=rw union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp8nd_cwn_/src/unionfs -o cow ro1=ro:rw1=rw union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp99w05gp7/src/unionfs -o cow ro1=ro:ro2=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp9u03i8ox/src/unionfs ro1=ro:rw1=rw union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp_0ls26oz/src/unionfs -o cow ro1=ro:rw1=rw union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmp_0twgmlq/src/unionfs -o cow,relaxed_permissions rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpbb55pw5u/src/unionfs -o cow rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpcatbwceg/src/unionfs -o cow rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpd2c7xtoe/src/unionfs ro1=ro:rw1=rw union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpdbd1kiqi/src/unionfs -o cow rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpdqgysgp5/src/unionfs rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpe6h1wqs2/src/unionfs rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpe7_aaeft/src/unionfs ro1=ro:rw1=rw union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpe_idk6oq/src/unionfs -o cow rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpg99u217h/src/unionfs -o cow rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpgs6fa0tf/src/unionfs rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmph0xg8i6o/src/unionfs -o cow ro1=ro:ro2=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpkzbzetku/src/unionfs rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpl54q0rse/src/unionfs -o cow ro1=ro:ro2=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpmhskliih/src/unionfs rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpp26x9uz6/src/unionfs -o cow rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpppuycoo0/src/unionfs -o cow ro1=ro:rw1=rw union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmppv75o6qv/src/unionfs -o cow ro1=ro:ro2=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpq5kj_5b4/src/unionfs -o cow ro1=ro:rw1=rw union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpqqfwfvo4/src/unionfs rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpu3adxh59/src/unionfs -o cow rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpu3bkqnlm/src/unionfs rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpuqyumc0_/src/unionfs ro1=ro:rw1=rw union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpwrrdq2d9/src/unionfs -o cow ro1=ro:ro2=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/temp/tmpz89r4v6z/src/unionfs rw1=rw:ro1=ro union' returned non-zero exit status 127. E subprocess.CalledProcessError: Command '/var/tmp/portage/sys-fs/unionfs-fuse-2.2/work/unionfs-fuse-2.2/src/unionfs ro1=ro:ro2=ro union' returned non-zero exit status 1. FAILED test_all.py::IOCTL_TestCase::test_debug - subprocess.CalledProcessErro... FAILED test_all.py::IOCTL_TestCase::test_wrong_args - subprocess.CalledProces... FAILED test_all.py::UnionFS_RO_RO_TestCase::test_delete - subprocess.CalledPr... FAILED test_all.py::UnionFS_RO_RO_TestCase::test_listing - subprocess.CalledP... FAILED test_all.py::UnionFS_RO_RO_TestCase::test_overlay_order - subprocess.C... FAILED test_all.py::UnionFS_RO_RO_TestCase::test_rename - subprocess.CalledPr... FAILED test_all.py::UnionFS_RO_RO_TestCase::test_rmdir - subprocess.CalledPro... FAILED test_all.py::UnionFS_RO_RO_TestCase::test_write - subprocess.CalledPro... FAILED test_all.py::UnionFS_RO_RW_COW_TestCase::test_delete - subprocess.Call... FAILED test_all.py::UnionFS_RO_RW_COW_TestCase::test_listing - subprocess.Cal... FAILED test_all.py::UnionFS_RO_RW_COW_TestCase::test_rename - subprocess.Call... FAILED test_all.py::UnionFS_RO_RW_COW_TestCase::test_rmdir - subprocess.Calle... FAILED test_all.py::UnionFS_RO_RW_COW_TestCase::test_write - subprocess.Calle... FAILED test_all.py::UnionFS_RO_RW_COW_TestCase::test_write_new - subprocess.C... FAILED test_all.py::UnionFS_RO_RW_TestCase::test_delete - subprocess.CalledPr... FAILED test_all.py::UnionFS_RO_RW_TestCase::test_listing - subprocess.CalledP... FAILED test_all.py::UnionFS_RO_RW_TestCase::test_rename - subprocess.CalledPr... FAILED test_all.py::UnionFS_RO_RW_TestCase::test_rmdir - subprocess.CalledPro... FAILED test_all.py::UnionFS_RO_RW_TestCase::test_write - subprocess.CalledPro... FAILED test_all.py::UnionFS_RO_RW_TestCase::test_write_new - subprocess.Calle... FAILED test_all.py::UnionFS_RW_RO_COW_RelaxedPermissions_TestCase::test_access FAILED test_all.py::UnionFS_RW_RO_COW_TestCase::test_copystat - subprocess.Ca... FAILED test_all.py::UnionFS_RW_RO_COW_TestCase::test_cow - subprocess.CalledP... FAILED test_all.py::UnionFS_RW_RO_COW_TestCase::test_cow_and_whiteout - subpr... FAILED test_all.py::UnionFS_RW_RO_COW_TestCase::test_listing - subprocess.Cal... FAILED test_all.py::UnionFS_RW_RO_COW_TestCase::test_posix_operations - subpr... FAILED test_all.py::UnionFS_RW_RO_COW_TestCase::test_rename - subprocess.Call... FAILED test_all.py::UnionFS_RW_RO_COW_TestCase::test_rename_fifo - subprocess... FAILED test_all.py::UnionFS_RW_RO_COW_TestCase::test_rename_long_name - subpr... FAILED test_all.py::UnionFS_RW_RO_COW_TestCase::test_rmdir - subprocess.Calle... FAILED test_all.py::UnionFS_RW_RO_COW_TestCase::test_whiteout - subprocess.Ca... FAILED test_all.py::UnionFS_RW_RO_COW_TestCase::test_write_new - subprocess.C... FAILED test_all.py::UnionFS_RW_RO_TestCase::test_copystat - subprocess.Called... FAILED test_all.py::UnionFS_RW_RO_TestCase::test_delete - subprocess.CalledPr... FAILED test_all.py::UnionFS_RW_RO_TestCase::test_listing - subprocess.CalledP... FAILED test_all.py::UnionFS_RW_RO_TestCase::test_mkdir - subprocess.CalledPro... FAILED test_all.py::UnionFS_RW_RO_TestCase::test_rename - subprocess.CalledPr... FAILED test_all.py::UnionFS_RW_RO_TestCase::test_rmdir - subprocess.CalledPro... FAILED test_all.py::UnionFS_RW_RO_TestCase::test_write - subprocess.CalledPro... FAILED test_all.py::UnionFS_RW_RO_TestCase::test_write_new - subprocess.Calle... FAILED test_all.py::UnionFS_Sync::test_sync - subprocess.CalledProcessError: ...
Seems like 2.1 is failing as well and with glibc also, not yet sure why. Needs a closer look.
It turns out that the sandbox involved with running the tests started blocking fuse mounts in releases >=sys-apps/sandbox-2.27. (This is with glibc, not musl.) In the sandbox shell, I enter: addwrite() { export SANDBOX_WRITE=${SANDBOX_WRITE}:$1 ; } addwrite /dev/fuse export LD_PRELOAD=/usr/lib64/libsandbox.so mkdir -p one two merged ./src/unionfs one:two merged fusermount -u merged With sandbox <2.27 this works. With >=2.27 mounting fails with error: fusermount: mount failed: Operation not permitted I am hoping for advice from the sandbox team on how to continue. Thank you! PS: "export LD_PRELOAD=/usr/lib64/libsandbox.so" is a workaround for error: .ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Advice on that situation is welcome as well.
*** Bug 847505 has been marked as a duplicate of this bug. ***
I'm guessing this is related to USE=+nnp and https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=f0d8469ab6f3a4039038bf86cc829e917b596f40?
(In reply to Sam James from comment #6) > I'm guessing this is related to USE=+nnp and > https://gitweb.gentoo.org/proj/sandbox.git/commit/ > ?id=f0d8469ab6f3a4039038bf86cc829e917b596f40? Great finding, =sys-apps/sandbox-2.29[-nnp] turns out to indeed work fine. I'll adjust the title accordingly. Given that the sandbox is optional, I'm not sure if the unionfs-fuse ebuilds should do any blocking or reporting on this situation.
*** Bug 876064 has been marked as a duplicate of this bug. ***
*** Bug 880569 has been marked as a duplicate of this bug. ***
*** Bug 883221 has been marked as a duplicate of this bug. ***
*** Bug 890991 has been marked as a duplicate of this bug. ***
*** Bug 894312 has been marked as a duplicate of this bug. ***
Given the large number of duplicates I suppose there is something wrong with the search for sys-fs/unionfs-fuse Sorry about that
No worries, but I appreciate your concern, thanks!
(In reply to Sebastian Pipping from comment #14) > No worries, but I appreciate your concern, thanks! found the reason! tinderbox looks for "Gentoo Linux" products and this has been moved to "Portage Development"
Good finding!