Tcl Library Source Code

View Ticket
Login
Ticket UUID: 34cf417ffd426833f4b3af697630ca936871c4d4
Title: comm-6.0 fails
Type: Bug Version: 4.6.3.1
Submitter: anonymous Created on: 2015-04-30 14:52:35
Subsystem: comm Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2015-04-30 14:52:35
Resolution: None Closed By: nobody
    Closed on:
Description:
==== modules/comm/comm.test comm-6.0 FAILED =========
==== Contents of test case:

SSL channel "sock6": error: sslv3 alert handshake failure
    # Setup secured channel in main process.
    tls::init  -keyfile  [tcllibPath devtools/receiver.key]  -certfile [tcllibPa
th devtools/receiver.crt]  -cafile   [tcllibPath devtools/ca.crt]  -ssl2 1     -
ssl3 1     -tls1 0     -require 1
    comm::comm new BAR -socketcmd tls::socket -listen 1
    # Setup secured channel in slave process
    ::comm::comm send [slave] {
        package require tls
        set fox dog
    }
    ::comm::comm send [slave]  [list  tls::init  -keyfile  [tcllibPath devtools/
transmitter.key]  -certfile [tcllibPath devtools/transmitter.crt]  -cafile   [tc
llibPath devtools/ca.crt]  -ssl2 1     -ssl3 1     -tls1 0     -require 1]
    set FOO [::comm::comm send [slave] {
        comm::comm new FOO -socketcmd tls::socket -listen 1
        FOO self
    }] ; # {}
    # Run command interaction over the secured channel
    set res [BAR send $FOO {set fox}]
    # Cleanup, remove secured endpoints
    comm::comm send [slave] {FOO destroy}
    BAR destroy
    # Return result of the secured command
    set res

---- Result was:
---- Return code should have been one of: 0 2
---- errorInfo: target application died or connection lost
    while executing
"::comm::comm_cmd_send ::BAR 35868 {set fox}"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 [linsert $args 0 $method $chan]"
    (procedure "BAR" line 8)
    invoked from within
"BAR send $FOO {set fox}"
    ("uplevel" body line 18)
    invoked from within
"uplevel 1 $script"
---- Result should have been:

==== modules/comm/comm.test comm-6.0 ====


Strong possibility this is really a failure in the
locally installed tls package, but in that case the
test ought to anticipate that possibility.