Bug 4764 - On Running LTP test suite testcase nptl comes out with failures
Summary: On Running LTP test suite testcase nptl comes out with failures
Status: REJECTED INVALID
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-20 00:23 UTC by Sharyathi
Modified: 2005-07-02 19:17 UTC (History)
5 users (show)

See Also:
Kernel Version: 2.6.12-rc6-mm1
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Sharyathi 2005-06-20 00:23:15 UTC
Distribution:
   SLES 9 SP1
-----------------------------
Hardware Environment:
1 way, Pentium IV 2.8GHz, 2G RAM
Network Interface(e1000)
Disk I/O
SCSI storage controller: Adaptec Ultra320
-----------------------------   
Software Environment:
Linux x206h 2.6.12-rc6-mm1-I #3 SMP Sat Jun 25 13:27:57 IST 2005 i686 i686 i386
GNU/Linux
-----------------------------
Problem Description:
    While running the test suite, test case nptl01 fails. nptl01 is a testcase
to test the bug in system call pthread_cond_timedwait() of the native posix
library. 
   The test was supposed to verify a condition where the sequence counters were
getting updated without holding the internal condvar lock.
    A FAIL is indicated by test hangin and not completing execution. 
On running the test individually test hung for more than 300 secs.
-----------------------------
Comment 1 Andrew Morton 2005-06-28 02:03:03 UTC
I can reproduce this all the way back to 2.6.10.  Are you
sure LTP isn't busted?
Comment 2 Andrew Morton 2005-06-28 02:06:34 UTC
I lied.  2.6.10 is OK.  Will keep searching.
Comment 3 Sharyathi 2005-06-28 02:56:27 UTC
This has been reported even in SLES 9 SP2 RC3 (2.6.5-7-187) with the latest 
version of LTP test suite of month of June(ie ltp-full-20050608)
A bug has been filed and can be seen bugzill #16713 bug

Comment 4 Sripathi Kodi 2005-06-30 13:13:26 UTC
This is a problem with the LTP testcase.

The test sets an alarm for 300 seconds (MAXTIME) and ASSUMES that the test will
finish before that. If test is still running after 300 seconds, it assumes that
the test is hung, so kills the test with failure information. Looks like 300
seconds is too less on most systems. So the test will fail on any slow system!

Ideally testcase should not make such an assumption about when the test should
end. It should use some other way to detect hangs. But the simplest way to fix
nptl01.c is to set MAXTIME to some obscenely large value. I would set it to 2 hours!
Comment 5 Adrian Bunk 2005-07-02 19:17:12 UTC
As described in the bug log, this seems to be a LTP problem and not a kernel bug.

Note You need to log in before you can comment on or make changes to this bug.