|
2002-04-16
| ||
| 06:28 | • Ticket [523470ffff] socket-2.5 failure: timing sensitive status still Closed... artifact: 663b0ae2bb user: dgp | |
| 06:21 | • Ticket [523470ffff]: 6 changes artifact: aaccab17a1 user: dgp | |
| 06:13 | • Closed ticket [523470ffff]. artifact: 1b92844da2 user: dgp | |
| 06:05 | • Ticket [523470ffff]: 5 changes artifact: 3b663baefb user: dgp | |
| 06:05 | • Add attachment 523470.patch to ticket [523470ffff] artifact: 3c16884a89 user: dgp | |
| 05:35 | • Ticket [523470ffff] socket-2.5 failure: timing sensitive status still Open w... artifact: 405292e233 user: dgp | |
|
2002-04-02
| ||
| 01:54 | • Add attachment 523470.diff to ticket [523470ffff] artifact: 2c3564a68c user: andreas_kupries | |
| 01:54 | • Ticket [523470ffff] socket-2.5 failure: timing sensitive status still Open w... artifact: ba13759434 user: andreas_kupries | |
|
2002-03-21
| ||
| 02:02 | • Ticket [523470ffff]: 4 changes artifact: 870e3de2ff user: dgp | |
|
2002-03-05
| ||
| 08:13 | • Open ticket [523470ffff]. artifact: ff0ca18f56 user: dgp | |
|
2002-02-28
| ||
| 03:56 | • Closed ticket [523470ffff]. artifact: 54ca40a8f8 user: andreas_kupries | |
| 03:45 | • Ticket [523470ffff]: 1 change artifact: c3238c8bf8 user: andreas_kupries | |
|
2002-02-27
| ||
| 23:56 | • Ticket [523470ffff]: 4 changes artifact: 427e00bb35 user: dgp | |
| 23:56 | • Add attachment socktest.patch to ticket [523470ffff] artifact: 3b2da6d414 user: dgp | |
| 16:56 | • New ticket [523470ffff] socket-2.7 failure: timing sensitive. artifact: 4e56ef0c62 user: dgp | |
socket-2.5 failure: timing sensitive
Closed / Fixed523470ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-02-27 16:56:33
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.
dgpplain2002-02-27 23:56:34
File Added - 18527: socktest.patch
andreas_kupries Ticket [523470ffff]: 1 change
[History diff]2002-02-28 03:45:12
andreas_kupriesplain2002-02-28 03:56:27
Logged In: YES user_id=75003 Committed to HEAD.
dgpplain2002-03-05 08:13:24
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.
dgpplain2002-03-21 02:02:17
Logged In: YES user_id=80530 I'm seeing socket-2.1 and socket-12.2 fail occasionally too.
andreas_kupriesplain2002-04-02 01:54:54
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.
dgpplain2002-04-16 05:35:04
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.
dgpplain2002-04-16 06:05:52
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.
dgpplain2002-04-16 06:13:57
Logged In: YES user_id=80530 fixed in HEAD (8.4a5)
dgpplain2002-04-16 06:21:15
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.
dgpplain2002-04-16 06:28:23
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.
Log in (anonymous is fine) to add a comment.
Attachments:
- 523470.patch [download] added by dgp on 2002-04-16 06:05:52. [details]
- 523470.diff [download] added by andreas_kupries on 2002-04-02 01:54:54. [details]
- socktest.patch [download] added by dgp on 2002-02-27 23:56:33. [details]