Skip Menu |

This queue is for tickets about the Carp CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: chris [...] computersalat.de
Cc: ribasushi [...] leporine.io
AdminCc:

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



Subject: test failing
+ /usr/bin/make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/arg_regexp.........ok t/arg_string.........ok t/baduni.............ok t/baduni_warnings....ok t/Carp...............ok 13/60 skipped: various reasons t/Carp_overload...... # Failed test 'HASH stringified' # at t/Carp_overload.t line 24. # 'longmess: # at t/Carp_overload.t line 36. # main::call(CODE(0x8f6540), Stringable=HASH(0x759df0), HASH(0x917e60)) called at t/Carp_overload.t line 22 # ' # doesn't match '(?m-xis:bar.*buzz)' # Looks like you failed 1 test of 7. dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 4 Failed 1/7 tests, 85.71% okay t/errno..............ok t/heavy..............ok t/heavy_mismatch.....ok t/stash_deletion.....# Looks like your test died just after 15. dubious Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully t/swash..............ok t/vivify_gv..........ok t/vivify_stash.......ok t/with_warnings......ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/Carp_overload.t 1 256 7 1 4 t/stash_deletion.t 255 65280 15 0 ?? 13 subtests skipped. Failed 2/14 test scripts. 1/194 subtests failed. Files=14, Tests=194, 0 wallclock secs ( 0.22 cusr + 0.06 csys = 0.28 CPU) Failed 2/14 test programs. 1/194 subtests failed. make: *** [test_dynamic] Error 255 perl version 5.10.0
This is due to the test using explain(), which was added in Test::More 0.81_01. Perl 5.10.0 ships Test::More 0.72, and 5.8.9 ships 0.80. Either a versioned dependency needs to be added, or the test adjusted.
I see the same issue on perl 5.8.1, darwin.
I fixed multiple test suite problems with the current Carp module, with the work consisting of 3 commits found here: https://github.com/ribasushi/p5_Carp_RT97409/commits/master It has successfully tested on "virgin perls" with very old versions of Test::More(0.47) Data::Dumper(2.102) and other pieces. The final testing method was: HARNESS_OPTIONS="j10" perlbrew exec perl -MExtUtils::Command::MM -e 'test_harness(0, "lib")' t/* and passed without incident on my 70-ish versions of perl. On Tue Jul 22 22:22:20 2014, https://jimmi.pip.verisignlabs.com/ wrote: Show quoted text
> > ... > t/stash_deletion.....# Looks like your test died just after 15. > dubious > Test returned status 255 (wstat 65280, 0xff00) > after all the subtests completed successfully > ... >
This failure I could *not* reproduce no matter how hard I tried :( Chris, I see that you are running perl 5.10.0 - could I please get the complete `perl -V` (note - capital V) for the perl where this failed? Cheers!
On Wed Oct 14 15:23:15 2015, RIBASUSHI wrote: Show quoted text
> On Tue Jul 22 22:22:20 2014, https://jimmi.pip.verisignlabs.com/ > wrote:
> > > > ... > > t/stash_deletion.....# Looks like your test died just after 15. > > dubious > > Test returned status 255 (wstat 65280, 0xff00) > > after all the subtests completed successfully > > ... > >
> > > This failure I could *not* reproduce no matter how hard I tried :( > > Chris, I see that you are running perl 5.10.0 - could I please get the > complete `perl -V` (note - capital V) for the perl where this failed?
No response for a while, and most of the issues have been respolvede - I am pretty sure this can be closed ( I do not have permissions to do so )
Am Mi 14. Okt 2015, 09:23:15, RIBASUSHI schrieb: Show quoted text
> This failure I could *not* reproduce no matter how hard I tried :( > > Chris, I see that you are running perl 5.10.0 - could I please get the > complete `perl -V` (note - capital V) for the perl where this failed? > > Cheers!
perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=linux, osvers=3.12.57-60.35-xen, archname=x86_64-linux-thread-multi uname='linux tyan 3.12.57-60.35-xen #1 smp tue mar 22 10:47:09 utc 2016 (1cd55eb) x86_64 x86_64 x86_64 gnulinux ' config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=true -Doptimize=-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe -Accflags=-DPERL_USE_SAFE_PUTENV' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe', cppflags='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe' ccversion='', gccversion='4.3.4 [gcc-4_3-branch revision 152973]', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib64' libpth=/lib64 /usr/lib64 /usr/local/lib64 libs=-lm -ldl -lcrypt -lpthread perllibs=-lm -ldl -lcrypt -lpthread libc=/lib64/libc-2.11.3.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.11.3' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_TRACK_MEMPOOL PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at May 20 2016 00:16:40 @INC: /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 .
Subject: Re: [rt.cpan.org #97409] test failing due to missing prereq
Date: Tue, 21 Jun 2016 14:28:27 +0200
To: bug-Carp [...] rt.cpan.org, chris [...] computersalat.de
From: Peter Rabbitson <ribasushi [...] cpan.org>
On 06/21/2016 02:13 PM, https://jimmi.pip.verisignlabs.com/ via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=97409 > > > Am Mi 14. Okt 2015, 09:23:15, RIBASUSHI schrieb:
>> This failure I could *not* reproduce no matter how hard I tried :( >> >> Chris, I see that you are running perl 5.10.0 - could I please get the >> complete `perl -V` (note - capital V) for the perl where this failed? >> >> Cheers!
> perl -V > Summary of my perl5 (revision 5 version 10 subversion 0) configuration: > Platform: > osname=linux, osvers=3.12.57-60.35-xen, archname=x86_64-linux-thread-multi > uname='linux tyan 3.12.57-60.35-xen #1 smp tue mar 22 10:47:09 utc 2016 (1cd55eb) x86_64 x86_64 x86_64 gnulinux ' > config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=true -Doptimize=-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe -Accflags=-DPERL_USE_SAFE_PUTENV' > hint=recommended, useposix=true, d_sigaction=define > useithreads=define, usemultiplicity=define > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > use64bitint=define, use64bitall=define, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > optimize='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe', > cppflags='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe' > ccversion='', gccversion='4.3.4 [gcc-4_3-branch revision 152973]', gccosandvers='' > intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 > alignbytes=8, prototype=define
^^ Does the current version on CPAN still fail? If yes - how? Exactly the same way or different? Thanks! Show quoted text
> Linker and Libraries: > ld='cc', ldflags =' -L/usr/local/lib64' > libpth=/lib64 /usr/lib64 /usr/local/lib64 > libs=-lm -ldl -lcrypt -lpthread > perllibs=-lm -ldl -lcrypt -lpthread > libc=/lib64/libc-2.11.3.so, so=so, useshrplib=true, libperl=libperl.so > gnulibc_version='2.11.3' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE' > cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64' > > > Characteristics of this binary (from libperl): > Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV > PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP > PERL_TRACK_MEMPOOL PERL_USE_SAFE_PUTENV > USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS > USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API > Built under linux > Compiled at May 20 2016 00:16:40 > @INC: > /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi > /usr/lib/perl5/site_perl/5.10.0 > /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.10.0 > /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi > /usr/lib/perl5/5.10.0 > .
Am Di 21. Jun 2016, 08:28:52, RIBASUSHI schrieb: Show quoted text
> ^^ Does the current version on CPAN still fail? If yes - how? Exactly > the same way or different? > > Thanks!
Can't reproduce it ... since I am not able to 'reestablish' the situation where I ran into this error ... in between stuff got updated, also the perl (patched INC_order) I am using... ... thank you for your effort ... ... all in all this can be closed. Thank you :)