Subject: | Failures in t/nonblock.t w/ perl 5.26.0 on Windows Subsystem for Linux |
Date: | Sat, 15 Jul 2017 15:50:54 -0400 |
To: | bug-IO-Socket-SSL [...] rt.cpan.org |
From: | "A. Sinan Unur" <sinan [...] unur.com> |
Hello:
I am not sure what the cause of these failures is. I ran the test
script multiple times to see if the problem was transient. This more
an FYI at this point.
~/.cpanm/work/1500147486.15226/IO-Socket-SSL-2.049$ prove -vb t/nonblock.t
t/nonblock.t ..
1..27
ok # [server] Server Initialization
ok # [client] client tcp connect
# wrote 9 bytes
ok # [client] write plain text
ok # [client] upgrade client to IO::Socket::SSL
ok # [server] tcp accept
ok # [server] received plain text
ok # [server] upgrade to_client to IO::Socket::SSL
# SSL wants a read first
ok # [client] connected
ok # [client] nonblocking connect with 1 attempts
# sndbuf=16384
ok # [server] ssl accept handshake done
ok # [server] received client message
# $!=Resource temporarily unavailable $SSL_ERROR=SSL wants a write
first send=271260
# wait for write
# read 30000 (1 r/w attempts)
not ok # [server] tcp accept
# failed to tcp accept: Resource temporarily unavailable
# fail can_write
not ok # [client] syswrite
ok # [client] multiple write attempts
ok # [client] 30000 bytes send
ok # [client] client tcp connect
# wrote 9 bytes
ok # [client] write plain text
ok # [client] upgrade client to IO::Socket::SSL
# SSL wants a read first
# failed to connect:
not ok # [client] connected
# sndbuf=16384
ok # [client] syswrite
not ok # [client] multiple write attempts
ok # [client] 30000 bytes send
Failed 9/27 subtests
Test Summary Report
-------------------
t/nonblock.t (Wstat: 0 Tests: 22 Failed: 4)
Failed tests: 12-13, 19, 21
Parse errors: Bad plan. You planned 27 tests but ran 22.
Files=1, Tests=22, 82 wallclock secs ( 0.05 usr 0.11 sys + 0.90 cusr
7.28 csys = 8.34 CPU)
Result: FAIL