Skip Menu |

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

Report information
The Basics
Id: 106979
Status: rejected
Priority: 0/
Queue: IO-Socket-SSL

People
Owner: Nobody in particular
Requestors: michal_lis [...] polcom.com.pl
Cc:
AdminCc:

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



Subject: Problem with tests on Raspberry Pi - Arch Linux
Date: Wed, 9 Sep 2015 12:19:04 +0200
To: bug-IO-Socket-SSL [...] rt.cpan.org
From: Michał Lis <michal_lis [...] polcom.com.pl>
Fetching with HTTP::Tiny: http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.019.tar.gz Fetching with HTTP::Tiny: http://www.cpan.org/authors/id/S/SU/SULLR/CHECKSUMS Checksum for /root/.cpan/sources/authors/id/S/SU/SULLR/IO-Socket-SSL-2.019.tar.gz ok Configuring S/SU/SULLR/IO-Socket-SSL-2.019.tar.gz with Makefile.PL Should I do external tests? These test will detect if there are network problems and fail soft, so please disable them only if you definitely don't want to have any network traffic to external sites. [Y/n] Y Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for IO::Socket::SSL Writing MYMETA.yml and MYMETA.json SULLR/IO-Socket-SSL-2.019.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK Running make for S/SU/SULLR/IO-Socket-SSL-2.019.tar.gz cp lib/IO/Socket/SSL.pm blib/lib/IO/Socket/SSL.pm cp lib/IO/Socket/SSL/PublicSuffix.pm blib/lib/IO/Socket/SSL/PublicSuffix.pm cp lib/IO/Socket/SSL.pod blib/lib/IO/Socket/SSL.pod cp lib/IO/Socket/SSL/Intercept.pm blib/lib/IO/Socket/SSL/Intercept.pm cp lib/IO/Socket/SSL/Utils.pm blib/lib/IO/Socket/SSL/Utils.pm Manifying blib/man3/IO::Socket::SSL.3pm Manifying blib/man3/IO::Socket::SSL::Intercept.3pm Manifying blib/man3/IO::Socket::SSL::PublicSuffix.3pm Manifying blib/man3/IO::Socket::SSL::Utils.3pm SULLR/IO-Socket-SSL-2.019.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/external/*.t t/01loadmodule.t .................. 1/3 # openssl version=0x1000201f # Net::SSLeay version=1.70 # parent IO::Socket::INET version=1.35 t/01loadmodule.t .................. ok t/acceptSSL-timeout.t ............. ok t/alpn.t .......................... ok 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 .......................... 38/48 # Failed test 'Peer address check' # at t/core.t line 266. # got: '192.168.10.200' # expected: '127.0.0.1' t/core.t .......................... Failed 1/48 subtests t/dhe.t ........................... ok t/ecdhe.t ......................... ok t/external/ocsp.t ................. # tcp connect to www.live.com:443 ok t/external/ocsp.t ................. 1/3 # tcp connect to www.google.com:443 ok t/external/ocsp.t ................. 2/3 # tcp connect to revoked.grc.com:443 ok # fingerprint matches # validation with default CA w/o OCSP ok t/external/ocsp.t ................. ok t/external/usable_ca.t ............ # found 169 CA certs # have root CA for www.google.com in store # 5 connections to www.google.com ok t/external/usable_ca.t ............ 1/21 # have root CA for www.yahoo.com in store # 5 connections to www.yahoo.com ok t/external/usable_ca.t ............ 4/21 # have root CA for www.comdirect.de in store # 5 connections to www.comdirect.de ok t/external/usable_ca.t ............ 7/21 # have root CA for meine.deutsche-bank.de in store # 5 connections to meine.deutsche-bank.de ok t/external/usable_ca.t ............ 10/21 # have root CA for www.twitter.com in store # 5 connections to www.twitter.com ok # fingerprint www.twitter.com matches # check www.twitter.com against builtin CA store ok t/external/usable_ca.t ............ 15/21 # have root CA for www.facebook.com in store # 5 connections to www.facebook.com ok t/external/usable_ca.t ............ 16/21 # 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 ............... skipped: no IO::Socket::INET6 available t/io-socket-ip.t .................. skipped: usuable IO::Socket::IP is not available t/memleak_bad_handshake.t ......... ok t/mitm.t .......................... ok t/nonblock.t ...................... Failed 2/27 subtests t/npn.t ........................... ok t/plain_upgrade_downgrade.t ....... # -- 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 t/plain_upgrade_downgrade.t ....... 1/15 # 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 t/plain_upgrade_downgrade.t ....... 5/15 # 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 t/plain_upgrade_downgrade.t ....... 14/15 # 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 Test Summary Report ------------------- t/core.t (Wstat: 0 Tests: 48 Failed: 1) Failed test: 40 t/nonblock.t (Wstat: 0 Tests: 27 Failed: 2) Failed tests: 13, 26 Files=37, Tests=788, 460 wallclock secs ( 3.13 usr 0.33 sys + 164.37 cusr 17.79 csys = 185.62 CPU) Result: FAIL Failed 2/37 test programs. 3/788 subtests failed. Makefile:878: polecenia dla obiektu 'test_dynamic' nie powiodły się make: *** [test_dynamic] Błąd 255 SULLR/IO-Socket-SSL-2.019.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports SULLR/IO-Socket-SSL-2.019.tar.gz ========================================================================================================= I see some case with IP address, had 192.168.... expected 127.0.0.1 my interface : [root@alarmpi ~]# ip a s 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether b8:27:eb:83:2e:87 brd ff:ff:ff:ff:ff:ff inet 192.168.10.200/24 brd 192.168.10.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::ba27:ebff:fe83:2e87/64 scope link valid_lft forever preferred_lft forever ======================================================================================================== And perl: perl -V Summary of my perl5 (revision 5 version 20 subversion 2) configuration: Platform: osname=linux, osvers=3.10.63-6-arch, archname=armv6l-linux-thread-multi uname='linux leming 3.10.63-6-arch #1 smp preempt mon jan 26 20:07:35 mst 2015 armv6l gnulinux ' config_args='-des -Dusethreads -Duseshrplib -Doptimize=-march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Dprefix=/usr -Dvendorprefix=/usr -Dprivlib=/usr/share/perl5/core_perl -Darchlib=/usr/lib/perl5/core_perl -Dsitelib=/usr/share/perl5/site_perl -Dsitearch=/usr/lib/perl5/site_perl -Dvendorlib=/usr/share/perl5/vendor_perl -Dvendorarch=/usr/lib/perl5/vendor_perl -Dscriptdir=/usr/bin/core_perl -Dsitescript=/usr/bin/site_perl -Dvendorscript=/usr/bin/vendor_perl -Dinc_version_list=none -Dman1ext=1perl -Dman3ext=3perl -Dlddlflags=-shared -Wl,-O1,--sort-common,--as-needed,-z,relro -Dldflags=-Wl,-O1,--sort-common,--as-needed,-z,relro' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4', cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.9.2 20141224 (prerelease)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.9.2/include-fixed /usr/lib /lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=libc-2.20.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.20' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE' cccdlflags='-fPIC', lddlflags='-shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under linux Compiled at Feb 17 2015 03:36:03 @INC: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .
Show quoted text
> ------------------- > t/core.t (Wstat: 0 Tests: 48 Failed: 1) > Failed test: 40 > t/nonblock.t (Wstat: 0 Tests: 27 Failed: 2) > Failed tests: 13, 26
Could you please run the relevant tests with verbose output so that one can get more details about the problems? E.g. perl -Mblib t/nonblock.t perl -Mblib t/core.t
The request was closed because of missing feedback needed to debug the problem. Show quoted text
> > Could you please run the relevant tests with verbose output so that one can > get more details about the problems? E.g. > > perl -Mblib t/nonblock.t > perl -Mblib t/core.t