Subject: | IO::Socket::SSL failing nonblock tests in 10.5 OSX |
$>prove -lvm t/nonblock.t
t/nonblock.t ..
1..27
ok # [server] Server Initialization
ok # [client] client tcp connect
ok # [client] write plain text
ok # [server] tcp accept
ok # [server] received plain text
ok # [server] upgrade to_client to IO::Socket::SSL
ok # [client] upgrade client to IO::Socket::SSL
# SSL wants a read first
# SSL wants a read first
# SSL wants a read first
ok # [server] ssl accept handshake done
ok # [client] connected
ok # [client] nonblocking connect with 2 attempts
# sndbuf=8192
# 1234567890
ok # [server] received client message
ok # [client] syswrite
not ok # [client] 30000 bytes send
ok # [client] client tcp connect
not ok # [client] write plain text
# read of 10 bytes
# read of 10 bytes
# read of 10 bytes
# read of 10 bytes
# read of 10 bytes
# read of 10 bytes
#... ( ALOTTA READS)
# read of 10 bytes
# read of 10 bytes
# read of 10 bytes
# read 30000
ok # [server] tcp accept
ok # [client] upgrade client to IO::Socket::SSL
# SSL wants a read first
not ok # [server] received plain text
ok # [server] upgrade to_client to IO::Socket::SSL
# SSL accept attempt failed with unknown errorerror:1408F10B:SSL
routines:SSL3_GET_RECORD:wrong version number
# failed to accept: SSL accept attempt failed with unknown
errorerror:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
not ok # [server] ssl accept handshake done
not ok # [server] nonblocking accept_SSL with 0 attempts
not #
ok # [server] received client message
# SSL connect attempt failed because of handshake
problemserror:00000000:lib(0):func(0):reason(0)
# failed to connect: SSL connect attempt failed because of handshake
problemserror:00000000:lib(0):func(0):reason(0)
not ok # [client] connected
# sndbuf=8192
ok # [client] syswrite
not ok # [client] 30000 bytes send
# read of 29990 bytes
# read 30000
Failed 9/27 subtests
Test Summary Report
-------------------
t/nonblock.t (Wstat: 0 Tests: 25 Failed: 7)
Failed tests: 13, 15, 18, 20-21, 23, 25
Parse errors: Bad plan. You planned 27 tests but ran 25.
Files=1, Tests=25, 15 wallclock secs ( 0.28 usr 0.04 sys + 0.33 cusr
0.16 csys = 0.81 CPU)
Result: FAIL
090622.100113 root@CMU-339622.WV.CC.CMU.EDU
(/var/root/.cpan/build/IO-Socket-SSL-1.24-z9_04L)
$>