|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2110 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 2110.
Report 2110 Actions
Problem Report Number 2110 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1075 Raised 1999-08-18 08:00 Updated 2003-03-13 08:00 Published 1999-08-25 08:00 Product Standard Multi-Purpose Realtime Operating System Certification Program The Open Brand certification program Test Suite VSTH version 5.1.3 Test Identification PTHR.os/all/sched_yield 1 Problem Summary TSD5TH.00067 The test has all but one threads in a process do a sched_yield() and expects the remaining thread to be scheduled first. In our multi-processor implementation, we don't guarantee which thread runs fi... Problem Text
The test has all but one threads in a process do a sched_yield()
and expects the remaining thread to be scheduled first. In our
multi-processor implementation, we don't guarantee which thread
runs first. The thread may infact successfully yield the processor
but if there is no other thread ready to run, it might get scheduled
immediately and race with the thread that did not yield.
The above test fails often on a multi-proc system. If all but one
processor are offlined (i.e the system is made to run in single-
processor mode) the test passes.
This appears to be test implementation issue.Test Output
10|180 /tset/PTHR.os/all/sched_yield/T.sched_yield 13:02:32|TC Start, scenario r
ef 183-0
15|180 3.2-lite 1|TCM Start
400|180 1 1 13:02:33|IC Start
200|180 1 13:02:33|TP Start
520|180 1 00003399 1 1|A call to sched_yield() shall force the calling thread to
520|180 1 00003399 1 2|relinquish the processor and return 0 if successful.
520|180 1 00003399 1 3|Posix Ref: Component SCHED_YIELD
520|180 1 00003399 1 4|Assertion 9945-1:1996 13.3.5.2-1(A)
520|180 1 00003399 16 1|T1_first, expected 0, got 6
220|180 1 1 13:02:33|FAIL
410|180 1 1 13:02:33|IC End
80|180 0 13:02:34|TC End, scenario ref 183-0Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
A test suite deficiency is recommended
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 2110
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority