Skip Menu |

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

Report information
The Basics
Id: 132175
Status: rejected
Priority: 0/
Queue: Net-SSLeay

People
Owner: Nobody in particular
Requestors: brunni [...] netestate.de
Cc:
AdminCc:

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



Subject: sslecho test fail with Net-SSLeay-1.88 / OpenSSL 1.1.1e / Perl 5.30.2
Date: Fri, 20 Mar 2020 11:00:24 +0100
To: bug-Net-SSLeay [...] rt.cpan.org
From: Michael Brunnbauer <brunni [...] netestate.de>
hi # Testing Net::SSLeay 1.88 # # Perl information: # Version: '5.030002' # Executable path: '/usr/bin/perl' # # libssl information: # SSLEAY_VERSION: 'OpenSSL 1.1.1e 17 Mar 2020' # SSLEAY_CFLAGS: 'compiler: gcc -fPIC -pthread -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DNDEBUG' # SSLEAY_BUILT_ON: 'built on: Thu Mar 19 13:32:30 2020 UTC' # SSLEAY_PLATFORM: 'platform: linux-generic64' # SSLEAY_DIR: 'OPENSSLDIR: "/usr/lib64/ssl"' # OPENSSL_ENGINES_DIR: 'ENGINESDIR: "/usr/lib64/engines-1.1"' t/local/03_use.t ....................... ok 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/102 Cipher `TLS_AES_256_GCM_SHA384' Subject Name: /C=US/ST=State/L=City/O=Company/OU=Unit/CN=*.example.com/emailAddress=wildcard@example.com Issuer Name: /C=US/O=Demo1/CN=CA1 SSL_read 13929: 1 - error:1409441A:SSL routines:ssl3_read_bytes:tlsv1 alert decode error SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading ERROR_SYSCALL(-1): errno() # Failed test 'ssl_write_all' # at t/local/07_sslecho.t line 108. SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading SSL_read 13929: 1 - error:1409441A:SSL routines:ssl3_read_bytes:tlsv1 alert decode error ERROR_SYSCALL(-1): errno() # Failed test 'ssl_write_all' # at t/local/07_sslecho.t line 108. SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading ERROR_SYSCALL(-1): errno() # Failed test 'ssl_write_all' # at t/local/07_sslecho.t line 108. SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading ERROR_SYSCALL(-1): errno() # Failed test 'ssl_write_all' # at t/local/07_sslecho.t line 108. SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading ERROR_SYSCALL(-1): errno() # Failed test 'ssl_write_all' # at t/local/07_sslecho.t line 108. SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading ERROR_SYSCALL(-1): errno() # Failed test 'ssl_write_all' # at t/local/07_sslecho.t line 108. SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading SSL_read 13929: 1 - error:1409441A:SSL routines:ssl3_read_bytes:tlsv1 alert decode error ERROR_SYSCALL(-1): errno() t/local/07_sslecho.t ................... 73/102 # Failed test 'ssl_write_all' # at t/local/07_sslecho.t line 108. # Failed test 'send and received correctly' # at /usr/lib/perl5/5.30.2/Test/Builder.pm line 152. # Failed test 'read' # at /usr/lib/perl5/5.30.2/Test/Builder.pm line 152. # Failed test 'ssl_read_all' # at /usr/lib/perl5/5.30.2/Test/Builder.pm line 152. # Looks like you failed 3 tests of 102. t/local/07_sslecho.t ................... Dubious, test returned 3 (wstat 768, 0x300) Failed 10/102 subtests On my own Linux distro with gcc 7.5.0 and glibc 2.31. I added "$Net::SSLeay::trace = 2;" to t/local/07_sslecho.t to get this output. Regards, Michael Brunnbauer -- ++ Michael Brunnbauer ++ netEstate GmbH ++ Geisenhausener Straße 11a ++ 81379 München ++ Tel +49 89 32 19 77 80 ++ Fax +49 89 32 19 77 89 ++ E-Mail brunni@netestate.de ++ https://www.netestate.de/ ++ ++ Sitz: München, HRB Nr.142452 (Handelsregister B München) ++ USt-IdNr. DE221033342 ++ Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer ++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
Download signature.asc
application/pgp-signature 195b

Message body not shown because it is not plain text.

We're seeing this in Debian as well with OpenSSL 1.1.1e: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954401
Thanks for the report, Michael (and the confirmation, Gregor). On Fri Mar 20 10:07:12 2020, brunni@netestate.de wrote: Show quoted text
> SSL_read 13929: 1 - error:1409441A:SSL routines:ssl3_read_bytes:tlsv1 > alert decode error > SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected > eof while reading > ERROR_SYSCALL(-1): errno() > > # Failed test 'ssl_write_all' > # at t/local/07_sslecho.t line 108. > SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected > eof while reading > SSL_read 13929: 1 - error:1409441A:SSL routines:ssl3_read_bytes:tlsv1 > alert decode error > ERROR_SYSCALL(-1): errno() > > # Failed test 'ssl_write_all' > # at t/local/07_sslecho.t line 108. > SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected > eof while reading > ERROR_SYSCALL(-1): errno() > > # Failed test 'ssl_write_all' > # at t/local/07_sslecho.t line 108. > SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected > eof while reading > ERROR_SYSCALL(-1): errno() > > # Failed test 'ssl_write_all' > # at t/local/07_sslecho.t line 108. > SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected > eof while reading > ERROR_SYSCALL(-1): errno() > > # Failed test 'ssl_write_all' > # at t/local/07_sslecho.t line 108. > SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected > eof while reading > ERROR_SYSCALL(-1): errno() > > # Failed test 'ssl_write_all' > # at t/local/07_sslecho.t line 108. > SSL_read 13930: 1 - error:14095126:SSL routines:ssl3_read_n:unexpected > eof while reading > SSL_read 13929: 1 - error:1409441A:SSL routines:ssl3_read_bytes:tlsv1 > alert decode error > ERROR_SYSCALL(-1): errno() > t/local/07_sslecho.t ................... 73/102 > # Failed test 'ssl_write_all' > # at t/local/07_sslecho.t line 108. > > # Failed test 'send and received correctly' > # at /usr/lib/perl5/5.30.2/Test/Builder.pm line 152. > > # Failed test 'read' > # at /usr/lib/perl5/5.30.2/Test/Builder.pm line 152. > > # Failed test 'ssl_read_all' > # at /usr/lib/perl5/5.30.2/Test/Builder.pm line 152. > # Looks like you failed 3 tests of 102. > t/local/07_sslecho.t ................... Dubious, test returned 3 > (wstat 768, 0x300) > Failed 10/102 subtests
As Gregor mentioned, this does indeed appear to be caused by commit db943f4 in OpenSSL, which is present in 1.1.1e. The fix for the test suite is in our master branch, but isn't in a CPAN release yet: https://github.com/radiator-software/p5-net-ssleay/commit/25ae268277121eeecd29830dec6a0229e4f8fbcb We'll issue a stable release of Net-SSLeay that includes this fix shortly.