Skip Menu |

This queue is for tickets about the Unexpected CPAN distribution.

Report information
The Basics
Id: 93483
Status: rejected
Priority: 0/
Queue: Unexpected

People
Owner: Support [...] RoxSoft.co.uk
Requestors: jquelin [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.22.1



Subject: test failure in 0.22.1
When building the rpm for Unexpected in mageia, I get the following failures on the buildsystem. Note that building locally on my machine went fine, so I guess it may be due to a missing requirement (my local machine has a lot of cpan modules installed, while the buildsystem only installs the mentionned buildrequires. + /usr/bin/perl Build.PL --installdirs=vendor Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Unexpected' version 'v0.22.1' + ./Build Building Unexpected + ./Build test OS: linux, Host: jonund.mageia.org Required: Perl 5.018002 version 0.9902 Module::Build 0.4205 Optional: App::cpanminus undef Environment: $AUTHOR_TESTING undef $AUTOMATED_TESTING undef $EXTENDED_TESTING undef $NONINTERACTIVE_TESTING undef $PERL_CPAN_REPORTER_CONFIG undef $PERL_CR_SMOKER_CURRENT undef $PERL5_CPAN_IS_RUNNING undef $PERL5_CPANPLUS_IS_VERSION undef $TEST_CRITIC undef $TEST_SPELLING undef t/01always_pass.t .. ok t/02pod.t .......... skipped: POD test only for developers t/03podcoverage.t .. skipped: POD coverage test only for developers t/05kwalitee.t ..... skipped: Kwalitee test only for developers t/06yaml.t ......... skipped: YAML test only for developers t/07podspelling.t .. skipped: POD spelling test only for developers t/08memory_leak.t .. skipped: Memory leak test only for developers # Failed test 'Package and default level' # at t/10test_script.t line 73. # 'PracticeKill # ' # doesn't match '(?^mx: \A main \[ \d+ / 1 \] )' # Failed test 'Package and line number' # at t/10test_script.t line 125. # 'PracticeKill # ' # doesn't match '(?^mx: \A main \[ 119 / \d+ \] )' # Failed test 'Stactrace line 1' # at t/10test_script.t line 127. # got: undef # expected: 'main::test_throw line 117' # Failed test 'Stactrace line 2' # at t/10test_script.t line 129. # got: undef # expected: 'main::test_throw1 line 119' # Failed test 'Stactrace line 3' # at t/10test_script.t line 131. # got: undef # expected: 'main line 121' # Failed test 'Stactrace can skip frames' # at t/10test_script.t line 135. # got: undef # expected: 'main::test_throw1 line 119' # Failed test 'Stacktrace can return a scalar' # at t/10test_script.t line 139. # ' # ' # doesn't match '(?^mx: main::test_throw )' # Failed test 'Specific leader level' # at t/10test_script.t line 151. # 'PracticeKill # ' # doesn't match '(?^mx: \A main \[ 147 / 2 \] )' # Failed test 'Placeholer substitution - with quotes' # at t/10test_script.t line 184. # 'cat: 'flap' cannot open: '[?]' # ' # doesn't match '(?^mx: main\[ 178 / \d+ \]:\scat:\s'flap'\scannot\sopen:\s'\[\?\]' )' # Failed test 'Placeholer substitution - without quotes' # at t/10test_script.t line 198. # 'cat: flap cannot open: [?] # ' # doesn't match '(?^mx: main\[ 178 / \d+ \]:\scat:\sflap\scannot\sopen:\s\[\?\] )' # Failed test 'Level greater than number of frames' # at t/10test_script.t line 227. # 'PracticeKill # ' # doesn't match '(?^mx: /1 )' # Looks like you failed 11 tests of 47. t/10test_script.t .. Dubious, test returned 11 (wstat 2816, 0xb00) Failed 11/47 subtests t/20types.t ........ ok t/30functions.t .... ok Test Summary Report ------------------- t/10test_script.t (Wstat: 2816 Tests: 47 Failed: 11) Failed tests: 9, 21-27, 33, 36, 46 Non-zero exit status: 11 Files=10, Tests=87, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.99 cusr 0.13 csys = 1.18 CPU) Result: FAIL Failed 1/10 test programs. 11/87 subtests failed.
On Mon Mar 03 04:27:28 2014, JQUELIN wrote: Show quoted text
> When building the rpm for Unexpected in mageia, I get the following > failures on the buildsystem. Note that building locally on my machine > went fine, so I guess it may be due to a missing requirement
There are no missing dependencies in the distribution
Subject: Re: [rt.cpan.org #93483] test failure in 0.22.1
Date: Mon, 3 Mar 2014 13:28:32 +0100
To: Peter Flanigan via RT <bug-Unexpected [...] rt.cpan.org>
From: Jerome Quelin <jquelin [...] gmail.com>
On 14/03/03 05:54 -0500, Peter Flanigan via RT wrote: Show quoted text
> There are no missing dependencies in the distribution
Ok, then are you relying on a terminal? Do you know what could cause those failures? Jérôme
On Mon Mar 03 07:29:15 2014, jquelin@gmail.com wrote: Show quoted text
> On 14/03/03 05:54 -0500, Peter Flanigan via RT wrote:
> > There are no missing dependencies in the distribution
> > Ok, then are you relying on a terminal? Do you know what could cause > those failures?
I'm relying on the 452 passing CPAN Testing reports that reported no missing dependencies Best guess. Your @INC path has Moo installed in more than one place. An older version is being used instead of the newer one that is specified in the distribution