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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1056 Actions


    Problem Report Number 1056
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0293
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSRT version 5.0.1
    Test Identification rt.os/aio/aio_cancel 2,3,5,6
    Problem Summary PG4R.00011 This request contends aio_cancel should be allowed to return AIO_ALLDONE in these tests.
    Problem Text


    The aio_cancel test cases 2, 3, 5 and 6 all make assumptions
    that the function under test will not complete between the time
    that aio_error validates that the aio_read or aio_write functions
    are in progress by returning EINPROGRESS. The formation of a "for"
    loop with the aio_error() function provides additional time for the
    function being tested to complete. The test cases should accept the
    result AIO_ALLDONE as implemenations can complete the processing
    prior to the aio_cancel() function is called.


    Test Output



    /tset/rt.os/aio/aio_cancel/T.aio_cancel 2

    200|15 2 11:10:57|TP Start
    520|15 2 00006953 1 1|INFO: No limit on AIO_MAX
    520|15 2 00006953 1 2|> test with pipe
    520|15 2 00006956 1 1|aio_cancel returned AIO_ALLDONE for aio_read requests
    520|15 2 00006953 2 1|> test with pty
    520|15 2 00006953 2 2|pty testing not configured
    520|15 2 00006953 2 3|> test with tty
    520|15 2 00006953 2 4|tty testing not configured
    520|15 2 00006953 2 5|> test with pipe
    520|15 2 00006957 1 1|aio_cancel returned AIO_ALLDONE for aio_write requests
    520|15 2 00006953 3 1|> test with pty
    520|15 2 00006953 3 2|pty testing not configured
    520|15 2 00006953 3 3|> test with tty
    520|15 2 00006953 3 4|tty testing not configured
    220|15 2 1 11:11:01|FAIL
    410|15 2 1 11:11:01|IC End


    /tset/rt.os/aio/aio_cancel/T.aio_cancel 3

    200|15 3 11:11:01|TP Start
    520|15 3 00006953 1 1|INFO: No limit on AIO_MAX
    520|15 3 00006953 1 2|> test with pipe
    520|15 3 00006958 1 1|aio_cancel returned AIO_NOTCANCELED for aio_read request
    520|15 3 00006953 2 1|> test with pty
    520|15 3 00006953 2 2|pty testing not configured
    520|15 3 00006953 2 3|> test with tty
    520|15 3 00006953 2 4|tty testing not configured
    520|15 3 00006953 2 5|> test with pipe
    520|15 3 00006959 1 1|aio_cancel returned AIO_ALLDONE for aio_read requests
    520|15 3 00006953 3 1|> test with pty
    520|15 3 00006953 3 2|pty testing not configured
    520|15 3 00006953 3 3|> test with tty
    520|15 3 00006953 3 4|tty testing not configured
    520|15 3 00006953 3 5|> test with pipe
    520|15 3 00006960 1 1|aio_cancel returned AIO_NOTCANCELED for aio_write request
    520|15 3 00006953 4 1|> test with pty 520|15 3 00006953 4 2|pty testing not
    configured 520|15 3 00006953 4 3|> test with tty 520|15 3 00006953 4 4|tty
    testing not configured 520|15 3 00006953 4 5|> test with pipe
    520|15 3 00006961 1 1|aio_cancel returned AIO_ALLDONE for aio_write requests
    520|15 3 00006953 5 1|> test with pty
    520|15 3 00006953 5 2|pty testing not configured
    520|15 3 00006953 5 3|> test with tty
    520|15 3 00006953 5 4|tty testing not configured
    220|15 3 1 11:11:07|FAIL
    410|15 3 1 11:11:07|IC End



    /tset/rt.os/aio/aio_cancel/T.aio_cancel 5

    200|15 5 11:11:15|TP Start
    520|15 5 00006953 1 1|INFO: No limit on AIO_MAX
    520|15 5 00006953 1 2|> test with pipe
    520|15 5 00006964 1 1|aio_cancel returned AIO_ALLDONE for aio_read requests
    520|15 5 00006953 2 1|> test with pty
    520|15 5 00006953 2 2|pty testing not configured
    520|15 5 00006953 2 3|> test with tty
    520|15 5 00006953 2 4|tty testing not configured
    520|15 5 00006953 2 5|> test with pipe
    520|15 5 00006965 1 1|aio_cancel returned AIO_ALLDONE for aio_write requests
    520|15 5 00006953 3 1|> test with pty
    520|15 5 00006953 3 2|pty testing not configured
    520|15 5 00006953 3 3|> test with tty
    520|15 5 00006953 3 4|tty testing not configured
    220|15 5 1 11:11:17|FAIL
    410|15 5 1 11:11:17|IC End


    /tset/rt.os/aio/aio_cancel/T.aio_cancel 6

    400|15 6 1 11:11:17|IC Start
    200|15 6 11:11:17|TP Start
    520|15 6 00006953 1 1|INFO: No limit on AIO_MAX
    520|15 6 00006953 1 2|> test with pipe
    520|15 6 00006966 1 1|aio_cancel returned AIO_NOTCANCELED for aio_read request
    520|15 6 00006953 2 1|> test with pty
    520|15 6 00006953 2 2|pty testing not configured
    520|15 6 00006953 2 3|> test with tty
    520|15 6 00006953 2 4|tty testing not configured
    520|15 6 00006953 2 5|> test with pipe
    520|15 6 00006967 1 1|aio_cancel returned AIO_ALLDONE for aio_read requests
    520|15 6 00006953 3 1|> test with pty
    520|15 6 00006953 3 2|pty testing not configured
    520|15 6 00006953 3 3|> test with tty
    520|15 6 00006953 3 4|tty testing not configured
    520|15 6 00006953 3 5|> test with pipe
    520|15 6 00006968 1 1|aio_cancel returned AIO_NOTCANCELED for aio_write request
    520|15 6 00006953 4 1|> test with pty 520|15 6 00006953 4 2|pty testing not
    configured 520|15 6 00006953 4 3|> test with tty 520|15 6 00006953 4 4|tty
    testing not configured 520|15 6 00006953 4 5|> test with pipe
    520|15 6 00006969 1 1|aio_cancel returned AIO_ALLDONE for aio_write requests
    520|15 6 00006953 5 1|> test with pty
    520|15 6 00006953 5 2|pty testing not configured
    520|15 6 00006953 5 3|> test with tty
    520|15 6 00006953 5 4|tty testing not configured
    220|15 6 1 11:11:23|FAIL
    410|15 6 1 11:11:23|IC End


    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This request should be refused.

    Before issuing aio_cancel these tests establish conditions in which
    requests are outstanding for which completion is not physically possible:
    read requests against pipes/ptys/ttys which have no data available
    and write requests against pipes/ptys/ttys which are full and cannot
    accept any more data. Since these requests cannot complete, AIO_ALLDONE is
    a non-conforming return value from aio_cancel.

    We observe that these tests are all those in the set which have the
    aiocbp argument to aio_cancel set to NULL to indicate all requests
    should be cancelled, while those tests which establish the exact the same
    preconditions but set aiocbp to cancel specific requests apparently pass.
    If the situation was as the submitter contends these tests would
    perforce fail as well in the same way.

    As such we surmise that the implementation has a conformance problem
    in the aiocbp=NULL case, perhaps just returning the wrong value.
    Note that these tests allow AIO_NOTCANCELLED to be returned to accomodate
    the situation where the requests are in progress but some or all are in
    a non-cancellable state. Perhaps this is what the implementation
    means to return here.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority