CC: | mgardner [...] ariasystems.com |
Subject: | t/auto_verify_hostname.t hangs after "not ok #connection to example.com/www failed" |
From v1.78 onward, the t/auto_verify_hostname.t test script hangs indefinitely after failing the "connection to example.com/www failed" test:
[mgardner@oqn-dv-build01 ~]$ cpanm --look IO::Socket::SSL
--> Working on IO::Socket::SSL
Fetching http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-1.994.tar.gz ... OK
Entering /home/mgardner/.cpanm/work/1405015323.29326/IO-Socket-SSL-1.994 with /bin/bash
[mgardner@oqn-dv-build01 IO-Socket-SSL-1.994]$ perl 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
[mgardner@oqn-dv-build01 IO-Socket-SSL-1.994]$ make
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.pm blib/lib/IO/Socket/SSL.pm
cp lib/IO/Socket/SSL/Utils.pm blib/lib/IO/Socket/SSL/Utils.pm
cp lib/IO/Socket/SSL/Intercept.pm blib/lib/IO/Socket/SSL/Intercept.pm
Manifying blib/man3/IO::Socket::SSL.3
Manifying blib/man3/IO::Socket::SSL::Intercept.3
Manifying blib/man3/IO::Socket::SSL::PublicSuffix.3
Manifying blib/man3/IO::Socket::SSL::Utils.3
[mgardner@oqn-dv-build01 IO-Socket-SSL-1.994]$ prove -vl t/auto_verify_hostname.t
t/auto_verify_hostname.t ..
1..30
ok #Server Initialization
not ok #connection to example.com/www failed
^C
[mgardner@oqn-dv-build01 IO-Socket-SSL-1.994]$ uname -a
Linux oqn-dv-build01.oqn.ariasystems.net 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linu
x
[mgardner@oqn-dv-build01 IO-Socket-SSL-1.994]$ perl -V
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
Platform:
osname=linux, osvers=2.6.32-358.23.2.el6.x86_64, archname=x86_64-linux
uname='linux oqn-dv-build01.oqn.ariasystems.net 2.6.32-358.23.2.el6.x86_64 #1 smp wed oct 16 18:37:12 utc 2013 x86_64 x86_64 x86
_64 gnulinux '
config_args='-de -Dprefix=/home/mgardner/perl5/perlbrew/perls/perl-5.16.3_aria_custom -Dusesitecustomize -Aeval:scriptdir=/home/
mgardner/perl5/perlbrew/perls/perl-5.16.3_aria_custom/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
,
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.4.7 20120313 (Red Hat 4.4.7-4)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/../lib64 /usr/lib/../lib64 /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.12'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
USE_SITECUSTOMIZE
Built under linux
Compiled at Apr 1 2014 14:59:57
%ENV:
PERLBREW_BASHRC_VERSION="0.68"
PERLBREW_HOME="/home/mgardner/.perlbrew"
PERLBREW_MANPATH="/home/mgardner/perl5/perlbrew/perls/perl-5.16.3_aria_custom/man"
PERLBREW_PATH="/home/mgardner/perl5/perlbrew/bin:/home/mgardner/perl5/perlbrew/perls/perl-5.16.3_aria_custom/bin"
PERLBREW_PERL="perl-5.16.3_aria_custom"
PERLBREW_ROOT="/home/mgardner/perl5/perlbrew"
PERLBREW_VERSION="0.68"
@INC:
/home/mgardner/perl5/perlbrew/perls/perl-5.16.3_aria_custom/lib/site_perl/5.16.3/x86_64-linux
/home/mgardner/perl5/perlbrew/perls/perl-5.16.3_aria_custom/lib/site_perl/5.16.3
/home/mgardner/perl5/perlbrew/perls/perl-5.16.3_aria_custom/lib/5.16.3/x86_64-linux
/home/mgardner/perl5/perlbrew/perls/perl-5.16.3_aria_custom/lib/5.16.3
.
/usr/aria/perl/lib/custom