[Pkg-utopia-maintainers] Bug#1031353: ostree: test-rofiles-fuse is skipped

Graham Inggs ginggs at debian.org
Wed Feb 15 14:52:23 GMT 2023


Source: ostree
Version: 2022.7-2

Hi Maintainer

While investigating an autopkgtest regression in Ubuntu [1], it was
discovered that test-rofiles-fuse runs in Ubuntu, but is skipped in
Debian [2].  I've copied what I hope is the relevant part of the log
below.

It should be possible to get this test to run if libcap2-bin is
installed, and /sbin is on the path (or tests/libtest.sh is patched:
capsh -> /sbin/capsh), and the autopkgtest user has cap_sys_admin
capabilities.  Due to differences in autopkgtest infrastructure, these
conditions are met in Ubuntu but not in Debian.

Regards
Graham


[1] https://bugs.launchpad.net/ubuntu/+source/ostree/+bug/2006483
[2] https://ci.debian.net/packages/o/ostree/testing/amd64/


Running test: libostree/test-rofiles-fuse.sh.test
Copying gpghome to /tmp/test-tmp-libostree_test-rofiles-fuse.sh.test-WOT4Z1
checking for xattrs.../usr/bin/setfattr
/tmp/test-tmp-libostree_test-rofiles-fuse.sh.test-WOT4Z1
/tmp/test-tmp-libostree_test-rofiles-fuse.sh.test-WOT4Z1
# testlabel.txt: security.selinux: No such attribute
Unable to retrieve SELinux label, assuming disabled
/tmp/test-tmp-libostree_test-rofiles-fuse.sh.test-WOT4Z1
done
checking for overlayfs whiteouts...done
/usr/libexec/installed-tests/libostree/libtest.sh: line 688: capsh:
command not found
1..0 # SKIP No cap_sys_admin in bounding set, can't use FUSE



More information about the Pkg-utopia-maintainers mailing list