Subject: bug#8005: closed (Re: bug#8005: coreutils-8.10: make check failure)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 08 Feb 2011 21:52:02 +0000

Your bug report

#8005: coreutils-8.10: make check failure

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
8005: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8005
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#8005: coreutils-8.10: make check failure
From: Pádraig Brady <[email-masked]>
To: Gilles Espinasse <[email-masked]>
Cc: [email-masked], [email-masked], Jim Meyering <[email-masked]>
Date: Tue, 08 Feb 2011 21:57:25 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

On 08/02/11 21:30, Gilles Espinasse wrote:
>>> FAIL: cp/sparse-fiemap (exit: 1)
>>> ================================
>>
>> Thanks for the report.
>> I suspect that is merely a weakness in the test script and not a real
> problem,
>> and in fact Pádraig Brady posted a patch that probably fixes it here:
>>
>>   http://thread.gmane.org/gmane.comp.gnu.core-utils.announce/65/focus=867
>>
>>
>> Just in case, can you tell us about your system
>> (i.e., uname -a) and file system type (df -T .) ?
>>
> I don't know what happen with my report send reporting that same issue the 7
> feb send to [email-masked]

There have been delays lately, which has been reported.
It might arrive at some stage.

> I tested on both machines with ext3

So the test would have been with ext4 loop back,
which has the sync requirement addressed by
my imminent patch.

> As a notice, python is not the LFS book, only perl is compiled on toolchain
> to populate LFS chroot.
> python is in Beyond Linux From Scratch (what you may compile after toolchain
> and base build).

Surprising but immaterial in this case.

cheers,
Pádraig.

Subject: coreutils-8.10: make check failure
From: Chris Clayton <[email-masked]>
To: [email-masked]
Date: Tue, 8 Feb 2011 19:56:31 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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