|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1404 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 1404.
Report 1404 Actions
Problem Report Number 1404 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0686 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1996-04-30 08:00 Product Standard Sockets (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.1.0 Test Identification sockets/socket 7 Problem Summary TSD4U.00129 This test may fail on slower IUTs when _SC_OPEN_MAX is very large. Problem Text
This test may fail on slower IUTs when _SC_OPEN_MAX is very large.
We believe this is a test suite deficiency.
These two testcase fail on our platform because of a timeout.
After all file descriptors have been consumed SET_ALARM(WAIT_FOR_TIME)
is set. Then the final socket call is made (or socketpair()). And,
finally, a loop is entered in which all the files that were created
are now closed. After all files are closed the return value is
checked and then the errno value. On our implementation,
SET_ALARM(WAIT_FOR_TIME) is not enough time for all of the file
descriptors to be closed, after the final socket call. Our
OPEN_MAX value is 12500. When I increase the WAIT_FOR_TIME by a
multiple both testcases pass. The time to wait should be a
configurable value to allow for a large number of file descriptors.Test Output
Testcases: CAPIsockets/fsocket #7
CAPIsockets/fsocketpair #6
TEST CASE: socket
TEST PURPOSE #7
If the implementation supports a communications domain
and a socket type:
EMFILE in errno and return -1 on a call to int
socket(int domain, int type, int protocol) when no
more file descriptors are available for the process.
PREP: Determine OPEN_MAX
TEST: AF_INET SOCK_STREAM
PREP: Consume all available file descriptors
TEST: Create socket
TEST: Return value
TEST: errno value
ERROR: Timed out waiting for completion.
7 UNRESOLVED
TEST CASE: socketpair
TEST PURPOSE #6
If the implementation supports a communications domain
and a connection-oriented socket type:
EMFILE in errno and return -1 on a call to int
socketpair(int domain, int type, int protocol, int
socket_vector[2]) when no more file descriptors are
available for the process.
PREP: Determine OPEN_MAX
TEST: AF_INET SOCK_STREAM
PREP: Consume all available file descriptors
TEST: Create socket pair
TEST: Return value
TEST: errno value
ERROR: Timed out waiting for completion.
6 UNRESOLVEDReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
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 1404
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority