GNU bug report logs - #9537
errors running test suite

Previous Next

Package: coreutils;

Reported by: Montosh Bisht <montosh.bisht <at> gmail.com>

Date: Sat, 17 Sep 2011 21:44:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

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 9537 in the body.
You can then email your comments to 9537 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#9537; Package coreutils. (Sat, 17 Sep 2011 21:44:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Montosh Bisht <montosh.bisht <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sat, 17 Sep 2011 21:44:01 GMT) Full text and rfc822 format available.

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

From: Montosh Bisht <montosh.bisht <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: errors running test suite
Date: Sun, 18 Sep 2011 03:03:24 +0530
Hi,

Few errors  were reported in the test. Hope this helps.

uname -a
Linux devhost 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug 30 14:38:32 UTC
2011 x86_64 x86_64 x86_64 GNU/Linux
Fedora 15
gcc --version
gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)

export CFLAGS='-pipe -Ofast -march=core2 -fopenmp -mfpmath=sse -flto'
&& export CXXFLAGS='-pipe -Ofast -march=core2 -fopenmp -mfpmath=sse '

./configure --prefix=/usr --exec-prefix=/  --disable-rpath

make -j4
make -j4 check


=====================================================
   GNU coreutils 8.13: gnulib-tests/test-suite.log
=====================================================

9 of 259 tests failed.  (10 tests were not run).

.. contents:: :depth: 2


FAIL: test-frexp-nolibm (exit: 134)
===================================

test-frexp.c:66: assertion failed

FAIL: test-frexpl-nolibm (exit: 134)
====================================

test-frexpl.c:114: assertion failed

FAIL: test-isnand-nolibm (exit: 134)
====================================

test-isnand.h:43: assertion failed

FAIL: test-math (exit: 1)
=========================


SKIP: test-mbrtowc-w32-1.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-mbrtowc-w32-2.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-mbrtowc-w32-3.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-mbrtowc-w32-4.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-mbrtowc-w32-5.sh (exit: 77)
======================================

Skipping test: not a native Windows system

FAIL: test-strtod (exit: 134)
=============================

test-strtod.c:645: assertion failed

FAIL: test-vasprintf-posix (exit: 134)
======================================


FAIL: test-vfprintf-posix.sh (exit: 1)
======================================

./test-vfprintf-posix.sh: line 7: 14582 Aborted                 (core
dumped) ./test-vfprintf-posix${EXEEXT} > t-vfprintf-posix.tmp

FAIL: test-vprintf-posix.sh (exit: 1)
=====================================

./test-vprintf-posix.sh: line 7: 14597 Aborted                 (core
dumped) ./test-vprintf-posix${EXEEXT} > t-vprintf-posix.tmp

SKIP: test-wcrtomb-w32-1.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-wcrtomb-w32-2.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-wcrtomb-w32-3.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-wcrtomb-w32-4.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-wcrtomb-w32-5.sh (exit: 77)
======================================

Skipping test: not a native Windows system

FAIL: test-xprintf-posix.sh (exit: 1)
=====================================

./test-xprintf-posix.sh: line 7: 14769 Aborted                 (core
dumped) ./test-xprintf-posix${EXEEXT} > t-xprintf-posix.tmp
======================================
9 of 259 tests failed
(10 tests were not run)
See gnulib-tests/test-suite.log
Please report to bug-coreutils <at> gnu.org
======================================
make[6]: *** [test-suite.log] Error 1
make[6]: Leaving directory `/root/Downloads/src/coreutils-8.13/gnulib-tests'
make[5]: *** [check-TESTS] Error 2
make[5]: Leaving directory `/root/Downloads/src/coreutils-8.13/gnulib-tests'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/root/Downloads/src/coreutils-8.13/gnulib-tests'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/root/Downloads/src/coreutils-8.13/gnulib-tests'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/root/Downloads/src/coreutils-8.13/gnulib-tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/Downloads/src/coreutils-8.13'
make: *** [check] Error 2

regards,
Montosh




Reply sent to Jim Meyering <jim <at> meyering.net>:
You have taken responsibility. (Sun, 18 Sep 2011 09:19:02 GMT) Full text and rfc822 format available.

Notification sent to Montosh Bisht <montosh.bisht <at> gmail.com>:
bug acknowledged by developer. (Sun, 18 Sep 2011 09:19:02 GMT) Full text and rfc822 format available.

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

From: Jim Meyering <jim <at> meyering.net>
To: Montosh Bisht <montosh.bisht <at> gmail.com>
Cc: bug-gnulib <at> gnu.org, 9537-done <at> debbugs.gnu.org
Subject: Re: bug#9537: errors running test suite
Date: Sun, 18 Sep 2011 11:13:14 +0200
Montosh Bisht wrote:
> Few errors  were reported in the test. Hope this helps.
>
> uname -a
> Linux devhost 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug 30 14:38:32 UTC
> 2011 x86_64 x86_64 x86_64 GNU/Linux
> Fedora 15
> gcc --version
> gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)
>
> export CFLAGS='-pipe -Ofast -march=core2 -fopenmp -mfpmath=sse -flto'
> && export CXXFLAGS='-pipe -Ofast -march=core2 -fopenmp -mfpmath=sse '
>
> ./configure --prefix=/usr --exec-prefix=/  --disable-rpath
>
> make -j4
> make -j4 check
>
>
> =====================================================
>    GNU coreutils 8.13: gnulib-tests/test-suite.log
> =====================================================
>
> 9 of 259 tests failed.  (10 tests were not run).
...

> FAIL: test-frexp-nolibm (exit: 134)
> FAIL: test-frexpl-nolibm (exit: 134)
> FAIL: test-isnand-nolibm (exit: 134)
> FAIL: test-math (exit: 1)
> FAIL: test-strtod (exit: 134)
> FAIL: test-vasprintf-posix (exit: 134)
> FAIL: test-vfprintf-posix.sh (exit: 1)
> FAIL: test-vprintf-posix.sh (exit: 1)
> FAIL: test-xprintf-posix.sh (exit: 1)

Thank you for reporting those.

However, the fact that some compliance-checking tests fail when you
use gcc's -Ofast (a compliance-disregarding option) is expected:

       -Ofast
           Disregard strict standards compliance.  -Ofast enables all -O3
           optimizations.  It also enables optimizations that are not valid
           for all standard compliant programs.  It turns on -ffast-math.

We could add code in those tests to skip the failing parts
when -Ofast is used (by testing some combination of __FAST_MATH__
and __FINITE_MATH_ONLY__).

I've marked this coreutils issue as "done", and Cc'd the bug-gnulib
mailing list, since those tests all come from the Gnulib project.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 16 Oct 2011 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 313 days ago.

Previous Next


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