GNU bug report logs - #8005
coreutils-8.10: make check failure

Previous Next

Package: coreutils;

Reported by: chris2553 <at> googlemail.com

Date: Tue, 8 Feb 2011 19:49:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8005 in the body.
You can then email your comments to 8005 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8005; Package coreutils. (Tue, 08 Feb 2011 19:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to chris2553 <at> googlemail.com:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 08 Feb 2011 19:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Chris Clayton <chris2553 <at> googlemail.com>
To: bug-coreutils <at> gnu.org
Subject: coreutils-8.10: make check failure
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 bug-coreutils <at> gnu.org
======================================
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




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8005; Package coreutils. (Tue, 08 Feb 2011 20:10:02 GMT) Full text and rfc822 format available.

Message #8 received at 8005 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: chris2553 <at> googlemail.com
Cc: 8005 <at> debbugs.gnu.org
Subject: Re: bug#8005: coreutils-8.10: make check failure
Date: Tue, 08 Feb 2011 21:18:11 +0100
Chris Clayton wrote:
> 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)
> ================================

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 .) ?




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8005; Package coreutils. (Tue, 08 Feb 2011 21:27:02 GMT) Full text and rfc822 format available.

Message #11 received at 8005 <at> debbugs.gnu.org (full text, mbox):

From: "Gilles Espinasse" <g.esp <at> free.fr>
To: <chris2553 <at> googlemail.com>,
	"Jim Meyering" <jim <at> meyering.net>
Cc: 8005 <at> debbugs.gnu.org
Subject: Re: bug#8005: coreutils-8.10: make check failure
Date: Tue, 8 Feb 2011 22:30:38 +0100
----- Original Message ----- 
From: "Jim Meyering" <jim <at> meyering.net>
To: <chris2553 <at> googlemail.com>
Cc: <8005 <at> debbugs.gnu.org>
Sent: Tuesday, February 08, 2011 9:18 PM
Subject: bug#8005: coreutils-8.10: make check failure


>>
>> 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)
>> ================================
>
> 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 bug-coreutils <at> gnu.org
I tested on both machines with ext3
 uname -a
Linux netvista 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:53:09 EST 2011 i686
i686 i386 GNU/Linux

df -T .
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
              ext3    17806872  10808872   6078860  65% /

and
uname -a
Linux amd64 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010
i686 GNU/Linux
LANG=C df -T .
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/sda2     ext3    48444420  16617888  29385056  37% /

This fs has not been created with linux-2.6.32, it has been created with
linux-2.6.24 Ubuntu-8.04

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).

Gilles





Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Tue, 08 Feb 2011 21:52:01 GMT) Full text and rfc822 format available.

Notification sent to chris2553 <at> googlemail.com:
bug acknowledged by developer. (Tue, 08 Feb 2011 21:52:02 GMT) Full text and rfc822 format available.

Message #16 received at 8005-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Gilles Espinasse <g.esp <at> free.fr>
Cc: 8005-done <at> debbugs.gnu.org, chris2553 <at> googlemail.com,
	Jim Meyering <jim <at> meyering.net>
Subject: Re: bug#8005: coreutils-8.10: make check failure
Date: Tue, 08 Feb 2011 21:57:25 +0000
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 bug-coreutils <at> gnu.org

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.




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8005; Package coreutils. (Wed, 09 Feb 2011 08:53:02 GMT) Full text and rfc822 format available.

Message #19 received at 8005 <at> debbugs.gnu.org (full text, mbox):

From: Chris Clayton <chris2553 <at> googlemail.com>
To: Jim Meyering <jim <at> meyering.net>
Cc: 8005 <at> debbugs.gnu.org
Subject: Re: bug#8005: coreutils-8.10: make check failure
Date: Wed, 9 Feb 2011 09:01:23 +0000
On Tuesday 08 February 2011, Jim Meyering wrote:
> Chris Clayton wrote:
> > 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)
> > ================================
>
> 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
>

Indeed,  Pádraig's patch does fix the problem. :)

> Just in case, can you tell us about your system
> (i.e., uname -a) and file system type (df -T .) ?

Just for the record I was building on 2.6.37 (and tried 2.6.38-rc4 too) and the 
fs was ext4 mounted via loop (by the test script)

Thanks to Jim and Pádraig,

Chris

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




Message #20 received at 8005-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: chris2553 <at> googlemail.com
Cc: 8005-done <at> debbugs.gnu.org
Subject: Re: bug#8005: coreutils-8.10: make check failure
Date: Wed, 09 Feb 2011 10:12:19 +0100
Chris Clayton wrote:
>>   http://thread.gmane.org/gmane.comp.gnu.core-utils.announce/65/focus=867
>
> Indeed,  Pádraig's patch does fix the problem. :)
>
>> Just in case, can you tell us about your system
>> (i.e., uname -a) and file system type (df -T .) ?
>
> Just for the record I was building on 2.6.37 (and tried 2.6.38-rc4 too) and the
> fs was ext4 mounted via loop (by the test script)

Thanks.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 09 Mar 2011 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.