Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failures of Perl-bundle-CPAN-5.38 on Debian #21080

Open
sdx23 opened this issue Jul 29, 2024 · 0 comments
Open

Test failures of Perl-bundle-CPAN-5.38 on Debian #21080

sdx23 opened this issue Jul 29, 2024 · 0 comments

Comments

@sdx23
Copy link
Contributor

sdx23 commented Jul 29, 2024

Perl-bundle-CPAN-5.38 fails on Debian due to failing tests in Sys::Info::Driver::Linux.

The relevant part of the logs is the following:

t/00-report-prereqs.t .... ok
UNAME: Linux n-hpc-mgmt1 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux

Can't open /etc/ARRAY(0x29327c8): No such file or directory at /dev/shm/adm/PerlbundleCPAN/5.38.0/GCCcore-13.2.0/SysInfoDriverLinuxDeviceCPU/Sys-Info-Driver-Linux-0.7905/blib/lib/Sys/Info/Driver/Linux/OS.pm line 204.
# Looks like your test exited with 2 just after 23.
t/03-basic.t ............. 
Dubious, test returned 2 (wstat 512, 0x200) 
All 23 subtests passed 
Can't open /etc/ARRAY(0x25e2e70): No such file or directory at t/04-distribution.t line 10.

The issue seems to be known upstream: burak/CPAN-Sys-Info-Driver-Linux#2

For anyone stubling upon this: for me I "fixed" this by disabling tests of these modules:

2065     }),
2066     ('Sys::Info::Driver::Linux::Device::CPU', '0.7905', {
2067         'runtest': False,  # Fragile tests
2068         'source_tmpl': 'Sys-Info-Driver-Linux-%(version)s.tar.gz',
2069         'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK'],
2070         'checksums': ['899c329bd3508ec5849ad0e5dadfa7c3679bbacaea9dda12404a7893032e8b7b'],
2071     }),
2072     ('Sys::Info', '0.7811', {
2073         'runtest': False,  # Fragile tests
2074         'source_tmpl': 'Sys-Info-%(version)s.tar.gz',
2075         'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK'],
2076         'checksums': ['566482bff3427c198d7955468ed945a8e736c4a2925151fdef96801ef8a401e1'],
2077     }),
2078     ('CGI', '4.59', {

Yet, I'm indecisive whether to PR this into the official easyconfig. If no, this issue can be closed and just kept for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant