Skip to content
Tcl Source Code History Of Ticket 3428754
Login

History Of Ticket 3428754

Artifacts Associated With Ticket 3428754

  1. Ticket change [a289b0d006] (rid 109914) by lvirden on 2011-10-26 12:51:33:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "obsolete: 8.6b2"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "lvirden"
    10. subsystem initialized to: "18. Commands M-Z"
    11. title initialized to:
      socket test suite failures with tcl source code head
      
    12. type initialized to: "Bug"
  2. Ticket change [ce4d94d648] (rid 96033) by dkf on 2012-04-10 15:20:53:

    1. assignee changed to: "andreas_kupries"
    2. icomment:
      Can't see any problems on OSX or Linux; been running the test suite fairly regularly there.
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. resolution changed to: "Works For Me"
    6. subsystem changed to: "24. Channel Commands"
    7. username: "dkf"
  3. Ticket change [1c5ec2c0dc] (rid 90589) by lvirden on 2012-05-02 20:29:46:

    1. 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
      
      
    2. login: "lvirden"
    3. mimetype: "text/plain"
    4. username: "lvirden"
  4. Ticket change [532a183443] (rid 126434) by dgp on 2012-05-04 01:32:24:

    1. assignee changed to: "dgp"
    2. icomment:
      Partially fixed by fixes for 3428753.
      I see only socket-14.2 continue to fail.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. priority changed to: "9 Immediate"
    6. resolution changed to: "None"
    7. username: "dgp"
  5. Ticket change [663a89f5da] (rid 102666) by dgp on 2012-05-04 03:12:52:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [010ecc21a2] (rid 119416) by dgp on 2012-05-04 03:25:55:

    1. closedate changed to: "2012-05-03T20:25:55"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      fixed on trunk.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"