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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2654 Actions


    Problem Report Number 2654
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1379
    Raised 2016-08-03 17:43
    Updated 2016-08-09 18:15
    Published 2016-08-09 18:15
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.3.12
    Test Identification tset/CAPI.os/sockets/shutdown/T.shutdown 1,2,3
    Specification Base Definitions Issue 6
    Problem Summary The shutdown() in the parent can happen before accept() in the child
    Problem Text If the parent process calls shutdown() before the accept() call has
    completed in the child, this causes an accept() failure.

    The problem can occur in any of tests 1, 2, and 3, or in all of them,
    and can occur for AF_INET, AF_UNIX, or both, depending on timing. The
    result shown is for test 2 with AF_UNIX but the results for AF_INET and
    for tests 1 and 3 are much the same (always an accept() failure with
    ECONNABORTED).
    Test Output Test Information:
    TEST: AF_INET SOCK_STREAM
    PREP: Create test sockaddr_in: address = 9.41.31.199, port = 4005
    PREP: Wait for server to be ready
    PREP: Create a socket
    PREP: Connect socket to address 9.41.31.199, port 4005
    TEST: Shutdown socket for writing
    TEST: Return value
    TEST: Send data on shutdown socket
    TEST: Return value
    TEST: errno value
    TEST: Receive operations continue to work
    TEST: Return value
    TEST: errno value
    CLEANUP: Close socket, kill server
    TEST: AF_UNIX SOCK_STREAM
    PREP: Create test sockaddr_un: path = ../tmp/unix.YndFQ5
    PREP: Server: create socket
    PREP: Server: bind address 9.41.31.199, port 4005 to socket
    PREP: Server: listen on socket
    PREP: Server: notify client server is ready
    PREP: Server: accept connection
    INFO: Server: accepted connection from address 9.41.31.199, port 56686
    PREP: echo_server: read and echo data
    PREP: Wait for server to be ready
    PREP: Create a socket
    PREP: Bind address ../tmp/uclient.xHjA7V to socket
    PREP: Connect to address ../tmp/unix.YndFQ5
    TEST: Shutdown socket for writing
    TEST: Return value
    TEST: send on shutdown socket
    TEST: Return value
    TEST: errno value
    TEST: Receive operations continue to work
    TEST: Return value
    ERROR: recv call succeeded unexpectedly, returned 0
    CLEANUP: Send SIGTERM to server
    PREP: Server: create socket
    PREP: Server: bind address ../tmp/unix.YndFQ5 to socket
    PREP: Server: listen on socket
    PREP: Server: notify client ready to accept
    PREP: Server: accept connection
    ERROR: unix_server: accept failed, errno = 103 (ECONNABORTED -
    Connection abort)??

    Review Information

    Review Type TSMA Review
    Start Date 2016-08-03 17:43
    Last Updated 2016-08-03 15:36
    Completed 2016-08-03 15:36
    Status Complete
    Review Recommendation No Resolution Given
    Review Response

    Review Type SA Review
    Start Date 2016-08-03 23:36
    Last Updated 2016-08-09 18:14
    Completed 2016-08-09 18:14
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion A test suite deficiency is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority