Artifacts Associated With Ticket 523470ffffffffffffffffffffffffffffffffff
Ticket change [4e56ef0c62] (rid 127212) by dgp on 2002-02-27 16:56:33:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The test socket-2.7 can fail on slow machines because a timeout occurs before the client-server activity being tested can complete. Here's a patch that lengthens the timeout to avoid the problem, and also modifies the output when a timeout occurs so that it's more obvious why the test is failing.
- foundin initialized to: "obsolete: 8.4a4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "27. Channel Types"
- title initialized to: "socket-2.7 failure: timing sensitive"
- type initialized to: "Bug"
Add attachment "socktest.patch" [3b2da6d414] (rid 112687) by dgp on 2002-02-27 23:56:33.
Ticket change [427e00bb35] (rid 116394) by dgp on 2002-02-27 23:56:34:
- icomment:
File Added - 18527: socktest.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [c3238c8bf8] (rid 111610) by andreas_kupries on 2002-02-28 03:45:12:
- resolution changed to: "Accepted"
Ticket change [54ca40a8f8] (rid 94010) by andreas_kupries on 2002-02-28 03:56:27:
- closedate changed to: "2002-02-27T20:56:27"
- closer changed to: "andreas_kupries"
- icomment:
Logged In: YES user_id=75003 Committed to HEAD.
- login: "andreas_kupries"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "andreas_kupries"
Ticket change [ff0ca18f56] (rid 108695) by dgp on 2002-03-05 08:13:24:
- icomment:
Logged In: YES user_id=80530 re-opening this because test socket-2.5 has similar timing sensitivity. Should look over all the socket-* tests for similar trouble.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Remind"
- status changed to: "Open"
- title changed to: "socket-2.5 failure: timing sensitive"
- username: "dgp"
- icomment:
Ticket change [870e3de2ff] (rid 131627) by dgp on 2002-03-21 02:02:17:
- icomment:
Logged In: YES user_id=80530 I'm seeing socket-2.1 and socket-12.2 fail occasionally too.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "523470.diff" [2c3564a68c] (rid 118858) by andreas_kupries on 2002-04-02 01:54:54.
Ticket change [ba13759434] (rid 129257) by andreas_kupries on 2002-04-02 01:54:54:
- icomment:
File Added - 20397: 523470.diff Logged In: YES user_id=75003 Enclosed a patch for 2.1 and 2.5 passing the testsuite on the local machine. I did not change anything for test 12.2. This one is more complicated and I currently see no obvioud place where I am allowed to extend the timeout value.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [405292e233] (rid 121611) by dgp on 2002-04-16 05:35:04:
- icomment:
Logged In: YES user_id=80530 that patch appears to correct the failure of socket-2.1 and socket-2.5 on my machine (when busy). A similar change corrects a similar problem with test socket-2.2. socket-12.2 remains a problem. I see it fail frequently, even when my machine is not particularly busy.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [3b663baefb] (rid 112738) by dgp on 2002-04-16 06:05:52:
- assignee changed to: "dgp"
- icomment:
File Added - 21251: 523470.patch Logged In: YES user_id=80530 Here's a patch that increases timeout values so that I no longer see failures even when I make my machine busy. Conceivably, the socket.test file could be further improved by actually timing how long a particular operations takes, and then using the measured data to determine "good" values for the timeouts. This patch should do until someone tries something better, though.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Add attachment "523470.patch" [3c16884a89] (rid 120859) by dgp on 2002-04-16 06:05:52.
Ticket change [1b92844da2] (rid 123176) by dgp on 2002-04-16 06:13:57:
- closedate changed to: "2002-04-15T23:13:57"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 fixed in HEAD (8.4a5)
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"
Ticket change [aaccab17a1] (rid 100989) by dgp on 2002-04-16 06:21:15:
- closedate changed to: "2002-04-15T23:21:15"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 The increased delay appear to be necessary because the tests were re-written to stop using hard-coded ports and start asking for a free port from the OS by opening "port 0". Apparently, searching for a free port to return can take a ****LOOOOONNNNNNGGGG**** time.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [663b0ae2bb] (rid 102668) by dgp on 2002-04-16 06:28:23:
- closedate changed to: "2002-04-15T23:28:23"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 well. maybe not. At least a simple [time] on [socket] does not show a big difference. But there is a *huge* difference in the time required to complete socket.test in Tcl 8.3 and in Tcl 8.4. tests pass now, so that's good enough for me; someone else can track down the mystery.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"