HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1402 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1402.


Report 1402 Actions


    Problem Report Number 1402
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0684
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1996-05-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/accept 13
    Problem Summary TSD4U.00131 This test may fail on slower IUTs when _SC_OPEN_MAX is very large.
    Problem Text
    We believe this is a test suite deficiency.

    This testcase fails on our platform because of a timeout.
    After all file descriptors have been consumed SET_ALARM(WAIT_FOR_TIME*2)
    is set. Then the final accept call is made. 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*2) is not enough time for all of the file
    descriptors to be closed, after the final accept call. Our
    OPEN_MAX value is 12500. When I increase the WAIT_FOR_TIME by a
    larger multiple the testcase passes. The time to wait should be a
    configurable value to allow for a large number of file descriptors.
    Test Output
    TEST PURPOSE #13
    If the implementation supports a communications
    domain and a connection-oriented socket type:
    EMFILE in errno and return -1 on a call to int
    accept(int socket, struct sockaddr *address, size_t
    *address_len) when OPEN_MAX file descriptors are
    currently open in the calling process.
    PREP: Determine OPEN_MAX
    TEST: AF_INET SOCK_STREAM
    PREP: Create test sockaddr_in: address = 198.151.241.50, port = 4417
    PREP: Create socket
    PREP: Bind to socket
    PREP: Call listen for socket
    PREP: Signal child parent is ready
    PREP: Consume all available file descriptors
    TEST: Call accept
    TEST: Return value
    TEST: errno value
    ERROR: Timed out waiting for completion.
    PREP: Child: wait for parent
    PREP: Create a socket
    PREP: Connect socket to address 198.151.241.50, port 4417
    PREP: Child: wait for parent to complete
    ERROR: Timed out waiting for completion.
    13 UNRESOLVED

    Review 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:

     

    Back   


Contact the Certification Authority