Bug 2299447

Summary: perl-Net-DNS-SEC-1.24-3.fc41 FTBFS: tests fail: libcrypto error (SEC.xs line 274) at blib/lib/Net/DNS/SEC/RSA.pm line 73
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Net-DNS-SECAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: paul.wouters, perl-devel, perl-maint, ppisar, wjhns174
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Net-DNS-SEC-1.24-4.fc41 perl-Net-DNS-SEC-1.25-1.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-24 14:15:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2260875    

Description Petr Pisar 2024-07-23 08:30:48 UTC
perl-Net-DNS-SEC-1.24-3.fc41 fails to build in Fedora 41 because tests fail:

t/00-install.t ..... ok
#
# These tests were run using:
#       Net::DNS                   1.45
#       Net::DNS::SEC              1.24
#       Net::DNS::SEC::libcrypto   1975         OpenSSL 3.2.2 4 Jun 2024
#       Carp                       1.54
#       DynaLoader                 1.56
#       Exporter                   5.78
#       ExtUtils::MakeMaker        7.70
#       File::Find                 1.44
#       File::Spec                 3.90
#       IO::File                   1.55
#       MIME::Base64               3.16
#       Test::More                 1.302199
t/00-load.t ........ ok
t/00-pod.t ......... ok
t/10-keyset.t ...... ok
t/20-digest.t ...... ok
t/21-RSA-MD5.t ..... ok
libcrypto error (SEC.xs line 274) at /home/test/fedora/perl-Net-DNS-SEC/perl-Net-DNS-SEC-1.24-build/Net-DNS-SEC-1.24/blib/lib/Net/DNS/SEC/RSA.pm line 73.
# Looks like your test exited with 255 just after 5.
t/22-RSA-SHA1.t ....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/8 subtests
t/23-RSA-SHA256.t .. ok
t/24-RSA-SHA512.t .. ok
libcrypto error (SEC.xs line 274) at /home/test/fedora/perl-Net-DNS-SEC/perl-Net-DNS-SEC-1.24-build/Net-DNS-SEC-1.24/blib/lib/Net/DNS/SEC/DSA.pm line 73.
# Looks like your test exited with 255 just after 7.
t/31-DSA-SHA1.t ....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/13 subtests
t/51-ECDSA-P256.t .. ok
t/52-ECDSA-P384.t .. ok
t/61-Ed25519.t ..... ok
t/62-Ed448.t ....... ok

Test Summary Report
-------------------
t/22-RSA-SHA1.t  (Wstat: 65280 (exited 255) Tests: 5 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 8 tests but ran 5.
t/31-DSA-SHA1.t  (Wstat: 65280 (exited 255) Tests: 7 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 13 tests but ran 7.
Files=14, Tests=182,  2 wallclock secs ( 0.05 usr  0.01 sys +  1.33 cusr  0.23 csys =  1.62 CPU)
Result: FAIL
Failed 2/14 test programs. 0/182 subtests failed.

Comment 1 Petr Pisar 2024-07-23 08:45:40 UTC
This is triggered by upgrading crypto-policies to 20240717-1.git154fd4e.fc41 which disabled SHA-1.

Comment 2 Fedora Update System 2024-07-26 10:04:41 UTC
FEDORA-2024-a86e46d000 (perl-Net-DNS-SEC-1.25-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-a86e46d000

Comment 3 Fedora Update System 2024-07-27 02:26:45 UTC
FEDORA-2024-a86e46d000 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-a86e46d000`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-a86e46d000

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2024-08-06 09:33:04 UTC
FEDORA-2024-a86e46d000 (perl-Net-DNS-SEC-1.25-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.