Skip Menu |

This queue is for tickets about the IO-Socket-SSL CPAN distribution.

Report information
The Basics
Id: 115975
Status: resolved
Priority: 0/
Queue: IO-Socket-SSL

People
Owner: Nobody in particular
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Warnings and test failure in t/sessions.t when IO::Socket::INET6 back-end used
This is with 2.030 in absence of IO::Socket::IP: $ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/external/*.t # openssl version=0x10000003 # Net::SSLeay version=1.74 # parent IO::Socket::INET6 version=2.72 t/01loadmodule.t .................. ok t/acceptSSL-timeout.t ............. ok t/alpn.t .......................... skipped: ALPN not available in Net::SSLeay t/auto_verify_hostname.t .......... ok t/cert_formats.t .................. ok t/cert_no_file.t .................. ok t/compatibility.t ................. ok t/connectSSL-timeout.t ............ ok t/core.t .......................... ok t/dhe.t ........................... ok t/ecdhe.t ......................... skipped: no support for ecdh with this openssl/Net::SSLeay # tcp connect to www.live.com:443 ok # tcp connect to www.google.com:443 ok # tcp connect to revoked.grc.com:443 ok t/external/ocsp.t ................. ok # found 136 CA certs # have root CA for www.google.com in store # 5 connections to www.google.com ok # have root CA for www.yahoo.com in store # 5 connections to www.yahoo.com ok # have root CA for www.comdirect.de in store # 5 connections to www.comdirect.de ok # have root CA for meine.deutsche-bank.de in store # 5 connections to meine.deutsche-bank.de ok # have root CA for www.twitter.com in store # 5 connections to www.twitter.com ok # have root CA for www.facebook.com in store # 5 connections to www.facebook.com ok # have root CA for www.live.com in store # 5 connections to www.live.com ok t/external/usable_ca.t ............ ok t/io-socket-inet6.t ............... ok t/io-socket-ip.t .................. skipped: usable IO::Socket::IP is not available t/memleak_bad_handshake.t ......... ok t/mitm.t .......................... ok t/nonblock.t ...................... ok t/npn.t ........................... skipped: NPN not available in Net::SSLeay # -- test: newINET start_SSL stop_SSL start_SSL # server accepted new client # wait for initial data from client # got 0x666f6f from client # server: got plain data at start of connection # server: TLS upgrade # server: TLS downgrade # server: TLS upgrade#2 # -- test: newSSL stop_SSL connect_SSL # server accepted new client # wait for initial data from client # got 0x160301 from client # server: TLS upgrade # server: TLS downgrade # server: TLS upgrade#2 # -- test: newSSL:0 connect_SSL stop_SSL connect_SSL # server accepted new client # wait for initial data from client # got 0x666f6f from client # server: got plain data at start of connection # server: TLS upgrade # server: TLS downgrade # server: TLS upgrade#2 # -- test: newSSL:0 start_SSL stop_SSL connect_SSL # server accepted new client # wait for initial data from client # got 0x666f6f from client # server: got plain data at start of connection # server: TLS upgrade # server: TLS downgrade # server: TLS upgrade#2 # server accepted new client # wait for initial data from client # got 0x656e64 from client # client requested end of tests t/plain_upgrade_downgrade.t ....... ok t/protocol_version.t .............. ok t/public_suffix_lib_encode_idn.t .. ok t/public_suffix_lib_libidn.t ...... ok t/public_suffix_lib_uri.t ......... ok t/public_suffix_ssl.t ............. ok t/readline.t ...................... ok Use of uninitialized value in join or string at /builddir/build/BUILD/IO-Socket-SSL-2.030/blib/lib/IO/Socket/SSL.pm line 673. Use of uninitialized value in join or string at /builddir/build/BUILD/IO-Socket-SSL-2.030/blib/lib/IO/Socket/SSL.pm line 797. Use of uninitialized value in join or string at /builddir/build/BUILD/IO-Socket-SSL-2.030/blib/lib/IO/Socket/SSL.pm line 673. Use of uninitialized value in join or string at /builddir/build/BUILD/IO-Socket-SSL-2.030/blib/lib/IO/Socket/SSL.pm line 797. Use of uninitialized value in string ne at t/sessions.t line 132. Use of uninitialized value in string ne at t/sessions.t line 132. Use of uninitialized value in join or string at /builddir/build/BUILD/IO-Socket-SSL-2.030/blib/lib/IO/Socket/SSL.pm line 673. Use of uninitialized value in join or string at /builddir/build/BUILD/IO-Socket-SSL-2.030/blib/lib/IO/Socket/SSL.pm line 797. Use of uninitialized value in join or string at /builddir/build/BUILD/IO-Socket-SSL-2.030/blib/lib/IO/Socket/SSL.pm line 673. Use of uninitialized value in join or string at /builddir/build/BUILD/IO-Socket-SSL-2.030/blib/lib/IO/Socket/SSL.pm line 797. Use of uninitialized value in join or string at /builddir/build/BUILD/IO-Socket-SSL-2.030/blib/lib/IO/Socket/SSL.pm line 673. Use of uninitialized value in join or string at /builddir/build/BUILD/IO-Socket-SSL-2.030/blib/lib/IO/Socket/SSL.pm line 797. Use of uninitialized value in string ne at t/sessions.t line 155. Use of uninitialized value in string ne at t/sessions.t line 155. t/sessions.t ...................... Failed 7/35 subtests t/signal-readline.t ............... ok t/sni.t ........................... ok t/sni_verify.t .................... ok t/start-stopssl.t ................. ok t/startssl-failed.t ............... ok t/startssl.t ...................... ok t/sysread_write.t ................. ok t/verify_fingerprint.t ............ ok t/verify_hostname.t ............... ok t/verify_hostname_standalone.t .... ok Test Summary Report ------------------- t/sessions.t (Wstat: 0 Tests: 35 Failed: 7) Failed tests: 15-16, 19-21, 26, 31 Files=37, Tests=773, 43 wallclock secs ( 0.11 usr 0.02 sys + 4.25 cusr 0.30 csys = 4.68 CPU) Result: FAIL Failed 1/37 test programs. 7/773 subtests failed. make: *** [test_dynamic] Error 255 With IO::Socket::IP on the same system, it works: $ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/external/*.t # openssl version=0x10000003 # Net::SSLeay version=1.74 # parent IO::Socket::IP version=0.37 t/01loadmodule.t .................. ok t/acceptSSL-timeout.t ............. ok t/alpn.t .......................... skipped: ALPN not available in Net::SSLeay t/auto_verify_hostname.t .......... ok t/cert_formats.t .................. ok t/cert_no_file.t .................. ok t/compatibility.t ................. ok t/connectSSL-timeout.t ............ ok t/core.t .......................... ok t/dhe.t ........................... ok t/ecdhe.t ......................... skipped: no support for ecdh with this openssl/Net::SSLeay # tcp connect to www.live.com:443 ok # tcp connect to www.google.com:443 ok # tcp connect to revoked.grc.com:443 ok t/external/ocsp.t ................. ok # found 136 CA certs # have root CA for www.google.com in store # 5 connections to www.google.com ok # have root CA for www.yahoo.com in store # 5 connections to www.yahoo.com ok # have root CA for www.comdirect.de in store # 5 connections to www.comdirect.de ok # have root CA for meine.deutsche-bank.de in store # 5 connections to meine.deutsche-bank.de ok # have root CA for www.twitter.com in store # 5 connections to www.twitter.com ok # have root CA for www.facebook.com in store # 5 connections to www.facebook.com ok # have root CA for www.live.com in store # 5 connections to www.live.com ok t/external/usable_ca.t ............ ok t/io-socket-inet6.t ............... ok t/io-socket-ip.t .................. ok t/memleak_bad_handshake.t ......... ok t/mitm.t .......................... ok t/nonblock.t ...................... ok t/npn.t ........................... skipped: NPN not available in Net::SSLeay # -- test: newINET start_SSL stop_SSL start_SSL # server accepted new client # wait for initial data from client # got 0x666f6f from client # server: got plain data at start of connection # server: TLS upgrade # server: TLS downgrade # server: TLS upgrade#2 # -- test: newSSL stop_SSL connect_SSL # server accepted new client # wait for initial data from client # got 0x160301 from client # server: TLS upgrade # server: TLS downgrade # server: TLS upgrade#2 # -- test: newSSL:0 connect_SSL stop_SSL connect_SSL # server accepted new client # wait for initial data from client # got 0x666f6f from client # server: got plain data at start of connection # server: TLS upgrade # server: TLS downgrade # server: TLS upgrade#2 # -- test: newSSL:0 start_SSL stop_SSL connect_SSL # server accepted new client # wait for initial data from client # got 0x666f6f from client # server: got plain data at start of connection # server: TLS upgrade # server: TLS downgrade # server: TLS upgrade#2 # server accepted new client # wait for initial data from client # got 0x656e64 from client # client requested end of tests t/plain_upgrade_downgrade.t ....... ok t/protocol_version.t .............. ok t/public_suffix_lib_encode_idn.t .. ok t/public_suffix_lib_libidn.t ...... ok t/public_suffix_lib_uri.t ......... ok t/public_suffix_ssl.t ............. ok t/readline.t ...................... ok t/sessions.t ...................... ok t/signal-readline.t ............... ok t/sni.t ........................... ok t/sni_verify.t .................... ok t/start-stopssl.t ................. ok t/startssl-failed.t ............... ok t/startssl.t ...................... ok t/sysread_write.t ................. ok t/verify_fingerprint.t ............ ok t/verify_hostname.t ............... ok t/verify_hostname_standalone.t .... ok All tests successful. Files=37, Tests=776, 43 wallclock secs ( 0.11 usr 0.01 sys + 4.14 cusr 0.30 csys = 4.56 CPU) Result: PASS There was no problem with 2.029 and either back-end.
Am Fr 08. Jul 2016, 07:04:09, paul@city-fan.org schrieb: Show quoted text
> This is with 2.030 in absence of IO::Socket::IP:
Thanks for the report. The issue should be fixed in 2.031. Regards, Steffen
Am Fr 08. Jul 2016, 07:04:09, paul@city-fan.org schrieb: Show quoted text
> This is with 2.030 in absence of IO::Socket::IP:
Thanks for the report. The issue should be fixed in 2.031. Regards, Steffen