Subject: | Failed test 'release halts if perl is too old' |
Some of my smokers report failures which look like this one (though the diffs are not always the same):
...
# Failed test 'release halts if perl is too old'
# at t/03-perl-too-old.t line 39.
# '[EnsureLatestPerl] Module::CoreList is not new enough to check if this is the latest Perl (expected at least 5.20170313) -- (disable check with DZIL_ANY_PERL=1) at /opt/perl-5.24.1t/lib/site_perl/5.24.1/x86_64-linux-thread-multi/Moose/Meta/Method/Delegation.pm line 110.
# '
# doesn't match '(?^:^\[EnsureLatestPerl\] current perl \(5.010000\) is neither the current stable nor development perl \(5.024001, 5.025008\) -- \(disable check with DZIL_ANY_PERL=1\))'
# got log messages: [
# '[DZ] beginning to build DZT-Sample',
# '[GatherDir] considering .',
# '[GatherDir] considering dist.ini',
# '[GatherDir] considering lib',
# '[GatherDir] considering lib/Foo.pm',
# '[GatherDir] adding file dist.ini',
# '[GatherDir] adding file lib/Foo.pm',
# '[DZ] writing DZT-Sample in /tmpfs/.cpan-build-cpansand/2017051218/Dist-Zilla-Plugin-EnsureLatestPerl-0.001-yjCACp/tmp/_BcL5e28zD/build',
# '[DZ] building archive with Archive::Tar; install Archive::Tar::Wrapper 0.15 or newer for improved speed',
# '[DZ] writing archive to DZT-Sample-0.001.tar.gz',
# '[EnsureLatestPerl] Module::CoreList is not new enough to check if this is the latest Perl (expected at least 5.20170313) -- (disable check with DZIL_ANY_PERL=1)'
# ]
# Looks like you failed 1 test of 2.
t/03-perl-too-old.t ....
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
...
It happens also for other people: http://fast-matrix.cpantesters.org/?dist=Dist-Zilla-Plugin-EnsureLatestPerl%200.001;reports=1#sl=4,1
I cannot see an obvious fail/pass pattern.