Bug 2674

Summary: POSIX: case pthread_cond_signal/1-1 fails on routerstation
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Kai Kang <kai.kang>
Component: meta-yoctoAssignee: Kai Kang <kai.kang>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: jessica.zhang, poky.bs.watcher, poky.watcher, sgw, song.liu, yi.zhao, zhenfeng.zhao
Version: 1.3   
Target Milestone: 1.3 M4   
Hardware: Routerstationpro   
OS: mips   
Whiteboard: (D5)(Patch Merged)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 2332    

Description Kai Kang 2012-07-02 02:36:25 UTC
case pthread_cond_signal/1-1 fails on routerstation

conformance/interfaces/pthread_cond_signal/1-1: execution: FAILED

 [Thread 0x0x2c56d4b0] started and locked the mutex
 [Thread 0x0x2c56d4b0] is waiting for the cond
 [Thread 0x0x2bd6d4b0] started and locked the mutex
 [Thread 0x0x2bd6d4b0] is waiting for the cond
 [Thread 0x0x2b56d4b0] started and locked the mutex
 [Thread 0x0x2b56d4b0] is waiting for the cond
 [Main thread] signals a condition
 [Thread 0x0x2c56d4b0] was wakened and acquired the mutex again
 [Thread 0x0x2c56d4b0] released the mutex
 [Main thread] 1 waiters were wakened
 [Main thread] signals to wake up the next thread
 [Thread 0x0x2bd6d4b0] was wakened and acquired the mutex again
 [Thread 0x0x2bd6d4b0] released the mutex
 [Main thread] signals to wake up the next thread
 [Main thread] signals to wake up the next thread
 [Main thread] signals to wake up the next thread
 [Main thread] signals to wake up the next thread
 [Main thread] signals to wake up the next thread
 [Thread 0x0x2b56d4b0] was wakened and acquired the mutex again
 [Main thread] had to signal the condition 7 times
 [Main thread] to wake up 3 threads
 . Test FAILED.
Comment 1 Kai Kang 2012-07-27 09:27:36 UTC
Patch of version 3 has been sent to ltp maillist for more than 1 week and no more reply.
Comment 2 Kai Kang 2012-08-24 03:13:16 UTC
ltp commit 9d911a972484f6d8e0fd1434de38f5edda0b6024 fixes this issue
Comment 3 Yi Zhao 2012-09-28 06:35:53 UTC
Verified with 1.3 M5 RC2 20120926 build.

git info: 718eb85806e080d0b165344b272e531ef19421eb
git branch: poky/1.3_M5

ltp version: 20120903