Skip Menu |

This queue is for tickets about the Net-Async-HTTP-Server CPAN distribution.

Report information
The Basics
Id: 131030
Status: resolved
Priority: 0/
Queue: Net-Async-HTTP-Server

People
Owner: Nobody in particular
Requestors: richard [...] matrix.org
Cc:
AdminCc:

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



Subject: test failure on debian 10
Date: Tue, 19 Nov 2019 13:19:58 +0000
To: bug-Net-Async-HTTP-Server [...] rt.cpan.org
From: Richard van der Hoff <richard [...] matrix.org>
I'm not entirely sure what's going wrong here: docker run --rm debian:buster bash -c "apt-get update && apt-get -y install --no-install-recommends build-essential netbase perl openssl libssl-dev zlib1g-dev && cpan -i Net::SSLeay IO::Socket::SSL IO::Async::Test IO::Async::SSL Net::Async::HTTP && cpan -i Net::Async::HTTP::Server" ... Configuring P/PE/PEVANS/Net-Async-HTTP-Server-0.09.tar.gz with Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Net-Async-HTTP-Server' version '0.09' PEVANS/Net-Async-HTTP-Server-0.09.tar.gz /usr/bin/perl Build.PL --installdirs site -- OK Running Build for P/PE/PEVANS/Net-Async-HTTP-Server-0.09.tar.gz Building Net-Async-HTTP-Server PEVANS/Net-Async-HTTP-Server-0.09.tar.gz ./Build -- OK Running Build test t/00use.t .............. ok t/01respond.t .......... ok t/02respond-chunked.t .. ok t/03respond-code.t ..... ok t/04close.t ............ ok t/05refcount.t ......... ok t/10request-HTTP.t ..... ok t/20psgi.t ............. ok t/21psgi-streaming.t ... ok t/80cross-http.t ....... ok Failed to load certificate from file (no PEM, DER or PKCS12) error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag error:0D07803A:asn1 encoding routines:asn1_item_embed_d2i:nested asn1 error at /usr/local/share/perl/5.28.1/IO/Async/SSL.pm line 240. t/81cross-https.t ...... Dubious, test returned 25 (wstat 6400, 0x1900) No subtests run t/99pod.t .............. skipped: Test::Pod 1.00 required for testing POD Test Summary Report ------------------- t/81cross-https.t (Wstat: 6400 Tests: 0 Failed: 0) Non-zero exit status: 25 Parse errors: No plan found in TAP output Files=12, Tests=73, 2 wallclock secs ( 0.04 usr 0.03 sys + 1.34 cusr 0.22 csys = 1.63 CPU) Result: FAIL Failed 1/12 test programs. 0/73 subtests failed. PEVANS/Net-Async-HTTP-Server-0.09.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PEVANS/Net-Async-HTTP-Server-0.09.tar.gz
On Tue Nov 19 08:30:50 2019, richard@matrix.org wrote: Show quoted text
> I'm not entirely sure what's going wrong here:
... Show quoted text
> Failed to load certificate from file (no PEM, DER or PKCS12) > error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag > error:0D07803A:asn1 encoding routines:asn1_item_embed_d2i:nested asn1 > error at /usr/local/share/perl/5.28.1/IO/Async/SSL.pm line 240. > t/81cross-https.t ......
Yeah; the error message isn't at all clear there, but since the certs were so old I just regenerated them. They're now longer and appear to work fine, so likely it was upset about that. -- Paul Evans
Fix was released in 0.10 -- Paul Evans