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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2693 Actions


    Problem Report Number 2693
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1409
    Raised 2017-09-12 18:23
    Updated 2017-09-13 12:13
    Published 2017-09-13 12:13
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.3.14
    Test Identification /tset/CAPI.os/sockets/sendmsg/T.sendmsg{39}
    /tset/CAPI.os/sockets/sendto/T.sendto{37}
    Specification Base Definitions Issue 6
    Problem Summary sendmsg() in /tset/CAPI.os/sockets/sendmsg and sendto() in
    /tset/CAPI.os/sockets/sendto returns incorrect error.
    Problem Text The sendmsg() and sendto() calls in these tests get ENOENT instead of
    ENAMETOOLONG because the callback() function updates the address with a
    longer file name, but does not update the address length to match.

    A separate test program which sets the address length properly is
    working and we are getting ENAMETOOLONG.
    Test Output 10|0 /tset/CAPI.os/sockets/sendmsg/T.sendmsg 05:30:24|TC Start, scenario
    ref 1-0, ICs: {39}
    15|0 3.6-lite 1|TCM Start
    400|0 39 1 05:30:25|IC Start
    200|0 39 05:30:25|TP Start
    520|0 39 0009109886 1 1|TEST: AF_UNIX SOCK_DGRAM
    520|0 39 0009109886 1 2|PREP: Create test sockaddr_un: path =
    ../tmp/unix.nq9Mea
    520|0 39 0008978754 1 1|PREP: Server: create socket
    520|0 39 0008978754 1 2|PREP: Server: bind address ../tmp/unix.nq9Mea to
    socket
    520|0 39 0008978754 1 3|PREP: Server: notify client server is ready
    520|0 39 0008978754 1 4|PREP: Server: read and echo data
    520|0 39 0009109886 2 1|PREP: Wait for server to be ready
    520|0 39 0009109886 2 2|PREP: Create a socket
    520|0 39 0009109886 2 3|PREP: Obtain pathconf(_PC_PATH_MAX) for ../tmp
    520|0 39 0009109886 2 4|PREP: Obtain pathconf(_PC_NAME_MAX) for ../tmp
    520|0 39 0009109886 2 5|PREP: Allocate 1025 byte buffer for name
    520|0 39 0009109886 2 6|PREP: Make pathname with file name of 256 chars
    520|0 39 0009109886 2 7|TEST: sendmsg fails with ENAMETOOLONG
    520|0 39 0009109886 2 8|INFO: Using address:
    ../tmp/EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
    EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
    520|0 39 0009109886 2 9|ERROR: sendmsg set errno to 2 (ENOENT - No such
    file or directory)
    520|0 39 0009109886 2 10|PREP: Obtain pathconf(_PC_PATH_MAX) for ../tmp
    520|0 39 0009109886 2 11|PREP: Obtain pathconf(_PC_NAME_MAX) for ../tmp
    520|0 39 0009109886 2 12|PREP: Allocate 1025 byte buffer for name
    520|0 39 0009109886 2 13|PREP: Make pathname with component of 256 chars
    520|0 39 0009109886 2 14|TEST: sendmsg fails with ENAMETOOLONG
    520|0 39 0009109886 2 15|INFO: Using address:
    ../tmp/EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
    EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE/F
    520|0 39 0009109886 2 16|ERROR: sendmsg set errno to 2 (ENOENT - No such
    file or directory)
    220|0 39 1 05:30:25|FAIL
    410|0 39 1 05:30:25|IC End
    80|0 0 05:30:26|TC End, scenario ref 1-0
    900|05:30:26|TCC End

    10|0 /tset/CAPI.os/sockets/sendto/T.sendto 05:32:36|TC Start, scenario
    ref 1-0, ICs: {37}
    15|0 3.6-lite 1|TCM Start
    400|0 37 1 05:32:36|IC Start
    200|0 37 05:32:36|TP Start
    520|0 37 0009109902 1 1|TEST: AF_UNIX SOCK_DGRAM
    520|0 37 0009109902 1 2|PREP: Create test sockaddr_un: path =
    ../tmp/unix.fA9Mea
    520|0 37 0008978782 1 1|PREP: Server: create socket
    520|0 37 0008978782 1 2|PREP: Server: bind address ../tmp/unix.fA9Mea to
    socket
    520|0 37 0008978782 1 3|PREP: Server: notify client server is ready
    520|0 37 0008978782 1 4|PREP: Server: read and echo data
    520|0 37 0009109902 2 1|PREP: Wait for server to be ready
    520|0 37 0009109902 2 2|PREP: Create a socket
    520|0 37 0009109902 2 3|PREP: Obtain pathconf(_PC_PATH_MAX) for ../tmp
    520|0 37 0009109902 2 4|PREP: Obtain pathconf(_PC_NAME_MAX) for ../tmp
    520|0 37 0009109902 2 5|PREP: Allocate 1025 byte buffer for name
    520|0 37 0009109902 2 6|PREP: Make pathname with file name of 256 chars
    520|0 37 0009109902 2 7|TEST: sendto fails with ENAMETOOLONG
    520|0 37 0009109902 2 8|INFO: Using address:
    ../tmp/EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
    EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
    520|0 37 0009109902 2 9|ERROR: sendto set errno to 2 (ENOENT - No such
    file or directory)
    520|0 37 0009109902 2 10|PREP: Obtain pathconf(_PC_PATH_MAX) for ../tmp
    520|0 37 0009109902 2 11|PREP: Obtain pathconf(_PC_NAME_MAX) for ../tmp
    520|0 37 0009109902 2 12|PREP: Allocate 1025 byte buffer for name
    520|0 37 0009109902 2 13|PREP: Make pathname with component of 256 chars
    520|0 37 0009109902 2 14|TEST: sendto fails with ENAMETOOLONG
    520|0 37 0009109902 2 15|INFO: Using address:
    ../tmp/EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
    EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE/F
    520|0 37 0009109902 2 16|ERROR: sendto set errno to 2 (ENOENT - No such
    file or directory)
    220|0 37 1 05:32:37|FAIL
    410|0 37 1 05:32:37|IC End
    80|0 0 05:32:37|TC End, scenario ref 1-0
    900|05:32:37|TCC End

    Review Information

    Review Type TSMA Review
    Start Date 2017-09-12 18:23
    Last Updated 2017-09-12 10:40
    Completed 2017-09-12 10:40
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    Review Type SA Review
    Start Date 2017-09-12 18:40
    Last Updated 2017-09-13 12:12
    Completed 2017-09-13 12:12
    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