Skip Menu |
 

This queue is for tickets about the Net-SSLeay CPAN distribution.

Report information
The Basics
Id: 84084
Status: resolved
Priority: 0/
Queue: Net-SSLeay

People
Owner: Nobody in particular
Requestors: h.m.brand [...] xs4all.nl
Cc:
AdminCc:

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



Subject: Net::SSLeay again - need guidance
Date: Wed, 20 Mar 2013 09:32:57 +0100
To: "mikem [...] open.com.au via RT" <bug-Net-SSLeay [...] rt.cpan.org>
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
Download (untitled) / with headers
text/plain 9.9k
I've successfully built and distributed perl-5.16.3 with Net::SSLeay on HP-UX 11.31, 11.23, 11.11, and 11.00 in both 32 and 64bit builds. That much for the the good news. Yeah! I cannot get the tests to pass on HP-UX 10.20 though. I know that OS is officially dead and gone, but when I look at the downloads from my site I must conclude the system is still used. GNU gcc: http://mirrors.develooper.com/hpux/dl-gcc.html perl: http://mirrors.develooper.com/hpux/dl-perl.html (I might expand those with OS-version per month to get better insight) Anyway, back to the problem. Note that this is and old and slow system, with not a lot of resources (a simple make takes over 5 minutes): HP-UX 10.20/32 U 9000/800/D390 PA8000/240 pa-2.0 512 Mb When I link Net::SSLeay with the .a libraries, where the .a objects are compiled -fPIC: gcc -c -I/usr/local/ssl/include -mpa-risc-1-1 -DPERL_DONT_CREATE_GVSV -D_HPUX_SOURCE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" -fPIC "-I/opt/perl/lib/5.16.3/PA-RISC2.0/CORE" SSLeay.c Running Mkbootstrap for Net::SSLeay () chmod 644 SSLeay.bs rm -f blib/arch/auto/Net/SSLeay/SSLeay.sl LD_RUN_PATH="/usr/local/ssl/lib:/lib" /usr/bin/ld -b -L/usr/local/ssl/lib -L/usr/local/lib -L/pro/local/lib SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.sl \ -L/usr/local/ssl -L/usr/local/ssl/lib -l:libssl.a -l:libcrypto.a -lz t/external/08_external.t ............... ok t/external/15_altnames.t ............... ok t/handle/external/10_destroy.t ......... ok t/handle/external/50_external.t ........ ok t/handle/local/05_use.t ................ ok t/local/01_pod.t ....................... ok t/local/02_pod_coverage.t .............. ok t/local/03_use.t ....................... ok t/local/04_basic.t ..................... 1/6 # Version info: # Testing Net::SSLeay 1.52, Perl 5.016003, /opt/perl/bin/perl # OpenSSL version: 'OpenSSL 0.9.8r 8 Feb 2011' # OpenSSL platform: 'platform: hpux-parisc-cc' t/local/04_basic.t ..................... ok t/local/05_passwd_cb.t ................. ok t/local/06_tcpecho.t ................... ok t/local/07_sslecho.t ................... 1/78 # Failed test 'set_cert_and_key' # at t/local/07_sslecho.t line 62. t/local/07_sslecho.t ................... 51/78 # Looks like you failed 1 test of 78. t/local/07_sslecho.t ................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/78 subtests t/local/08_pipe.t ...................... 1/11 Use of uninitialized value in numeric eq (==) at t/local/08_pipe.t line 82. Hang (I had it hang for 24 hours) When I build with the shared libraries, I get gcc -c -I/usr/local/ssl/include -mpa-risc-1-1 -DPERL_DONT_CREATE_GVSV -D_HPUX_SOURCE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" -fPIC "-I/opt/perl/lib/5.16.3/PA-RISC2.0/CORE" SSLeay.c Running Mkbootstrap for Net::SSLeay () chmod 644 SSLeay.bs rm -f blib/arch/auto/Net/SSLeay/SSLeay.sl LD_RUN_PATH="/usr/local/ssl/lib:/lib" /usr/bin/ld -b -L/usr/local/ssl/lib -L/usr/local/lib -L/pro/local/lib SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.sl \ -L/usr/local/ssl -L/usr/local/ssl/lib -lssl -lcrypto -lz t/external/08_external.t ............... ok t/external/15_altnames.t ............... ok t/handle/external/10_destroy.t ......... ok t/handle/external/50_external.t ........ ok t/handle/local/05_use.t ................ ok t/local/01_pod.t ....................... ok t/local/02_pod_coverage.t .............. ok t/local/03_use.t ....................... ok t/local/04_basic.t ..................... 1/6 # Version info: # Testing Net::SSLeay 1.52, Perl 5.016003, /opt/perl/bin/perl # OpenSSL version: 'OpenSSL 0.9.8r 8 Feb 2011' # OpenSSL platform: 'platform: hpux-parisc-cc' t/local/04_basic.t ..................... ok t/local/05_passwd_cb.t ................. ok t/local/06_tcpecho.t ................... ok t/local/07_sslecho.t ................... 1/78 # Failed test 'set_cert_and_key' # at t/local/07_sslecho.t line 62. t/local/07_sslecho.t ................... 51/78 # Looks like you failed 1 test of 78. t/local/07_sslecho.t ................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/78 subtests t/local/08_pipe.t ...................... ok t/local/15_bio.t ....................... ok t/local/20_autoload.t .................. ok t/local/21_constants.t ................. ok t/local/30_error.t ..................... ok t/local/31_rsa_generate_key.t .......... ok t/local/32_x509_get_cert_info.t ........ ok t/local/33_x509_create_cert.t .......... ok t/local/34_x509_crl.t .................. ok t/local/35_ephemeral.t ................. ok t/local/36_verify.t .................... ok t/local/37_asn1_time.t ................. ok t/local/38_priv-key.t .................. ok t/local/39_pkcs12.t .................... ok t/local/40_npn_support.t ............... skipped: openssl 1.0.1 required t/local/50_digest.t .................... ok t/local/61_threads-cb-crash.t .......... skipped: your perl is not compiled with ithreads or is pre-5.8 t/local/62_threads-ctx_new-deadlock.t .. skipped: your perl is not compiled with ithreads or is pre-5.8 t/local/kwalitee.t ..................... skipped: Test::Kwalitee not installed; skipping Test Summary Report ------------------- t/local/07_sslecho.t (Wstat: 256 Tests: 78 Failed: 1) Failed test: 3 Non-zero exit status: 1 Files=31, Tests=2597, 812 wallclock secs ( 5.82 usr 0.34 sys + 353.57 cusr 2.24 csys = 361.97 CPU) Result: FAIL Failed 1/31 test programs. 1/2597 subtests failed. (that make test took 16 minutes) When I use the second version, Crypt::SSLeay-0.64 passes, but IO::Socket::SSL-1.84 fails beyond the point I am comfortable to ship: t/01loadmodule.t ........... ok t/02settings.t ............. ok t/acceptSSL-timeout.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 10/15 subtests t/auto_verify_hostname.t ... Failed 16/30 subtests t/cert_no_file.t ........... Failed 4/9 subtests t/compatibility.t .......... 1/9 Can't locate object method "issuer_name" via package "IO::Socket::INET" at t/compatibility.t line 53. t/compatibility.t .......... Failed 6/9 subtests t/connectSSL-timeout.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 10/16 subtests t/core.t ................... Failed 47/52 subtests t/dhe.t .................... Failed 3/3 subtests t/io-socket-inet6.t ........ skipped: no IO::Socket::INET6 available t/io-socket-ip.t ........... skipped: no IO::Socket::IP 0.11 available t/memleak_bad_handshake.t .. skipped: no usable ps t/nonblock.t ............... Failed 8/27 subtests t/npn.t .................... skipped: NPN not available in Net::SSLeay t/readline.t ............... ok t/sessions.t ............... ok t/signal-readline.t ........ 1/9 readline() on unopened filehandle 1 at t/signal-readline.t line 50. Use of uninitialized value $line in string ne at t/signal-readline.t line 51. Can't use an undefined value as a symbol reference at t/signal-readline.t line 61. t/signal-readline.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 7/9 subtests t/sni.t .................... skipped: because no client side SNI support - openssl/Net::SSleay too old t/start-stopssl.t .......... 1/16 not ok #client::start_SSL: SSL connect attempt failed with unknown error not ok #server::start_SSL: SSL connect accept failed because of handshake problems t/start-stopssl.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 14/16 subtests t/startssl-failed.t ........ ok t/startssl.t ............... Failed 5/9 subtests t/sysread_write.t .......... Failed 8/9 subtests t/verify_hostname.t ........ 1/43 Can't call method "peer_certificate" without a package or object reference at t/verify_hostname.t line 58. t/verify_hostname.t ........ Failed 42/43 subtests Test Summary Report ------------------- t/acceptSSL-timeout.t (Wstat: 256 Tests: 8 Failed: 3) Failed tests: 4, 7-8 Non-zero exit status: 1 Parse errors: Bad plan. You planned 15 tests but ran 8. t/auto_verify_hostname.t (Wstat: 0 Tests: 22 Failed: 8) Failed tests: 3, 5-6, 8, 12, 16, 18, 22 Parse errors: Bad plan. You planned 30 tests but ran 22. t/cert_no_file.t (Wstat: 0 Tests: 7 Failed: 2) Failed tests: 2, 4 Parse errors: Bad plan. You planned 9 tests but ran 7. t/compatibility.t (Wstat: 0 Tests: 6 Failed: 3) Failed tests: 2-4 Parse errors: Bad plan. You planned 9 tests but ran 6. t/connectSSL-timeout.t (Wstat: 256 Tests: 8 Failed: 2) Failed tests: 7-8 Non-zero exit status: 1 Parse errors: Bad plan. You planned 16 tests but ran 8. t/core.t (Wstat: 0 Tests: 7 Failed: 2) Failed tests: 6-7 Parse errors: Bad plan. You planned 52 tests but ran 7. t/dhe.t (Wstat: 0 Tests: 1 Failed: 1) Failed test: 1 Parse errors: Bad plan. You planned 3 tests but ran 1. t/nonblock.t (Wstat: 0 Tests: 27 Failed: 8) Failed tests: 5-6, 10, 13, 21-22, 24, 26 t/signal-readline.t (Wstat: 65280 Tests: 4 Failed: 2) Failed tests: 2-3 Non-zero exit status: 255 Parse errors: Bad plan. You planned 9 tests but ran 4. t/start-stopssl.t (Wstat: 65280 Tests: 2 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 16 tests but ran 2. t/startssl.t (Wstat: 0 Tests: 9 Failed: 5) Failed tests: 5-9 t/sysread_write.t (Wstat: 0 Tests: 3 Failed: 2) Failed tests: 2-3 Parse errors: Bad plan. You planned 9 tests but ran 3. t/verify_hostname.t (Wstat: 0 Tests: 2 Failed: 1) Failed test: 2 Parse errors: Bad plan. You planned 43 tests but ran 2. Files=23, Tests=174, 67 wallclock secs ( 1.48 usr 0.22 sys + 33.48 cusr 2.17 csys = 37.35 CPU) Result: FAIL Failed 13/23 test programs. 39/174 subtests failed. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.17 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Subject: Re: [rt.cpan.org #84084] Net::SSLeay again - need guidance
Date: Wed, 20 Mar 2013 19:40:03 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Download (untitled) / with headers
text/plain 11.4k
Hello, Hmmm, hard to say. in 07_ssl_echo.t, it looks like set_cert_and_key is failing but its not clear why. Perhaps File::Spec->catfile('t', 'data', 'key.pem'); does not load the file correctly? You may need to put some debugging prints in 07_ssl_echo.t to find out more? 08_pipe.t appears to rely on various pipe and fork behaviours. Are they working in the standard Unix way on that platform? Cheers. On Wednesday, March 20, 2013 04:33:24 AM h.m.brand@xs4all.nl via RT wrote: Show quoted text
> Wed Mar 20 04:33:23 2013: Request 84084 was acted upon. > Transaction: Ticket created by h.m.brand@xs4all.nl > Queue: Net-SSLeay > Subject: Net::SSLeay again - need guidance > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: h.m.brand@xs4all.nl > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=84084 > > > > I've successfully built and distributed perl-5.16.3 with Net::SSLeay on > HP-UX 11.31, 11.23, 11.11, and 11.00 in both 32 and 64bit builds. That > much for the the good news. Yeah! > > I cannot get the tests to pass on HP-UX 10.20 though. I know that OS is > officially dead and gone, but when I look at the downloads from my site > I must conclude the system is still used. > > GNU gcc: http://mirrors.develooper.com/hpux/dl-gcc.html > perl: http://mirrors.develooper.com/hpux/dl-perl.html > > (I might expand those with OS-version per month to get better insight) > > Anyway, back to the problem. Note that this is and old and slow system, > with not a lot of resources (a simple make takes over 5 minutes): > > HP-UX 10.20/32 U 9000/800/D390 PA8000/240 pa-2.0 512 Mb > > When I link Net::SSLeay with the .a libraries, where the .a objects > are compiled -fPIC: > > gcc -c -I/usr/local/ssl/include -mpa-risc-1-1 -DPERL_DONT_CREATE_GVSV > -D_HPUX_SOURCE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.52\" > -DXS_VERSION=\"1.52\" -fPIC "-I/opt/perl/lib/5.16.3/PA-RISC2.0/CORE" > SSLeay.c Running Mkbootstrap for Net::SSLeay () chmod 644 SSLeay.bs rm > -f blib/arch/auto/Net/SSLeay/SSLeay.sl > LD_RUN_PATH="/usr/local/ssl/lib:/lib" /usr/bin/ld -b > -L/usr/local/ssl/lib -L/usr/local/lib -L/pro/local/lib SSLeay.o -o > blib/arch/auto/Net/SSLeay/SSLeay.sl \ -L/usr/local/ssl > -L/usr/local/ssl/lib -l:libssl.a -l:libcrypto.a -lz > > t/external/08_external.t ............... ok > t/external/15_altnames.t ............... ok > t/handle/external/10_destroy.t ......... ok > t/handle/external/50_external.t ........ ok > t/handle/local/05_use.t ................ ok > t/local/01_pod.t ....................... ok > t/local/02_pod_coverage.t .............. ok > t/local/03_use.t ....................... ok > t/local/04_basic.t ..................... 1/6 # Version info: > # Testing Net::SSLeay 1.52, Perl 5.016003, /opt/perl/bin/perl > # OpenSSL version: 'OpenSSL 0.9.8r 8 Feb 2011' > # OpenSSL platform: 'platform: hpux-parisc-cc' > t/local/04_basic.t ..................... ok > t/local/05_passwd_cb.t ................. ok > t/local/06_tcpecho.t ................... ok > t/local/07_sslecho.t ................... 1/78 > # Failed test 'set_cert_and_key' > # at t/local/07_sslecho.t line 62. > t/local/07_sslecho.t ................... 51/78 # Looks like you failed > 1 test of 78. t/local/07_sslecho.t ................... Dubious, test > returned 1 (wstat 256, 0x100) Failed 1/78 subtests > t/local/08_pipe.t ...................... 1/11 Use of uninitialized > value in numeric eq (==) at t/local/08_pipe.t line 82. > > Hang (I had it hang for 24 hours) > > When I build with the shared libraries, I get > > gcc -c -I/usr/local/ssl/include -mpa-risc-1-1 -DPERL_DONT_CREATE_GVSV > -D_HPUX_SOURCE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.52\" > -DXS_VERSION=\"1.52\" -fPIC "-I/opt/perl/lib/5.16.3/PA-RISC2.0/CORE" > SSLeay.c Running Mkbootstrap for Net::SSLeay () chmod 644 SSLeay.bs rm > -f blib/arch/auto/Net/SSLeay/SSLeay.sl > LD_RUN_PATH="/usr/local/ssl/lib:/lib" /usr/bin/ld -b > -L/usr/local/ssl/lib -L/usr/local/lib -L/pro/local/lib SSLeay.o -o > blib/arch/auto/Net/SSLeay/SSLeay.sl \ -L/usr/local/ssl > -L/usr/local/ssl/lib -lssl -lcrypto -lz > > t/external/08_external.t ............... ok > t/external/15_altnames.t ............... ok > t/handle/external/10_destroy.t ......... ok > t/handle/external/50_external.t ........ ok > t/handle/local/05_use.t ................ ok > t/local/01_pod.t ....................... ok > t/local/02_pod_coverage.t .............. ok > t/local/03_use.t ....................... ok > t/local/04_basic.t ..................... 1/6 # Version info: > # Testing Net::SSLeay 1.52, Perl 5.016003, /opt/perl/bin/perl > # OpenSSL version: 'OpenSSL 0.9.8r 8 Feb 2011' > # OpenSSL platform: 'platform: hpux-parisc-cc' > t/local/04_basic.t ..................... ok > t/local/05_passwd_cb.t ................. ok > t/local/06_tcpecho.t ................... ok > t/local/07_sslecho.t ................... 1/78 > # Failed test 'set_cert_and_key' > # at t/local/07_sslecho.t line 62. > t/local/07_sslecho.t ................... 51/78 # Looks like you failed 1 > test of 78. t/local/07_sslecho.t ................... Dubious, test returned > 1 (wstat 256, 0x100) Failed 1/78 subtests > t/local/08_pipe.t ...................... ok > t/local/15_bio.t ....................... ok > t/local/20_autoload.t .................. ok > t/local/21_constants.t ................. ok > t/local/30_error.t ..................... ok > t/local/31_rsa_generate_key.t .......... ok > t/local/32_x509_get_cert_info.t ........ ok > t/local/33_x509_create_cert.t .......... ok > t/local/34_x509_crl.t .................. ok > t/local/35_ephemeral.t ................. ok > t/local/36_verify.t .................... ok > t/local/37_asn1_time.t ................. ok > t/local/38_priv-key.t .................. ok > t/local/39_pkcs12.t .................... ok > t/local/40_npn_support.t ............... skipped: openssl 1.0.1 required > t/local/50_digest.t .................... ok > t/local/61_threads-cb-crash.t .......... skipped: your perl is not compiled > with ithreads or is pre-5.8 t/local/62_threads-ctx_new-deadlock.t .. > skipped: your perl is not compiled with ithreads or is pre-5.8 > t/local/kwalitee.t ..................... skipped: Test::Kwalitee not > installed; skipping > > Test Summary Report > ------------------- > t/local/07_sslecho.t (Wstat: 256 Tests: 78 Failed: 1) > Failed test: 3 > Non-zero exit status: 1 > Files=31, Tests=2597, 812 wallclock secs ( 5.82 usr 0.34 sys + 353.57 cusr > 2.24 csys = 361.97 CPU) Result: FAIL > Failed 1/31 test programs. 1/2597 subtests failed. > > (that make test took 16 minutes) > > When I use the second version, Crypt::SSLeay-0.64 passes, but > IO::Socket::SSL-1.84 fails beyond the point I am comfortable to ship: > > t/01loadmodule.t ........... ok > t/02settings.t ............. ok > t/acceptSSL-timeout.t ...... Dubious, test returned 1 (wstat 256, 0x100) > Failed 10/15 subtests > t/auto_verify_hostname.t ... Failed 16/30 subtests > t/cert_no_file.t ........... Failed 4/9 subtests > t/compatibility.t .......... 1/9 Can't locate object method "issuer_name" > via package "IO::Socket::INET" at t/compatibility.t line 53. > t/compatibility.t .......... Failed 6/9 subtests > t/connectSSL-timeout.t ..... Dubious, test returned 1 (wstat 256, 0x100) > Failed 10/16 subtests > t/core.t ................... Failed 47/52 subtests > t/dhe.t .................... Failed 3/3 subtests > t/io-socket-inet6.t ........ skipped: no IO::Socket::INET6 available > t/io-socket-ip.t ........... skipped: no IO::Socket::IP 0.11 available > t/memleak_bad_handshake.t .. skipped: no usable ps > t/nonblock.t ............... Failed 8/27 subtests > t/npn.t .................... skipped: NPN not available in Net::SSLeay > t/readline.t ............... ok > t/sessions.t ............... ok > t/signal-readline.t ........ 1/9 readline() on unopened filehandle 1 at > t/signal-readline.t line 50. Use of uninitialized value $line in string ne > at t/signal-readline.t line 51. Can't use an undefined value as a symbol > reference at t/signal-readline.t line 61. t/signal-readline.t ........ > Dubious, test returned 255 (wstat 65280, 0xff00) Failed 7/9 subtests > t/sni.t .................... skipped: because no client side SNI support - > openssl/Net::SSleay too old t/start-stopssl.t .......... 1/16 not ok > #client::start_SSL: SSL connect attempt failed with unknown error not ok > #server::start_SSL: SSL connect accept failed because of handshake problems > t/start-stopssl.t .......... Dubious, test returned 255 (wstat 65280, > 0xff00) Failed 14/16 subtests > t/startssl-failed.t ........ ok > t/startssl.t ............... Failed 5/9 subtests > t/sysread_write.t .......... Failed 8/9 subtests > t/verify_hostname.t ........ 1/43 Can't call method "peer_certificate" > without a package or object reference at t/verify_hostname.t line 58. > t/verify_hostname.t ........ Failed 42/43 subtests > > Test Summary Report > ------------------- > t/acceptSSL-timeout.t (Wstat: 256 Tests: 8 Failed: 3) > Failed tests: 4, 7-8 > Non-zero exit status: 1 > Parse errors: Bad plan. You planned 15 tests but ran 8. > t/auto_verify_hostname.t (Wstat: 0 Tests: 22 Failed: 8) > Failed tests: 3, 5-6, 8, 12, 16, 18, 22 > Parse errors: Bad plan. You planned 30 tests but ran 22. > t/cert_no_file.t (Wstat: 0 Tests: 7 Failed: 2) > Failed tests: 2, 4 > Parse errors: Bad plan. You planned 9 tests but ran 7. > t/compatibility.t (Wstat: 0 Tests: 6 Failed: 3) > Failed tests: 2-4 > Parse errors: Bad plan. You planned 9 tests but ran 6. > t/connectSSL-timeout.t (Wstat: 256 Tests: 8 Failed: 2) > Failed tests: 7-8 > Non-zero exit status: 1 > Parse errors: Bad plan. You planned 16 tests but ran 8. > t/core.t (Wstat: 0 Tests: 7 Failed: 2) > Failed tests: 6-7 > Parse errors: Bad plan. You planned 52 tests but ran 7. > t/dhe.t (Wstat: 0 Tests: 1 Failed: 1) > Failed test: 1 > Parse errors: Bad plan. You planned 3 tests but ran 1. > t/nonblock.t (Wstat: 0 Tests: 27 Failed: 8) > Failed tests: 5-6, 10, 13, 21-22, 24, 26 > t/signal-readline.t (Wstat: 65280 Tests: 4 Failed: 2) > Failed tests: 2-3 > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 9 tests but ran 4. > t/start-stopssl.t (Wstat: 65280 Tests: 2 Failed: 0) > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 16 tests but ran 2. > t/startssl.t (Wstat: 0 Tests: 9 Failed: 5) > Failed tests: 5-9 > t/sysread_write.t (Wstat: 0 Tests: 3 Failed: 2) > Failed tests: 2-3 > Parse errors: Bad plan. You planned 9 tests but ran 3. > t/verify_hostname.t (Wstat: 0 Tests: 2 Failed: 1) > Failed test: 2 > Parse errors: Bad plan. You planned 43 tests but ran 2. > Files=23, Tests=174, 67 wallclock secs ( 1.48 usr 0.22 sys + 33.48 cusr > 2.17 csys = 37.35 CPU) Result: FAIL > Failed 13/23 test programs. 39/174 subtests failed.
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
Subject: Re: [rt.cpan.org #84084] Net::SSLeay again - need guidance
Date: Fri, 22 Mar 2013 08:13:32 +0100
To: bug-Net-SSLeay [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
Download (untitled) / with headers
text/plain 1.7k
On Wed, 20 Mar 2013 05:40:53 -0400, "mikem@open.com.au via RT" <bug-Net-SSLeay@rt.cpan.org> wrote: Show quoted text
> Hmmm, hard to say. > > in 07_ssl_echo.t, it looks like set_cert_and_key is failing but its not clear > why. > Perhaps File::Spec->catfile('t', 'data', 'key.pem'); does not load the file > correctly? > You may need to put some debugging prints in 07_ssl_echo.t to find out more? > > 08_pipe.t appears to rely on various pipe and fork behaviours. Are they > working in the standard Unix way on that platform?
In 07_ssl_echo, changing the test to ok(Net::SSLeay::set_cert_and_key($ctx, $cert_pem, $key_pem), 'set_cert_and_key'); => my @err = Net::SSLeay::set_cert_and_key($ctx, $cert_pem, $key_pem); is($err[1], '', 'set_cert_and_key'); results in: not ok 3 - set_cert_and_key # Failed test 'set_cert_and_key' # at t/local/07_sslecho.t line 64. # got: 'private key `t/data/key.pem' () 6381: 1 - error:2506A067:DSO support routines:DL_LOAD:could not load the shared library # private key `t/data/key.pem' () 6381: 2 - error:25070067:DSO support routines:DSO_load:could not load the shared library # ' # expected: '' maybe changing the tests where return can include the error like this would be an improvement to the test suite? Now I need to find out *what* library cannot be loaded. Could this be the reason for IO::Socket::SSL's failing? as 08_pipe only fails with the linked-in libraries, I'll ignore that for now. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.17 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Subject: Re: [rt.cpan.org #84084] Net::SSLeay again - need guidance
Date: Fri, 22 Mar 2013 17:16:23 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Download (untitled) / with headers
text/plain 2.3k
Hi, On Friday, March 22, 2013 03:13:51 AM you wrote: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=84084 > > > On Wed, 20 Mar 2013 05:40:53 -0400, "mikem@open.com.au via RT" > > <bug-Net-SSLeay@rt.cpan.org> wrote:
> > Hmmm, hard to say. > > > > in 07_ssl_echo.t, it looks like set_cert_and_key is failing but its not > > clear why. > > > > Perhaps File::Spec->catfile('t', 'data', 'key.pem'); does not load the > > file > > > > correctly? > > You may need to put some debugging prints in 07_ssl_echo.t to find out > > more? > > > > 08_pipe.t appears to rely on various pipe and fork behaviours. Are they > > working in the standard Unix way on that platform?
> > In 07_ssl_echo, changing the test to > > ok(Net::SSLeay::set_cert_and_key($ctx, $cert_pem, $key_pem), > 'set_cert_and_key'); => > my @err = Net::SSLeay::set_cert_and_key($ctx, $cert_pem, $key_pem); > is($err[1], '', 'set_cert_and_key'); > > results in: > > not ok 3 - set_cert_and_key > # Failed test 'set_cert_and_key' > # at t/local/07_sslecho.t line 64. > # got: 'private key `t/data/key.pem' () 6381: 1 - > error:2506A067:DSO support routines:DL_LOAD:could not load the shared > library # private key `t/data/key.pem' () 6381: 2 - error:25070067:DSO > support routines:DSO_load:could not load the shared library # ' > # expected: '' > > maybe changing the tests where return can include the error like this > would be an improvement to the test suite?
Agree. I will look to that now. Show quoted text
> > Now I need to find out *what* library cannot be loaded. > > Could this be the reason for IO::Socket::SSL's failing?
Good chance. Cheers. Show quoted text
> > as 08_pipe only fails with the linked-in libraries, I'll ignore that > for now.
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
Subject: Re: [rt.cpan.org #84084] Net::SSLeay again - need guidance
Date: Sat, 23 Mar 2013 08:14:35 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Download (untitled) / with headers
text/plain 2.3k
Thanks for the report. New version uploaded to CPAN addresses the printing of errors from set_cert_and_key. Cheers. On Friday, March 22, 2013 03:13:51 AM you wrote: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=84084 > > > On Wed, 20 Mar 2013 05:40:53 -0400, "mikem@open.com.au via RT" > > <bug-Net-SSLeay@rt.cpan.org> wrote:
> > Hmmm, hard to say. > > > > in 07_ssl_echo.t, it looks like set_cert_and_key is failing but its not > > clear why. > > > > Perhaps File::Spec->catfile('t', 'data', 'key.pem'); does not load the > > file > > > > correctly? > > You may need to put some debugging prints in 07_ssl_echo.t to find out > > more? > > > > 08_pipe.t appears to rely on various pipe and fork behaviours. Are they > > working in the standard Unix way on that platform?
> > In 07_ssl_echo, changing the test to > > ok(Net::SSLeay::set_cert_and_key($ctx, $cert_pem, $key_pem), > 'set_cert_and_key'); => > my @err = Net::SSLeay::set_cert_and_key($ctx, $cert_pem, $key_pem); > is($err[1], '', 'set_cert_and_key'); > > results in: > > not ok 3 - set_cert_and_key > # Failed test 'set_cert_and_key' > # at t/local/07_sslecho.t line 64. > # got: 'private key `t/data/key.pem' () 6381: 1 - > error:2506A067:DSO support routines:DL_LOAD:could not load the shared > library # private key `t/data/key.pem' () 6381: 2 - error:25070067:DSO > support routines:DSO_load:could not load the shared library # ' > # expected: '' > > maybe changing the tests where return can include the error like this > would be an improvement to the test suite? > > Now I need to find out *what* library cannot be loaded. > > Could this be the reason for IO::Socket::SSL's failing? > > as 08_pipe only fails with the linked-in libraries, I'll ignore that > for now.
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
From: dsteinbrunner [...] pobox.com
Download (untitled) / with headers
text/plain 206b
On Fri Mar 22 18:14:50 2013, mikem@open.com.au wrote: Show quoted text
> Thanks for the report. > > New version uploaded to CPAN addresses the printing of errors from > set_cert_and_key.
Should this ticket be closed now?
Yes. Closed.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.