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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1942 Actions


    Problem Report Number 1942
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0969
    Raised 1995-10-06 08:00
    Updated 2003-03-13 08:00
    Published 1995-10-13 08:00
    Product Standard Transport Service XTI
    Certification Program The Open Brand certification program
    Test Suite VST version 4.1.3
    Test Identification XTI.os/cots/T.listen 10
    Problem Summary TSDT4.007 The test attempts to generate a TLOOK error from t_listen(). To do this, the slave system sends a connect request followed immediately by a disconnect. In the implementation being tested, the connect ...
    Problem Text
    The test attempts to generate a TLOOK error from t_listen(). To do this,
    the slave system sends a connect request followed immediately by a
    disconnect. In the implementation being tested, the connect and disconnect
    indication are queued at the peer transport provider, so that the master
    program receives the both the T_LISTEN and T_DISCONNECT events. The
    test fails because it expects only the T_DISCONNECT event to be received.

    There is no requirement that an XTI implementation delete a T_LISTEN
    event when a T_DISCONNECT event occurs. In fact this could be very
    difficult to implement, as an endpoint could have several listen events
    queued for outstanding connections at the time a disconnect occurs, so
    it would have to search the entire queue for the matching T_LISTEN event
    to be destroyed. It seems reasonable to allow the T_LISTEN event to
    occur in this case, as long as it is followed by a T_DISCONNECT event,
    as shown in the trace below.

    A better test of the TLOOK error from t_listen() would be to have the
    slave program delay before calling t_snddis(), and have the master test
    program call t_listen() twice, so that the T_DISCONNECT event would
    always be indicated by a TLOOK error received on the second t_listen().

    Mon Sep 18 16:01:37 1995 -> t_look()
    > fd = 7
    Mon Sep 18 16:01:37 1995 <- t_look() = 0x1 <== T_LISTEN

    Mon Sep 18 16:01:44 1995 -> t_listen()
    > fd = 7
    > call->addr.maxlen = 64
    > call->addr.buf = 0x40009630
    > call->opt.maxlen = 0
    > call->opt.buf = 0x0
    > call->udata.maxlen = 0
    > call->udata.buf = 0x0
    < call->addr.len = 16
    < call->addr.buf = (16/16)
    00 02 4E 2E 0F 0D 88 25 00 00 00 00 00 00 00 00 ..N....%........
    < call->opt.len = 0
    < call->udata.len = 0
    < call->udata.buf = (0/0)
    < call->sequence = 1
    Mon Sep 18 16:01:44 1995 <- t_listen() = 0

    Mon Sep 18 16:01:44 1995 -> t_look()
    > fd = 7
    Mon Sep 18 16:01:44 1995 <- t_look() = 0x10 <== T_DISCONNECT
    Test Output
    400|0 10 1 16:01:36|IC Start
    200|0 10 16:01:36|TP Start
    520|0 10 00002921 1 1|t_listen() on TCP endpoint
    520|0 10 00002921 1 2|RETURN VALUES: expected: -1, observed: 0
    520|0 10 00002921 1 3|TERRNO VALUES: expected: 9 (TLOOK), observed: 0 (NO ERROR)
    220|0 10 1 16:01:44|FAIL
    410|0 10 1 16:01:44|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    It is agreed that this is a Test Suite Deficiency and it is recommended
    that a waiver is granted.

    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