Pádraig Brady wrote: > I suppose we can avoid the check unless mount(8) exits gracefully. > Done in the attached.
I confirm that with the newest snapshot, this test now passes on Guix 1.4. However, another test has an ERROR.
========================================================== GNU coreutils 9.10.299-27a7c: ./tests/test-suite.log ========================================================== # TOTAL: 732 # PASS: 520 # SKIP: 211 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 1 System information (uname -a): Linux 6.0.10-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 Distribution information (/etc/os-release): NAME="Guix System" ID=guix PRETTY_NAME="Guix System" LOGO=guix-icon HOME_URL="https://guix.gnu.org" DOCUMENTATION_URL="https://guix.gnu.org/en/manual" SUPPORT_URL="https://guix.gnu.org/en/help" BUG_REPORT_URL="https://lists.gnu.org/mailman/listinfo/bug-guix" .. contents:: :depth: 2 ERROR: tests/df/no-mtab-status-masked-proc ========================================== ++ initial_cwd_=/home/bruno/coreutils-9.10.299-27a7c/build-64 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/bruno/coreutils-9.10.299-27a7c/build-64 gt-no-mtab-status-masked-proc.sh.XXXX +++ case $# in +++ destdir_=/home/bruno/coreutils-9.10.299-27a7c/build-64 +++ template_=gt-no-mtab-status-masked-proc.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/home/bruno/coreutils-9.10.299-27a7c/build-64/ +++ case $template_ in ++++ unset TMPDIR +++ d=/home/bruno/coreutils-9.10.299-27a7c/build-64/gt-no-mtab-status-masked-proc.sh.F9kT +++ case $d in +++ : +++ test -d /home/bruno/coreutils-9.10.299-27a7c/build-64/gt-no-mtab-status-masked-proc.sh.F9kT ++++ ls -dgo /home/bruno/coreutils-9.10.299-27a7c/build-64/gt-no-mtab-status-masked-proc.sh.F9kT +++ perms='drwx------ 2 4096 Apr 17 02:10 /home/bruno/coreutils-9.10.299-27a7c/build-64/gt-no-mtab-status-masked-proc.sh.F9kT' +++ case $perms in +++ : +++ echo /home/bruno/coreutils-9.10.299-27a7c/build-64/gt-no-mtab-status-masked-proc.sh.F9kT +++ return ++ test_dir_=/home/bruno/coreutils-9.10.299-27a7c/build-64/gt-no-mtab-status-masked-proc.sh.F9kT ++ cd /home/bruno/coreutils-9.10.299-27a7c/build-64/gt-no-mtab-status-masked-proc.sh.F9kT ++ case $srcdir in ++ srcdir=../.. ++ builddir=.. ++ export srcdir builddir ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ saved_IFS=' ' ++ IFS=: ++ new_PATH= ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /home/bruno/coreutils-9.10.299-27a7c/build-64/src/. ++ new_PATH=/home/bruno/coreutils-9.10.299-27a7c/build-64/src ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /run/setuid-programs/. ++ new_PATH=/home/bruno/coreutils-9.10.299-27a7c/build-64/src:/run/setuid-programs ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /home/bruno/.guix-profile/bin/. ++ new_PATH=/home/bruno/coreutils-9.10.299-27a7c/build-64/src:/run/setuid-programs:/home/bruno/.guix-profile/bin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /home/bruno/.guix-profile/sbin/. ++ new_PATH=/home/bruno/coreutils-9.10.299-27a7c/build-64/src:/run/setuid-programs:/home/bruno/.guix-profile/bin:/home/bruno/.guix-profile/sbin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /run/current-system/profile/bin/. ++ new_PATH=/home/bruno/coreutils-9.10.299-27a7c/build-64/src:/run/setuid-programs:/home/bruno/.guix-profile/bin:/home/bruno/.guix-profile/sbin:/run/current-system/profile/bin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /run/current-system/profile/sbin/. ++ new_PATH=/home/bruno/coreutils-9.10.299-27a7c/build-64/src:/run/setuid-programs:/home/bruno/.guix-profile/bin:/home/bruno/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sbin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /sbin/. ++ continue ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/sbin/. ++ continue ++ IFS=' ' ++ PATH=/home/bruno/coreutils-9.10.299-27a7c/build-64/src:/run/setuid-programs:/home/bruno/.guix-profile/bin:/home/bruno/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sbin ++ export PATH ++ trap remove_tmp_ EXIT + path_prepend_ ./src + test 1 '!=' 0 + path_dir_=./src + case $path_dir_ in + abs_path_dir_=/home/bruno/coreutils-9.10.299-27a7c/build-64/./src + case $abs_path_dir_ in + PATH=/home/bruno/coreutils-9.10.299-27a7c/build-64/./src:/home/bruno/coreutils-9.10.299-27a7c/build-64/src:/run/setuid-programs:/home/bruno/.guix-profile/bin:/home/bruno/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sbin + create_exe_shims_ /home/bruno/coreutils-9.10.299-27a7c/build-64/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ df + require_built_ df + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env df --version df (GNU coreutils) 9.10.299-27a7c Copyright (C) 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert. + skip_if_root_ + uid_is_privileged_ ++ id -u + my_uid=1000 + case $my_uid in + return 1 + sanitizer_build_ df + grep '[Ss]anitizer' ++ printf '%sSAN_OPTIONS=help=1 ' A UB L M T + env ASAN_OPTIONS=help=1 UBSAN_OPTIONS=help=1 LSAN_OPTIONS=help=1 MSAN_OPTIONS=help=1 TSAN_OPTIONS=help=1 df --version + timeout 10 df Filesystem 1K-blocks Used Available Use% Mounted on none 1006572 0 1006572 0% /dev /dev/sda3 19430032 7767360 10650348 43% / tmpfs 1016368 0 1016368 0% /dev/shm none 1016368 28 1016340 1% /run/systemd none 1016368 0 1016368 0% /run/user cgroup 1016368 0 1016368 0% /sys/fs/cgroup none 1016368 0 1016368 0% /var/cache/fontconfig none 1016368 520 1015848 1% /var/lib/gdm tmpfs 203272 16 203256 1% /run/user/1000 + unshare -rm unshare --version unshare from util-linux 2.37.2 + df /proc + unshare -rm /bin/sh -c 'mount -t tmpfs tmpfs /proc && env df "$@"' -- /proc ../tests/df/no-mtab-status-masked-proc.sh: line 34: 22422 Segmentation fault unshare -rm $SHELL -c "mount -t tmpfs tmpfs /proc && env df \"\$@\"" -- "$@" + fail=1 + returns_ 1 df /proc/self ../tests/df/no-mtab-status-masked-proc.sh: line 34: 22425 Segmentation fault unshare -rm $SHELL -c "mount -t tmpfs tmpfs /proc && env df \"\$@\"" -- "$@" + framework_failure_ + warn_ 'no-mtab-status-masked-proc.sh: set-up failure: ' + case $IFS in + printf '%s\n' 'no-mtab-status-masked-proc.sh: set-up failure: ' no-mtab-status-masked-proc.sh: set-up failure: + test 9 = 2 + local 'args=no-mtab-status-masked-proc.sh: set-up failure: ' + local 'firstline=no-mtab-status-masked-proc.sh: set-up failure: ' + printf '%s\n' 'no-mtab-status-masked-proc.sh: set-up failure: ' + Exit 99 + set +e + exit 99 + exit 99 + remove_tmp_ + __st=99 + cleanup_ + : + test '' = yes + cd /home/bruno/coreutils-9.10.299-27a7c/build-64 + chmod -R u+rwx /home/bruno/coreutils-9.10.299-27a7c/build-64/gt-no-mtab-status-masked-proc.sh.F9kT + rm -rf /home/bruno/coreutils-9.10.299-27a7c/build-64/gt-no-mtab-status-masked-proc.sh.F9kT + exit 99 ERROR tests/df/no-mtab-status-masked-proc.sh (exit status: 99)
