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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2719 Actions


    Problem Report Number 2719
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1423
    Raised 2020-07-14 19:01
    Updated 2020-08-11 14:12
    Published 2020-08-11 14:12
    Product Standard Internationalised System Calls and Libraries Extended V4 (UNIX V7)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.3.19
    Test Identification /tset/CAPI.os/sockets/listen/T.listen{4}
    Specification Base Specifications Issue 7
    Problem Summary The error "Connection refused" in the VSU test is caused by temporary
    resource exhaustion
    Problem Text The child terminates with ERROR: Call to connect # 413 failed, errno = 79
    (ECONNREFUSED - Connection refused). This is because the parent makes the
    maximum number of connections as fast as it can and the child cannot keep
    up. Adding a delay of 0.1 seconds between the connect() calls cures the
    problem.
    Test Output /tset/CAPI.os/sockets/listen/T.listen{4}
    10|0 /tset/CAPI.os/sockets/listen/T.listen 07:07:48|TC Start, scenario
    ref 1-0, ICs: {4}
    15|0 3.6-lite 1|TCM Start
    400|0 4 1 07:07:48|IC Start
    200|0 4 07:07:48|TP Start
    520|0 4 0004522298 1 1|PREP: Get VSU_LISTEN_LIMIT configuration variable
    520|0 4 0004522298 1 2|INFO: VSU_LISTEN_LIMIT = 1024
    520|0 4 0004522298 1 3|PREP: Get VSU_CONNECT_TIMEOUT configuration
    variable
    520|0 4 0004522298 1 4|PREP: Determine OPEN_MAX
    520|0 4 0004522298 1 5|TEST: AF_INET SOCK_STREAM
    520|0 4 0004522298 1 6|PREP: Create test sockaddr_in: address =
    9.47.68.224, port = 4661
    520|0 4 0004522298 2 1|PREP: Create LISTEN_LIMIT+1 sockets
    520|0 4 0004522298 2 2|PREP: Wait for child to be ready
    520|0 4 0004522298 2 3|PREP: Connect LISTEN_LIMIT times to fill queue
    520|0 4 0004522298 2 4|TEST: Next connect is rejected
    520|0 4 0004522298 2 5|TEST: Return value and errno
    520|0 4 0004522298 2 6|CLEANUP: Close sockets, kill child
    520|0 4 0004522298 2 7|TEST: AF_UNIX SOCK_STREAM
    520|0 4 0004522298 2 8|PREP: Create test sockaddr_un: path =
    ../tmp/unix.OQrqea
    520|0 4 00010551664 1 1|PREP: Child: create socket
    520|0 4 00010551664 1 2|PREP: Child: bind to socket
    520|0 4 00010551664 1 3|PREP: Child: listen on socket with backlog of
    LISTEN_LIMIT+10
    520|0 4 00010551664 1 4|PREP: Child: tell parent ready
    520|0 4 00010551664 1 5|PREP: Child: wait for parent to complete test
    520|0 4 00010551664 1 6|CLEANUP: Child: close socket
    520|0 4 00010551666 1 1|PREP: Child: create socket
    520|0 4 00010551666 1 2|PREP: Child: bind to socket
    520|0 4 00010551666 1 3|PREP: Child: listen on socket with backlog of
    LISTEN_LIMIT+10
    520|0 4 00010551666 1 4|PREP: Child: tell parent ready
    520|0 4 00010551666 1 5|PREP: Child: wait for parent to complete test
    520|0 4 0004522298 3 1|PREP: Create LISTEN_LIMIT+1 sockets
    520|0 4 0004522298 3 2|PREP: Wait for child to be ready
    520|0 4 0004522298 3 3|PREP: Connect LISTEN_LIMIT times to fill queue
    520|0 4 0004522298 3 4|ERROR: Call to connect # 413 failed, errno = 79
    (ECONNREFUSED - Connection refused)
    220|0 4 2 07:09:03|UNRESOLVED
    410|0 4 1 07:09:03|IC End
    80|0 0 07:09:05|TC End, scenario ref 1-0
    900|07:09:05|TCC End

    Review Information

    Review Type TSMA Review
    Start Date 2020-07-14 19:01
    Last Updated 2020-08-11 11:49
    Completed 2020-08-11 11:49
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    The test is supposed to be a conformance test, not a stress test, so
    adding the suggested delay between connect() calls seems appropriate and
    the change will be made in the next VSU release.

    Review Type SA Review
    Start Date 2020-08-11 19:49
    Last Updated 2020-08-11 14:11
    Completed 2020-08-11 14:11
    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