Artifacts Associated With Ticket 3428754
Ticket change [a289b0d006] (rid 109914) by lvirden on 2011-10-26 12:51:33:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
platform: sparc solaris 10, sun c compiler. tcl zip file downloaded from activestate ftp site socket.test ==== socket-14.1 [socket -async] fileevent while still connecting FAILED ==== Contents of test case: set client [socket -async localhost $port] fileevent $client writable { lappend x [fconfigure $client -error] fileevent $client writable {} } set after [after 1000 {lappend x timeout}] while {[llength $x] < 2 && "timeout" ni $x} { vwait x } lsort $x; # we only want to see both events, the order doesn't matter ---- Result was: ok timeout ---- Result should have been (exact matching): {} ok ==== socket-14.1 FAILED ==== socket-14.2 [socket -async] fileevent connection refused FAILED ==== Contents of test case: set client [socket -async localhost [randport]] fileevent $client writable {set x [fconfigure $client -error]} set after [after 1000 {set x timeout}] vwait x if {$x eq "timeout"} { append x ": [fconfigure $client -error]" } set x ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: couldn't open socket: connection refused while executing "socket -async localhost [randport]" ("uplevel" body line 2) invoked from within "uplevel 1 $script" ---- errorCode: POSIX ECONNREFUSED {connection refused} ---- Test cleanup failed: can not find channel named "sock142578" ---- errorInfo(cleanup): can not find channel named "sock142578" while executing "close $client" ("uplevel" body line 3) invoked from within "uplevel 1 $cleanup" ---- errorCode(cleanup): TCL LOOKUP CHANNEL sock142578 ==== socket-14.2 FAILED ==== socket-14.4 [socket -async] and both, readdable and writable fileevents FAILED ==== Contents of test case: set client [socket -async localhost $port] fileevent $client writable { lappend x [fconfigure $client -error] fileevent $client writable {} } fileevent $client readable {lappend x [gets $client]} set after [after 1000 {lappend x timeout}] while {[llength $x] < 2 && "timeout" ni $x} { vwait x } lsort $x ---- Result was: timeout ---- Result should have been (exact matching): {} bye ==== socket-14.4 FAILED - foundin initialized to: "obsolete: 8.6b2"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "lvirden"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to:
socket test suite failures with tcl source code head
- type initialized to: "Bug"
Ticket change [ce4d94d648] (rid 96033) by dkf on 2012-04-10 15:20:53:
- assignee changed to: "andreas_kupries"
- icomment:
Can't see any problems on OSX or Linux; been running the test suite fairly regularly there.
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- subsystem changed to: "24. Channel Commands"
- username: "dkf"
Ticket change [1c5ec2c0dc] (rid 90589) by lvirden on 2012-05-02 20:29:46:
- icomment:
tried the test suite on sparc solaris 9 compiled with sun compiler, using Tcl_Source_Code_2012-05-02_065054_cf269b5da3/ version of code and still see these errors
- login: "lvirden"
- mimetype: "text/plain"
- username: "lvirden"
- icomment:
Ticket change [532a183443] (rid 126434) by dgp on 2012-05-04 01:32:24:
- assignee changed to: "dgp"
- icomment:
Partially fixed by fixes for 3428753. I see only socket-14.2 continue to fail.
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- resolution changed to: "None"
- username: "dgp"
Ticket change [663a89f5da] (rid 102666) by dgp on 2012-05-04 03:12:52:
- icomment:
Test socket-14.2 fails because it assumes that [socket -async] will not report failure to connect immediately, but will only do so via an asynchronous callback. That's not true.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [010ecc21a2] (rid 119416) by dgp on 2012-05-04 03:25:55:
- closedate changed to: "2012-05-03T20:25:55"
- closer changed to: "dgp"
- icomment:
allow_comments - 1 fixed on trunk.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"