Bug 2007259 - perl-IO-Socket-SSL-2.072-2.fc36 FTBFS: read tests fail (with openssl1.1-1.1.1l?)
Summary: perl-IO-Socket-SSL-2.072-2.fc36 FTBFS: read tests fail (with openssl1.1-1.1.1l?)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-IO-Socket-SSL
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL: https://koji.fedoraproject.org/koji/t...
Whiteboard:
Depends On:
Blocks: F36FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-09-23 12:32 UTC by Petr Pisar
Modified: 2021-12-23 11:25 UTC (History)
10 users (show)

Fixed In Version: perl-IO-Socket-SSL-2.073-1.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-23 11:25:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github noxxi p5-io-socket-ssl issues 111 0 None open OpenSSL-3.0.0 support 2021-11-04 15:51:00 UTC

Description Petr Pisar 2021-09-23 12:32:35 UTC
perl-IO-Socket-SSL-2.072-2.fc36 fails to build in Fedora 36 because few tests fail:

t/connectSSL-timeout.t ............ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 8/16 subtests 

#   Failed test 'Server Getlines Check 1'
#   at t/core.t line 251.
#          got: '0'
#     expected: '6'

#   Failed test 'Server Getlines Check 2'
#   at t/core.t line 253.
#          got: undef
#     expected: '1.04
# '

#   Failed test 'Server Getlines Check 3'
#   at t/core.t line 255.
#          got: undef
#     expected: '4
# '

#   Failed test 'Server Getlines Check 4'
#   at t/core.t line 257.
#          got: undef
#     expected: 'y
# '
Use of uninitialized value in join or string at t/core.t line 259.
Use of uninitialized value in join or string at t/core.t line 259.
Use of uninitialized value in join or string at t/core.t line 259.

#   Failed test 'Server Getlines Check 5'
#   at t/core.t line 259.
#          got: ''
#     expected: 'Test
# Beaver
# Beaver
# '

#   Failed test 'Client Sysread Check'
#   at t/core.t line 137.
#          got: '^@^@aaaaaaaaaaaaaaaaaaaa'
#     expected: '^@^@waaaanf'

#   Failed test 'Client Getline Check'
#   at t/core.t line 147.
#          got: undef
#     expected: 'Test
# '

#   Failed test 'Client Getc Check'
#   at t/core.t line 149.
#          got: '0'
#     expected: '$'

#   Failed test 'Client Getlines Check 1'
#   at t/core.t line 152.
#          got: '0'
#     expected: '6'

#   Failed test 'Client Getlines Check 2'
#   at t/core.t line 154.
#          got: undef
#     expected: '1.04
# '

#   Failed test 'Client Getlines Check 3'
#   at t/core.t line 156.
#          got: undef
#     expected: '4
# '

#   Failed test 'Client Getlines Check 4'
#   at t/core.t line 158.
#          got: undef
#     expected: 'y
# '
Use of uninitialized value in join or string at t/core.t line 160.
Use of uninitialized value in join or string at t/core.t line 160.
Use of uninitialized value in join or string at t/core.t line 160.

#   Failed test 'Client Getlines Check 5'
#   at t/core.t line 160.
#          got: ''
#     expected: 'Test
# Beaver
# Beaver
# '
t/core.t .......................... 
Failed 13/48 subtests 
[...]
t/public_suffix_ssl.t ............. ok
Use of uninitialized value $c[0] in string eq at t/readline.t line 34.
Use of uninitialized value $b in string eq at t/readline.t line 48.
Use of uninitialized value $b in concatenation (.) or string at t/readline.t line 48.
Use of uninitialized value $c[0] in string eq at t/readline.t line 58.
Use of uninitialized value $c[0] in string eq at t/readline.t line 71.
Use of uninitialized value $c[0] in string eq at t/readline.t line 84.
t/readline.t ...................... 
Failed 5/19 subtests 
[...]
Test Summary Report
-------------------
t/connectSSL-timeout.t          (Wstat: 256 Tests: 10 Failed: 2)
  Failed tests:  9-10
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 16 tests but ran 10.
t/core.t                        (Wstat: 0 Tests: 48 Failed: 13)
  Failed tests:  22-34
t/readline.t                    (Wstat: 0 Tests: 19 Failed: 5)
  Failed tests:  4, 7, 10, 13, 16
Files=41, Tests=786, 45 wallclock secs ( 0.14 usr  0.05 sys +  9.49 cusr  1.18 csys = 10.86 CPU)
Result: FAIL

This is a difference between passing and failing build root:

Removed packages:
        audit-libs-3.0.5-2.fc36
        crypto-policies-20210819-1.gitd0fdcfb.fc36
        curl-7.78.0-4.fc36
        filesystem-3.14-7.fc35
        gdb-minimal-10.2-6.fc35
        glibc-2.34.9000-6.fc36
        glibc-common-2.34.9000-6.fc36
        glibc-gconv-extra-2.34.9000-6.fc36
        glibc-minimal-langpack-2.34.9000-6.fc36
        libcap-ng-0.8.2-6.fc35
        libcurl-7.78.0-4.fc36
        libdb-5.3.28-49.fc36
        libnghttp2-1.44.0-2.fc35
        librtas-2.0.2-11.fc35
        libssh-0.9.5-3.fc36
        libssh-config-0.9.5-3.fc36
        libxcrypt-4.4.25-3.fc36
        openldap-2.4.59-2.fc35
        openssl1.1-1.1.1k-1.fc36
        pam-1.5.2-1.fc36
        perl-Math-BigInt-1.9998.23-2.fc35
        perl-Net-LibIDN-0.12-41.fc35
        perl-Net-SSLeay-1.90-4.fc35
        perl-Scalar-List-Utils-1.56-461.fc35
        perl-Test-Simple-1.302186-1.fc35
        popt-1.18-6.fc35
        python-srpm-macros-3.10-7.fc35
        redhat-rpm-config-197-1.fc36
        rpm-4.17.0-1.fc36
        rpm-build-4.17.0-1.fc36
        rpm-build-libs-4.17.0-1.fc36
        rpm-libs-4.17.0-1.fc36
        shadow-utils-4.9-3.fc36
        systemd-libs-249.4-1.fc36
Added packages:
        audit-libs-3.0.5-3.fc36
        crypto-policies-20210917-1.gitc9d86d1.fc36
        curl-7.79.1-1.fc36
        filesystem-3.16-1.fc36
        gdb-minimal-10.2-7.fc36
        glibc-2.34.9000-8.fc36
        glibc-common-2.34.9000-8.fc36
        glibc-gconv-extra-2.34.9000-8.fc36
        glibc-minimal-langpack-2.34.9000-8.fc36
        libcap-ng-0.8.2-7.fc36
        libcurl-7.79.1-1.fc36
        libdb-5.3.28-50.fc36
        libnghttp2-1.45.1-1.fc36
        libssh-0.9.6-1.fc36
        libssh-config-0.9.6-1.fc36
        libxcrypt-4.4.26-4.fc36
        openldap-2.4.59-3.fc36
        openssl1.1-1.1.1l-1.fc36
        pam-1.5.2-5.fc36
        perl-Math-BigInt-1.9998.24-1.fc36
        perl-Net-LibIDN-0.12-41.fc36
        perl-Net-SSLeay-1.90-6.fc36
        perl-Scalar-List-Utils-1.59-461.fc36
        perl-Test-Simple-1.302187-1.fc36
        popt-1.18-6.fc36
        python-srpm-macros-3.10-8.fc36
        redhat-rpm-config-199-1.fc36
        rpm-4.17.0-1.fc36.1
        rpm-build-4.17.0-1.fc36.1
        rpm-build-libs-4.17.0-1.fc36.1
        rpm-libs-4.17.0-1.fc36.1
        shadow-utils-4.9-4.fc36
        systemd-libs-249.4-2.fc36

Comment 1 Paul Howarth 2021-09-23 14:42:01 UTC
These failures happened after I updated perl-Net-SSLeay to include upstream's fixes for OpenSSL 3.0.0 (plus an additional workaround that upstream want to fix differently) and rebuilt that package. The previous passing build would have been with the old perl-Net-SSLeay that was built with OpenSSL 1.1.1. I wonder what's still pulling in OpenSSL 1.1.1?

Comment 2 Petr Pisar 2021-09-23 15:07:13 UTC
I think OpenSSL 1.1.1 is pulled in by few non-Perl packages. On my virtual machine:

# rpm -q --whatrequires 'libssl.so.1.1()(64bit)'
ruby-libs-3.0.2-152.fc36.x86_64
krb5-libs-1.19.2-3.fc36.x86_64
root@fedora-36:~ # rpm -q --whatrequires 'libcrypto.so.1.1()(64bit)'
ruby-libs-3.0.2-152.fc36.x86_64
krb5-libs-1.19.2-3.fc36.x86_64
libarchive-3.5.2-2.fc36.x86_64
openssl1.1-1.1.1l-1.fc36.x86_64

I can see krb5-libs in root.log of the linked scratch build.

Comment 3 Paul Howarth 2021-12-23 11:25:32 UTC
Fixed with new upstream release 2.073.


Note You need to log in before you can comment on or make changes to this bug.