|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1567 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 1567.
Report 1567 Actions
Problem Report Number 1567 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0849 Raised 2002-01-24 08:00 Updated 2003-03-13 08:00 Published 2002-01-31 08:00 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSU version 5.1.2 Test Identification CAPI.os/ioprim/close 3 Problem Summary TSD4U.00310 The test has a timing dependency and may fail if the child executes its close() before the parent's close(). Problem Text
Here what is happening:
First, the child writes data to the slave side and
then closes the slave.
Next, the data arrives in the stream head of master and is flow
controlled there.
Then, the parent closes the slave side. This generates TCSBRK from
ldterm down the slave side. So, ldterm waits till the slave side
will drain its queue.
The result is that the slave can't drain its queue because master
stream is flow controlled. Hence master blocks and can't complete
close, causing the test to hang and finally be killed by TET.
If parent closes its side before the child, the child close will
block until the parent reads the data and releases flow control.Test Output
************************************************************************
/tset/CAPI.os/ioprim/close/T.close 3 Failed
Test Description:
Base Required Conformance
The last successful call to int close(int fildes) for fildes when
fildes is associated with a STREAM, O_NONBLOCK is not set for fildes,
and no signals are posted for the STREAM shall wait for each module
and driver with data on it's write queue to drain its output before
dismantling the STREAM.
Test Information:
PREP: Ignore any signals
PREP: Push modules on the STREAM
PREP: Child: Write data into STREAM
PREP: Child: Close end of STREAM
PREP: Close end of STREAM (in parent)
ERROR: Test took longer than 600 seconds: presuming
function is hung and terminating test
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is accepted as a fault in the test suite.
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 1567
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority