Hello,
I'm having problems with Perl-bundle-CPAN. I'm not interested directly
on it, but it is pulled as a dependency when I try to install some packages.
The error happens when one of the hundreds of extensions is installed:
FileZilla. The log says, in part:
== 2025-03-11 11:35:18,148 build_log.py:171 ERROR EasyBuild crashed with
an error (at easybuild/base/exceptions.py:126 in __init__): cmd "make
test" exited with exit c
ode 2 and output:
Skip
blib/lib/auto/share/module/Dist-Zilla-MintingProfile-Default/default/profile.ini
(unchanged)
Skip
blib/lib/auto/share/module/Dist-Zilla-MintingProfile-Default/default/extra-dist.ini
(unchanged)
PERL_DL_NONLAZY=1
"/cluster/EasyBuild/apps/Perl/5.38.0-GCCcore-13.2.0/bin/perl"
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
*Test::Harness::Switches; test_
harness(0, 'blib/lib', 'blib/arch')" t/*.t t/commands/*.t
t/diagnostics/*.t t/plugins/*.t
...
t/plugins/prereqs.t ............. ok
t/plugins/prunes.t .............. ok
t/plugins/readme.t .............. ok
t/plugins/release_status.t ...... ok
: checksum error at
/dev/shm/eb/PerlbundleCPAN/5.38.0/GCCcore-13.2.0/DistZilla/Dist-Zilla-6.030/blib/lib/Dist/Zilla/Plugin/TestRelease.pm
line 46.
: checksum error at
/dev/shm/eb/PerlbundleCPAN/5.38.0/GCCcore-13.2.0/DistZilla/Dist-Zilla-6.030/blib/lib/Dist/Zilla/Plugin/TestRelease.pm
line 46.
Could not remove old file
'/dev/shm/eb/PerlbundleCPAN/5.38.0/GCCcore-13.2.0/DistZilla/Dist-Zilla-6.030/tmp/cUMrK9H5SP/source/.build/rI_sEbCyJ3/0000/':
Is a directory a
t
/dev/shm/eb/PerlbundleCPAN/5.38.0/GCCcore-13.2.0/DistZilla/Dist-Zilla-6.030/blib/lib/Dist/Zilla/Plugin/TestRelease.pm
line 46.
# Failed test 'No failures occured in testing the release with
TestRelease'
# at t/plugins/testrelease.t line 27.
# got: '[TestRelease] Failed to extract archive: Could not
remove old file
'/dev/shm/eb/PerlbundleCPAN/5.38.0/GCCcore-13.2.0/DistZilla/Dist-Zilla-6.030/tmp/cU
MrK9H5SP/source/.build/rI_sEbCyJ3/0000/': Is a directory at inline
delegation in Dist::Zilla::Plugin::TestRelease for logger->log_fatal
(attribute declared in /dev/shm
/eb/PerlbundleCPAN/5.38.0/GCCcore-13.2.0/DistZilla/Dist-Zilla-6.030/blib/lib/Dist/Zilla/Role/Plugin.pm
at line 61) line 18.
# '
# expected: undef
# Failed test 'Release happened'
# at t/plugins/testrelease.t line 30.
...
As far as I understand, the problem seems to be that the tests in
FileZilla cannot remove an old directory (from a previous test in the
same execution of "make test", since before or after that directory is
absent) and the tests fail.
The same problems occurs with different versions of Perl-bundle-CPAN
(different packages that I'm interested in pull different versions of
the same bundle). Also I tried running the same eb command on different
systems with different versions of EasyBuild and different
configurations: it stops with the same error. I tried to build on
different directories with different permissions (and umasks!) too but
I'm getting the same. All this tells me that it is probably an error in
my way of using EasyBuild, but I cannot see what I'm doing wrong. Some
wrong configuration maybe? The thing is everything else works when I
install software with EasyBuild (apart from some checksum error here and
there).
Any help will be appreciated.
Below I include the full log of the failing command.
Thank you in advance,
--
David Palao
HPC Administration
--
# output for command: make test
Skip
blib/lib/auto/share/module/Dist-Zilla-MintingProfile-Default/default/extra-dist.ini
(unchanged)
Skip
blib/lib/auto/share/module/Dist-Zilla-MintingProfile-Default/default/profile.ini
(unchanged)
PERL_DL_NONLAZY=1
"/cluster/EasyBuild/apps/Perl/5.38.0-GCCcore-13.2.0/bin/perl"
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
*Test::Harness::Switches; test_
harness(0, 'blib/lib', 'blib/arch')" t/*.t t/commands/*.t
t/diagnostics/*.t t/plugins/*.t
#
# Versions for all modules listed in MYMETA.json (including optional ones):
#
# === Configure Requires ===
#
# Module Want Have
# ----------------------- ---- ----
# ExtUtils::MakeMaker 6.78 7.70
# File::ShareDir::Install 0.06 0.14
#
# === Build Requires ===
#
# Module Want Have
# ------------------- ---- ----
# ExtUtils::MakeMaker any 7.70
#
# === Test Requires ===
#
# Module Want Have
# ------------------------ ----- --------
# CPAN::Meta::Check 0.011 0.018
# CPAN::Meta::Requirements 2.121 2.140
# ExtUtils::MakeMaker any 7.70
# ExtUtils::Manifest 1.66 1.73
# File::Spec any 3.75
# Software::License::None any 0.104004
# Test::FailWarnings any 0.008
# Test::Fatal any 0.017
# Test::File::ShareDir any 1.001002
# Test::More 0.96 1.302195
# lib any 0.65
# strict any 1.12
#
# === Test Recommends ===
#
# Module Want Have
# ---------- -------- --------
# CPAN::Meta 2.120900 2.150010
#
# === Runtime Requires ===
#
# Module Want Have
# ------------------------------------------ -------- ----------
# App::Cmd::Command::version any 0.336
# App::Cmd::Setup 0.330 0.336
# App::Cmd::Tester 0.306 0.336
# App::Cmd::Tester::CaptureExternal any 0.336
# Archive::Tar any 2.40
# CPAN::Meta::Converter 2.101550 2.150010
# CPAN::Meta::Merge any 2.150010
# CPAN::Meta::Prereqs 2.120630 2.150010
# CPAN::Meta::Requirements 2.121 2.140
# CPAN::Meta::Validator 2.101550 2.150010
# CPAN::Uploader 0.103004 0.103018
# Carp any 1.50
# Config::INI::Reader any 0.029
# Config::MVP 2.200011 2.200013
# Config::MVP::Assembler any 2.200013
# Config::MVP::Assembler::WithBundles 2.200010 2.200013
# Config::MVP::Reader 2.101540 2.200013
# Config::MVP::Reader::Findable::ByExtension any 2.200013
# Config::MVP::Reader::Finder any 2.200013
# Config::MVP::Reader::INI 2.101461 2.101465
# Config::MVP::Section 2.200009 2.200013
# Data::Dumper any 2.183
# Data::Section 0.200002 0.200008
# DateTime 0.44 1.59
# Digest::MD5 any 2.58_01
# Encode any 3.19
# ExtUtils::Manifest 1.66 1.73
# File::Copy::Recursive 0.41 0.45
# File::Find::Rule any 0.34
# File::Path any 2.18
# File::ShareDir any 1.118
# File::ShareDir::Install 0.03 0.14
# File::Spec any 3.75
# File::Temp any 0.2311
# File::pushd any 1.016
# JSON::MaybeXS any 1.004005
# List::Util 1.45 1.63
# Log::Dispatchouli 1.102220 3.007
# Mixin::Linewise::Readers 0.100 0.111
# Module::CoreList any 5.20230520
# Module::Runtime any 0.016
# Moose 0.92 2.2206
# Moose::Role any 2.2206
# Moose::Util::TypeConstraints any 2.2206
# MooseX::LazyRequire any 0.11
# MooseX::Role::Parameterized 1.01 1.11
# MooseX::SetOnce any 0.203
# MooseX::Types any 0.50
# MooseX::Types::Moose any 0.50
# MooseX::Types::Perl any 0.101344
# PPI::Document 1.222 1.277
# Params::Util any 1.102
# Path::Tiny 0.052 0.144
# Perl::PrereqScanner 1.016 1.100
# Pod::Simple any 3.43
# Scalar::Util any 1.63
# Software::License 0.104001 0.104004
# Software::LicenseUtils any 0.104004
# String::Formatter 0.100680 1.235
# String::RewritePrefix 0.006 0.009
# Sub::Exporter any 0.990
# Sub::Exporter::ForMethods any 0.100055
# Sub::Exporter::Util any 0.990
# Term::ANSIColor 5.00 5.01
# Term::Encoding any 0.03
# Term::ReadKey any 2.38
# Term::ReadLine any 1.17
# Term::UI any 0.50
# Test::Deep any 1.204
# Text::Glob 0.08 0.11
# Text::Template any 1.61
# Try::Tiny any 0.31
# YAML::Tiny any 1.74
# autodie any 2.36
# experimental any 0.031
# namespace::autoclean any 0.29
# parent any 0.241
# perl 5.020000 5.038000
# utf8 any 1.25
# version any 0.9930
# warnings any 1.65
#
# === Runtime Recommends ===
#
# Module Want Have
# --------------------- ----- -------
# App::cpanminus any missing
# Archive::Tar::Wrapper 0.15 missing
# Data::OptList 0.110 0.114
# Term::ReadLine::Gnu any missing
#
# === Runtime Suggests ===
#
# Module Want Have
# ------- ---- -------
# PPI::XS any missing
#
t/00-report-prereqs.t ........... ok
t/commands/authordeps.t ......... ok
t/commands/listdeps.t ........... ok
t/compile.t ..................... ok
t/diagnostics/main-module.t ..... ok
t/diagnostics/plugin-fail.t ..... ok
t/distpl.t ...................... ok
t/empty-abstract.t .............. ok
t/file-addedby.t ................ ok
t/file.t ........................ ok
t/load_config.t ................. ok
t/minter.t ...................... ok
t/plugins/archive_builder.t ..... ok
t/plugins/autolicense.t ......... ok
t/plugins/autoname.t ............ ok
t/plugins/autoprereqs.t ......... ok
t/plugins/autoversion.t ......... ok
t/plugins/confirmrelease.t ...... ok
t/plugins/cpanfile.t ............ ok
t/plugins/distmeta-merge.t ...... ok
t/plugins/distmeta.t ............ ok
t/plugins/encoding.t ............ ok
t/plugins/extratests.t .......... ok
t/plugins/fakerelease.t ......... ok
t/plugins/ffbyname.t ............ ok
t/plugins/filefinders.t ......... ok
t/plugins/filter-b.t ............ ok
t/plugins/gatherdir.t ........... ok
t/plugins/gatherfile.t .......... ok
t/plugins/generatefile.t ........ ok
t/plugins/installdirs.t ......... ok
t/plugins/license.t ............. ok
t/plugins/makemaker.t ........... ok
t/plugins/manifest.t ............ ok
t/plugins/metanoindex.t ......... ok
t/plugins/metaresources.t ....... ok
t/plugins/misctests.t ........... ok
t/plugins/modulebuild.t ......... ok
t/plugins/munger-that-prunes.t .. ok
t/plugins/nextrelease.t ......... ok
t/plugins/pkgdist.t ............. ok
t/plugins/pkgversion.t .......... ok
t/plugins/podsyntaxtests.t ...... ok
t/plugins/podversion.t .......... ok
t/plugins/prereqs.t ............. ok
t/plugins/prunes.t .............. ok
t/plugins/readme.t .............. ok
t/plugins/release_status.t ...... ok
: checksum error at
/dev/shm/eb/PerlbundleCPAN/5.38.0/GCCcore-13.2.0/DistZilla/Dist-Zilla-6.030/blib/lib/Dist/Zilla/Plugin/TestRelease.pm
line 46.
: checksum error at
/dev/shm/eb/PerlbundleCPAN/5.38.0/GCCcore-13.2.0/DistZilla/Dist-Zilla-6.030/blib/lib/Dist/Zilla/Plugin/TestRelease.pm
line 46.
Could not remove old file
'/dev/shm/eb/PerlbundleCPAN/5.38.0/GCCcore-13.2.0/DistZilla/Dist-Zilla-6.030/tmp/iRd3jO7cR9/source/.build/T94ba5QPjL/0000/':
Is a directory a
t
/dev/shm/eb/PerlbundleCPAN/5.38.0/GCCcore-13.2.0/DistZilla/Dist-Zilla-6.030/blib/lib/Dist/Zilla/Plugin/TestRelease.pm
line 46.
# Failed test 'No failures occured in testing the release with
TestRelease'
# at t/plugins/testrelease.t line 27.
# got: '[TestRelease] Failed to extract archive: Could not
remove old file
'/dev/shm/eb/PerlbundleCPAN/5.38.0/GCCcore-13.2.0/DistZilla/Dist-Zilla-6.030/tmp/iR
d3jO7cR9/source/.build/T94ba5QPjL/0000/': Is a directory at inline
delegation in Dist::Zilla::Plugin::TestRelease for logger->log_fatal
(attribute declared in /dev/shm
/eb/PerlbundleCPAN/5.38.0/GCCcore-13.2.0/DistZilla/Dist-Zilla-6.030/blib/lib/Dist/Zilla/Role/Plugin.pm
at line 61) line 18.
# '
# expected: undef
# Failed test 'Release happened'
# at t/plugins/testrelease.t line 30.
# Looks like you failed 2 tests of 3.
t/plugins/testrelease.t .........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
t/plugins/uploadtocpan.t ........ ok
t/tester-demo.t ................. ok
t/tester-local-plugins.t ........ ok
t/tester-sort.t ................. ok
: checksum error at t/tester.t line 27.
# Failed test 'Makefile.PL is located at the root of a Test-built archive'
# at t/tester.t line 31.
No such file in archive: 'DZT-0.001/Makefile.PL' at t/tester.t line 36.
Can't call method "get_content" on an undefined value at t/tester.t line 38.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 2.
t/tester.t ......................
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/2 subtests
t/util.t ........................ ok
t/zzz-check-breaks.t ............ ok
Test Summary Report
-------------------
t/plugins/testrelease.t (Wstat: 512 (exited 2) Tests: 3 Failed: 2)
Failed tests: 2-3
Non-zero exit status: 2
t/tester.t (Wstat: 65280 (exited 255) Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=56, Tests=490, 27 wallclock secs ( 0.09 usr 0.04 sys + 20.78 cusr
2.40 csys = 23.31 CPU)
Result: FAIL
Failed 2/56 test programs. 3/490 subtests failed.
make: *** [Makefile:1615: test_dynamic] Error 255