Subject: coreutils-8.10: make check failure

From: Chris Clayton <[email-masked]>
Date: Tue, 8 Feb 2011 19:56:31 +0000

Hi,

Firstly, please cc me on any reply because I'm not subscribed.

I'm trying to build coreutils-8.10 but am getting a failure when I run make 
check.

The failure occurs in check cp/sparse-fiemap and the log of that check is as 
follows:

make  check-TESTS
make[1]: Entering directory `/home/chris/rpm/BUILD/coreutils-8.10/tests'
make[2]: Entering directory `/home/chris/rpm/BUILD/coreutils-8.10/tests'
FAIL: cp/sparse-fiemap
==============================================
   GNU coreutils 8.10: tests/test-suite.log   
==============================================

1 of 1 test failed.  

.. contents:: :depth: 2

FAIL: cp/sparse-fiemap (exit: 1)
================================

++ initial_cwd_=/home/chris/rpm/build/coreutils-8.10/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/chris/rpm/build/coreutils-8.10/tests gt-sparse-fiemap.XXXX
+++ case $# in
+++ destdir_=/home/chris/rpm/build/coreutils-8.10/tests
+++ template_=gt-sparse-fiemap.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
++++ mktemp -d -t -p /home/chris/rpm/build/coreutils-8.10/tests 
gt-sparse-fiemap.XXXX
+++ d=/home/chris/rpm/build/coreutils-8.10/tests/gt-sparse-fiemap.mg8J
+++ case $d in
+++ test -d /home/chris/rpm/build/coreutils-8.10/tests/gt-sparse-fiemap.mg8J
++++ ls -dgo /home/chris/rpm/build/coreutils-8.10/tests/gt-sparse-fiemap.mg8J
++++ tr S -
+++ perms='drwx------ 2 4096 Feb  8 
19:45 /home/chris/rpm/build/coreutils-8.10/tests/gt-sparse-fiemap.mg8J'
+++ case $perms in
+++ test 0 = 0
+++ echo /home/chris/rpm/build/coreutils-8.10/tests/gt-sparse-fiemap.mg8J
+++ return
++ test_dir_=/home/chris/rpm/build/coreutils-8.10/tests/gt-sparse-fiemap.mg8J
++ cd /home/chris/rpm/build/coreutils-8.10/tests/gt-sparse-fiemap.mg8J
++ 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
++ cd /home/chris/rpm/build/coreutils-8.10/tests/../src
++ echo /home/chris/rpm/build/coreutils-8.10/src
+ abs_path_dir_=/home/chris/rpm/build/coreutils-8.10/src
+ case $abs_path_dir_ in
+ 
PATH=/home/chris/rpm/build/coreutils-8.10/src:/home/chris/rpm/BUILD/coreutils-8.10/src:/opt/kde3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/bin:/usr/local/sbin:/usr/java/bin:.:/usr/lib/qt3/bin:/home/chris/bin
+ create_exe_shims_ /home/chris/rpm/build/coreutils-8.10/src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ cp
+ test yes = yes
+ local i
+ for i in '$*'
+ env cp --version
cp (GNU coreutils) 8.10
Copyright (C) 2011 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 Jim Meyering.
+ fiemap_capable_ .
+ df -T -t btrfs -t xfs -t ext4 -t ocfs2 -t gfs2 .
df: no file systems processed
+ require_root_
+ uid_is_privileged_
++ id -u
+ my_uid=0
+ case $my_uid in
+ NON_ROOT_USERNAME=nobody
++ id -g nobody
+ NON_ROOT_GROUP=65534
+ cwd=/home/chris/rpm/build/coreutils-8.10/tests/gt-sparse-fiemap.mg8J
+ skip=0
+ dd if=/dev/zero of=blob bs=32k count=1000
1000+0 records in
1000+0 records out
32768000 bytes (33 MB) copied, 0.0504067 s, 650 MB/s
+ mkdir mnt
+ mkfs -t ext4 -F blob
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
8000 inodes, 32000 blocks
1600 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=32768000
4 block groups
8192 blocks per group, 8192 fragments per group
2000 inodes per group
Superblock backups stored on blocks: 
	8193, 24577

Writing inode tables: 0/41/42/43/4done                            
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 23 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
+ mount -oloop blob mnt
+ cd mnt
+ echo test
+ test -s f
+ test 0 = 1
+ perl -e 1
++ seq 1 2 21
+ for i in '$(seq 1 2 21)'
+ for j in 1 2 31 100
+ perl -e 'BEGIN { $n = 1 * 1024; *F = *STDOUT }' -e 'for (1..1) { sysseek (*F, 
$n, 1)' -e '&& syswrite (*F, chr($_)x$n) or die "$!"}'
+ cp --sparse=always j1 j2
+ cmp j1 j2
+ filefrag -v j1
+ grep extent
j1: 2 extents found
+ filefrag -v j1
+ filefrag -v j2
+ f ff1
+ perl /home/chris/rpm/BUILD/coreutils-8.10/tests/filefrag-extent-compare
+ sed 's/ [a-z,][a-z,]*$//' ff1
+ awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}'
+ f ff2
+ sed 's/ [a-z,][a-z,]*$//' ff2
+ awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}'
@a and @b have different lengths, even after adjustment
+ fail=1
+ break
+ test 1 = 1
+ break
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ cd /
+ umount /home/chris/rpm/build/coreutils-8.10/tests/gt-sparse-fiemap.mg8J/mnt
+ cd /home/chris/rpm/build/coreutils-8.10/tests
+ chmod -R 
u+rwx /home/chris/rpm/build/coreutils-8.10/tests/gt-sparse-fiemap.mg8J
+ rm -rf /home/chris/rpm/build/coreutils-8.10/tests/gt-sparse-fiemap.mg8J
+ exit 1
======================================
1 of 1 test failed
See tests/test-suite.log
Please report to [email-masked]
======================================
make[2]: *** [test-suite.log] Error 1
make[2]: Leaving directory `/home/chris/rpm/BUILD/coreutils-8.10/tests'
make[1]: *** [check-TESTS] Error 2
make[1]: Leaving directory `/home/chris/rpm/BUILD/coreutils-8.10/tests'
make: *** [check-am] Error 2

Happy to test patches or provide additional diagnostics.

Thanks,

Chris

-- 
The more I see, the more I know. The more I know, the less I understand. 
Changing Man - Paul Weller