Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Carp-1.25 failed tests #267

Closed
celogeek opened this Issue · 9 comments

2 participants

@celogeek

perl 5.14.2 ubuntu 64 bits with threads :

Carp 1.25 :

cpanm (App::cpanminus) 1.5008 on perl 5.014002 built for x86_64-linux-thread-multi
Work directory is /home/geistteufel/.cpanm/work/1333111490.10964
You have make /usr/bin/make
You have LWP 6.04
You have /bin/tar: tar (GNU tar) 1.25
Copyright © 2010 Free Software Foundation, Inc.
Licence GPLv3+ : GNU GPL version 3 ou ultérieure <http://gnu.org/licenses/gpl.html>
Ceci est un logiciel libre : vous êtes libre de le modifier et de le redistribuer.
Il est fourni SANS GARANTIE, dans la mesure de ce que permet la loi.

Écrit par John Gilmore et Jay Fenlason.
Searching Carp on cpanmetadb ...
--> Working on Carp
Fetching http://cpan.celogeek.com/authors/id/Z/ZE/ZEFRAM/Carp-1.25.tar.gz ... OK
Unpacking Carp-1.25.tar.gz
Carp-1.25/
Carp-1.25/META.yml
Carp-1.25/MANIFEST
Carp-1.25/Changes
Carp-1.25/README
Carp-1.25/Makefile.PL
Carp-1.25/lib/
Carp-1.25/lib/Carp.pm
Carp-1.25/lib/Carp/
Carp-1.25/lib/Carp/Heavy.pm
Carp-1.25/META.json
Carp-1.25/t/
Carp-1.25/t/with_warnings.t
Carp-1.25/t/swash.t
Carp-1.25/t/Carp.t
Carp-1.25/t/vivify_stash.t
Carp-1.25/t/vivify_gv.t
Carp-1.25/t/heavy.t
Entering Carp-1.25
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.62)
Configuring Carp-1.25 ... Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Carp
Writing MYMETA.yml and MYMETA.json
OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.62)
Checking if you have warnings 0 ... Yes (1.12)
Checking if you have strict 0 ... Yes (1.04)
Checking if you have Test::More 0 ... Yes (1.005000_004)
Checking if you have Exporter 0 ... Yes (5.66)
Checking if you have IPC::Open3 1.0103 ... Yes (1.09)
Building and testing Carp-1.25 ... cp lib/Carp.pm blib/lib/Carp.pm
cp lib/Carp/Heavy.pm blib/lib/Carp/Heavy.pm
Manifying blib/man3/Carp.3
PERL_DL_NONLAZY=1 /home/geistteufel/perl5/perlbrew/perls/perl-test-builder2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

#   Failed test 'Correct arguments for B'
#   at t/Carp.t line 361.
#                   'Error at D line 9.
#   eval {...} called at D line 9
#   D::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at C line 8
#   C::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at B line 8
#   B::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at A line 8
#   A::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at t/Carp.t line 348
# '
#     doesn't match '(?^:B::long\(\*\*\ Incomplete\ caller\ override\ detected\;\ \@DB\:\:args\ were\ not\ set\ \*\*\) called at A line \d+)'

#   Failed test 'Correct arguments for C'
#   at t/Carp.t line 361.
#                   'Error at D line 9.
#   eval {...} called at D line 9
#   D::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at C line 8
#   C::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at B line 8
#   B::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at A line 8
#   A::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at t/Carp.t line 348
# '
#     doesn't match '(?^:C::long\(\*\*\ Incomplete\ caller\ override\ detected\;\ \@DB\:\:args\ were\ not\ set\ \*\*\) called at B line \d+)'

#   Failed test 'Correct arguments for D'
#   at t/Carp.t line 361.
#                   'Error at D line 9.
#   eval {...} called at D line 9
#   D::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at C line 8
#   C::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at B line 8
#   B::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at A line 8
#   A::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at t/Carp.t line 348
# '
#     doesn't match '(?^:D::long\(\*\*\ Incomplete\ caller\ override\ detected\;\ \@DB\:\:args\ were\ not\ set\ \*\*\) called at C line \d+)'

#   Failed test 'Correct arguments for A'
#   at t/Carp.t line 366.
#                   'Error at D line 9.
#   eval {...} called at D line 9
#   D::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at C line 8
#   C::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at B line 8
#   B::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at A line 8
#   A::long(** Incomplete caller override detected in &main::__ANON__; @DB::args were not set **) called at t/Carp.t line 348
# '
#     doesn't match '(?^:A::long\(\*\*\ Incomplete\ caller\ override\ detected\;\ \@DB\:\:args\ were\ not\ set\ \*\*\) called at.+\b(?i:carp\.t) line \d+)'
# 4 tests of 59 failed.
t/Carp.t ........... 
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/59 subtests 
t/heavy.t .......... ok
t/swash.t .......... ok
t/vivify_gv.t ...... ok
t/vivify_stash.t ... ok
t/with_warnings.t .. ok

Test Summary Report
-------------------
t/Carp.t         (Wstat: 1024 Tests: 59 Failed: 4)
  Failed tests:  40-43
  Non-zero exit status: 4
Files=6, Tests=67,  0 wallclock secs ( 0.06 usr  0.03 sys +  0.24 cusr  0.06 csys =  0.39 CPU)
Result: FAIL
Failed 1/6 test programs. 4/67 subtests failed.
make: *** [test_dynamic] Erreur 255
FAIL
! Installing Carp failed. See /home/geistteufel/.cpanm/build.log for details.
@schwern
Owner

This is because Carp.t presumes nothing will vivify the B package (not even load B). Test::More now loads B via it's Mouse stuff. Talked to Zefram about it and he thinks it's worth it.

The B checking stuff in Carp.t should be moved into its own file and use a reduced test library over which it can have total control. I'm happy to leave that to Zefram, but if somebody wants to do it they can.

@celogeek

It will be solved after perl-5.16 release, the Carp version is frozen for the next release

https://rt.cpan.org/Public/Bug/Display.html?id=76167

@celogeek

Dist::Zilla depends on Carp, so the perl 5.14.2 do an upgrade to the 1.25, and fail.
Test::Warn 0.24 depends on Carp 1.22 and fail with TB2.
I install Test::Warn 0.23, and no more deps.

Carp is really a major issue for TB2

@schwern
Owner

Thanks for the investigations.

According to the release schedule the code freeze will be over by mid May. I don't realistically think we'll be ready for stable before then.

Meanwhile, gonna have to work around it. :-/ Maybe just force install Carp 1.25 and leave it installed? Maybe patch Carp and use a patched CPAN?

@celogeek

Actually, first step is to pass CORE test. I'm trying blead version with TB2 integrated. If the Core pass, it should be easier to release this version. So any author can patch their program with the new release. Right?

@schwern
Owner

Getting it working with the core couldn't hurt, but TB1.5 will go out on CPAN before it goes into the core. Putting it into the core adds complications to the release process at a time when we're likely to be rapidly fixing bugs.

@celogeek

Actually, it doesn't work with the core, they is some copy of test-more in a test.pl, with less stuff from test-more and new stuff for the tests. So it is hard to solve this.
Some test which directly use Test::More doesn't work and don't end at all.
So I keep continue on CPAN.

@schwern
Owner

They're supposed to have their own t/test.pl separate from ours. Is the core's test.pl interfering?

Could you post the core test failures and non-exits as issues please?

@celogeek

Ok I will do that. I try again and post what I have found.

@schwernbot schwernbot referenced this issue in Test-More/TB2
Open

Carp-1.25 failed tests #44

@schwern schwern closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.