Opened 15 years ago
Closed 14 years ago
#2683 closed task (fixed)
TIMEOUTFACTOR on glibc test suite
Reported by: | Gilles Espinasse | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.7 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
I find in fedora TIMEOUTFACTOR=16 to eliminate the possible timout errors. Seen same variable in debian build. With that, I am able to build glibc without any error on amd-xp 3000+ or amd xp2800+ Without TIMEOUTFACTOR, I had Timed out: killed the child process make[3]: * usr/src/glibc-build/stdio-common/bug22.out Error 1
For the TIMEOUTFACTOR value, I am stupid and blindy use the value like in Fedora. I am using -march=i486 -mtune=native -O3 -pipe -mno-tls-direct-seg-refs to be virtualisation friendly.
May I suggest to parse glibc error log in a way that skip (ignored) error with grep ' Error [0-9]\+$' glibc-check-log
Change History (5)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Sorry I forgot to write how to use it. Yes basically define TINEMOUTFACTOR in the test environment. I use
TIMEOUTFACTOR=16 make -k check
comment:3 by , 15 years ago
On a x86_64 system and glibc-2.11.2 I get:
grep Error glibc-check-log make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored) make[2]: *** [/sources/glibc-build/nptl/tst-attr3.out] Error 1 make[2]: *** [/sources/glibc-build/nptl/tst-rwlock6.out] Error 1 make[2]: *** [/sources/glibc-build/nptl/tst-rwlock7.out] Error 1 make[2]: *** [/sources/glibc-build/nptl/tst-rwlock9.out] Error 1 make[2]: *** [/sources/glibc-build/nptl/tst-rwlock11.out] Error 1 make[2]: *** [/sources/glibc-build/nptl/tst-rwlock12.out] Error 11 make[2]: *** [/sources/glibc-build/nptl/tst-rwlock14.out] Error 1 make[1]: *** [nptl/tests] Error 2 make[2]: *** [/sources/glibc-build/rt/tst-cpuclock2.out] Error 1 make[1]: *** [rt/tests] Error 2 make[2]: *** [/sources/glibc-build/debug/tst-chk3.out] Error 1 make[2]: *** [/sources/glibc-build/debug/tst-lfschk3.out] Error 1 make[2]: *** [/sources/glibc-build/debug/tst-chk6.out] Error 1 make[2]: *** [/sources/glibc-build/debug/tst-lfschk6.out] Error 1 make[1]: *** [debug/tests] Error 2 make[1]: *** [/sources/glibc-build/c++-types-check.out] Error 1 make: *** [check] Error 2
Without the TIMEOUTFACTOR, I get one less error: tst-cpuclock2.out does not fail.
comment:4 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Updated explanation of glibc timeout errors and added TIMEOUTFACTOR as a possible solution.
Fixed at revision 9314.
Also note that I did not change the grep for errors in the log because we want the user to see the errors even if ignored.
Nice finding, I never thought on that way to supress the timeout errors :)
But how do you specify the variable? Something like...
TIMEOUTFACTOR=16 make -k check 2>&1 | tee glibc-check-log
... ? Or how?