Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-EnsureLatestPerl CPAN distribution.

Report information
The Basics
Id: 121642
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-EnsureLatestPerl

People
Owner: ether [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.001
Fixed in: 0.003



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.
On 2017-05-12 14:42:52, SREZIC wrote: Show quoted text
> Some of my smokers report failures which look like this one (though > the diffs are not always the same):
It looks like my attempts to fake mock time() and $] in tests weren't always successful. I may have to wait until I get the full reports (i.e. when cpantesters catches up) to properly diagnose this though.
I think this is fixed with version 0.003, but I'll leave this open until I can inspect the cpantesters reports.
On 2017-05-13 10:08:24, ETHER wrote: Show quoted text
> I think this is fixed with version 0.003, but I'll leave this open > until I can inspect the cpantesters reports.
This looks much better: http://fast-matrix.cpantesters.org/?dist=Dist-Zilla-Plugin-EnsureLatestPerl%200.003 Failures only for Windows (probably a different issue) and perls <= 5.10 (probably a missing minperl specification?).