public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/5204] New: The glibc-2.7 sha512c-test fails with a timeout - needs an increased wait time
@ 2007-10-21 21:23 thkala at softlab dot ece dot ntua dot gr
  2007-10-27 15:26 ` [Bug libc/5204] " aj at suse dot de
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: thkala at softlab dot ece dot ntua dot gr @ 2007-10-21 21:23 UTC (permalink / raw)
  To: glibc-bugs

Hi,

As per the subject, the sha512c test of glibc-2.7 fails on my system:

GCONV_PATH=/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/iconvdata LC_ALL=C
  /usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/elf/ld-linux.so.2
--library-path
/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir:/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/math:/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/elf:/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/dlfcn:/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/nss:/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/nis:/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/rt:/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/resolv:/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/crypt:/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/nptl
/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/crypt/sha512c-test  >
/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/crypt/sha512c-test.out
Timed out: killed the child process
make[2]: ***
[/usr/src/rpm/BUILD/glibc-2.7/glibc-2.7-1mp-objdir/crypt/sha512c-test.out] Error 1

Apparently the default timeout of 2 seconds that this test uses is not enough,
since setting the TIMEOUTFACTOR environment variable to 2 (i.e. a timeout of 4
sec) allows the test to complete without errors.

My system is an Intel Pentium-M (Centrino) 1.7GHz, and the same error has been
verified by another person (wolfpac from the #lfs-support IRC channel) with a
Pentium-4 1.8 GHz.

OS: linux-2.6.22
Kernel headers used: linux-2.6.22.10
CC: gcc-4.2.2 + binutils-2.18
CFLAGS:-O2 -pipe -march=pentium-m

I am filing this as a bug, because I think both machines are recent and fast
enough to not have a test fail for that reason, unless of course something more
subtle/sinister is happening, and the test was really supposed to finish in 2
seconds...

Regards,

Theodoros V. Kalamatianos

-- 
           Summary: The glibc-2.7 sha512c-test fails with a timeout - needs
                    an increased wait time
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: thkala at softlab dot ece dot ntua dot gr
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-mandriva-linux-gnu
  GCC host triplet: i686-mandriva-linux-gnu
GCC target triplet: i686-mandriva-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=5204

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/5204] The glibc-2.7 sha512c-test fails with a timeout - needs an increased wait time
  2007-10-21 21:23 [Bug libc/5204] New: The glibc-2.7 sha512c-test fails with a timeout - needs an increased wait time thkala at softlab dot ece dot ntua dot gr
@ 2007-10-27 15:26 ` aj at suse dot de
  2007-10-28 18:38 ` thkala at softlab dot ece dot ntua dot gr
  2007-10-28 19:47 ` drepper at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: aj at suse dot de @ 2007-10-27 15:26 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aj at suse dot de  2007-10-27 15:26 -------
I don't see such a problem on my system (2.2 Ghz Opteron):

$ time GCONV_PATH=/abuild/aj/glibc/10.3/iconvdata LC_ALL=C  
/abuild/aj/glibc/10.3/elf/ld-linux-x86-64.so.2 --library-path
/abuild/aj/glibc/10.3:/abuild/aj/glibc/10.3/math:/abuild/aj/glibc/10.3/elf:/abuild/aj/glibc/10.3/dlfcn:/abuild/aj/glibc/10.3/nss:/abuild/aj/glibc/10.3/nis:/abuild/aj/glibc/10.3/rt:/abuild/aj/glibc/10.3/resolv:/abuild/aj/glibc/10.3/crypt:/abuild/aj/glibc/10.3/nptl
/abuild/aj/glibc/10.3/crypt/sha512test
real    0m0.010s
user    0m0.008s
sys     0m0.000s

Why is it over a factor 200 slower on your system?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5204

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/5204] The glibc-2.7 sha512c-test fails with a timeout - needs an increased wait time
  2007-10-21 21:23 [Bug libc/5204] New: The glibc-2.7 sha512c-test fails with a timeout - needs an increased wait time thkala at softlab dot ece dot ntua dot gr
  2007-10-27 15:26 ` [Bug libc/5204] " aj at suse dot de
@ 2007-10-28 18:38 ` thkala at softlab dot ece dot ntua dot gr
  2007-10-28 19:47 ` drepper at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: thkala at softlab dot ece dot ntua dot gr @ 2007-10-28 18:38 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From thkala at softlab dot ece dot ntua dot gr  2007-10-28 18:38 -------
Because my bug report is about sha512c-test, not sha512test :-). The latter
works fine, as far as I can tell.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5204

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/5204] The glibc-2.7 sha512c-test fails with a timeout - needs an increased wait time
  2007-10-21 21:23 [Bug libc/5204] New: The glibc-2.7 sha512c-test fails with a timeout - needs an increased wait time thkala at softlab dot ece dot ntua dot gr
  2007-10-27 15:26 ` [Bug libc/5204] " aj at suse dot de
  2007-10-28 18:38 ` thkala at softlab dot ece dot ntua dot gr
@ 2007-10-28 19:47 ` drepper at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2007-10-28 19:47 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-10-28 19:47 -------
I've defined the timeout to a higher value.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=5204

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-10-28 19:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-21 21:23 [Bug libc/5204] New: The glibc-2.7 sha512c-test fails with a timeout - needs an increased wait time thkala at softlab dot ece dot ntua dot gr
2007-10-27 15:26 ` [Bug libc/5204] " aj at suse dot de
2007-10-28 18:38 ` thkala at softlab dot ece dot ntua dot gr
2007-10-28 19:47 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).