|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1343 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 1343.
Report 1343 Actions
Problem Report Number 1343 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0625 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1997-06-26 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.1.1 Test Identification base/close 11 Problem Summary TSD4U.00192 This test may fail on implementations where connect() does not complete until an accept() is called. Problem Text
The call to inet_client(...) fails here, because in our TCP/IP
implementation not the TCP/IP layer but the sockets layer
acknowledges connection request by calling the sockets function
accept().
Because this call is missing here, the connection requestor
gets a disconnect event after a configurable wait time from
the TCP/IP layer. So the child returns from the blocking connect()
call with the errno set to ECONNREFUSED and exits.
In our opinion this is a TSD, because for a correct base of testing the
linger option the function call accept() must be added.
Furthermore, if you look at the sockets section, there exists no
testcase, which checks this behavior as a requirement.
Please see also waiver document TSDU4U.00187.
It concerns the same problem.Test Output
10|1 /tset/CAPIbase/fclose/fclose11 14:35:23|TC Start, scenario ref 3-1, ICs {11}
15|1 1.10 1|TCM Start
400|1 11 1 14:35:25|IC Start
200|1 1 14:35:25|TP Start
520|1 1 2371 1 1|SPEC1170TESTSUITE CASE 11
520|1 1 2371 1 2|If the implementation supports the AF_INET communications domain
520|1 1 2371 1 3|and a connection-oriented socket type:
520|1 1 2371 1 4|A successful call to int close(int fildes) for a
520|1 1 2371 1 5|connection-oriented socket with untransmitted data and
520|1 1 2371 1 6|the SO_LINGER option set for the socket shall block
520|1 1 2371 1 7|for up to the current linger interval until all data
520|1 1 2371 1 8|is transmitted.
520|1 1 2372 1 1|TEST: AF_INET SOCK_STREAM
520|1 1 2372 1 2|PREP: Create test sockaddr_in: address = 139.25.104.121, port = 4841
520|1 1 2372 2 1|PREP: Create socket
520|1 1 2372 2 2|PREP: Bind to socket
520|1 1 2372 2 3|PREP: Call listen for socket
520|1 1 2372 2 4|PREP: Signal child parent is ready
520|1 1 2372 2 5|PREP: Wait for child to complete
520|1 1 2373 1 1|PREP: Child: wait for parent
520|1 1 2373 1 2|PREP: Create a socket
520|1 1 2373 1 3|PREP: Connect socket to address 139.25.104.121, port 4841
520|1 1 2373 1 4|ERROR: inet_client: connect failed, errno = 146(ECONNREFUSED - Connection refused)
220|1 1 2 14:35:58|UNRESOLVED
410|1 11 1 14:35:58|IC End
80|1 0 14:35:59|TC End
300|2 /tset/CAPIbase/fclose/fclose11 14:35:59|Clean Start, scenario ref 3-1
320|2 0 14:36:02|Clean End
900|14:36:02|TCC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
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 1343
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority