Skip to content

add existing patches to fix failing tests for Net::SSLeay 1.94 and Sys::Info::Driver::Linux 0.7905 to relevant versions of Perl-bundle-CPAN#24186

Merged
Micket merged 4 commits intoeasybuilders:developfrom
bedroge:perl_cpan_bundle_5.40.0_ssleay_patch
Oct 10, 2025
Merged

add existing patches to fix failing tests for Net::SSLeay 1.94 and Sys::Info::Driver::Linux 0.7905 to relevant versions of Perl-bundle-CPAN#24186
Micket merged 4 commits intoeasybuilders:developfrom
bedroge:perl_cpan_bundle_5.40.0_ssleay_patch

Conversation

@bedroge
Copy link
Copy Markdown
Contributor

@bedroge bedroge commented Oct 10, 2025

Ran into the following issue when building Perl-CPAN-bundle 5.40.0 for EESSI (see EESSI/software-layer#1228).

t/local/31_rsa_generate_key.t ............... ok

#   Failed test 'X509V3_EXT_print nid=103       extended-cert.cert.pem:4'
#   at t/local/32_x509_get_cert_info.t line 273.
#          got: 'Full Name:
#   URI:http://intermediate-ca.net-ssleay.example/crl1.crl
# 
# Full Name:
#   URI:http://intermediate-ca.net-ssleay.example/crl2.crl
# '
#     expected: 'Full Name:
#   URI:http://intermediate-ca.net-ssleay.example/crl1.crl
# Full Name:
#   URI:http://intermediate-ca.net-ssleay.example/crl2.crl'

#   Failed test 'X509V3_EXT_print nid=86        extended-cert.cert.pem:6'
#   at t/local/32_x509_get_cert_info.t line 273.
#          got: 'email:[email protected], URI:http://intermediate-ca.net-ssleay.example, DNS:intermediate-ca.net-ssleay.example, Registered ID:1.2.0.0, IP Address:192.
168.0.1, IP Address:FD25:F814:AFB5:9873:0:0:0:1, othername: emailAddress:[email protected]'
#     expected: 'email:[email protected], URI:http://intermediate-ca.net-ssleay.example, DNS:intermediate-ca.net-ssleay.example, Registered ID:1.2.0.0, IP Address:192.
168.0.1, IP Address:FD25:F814:AFB5:9873:0:0:0:1, othername: emailAddress::[email protected]'

#   Failed test 'X509V3_EXT_print nid=85        extended-cert.cert.pem:8'
#   at t/local/32_x509_get_cert_info.t line 273.
#          got: 'email:[email protected], URI:http://johndoe.net-ssleay.example, DNS:johndoe.net-ssleay.example, Registered ID:1.2.3.4, IP Address:192.168.0.2, IP Address:FD2
5:F814:AFB5:9873:0:0:0:2, othername: emailAddress:[email protected]'
#     expected: 'email:[email protected], URI:http://johndoe.net-ssleay.example, DNS:johndoe.net-ssleay.example, Registered ID:1.2.3.4, IP Address:192.168.0.2, IP Address:FD2
5:F814:AFB5:9873:0:0:0:2, othername: emailAddress::[email protected]'
# Looks like you failed 3 tests of 746.
t/local/32_x509_get_cert_info.t ............. 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/746 subtests 
t/local/33_x509_create_cert.t ............... ok

This is a known issue (radiator-software/p5-net-ssleay#513) for newer OpenSSL 3 versions, and it was fixed with radiator-software/p5-net-ssleay#520. That patch had actually already been applied to version 5.40.2 of the bundle by @Thyre in #23557. Both version 5.38.2 and 5.40.0 of the bundle use the same version of Net:SSLeay and also depend on OpenSSL 3, so I'm applying the same patch to both of them.

edit: while testing the fix, I ran into another failed test for Sys::Info::Driver::Linux:

Can't open /etc/ARRAY(0x1d1a010): No such file or directory at /tmp/bedroge/easybuild/build/PerlbundleCPAN/5.40.0/GCCcore-14.2.0/SysInfoDriverLinux/Sys-Info-Driver-Linux-0.7905/blib/lib/Sys/Info/Driver/Linux/OS.pm line 204.

That had already been solved in Perl-bundle-CPAN-5.36.1-GCCcore-12.3.0.eb. The version of the extension is still the same for all newer easyconfigs, so I'm applying them there as well.

@bedroge bedroge added bug fix 2024a issues & PRs related to 2024a common toolchains 2025a issues & PRs related to 2025a common toolchains labels Oct 10, 2025
@bedroge bedroge changed the title add patch for Net::SSLeay 1.94 to easyconfigs of Perl-CPAN-bundle 5.38.2+5.40.0 add existing patch to fix failing tests for Net::SSLeay 1.94 to Perl-CPAN-bundle 5.38.2 and 5.40.0 Oct 10, 2025
@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Oct 10, 2025

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_ARGS="--installpath /tmp/$USER/pr24186"

@boegelbot
Copy link
Copy Markdown
Collaborator

@bedroge: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=24186 EB_ARGS="--installpath /tmp/$USER/pr24186" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_24186 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 8257

Test results coming soon (I hope)...

Details

- notification for comment with ID 3388597505 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Oct 10, 2025

Test report by @bedroge
FAILED
Build succeeded for 5 out of 7 (2 easyconfigs in total)
aarch64-neoverse-v1-node1.int.aws-rocky88-202310.eessi.io - Linux Rocky Linux 8.10 (Green Obsidian), AArch64, ARM UNKNOWN, Python 3.11.4
See https://gist.github.com/bedroge/787bac80731ef73af6e1f7d0d0392332 for a full test report.

I think this was a locale issue, trying again with LC_ALL=C.

@boegel boegel added this to the next release (5.2.0?) milestone Oct 10, 2025
@bedroge bedroge changed the title add existing patch to fix failing tests for Net::SSLeay 1.94 to Perl-CPAN-bundle 5.38.2 and 5.40.0 add existing patches to fix failing tests for Net::SSLeay 1.94 and Sys::Info::Driver::Linux 0.7905 to relevant versions of Perl-bundle-CPAN Oct 10, 2025
@bedroge bedroge changed the title add existing patches to fix failing tests for Net::SSLeay 1.94 and Sys::Info::Driver::Linux 0.7905 to relevant versions of Perl-bundle-CPAN add existing patches to fix failing tests for Net::SSLeay 1.94 and Sys::Info::Driver::Linux 0.7905 to relevant versions of Perl-bundle-CPAN Oct 10, 2025
@boegel
Copy link
Copy Markdown
Member

boegel commented Oct 10, 2025

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_ARGS="--installpath /tmp/$USER/pr24186-bis"

@boegelbot
Copy link
Copy Markdown
Collaborator

@boegel: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=24186 EB_ARGS="--installpath /tmp/$USER/pr24186-bis" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_24186 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 8261

Test results coming soon (I hope)...

Details

- notification for comment with ID 3388981607 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Oct 10, 2025

Test report by @bedroge
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in total)
aarch64-neoverse-v1-node1.int.aws-rocky88-202310.eessi.io - Linux Rocky Linux 8.10 (Green Obsidian), AArch64, ARM UNKNOWN, Python 3.11.4
See https://gist.github.com/bedroge/e8dc9bf12b9aa33f46a648ad3a9b5dfd for a full test report.

@Thyre Thyre added the 2025b issues & PRs related to 2025b common toolchains label Oct 10, 2025
@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Oct 10, 2025

Successful test build for 5.40.0 on NVIDIA Grace: EESSI/software-layer#1228 (comment).

@bedroge
Copy link
Copy Markdown
Contributor Author

bedroge commented Oct 10, 2025

And another one for 5.38.2: EESSI/software-layer#1229 (comment).

@Thyre
Copy link
Copy Markdown
Collaborator

Thyre commented Oct 10, 2025

5.40.2 and 5.40.0


Test report by @Thyre
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in total)
Linux - Linux Arch Linux UNKNOWN, x86_64, AMD Ryzen 7 7800X3D 8-Core Processor (zen4), 1 x AMD Navi 48 [Radeon RX 9070/9070 XT/9070 GRE] (device id: 0x7550, gfx: gfx1201, driver:6.17.1-arch1-1), 1 x AMD Raphael (device id: 0x164e, gfx: gfx1036, driver: 6.17.1-arch1-1), Python 3.13.7
See https://gist.github.com/Thyre/731edb1118cbeaed5de084885425c84d for a full test report.

@Thyre
Copy link
Copy Markdown
Collaborator

Thyre commented Oct 10, 2025

Test report by @Thyre
SUCCESS
Build succeeded for 5 out of 5 (3 easyconfigs in total)
datenlager - Linux Ubuntu 24.04, x86_64, AMD Ryzen 7 3700X 8-Core Processor, Python 3.12.3
See https://gist.github.com/Thyre/91a6b06da35d8627d53e070e83f9c0fd for a full test report.

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.6, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/ff6edfe096482f8c2faa23c140d5f365 for a full test report.

Copy link
Copy Markdown
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@boegel
Copy link
Copy Markdown
Member

boegel commented Oct 10, 2025

Test report by @boegel
SUCCESS
Build succeeded for 4 out of 4 (4 easyconfigs in total)
node4210.shinx.os - Linux RHEL 9.6, x86_64, AMD EPYC 9654 96-Core Processor (zen4), Python 3.9.21
See https://gist.github.com/boegel/ee7ea31f5445613d1204790e2dc73e59 for a full test report.

@Micket Micket merged commit 57b8b8e into easybuilders:develop Oct 10, 2025
8 checks passed
@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 4 out of 4 (4 easyconfigs in total)
jsczen3c4.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.6, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/7d91993da02792801fa7c4cd477c38ac for a full test report.

@bedroge bedroge deleted the perl_cpan_bundle_5.40.0_ssleay_patch branch October 10, 2025 17:50
@verdurin
Copy link
Copy Markdown
Member

Test report by @verdurin
SUCCESS
Build succeeded for 4 out of 4 (4 easyconfigs in total)
easybuild-el8.cloud.in.bmrc.ox.ac.uk - Linux Rocky Linux 8.10 (Green Obsidian), x86_64, Intel Xeon Processor (Skylake, IBRS), Python 3.11.13
See https://gist.github.com/verdurin/fea6501c19c3b2e578005c5957339898 for a full test report.

@boegel boegel removed the change label Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2024a issues & PRs related to 2024a common toolchains 2025a issues & PRs related to 2025a common toolchains 2025b issues & PRs related to 2025b common toolchains bug fix ready-to-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants