|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1942 Details
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_DISCONNECTTest 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 EndReview 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:
- View Report 1942
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority