Hi.

When I run make check, tests/df/skip-duplicates.sh fails. I've run it again 
verbosely and the log file is attached.

I suspect it is something to do with the fact that on my system, /boot/modules 
is a bind mount of /lib/modules that I
use to speed things up a fraction when I tidy old kernels in /boot. If I 
unmount /boot/modules, the failure goes away.

I'm happy to test any fixes, but please cc me on any reply because I'm not 
subscribed.

Thanks.

Chris
  GEN      public-submodule-commit
make  check-recursive
make[1]: Entering directory '/home/chris/rpm/BUILD/coreutils-8.23'
Making check in .
make[2]: Entering directory '/home/chris/rpm/BUILD/coreutils-8.23'
make  check-TESTS check-local
make[3]: Entering directory '/home/chris/rpm/BUILD/coreutils-8.23'
make[4]: Entering directory '/home/chris/rpm/BUILD/coreutils-8.23'
FAIL: tests/df/skip-duplicates.sh
make[5]: Entering directory '/home/chris/rpm/BUILD/coreutils-8.23'
make  all-recursive
make[6]: Entering directory '/home/chris/rpm/BUILD/coreutils-8.23'
Making all in .
make[7]: Entering directory '/home/chris/rpm/BUILD/coreutils-8.23'
make[7]: Leaving directory '/home/chris/rpm/BUILD/coreutils-8.23'
make[6]: Leaving directory '/home/chris/rpm/BUILD/coreutils-8.23'
make[5]: Leaving directory '/home/chris/rpm/BUILD/coreutils-8.23'
================================================
   GNU coreutils 8.23: ./tests/test-suite.log
================================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/df/skip-duplicates
==============================

++ initial_cwd_=/home/chris/rpm/build/coreutils-8.23
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/chris/rpm/build/coreutils-8.23 gt-skip-duplicates.sh.XXXX
+++ case $# in
+++ destdir_=/home/chris/rpm/build/coreutils-8.23
+++ template_=gt-skip-duplicates.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/home/chris/rpm/build/coreutils-8.23/gt-skip-duplicates.sh.GJqz
+++ case $d in
+++ test -d /home/chris/rpm/build/coreutils-8.23/gt-skip-duplicates.sh.GJqz
++++ ls -dgo /home/chris/rpm/build/coreutils-8.23/gt-skip-duplicates.sh.GJqz
++++ tr S -
+++ perms='drwx------ 2 4096 Jul 20 09:37 
/home/chris/rpm/build/coreutils-8.23/gt-skip-duplicates.sh.GJqz'
+++ case $perms in
+++ test 0 = 0
+++ echo /home/chris/rpm/build/coreutils-8.23/gt-skip-duplicates.sh.GJqz
+++ return
++ test_dir_=/home/chris/rpm/build/coreutils-8.23/gt-skip-duplicates.sh.GJqz
++ cd /home/chris/rpm/build/coreutils-8.23/gt-skip-duplicates.sh.GJqz
++ 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
++ trap remove_tmp_ 0
+ path_prepend_ ./src
+ test 1 '!=' 0
+ path_dir_=./src
+ case $path_dir_ in
+ abs_path_dir_=/home/chris/rpm/build/coreutils-8.23/./src
+ case $abs_path_dir_ in
+ 
PATH=/home/chris/rpm/build/coreutils-8.23/./src:/home/chris/rpm/BUILD/coreutils-8.23/src:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/java/bin:/usr/lib/qt3/bin:/opt/kde3/bin:/home/chris/bin:.
+ create_exe_shims_ /home/chris/rpm/build/coreutils-8.23/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ df
+ test yes = yes
+ local i
+ for i in '$*'
+ env df --version
df (GNU coreutils) 8.23
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://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.
+ require_gcc_shared_
+ gcc_shared_ - d.so -xc
+ local in=-
+ local out=d.so
+ shift 2
+ gcc -std=gnu99 -Wall -shared --std=gnu99 -fPIC -ldl -O2 -xc - -o d.so
+ rm -f d.so
+ df --local
Filesystem     1K-blocks     Used Available Use% Mounted on
/lib/modules    61796348 32476332  26157904  56% /boot/modules
run              4040252      160   4040092   1% /run
/dev/sda1       81919996 65196344  16723652  80% /winc
/dev/sda7       31457276  2727756  28729520   9% /share
/mnt/kernel     20511356  3874204  15572192  20% /home/chris/kernel
/mnt/archive    30832636 14439704  14803684  50% /home/chris/archive
/mnt/kvm        30832636 15742288  13501100  54% /home/chris/kvm
shm              4040252        0   4040252   0% /dev/shm
++ df --local --output=target
++ grep /.
++ head -n1
+ export CU_NONROOT_FS=/boot/modules
+ CU_NONROOT_FS=/boot/modules
+ test -z /boot/modules
+ unique_entries=2
+ grep '^#define HAVE_MNTENT_H 1' 
/home/chris/rpm/BUILD/coreutils-8.23/lib/config.h
+ grep '^#define HAVE_GETMNTENT 1' 
/home/chris/rpm/BUILD/coreutils-8.23/lib/config.h
+ cat
+ gcc_shared_ k.c k.so
+ local in=k.c
+ local out=k.so
+ shift 2
+ gcc -std=gnu99 -Wall -shared --std=gnu99 -fPIC -ldl -O2 k.c -o k.so
+ LD_PRELOAD=./k.so
+ df
Filesystem     1K-blocks     Used Available Use% Mounted on
virtfs2         61796348 32476352  26157884  56% /boot/modules
+ test -f x
+ LD_PRELOAD=./k.so
+ df -T
++ wc -l
++ expr 1 + 2
+ test 2 -eq 3
+ fail=1
+ cat out
Filesystem     Type    1K-blocks     Used Available Use% Mounted on
virtfs2        fstype2  61796348 32476352  26157884  56% /boot/modules
+ LD_PRELOAD=./k.so
+ CU_TEST_DUPE_INVALID=1
+ df -T
++ wc -l
++ expr 1 + 2
+ test 2 -eq 3
+ fail=1
+ cat out
Filesystem     Type    1K-blocks     Used Available Use% Mounted on
virtfs2        fstype2  61796348 32476356  26157880  56% /boot/modules
+ test 2 = 2
++ grep -c /fsname
+ test 0 -eq 1
+ fail=1
+ cat out
Filesystem     Type    1K-blocks     Used Available Use% Mounted on
virtfs2        fstype2  61796348 32476356  26157880  56% /boot/modules
++ grep -cF /.
+ test 0 -eq 0
++ grep -c 'virtfs2.*fstype2'
+ test 1 -eq 1
+ LD_PRELOAD=./k.so
+ df -a
++ wc -l
+ test 6 -eq 6
++ grep -c 'virtfs *-'
+ test 1 -eq 1
+ df . .
++ wc -l
+ test 3 -eq 3
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /home/chris/rpm/build/coreutils-8.23
+ chmod -R u+rwx /home/chris/rpm/build/coreutils-8.23/gt-skip-duplicates.sh.GJqz
+ rm -rf /home/chris/rpm/build/coreutils-8.23/gt-skip-duplicates.sh.GJqz
+ exit 1

============================================================================
Testsuite summary for GNU coreutils 8.23
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./tests/test-suite.log
Please report to [email protected]
============================================================================
Makefile:11210: recipe for target 'tests/test-suite.log' failed
make[4]: *** [tests/test-suite.log] Error 1
make[4]: Leaving directory '/home/chris/rpm/BUILD/coreutils-8.23'
Makefile:11316: recipe for target 'check-TESTS' failed
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory '/home/chris/rpm/BUILD/coreutils-8.23'
Makefile:11571: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/home/chris/rpm/BUILD/coreutils-8.23'
Makefile:11096: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/home/chris/rpm/BUILD/coreutils-8.23'
Makefile:11573: recipe for target 'check' failed
make: *** [check] Error 2

Reply via email to