Skip Menu |
 

This queue is for tickets about the Carp CPAN distribution.

Report information
The Basics
Id: 97238
Status: open
Priority: 0/
Queue: Carp

People
Owner: Nobody in particular
Requestors: exodist7 [...] gmail.com
Cc: ether [...] cpan.org
AdminCc:

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



Subject: Ltest Test::Builder alphas break t/Carp.t
Date: Mon, 14 Jul 2014 22:27:20 -0700
To: bug-Carp [...] rt.cpan.org
From: Chad Granum <exodist7 [...] gmail.com>
Download (untitled) / with headers
text/plain 395b
Something in the new Test::Builder appears to break assumptions made by Carp in this test. It probably has to do with stack depth or expectations about where functions are defined or even what they are named. I have not looked to deeply into this, and I am not sure which module (Test::Builder, or Carp) needs to be updated to fix this. Reporting the bug to try and get more eyes on it. -Chad
Download (untitled) / with headers
text/plain 530b
On 2014-07-14 22:27:30, EXODIST wrote: Show quoted text
> Something in the new Test::Builder appears to break assumptions made by > Carp in this test. It probably has to do with stack depth or expectations > about where functions are defined or even what they are named. > > I have not looked to deeply into this, and I am not sure which module > (Test::Builder, or Carp) needs to be updated to fix this. Reporting the bug > to try and get more eyes on it.
Could you paste the output of the relevant tests, and what module versions are involved?
Subject: Re: Ltest Test::Builder alphas break t/Carp.t
Date: Wed, 16 Jul 2014 09:36:43 -0700
To: bug-Carp [...] rt.cpan.org
From: Chad Granum <exodist7 [...] gmail.com>
Download (untitled) / with headers
text/plain 678b
Cap used: http://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/Carp-1.3301.tar.gz Test::* used: http://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Simple-1.001003.tar.gz Output is attached On Mon, Jul 14, 2014 at 10:27 PM, Chad Granum <exodist7@gmail.com> wrote: Show quoted text
> Something in the new Test::Builder appears to break assumptions made by > Carp in this test. It probably has to do with stack depth or expectations > about where functions are defined or even what they are named. > > I have not looked to deeply into this, and I am not sure which module > (Test::Builder, or Carp) needs to be updated to fix this. Reporting the bug > to try and get more eyes on it. > > -Chad >
Download carp_fail.txt
text/plain 5.6k

Message body is not shown because sender requested not to inline it.

Download (untitled) / with headers
text/plain 187b
Subject: carp_fail.txt
Download carp_fail.txt
text/plain 5.6k
# Failed test 'Correct arguments for XB' # at t/Carp.t line 354. # 'Error at XD line 9. # eval {...} called at XD line 9 # XD::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at XC line 8 # XC::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at XB line 8 # XB::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at XA line 8 # XA::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at t/Carp.t line 341 # ' # doesn't match '(?^:XB::long\(\*\*\ Incomplete\ caller\ override\ detected\;\ \@DB\:\:args\ were\ not\ set\ \*\*\) called at XA line \d+)' # Failed test 'Correct arguments for XC' # at t/Carp.t line 354. # 'Error at XD line 9. # eval {...} called at XD line 9 # XD::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at XC line 8 # XC::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at XB line 8 # XB::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at XA line 8 # XA::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at t/Carp.t line 341 # ' # doesn't match '(?^:XC::long\(\*\*\ Incomplete\ caller\ override\ detected\;\ \@DB\:\:args\ were\ not\ set\ \*\*\) called at XB line \d+)' # Failed test 'Correct arguments for XD' # at t/Carp.t line 354. # 'Error at XD line 9. # eval {...} called at XD line 9 # XD::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at XC line 8 # XC::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at XB line 8 # XB::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at XA line 8 # XA::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at t/Carp.t line 341 # ' # doesn't match '(?^:XD::long\(\*\*\ Incomplete\ caller\ override\ detected\;\ \@DB\:\:args\ were\ not\ set\ \*\*\) called at XC line \d+)' # Failed test 'Correct arguments for XA' # at t/Carp.t line 359. # 'Error at XD line 9. # eval {...} called at XD line 9 # XD::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at XC line 8 # XC::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at XB line 8 # XB::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at XA line 8 # XA::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at t/Carp.t line 341 # ' # doesn't match '(?^:XA::long\(\*\*\ Incomplete\ caller\ override\ detected\;\ \@DB\:\:args\ were\ not\ set\ \*\*\) called at.+\b(?i:carp\.t) line \d+)' # Looks like you failed 4 tests of 60. t/Carp.t .. 1..60 ok 1 - Loading doesn't create CORE::GLOBAL::caller ok 2 - we don't overshoot the top stack frame ok 3 - ok 2\n ok 4 - carp 3 ok 5 - cluck 4 ok 6 - croak 5 ok 7 - confess 6 ok 8 ok 9 - caller_info API ok 10 - '...::CARP_NOT used only once' warning from Carp ok 11 - Short messages skip carped package ok 12 - Short messages skip inheritance ok 13 - Short messages skip inheritance ok 14 - Inheritance is transitive ok 15 - Inheritance is transitive ok 16 - Short messages see @CARP_NOT ok 17 - Short messages see @CARP_NOT ok 18 - @CARP_NOT is transitive ok 19 - @CARP_NOT is transitive ok 20 - @CARP_NOT overrides inheritance ok 21 - @CARP_NOT overrides inheritance ok 22 - Short doesn't report Internal ok 23 - Long doesn't report Internal ok 24 - Short doesn't report calls to CarpInternal ok 25 - Long doesn't report CarpInternal ok 26 - Verbose ok 27 - Verbose ok 28 - MaxEvalLen ok 29 - MaxEvalLen ok 30 - MaxArgNums ok 31 - MaxArgNums ok 32 - CarpLevel ok 33 - CarpLevel ok 34 - croak() doesn't clobber $! ok 35 - confess() doesn't clobber $! ok 36 - cluck doesn't quote undef # Not setting @DB::args in caller override ok 37 - test CORE::GLOBAL::caller override in eval ok 38 - test CORE::GLOBAL::caller override in Carp not ok 39 - Correct arguments for XB not ok 40 - Correct arguments for XC not ok 41 - Correct arguments for XD not ok 42 - Correct arguments for XA # Not setting @DB::args in caller override # required B ok 43 - test CORE::GLOBAL::caller override in eval ok 44 - test CORE::GLOBAL::caller override in Carp ok 45 - Correct arguments for XB ok 46 - Correct arguments for XC ok 47 - Correct arguments for XD ok 48 - Correct arguments for XA # setting @DB::args in caller override ok 49 - test CORE::GLOBAL::caller override in eval ok 50 - test CORE::GLOBAL::caller override in Carp ok 51 - Correct arguments for XB ok 52 - Correct arguments for XC ok 53 - Correct arguments for XD ok 54 - Correct arguments for XA ok 55 - Correct arguments for XA ok 56 - Carp can handle UTF8-flagged strings after a syntax error ok 57 - last handle line num is mentioned ok 58 - Carp::longmess works inside CORE::GLOBAL::die ok 59 - Carp doesn't create CARP_NOT or ISA in the caller if they don't exist ok 60 - Carp doesn't autovivify the CARP_NOT or ISA arrays if the globs exists but they lack the ARRAY slot Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/60 subtests Test Summary Report ------------------- t/Carp.t (Wstat: 1024 Tests: 60 Failed: 4) Failed tests: 39-42 Non-zero exit status: 4 Files=1, Tests=60, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.09 cusr 0.01 csys = 0.13 CPU) Result: FAIL
Download (untitled) / with headers
text/plain 380b
On Wed Jul 16 09:37:52 2014, EXODIST wrote: Show quoted text
> Cap used: http://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/Carp- > 1.3301.tar.gz > Test::* used: http://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test- > Simple-1.001003.tar.gz > > Output is attached
oops, that should be this version of Test::Builder: http://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Simple-1.301001_009.tar.gz


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.