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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1427 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 1427.


Report 1427 Actions


    Problem Report Number 1427
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0709
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1996-02-12 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.1.0
    Test Identification sockets/accept 13
    Problem Summary TSD4U.00106 This test may fail on implementations because the errno value being checked may be overwritten, usually because of an unexpected alarm call.
    Problem Text
    This test may fail on implementations because the errno value being
    checked may be overwritten, usually because of an unexpected alarm call.

    There are two problems in test accept 13.

    1. Test case accept 13 fails to save the errno that it will later test, so any
    error that the test case encounters between the return of accept() and the test
    of errno will overwrite the actual errno.

    2. Test case accept 13 also fails to clear alarms set before accept(), so
    that EINTR errors are occuring later in the test.
    Test Output
    10|1 /tset/CAPIsockets/faccept/faccept1 15:48:29|TC Start, scenario ref 3-1, ICs {13}
    15|1 1.10 1|TCM Start
    400|1 13 1 15:48:29|IC Start
    200|1 13 15:48:29|TP Start
    520|1 13 6105 1 1|SPEC1170TESTSUITE CASE 13
    520|1 13 6105 1 2|If the implementation supports a communications
    520|1 13 6105 1 3|domain and a connection-oriented socket type:
    520|1 13 6105 1 4|EMFILE in errno and return -1 on a call to int
    520|1 13 6105 1 5|accept(int socket, struct sockaddr *address, size_t
    520|1 13 6105 1 6|*address_len) when OPEN_MAX file descriptors are
    520|1 13 6105 1 7|currently open in the calling process.
    520|1 13 6108 1 1|PREP: Determine OPEN_MAX
    520|1 13 6108 1 2|TEST: AF_INET SOCK_STREAM
    520|1 13 6108 1 3|PREP: Create test sockaddr_in: address = 147.2.164.40, port = 2621
    520|1 13 6108 2 1|PREP: Create socket
    520|1 13 6108 2 2|PREP: Bind to socket
    520|1 13 6108 2 3|PREP: Call listen for socket
    520|1 13 6108 2 4|PREP: Signal child parent is ready
    520|1 13 6108 2 5|PREP: Consume all available file descriptors
    520|1 13 6108 2 6|TEST: Call accept
    520|1 13 6108 2 7|INFO: no close
    520|1 13 6108 2 8|INFO: no close
    520|1 13 6108 2 9|INFO: no close
    520|1 13 6108 2 10|INFO: no close
    520|1 13 6108 2 11|INFO: no close
    520|1 13 6108 2 12|INFO: no close
    520|1 13 6108 2 13|INFO: no close
    520|1 13 6108 2 14|INFO: no close
    520|1 13 6108 2 15|INFO: no close
    520|1 13 6108 2 16|INFO: no close
    520|1 13 6108 2 17|TEST: Return value
    520|1 13 6108 2 18|TEST: errno value
    520|1 13 6108 2 19|CLEANUP: Close sockets, kill child
    520|1 13 6108 2 20|TEST: AF_UNIX SOCK_STREAM
    520|1 13 6108 2 21|PREP: Create test sockaddr_un: path = ../tmp/unix.a001VS
    520|1 13 6109 1 1|PREP: Child: wait for parent
    520|1 13 6109 1 2|PREP: Create a socket
    520|1 13 6109 1 3|PREP: Connect socket to address 147.2.164.40, port 2621
    520|1 13 6109 1 4|PREP: Child: wait for parent to complete
    520|1 13 6109 1 5|CLEANUP: Child: close socket
    520|1 13 6110 1 1|PREP: Child: wait for parent
    520|1 13 6108 3 1|PREP: Create socket
    520|1 13 6108 3 2|PREP: Bind to socket
    520|1 13 6108 3 3|PREP: Call listen for socket
    520|1 13 6108 3 4|PREP: Signal child parent is ready
    520|1 13 6108 3 5|PREP: Consume all available file descriptors
    520|1 13 6108 3 6|TEST: Call accept
    520|1 13 6108 3 7|INFO: no close
    520|1 13 6108 3 8|INFO: no close
    520|1 13 6108 3 9|INFO: no close
    520|1 13 6108 3 10|INFO: no close
    520|1 13 6108 3 11|INFO: no close
    520|1 13 6108 3 12|INFO: no close
    520|1 13 6108 3 13|INFO: no close
    520|1 13 6108 3 14|INFO: no close
    520|1 13 6108 3 15|INFO: no close
    520|1 13 6108 3 16|INFO: no close
    520|1 13 6108 3 17|TEST: Return value
    520|1 13 6108 3 18|TEST: errno value
    520|1 13 6108 3 19|ERROR: accept call failed incorrectly, errno was 4(EINTR -
    Interrupted system call) should have been EMFILE
    220|1 13 1 15:48:34|FAIL
    410|1 13 1 15:48:34|IC End
    80|1 0 15:48:34|TC End

    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