Skip Menu |

This queue is for tickets about the List-AllUtils CPAN distribution.

Report information
The Basics
Id: 103497
Status: resolved
Priority: 0/
Queue: List-AllUtils

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

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



Subject: t/01-basic.t fails despite passing all subtests
Today I called 'cpanm DateTime' in order to make sure I had the latest version of that library. See attached file for relevant Perl version. DateTime failed to install, and the output indicated that List::AllUtils had failed to install. I then called 'cpanm List::AllUtils' and again got a failure. Switching to '/Users/jkeenan/.cpanm/latest-build/List-AllUtils-0.09', I then ran 'prove' and got this output: ##### $ prove -vb t/01-basic.t t/01-basic.t .. ok 1 - no exports by default ok 2 - explicitly import first ok 3 - explicitly import any ok 4 - explicitly import apply ok 5 - did not import all ok 6 - Bar::test_first returns expected value All 6 subtests passed Test Summary Report ------------------- t/01-basic.t (Wstat: 11 Tests: 6 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output Files=1, Tests=6, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.02 cusr 0.00 csys = 0.05 CPU) Result: FAIL ##### It's not clear to me why I should get "No plan found in TAP output" when the test file clearly ends with 'done_testing()'. Can you clarify? Thank you very much. Jim Keenan
Subject: perl_V.txt
Summary of my perl5 (revision 5 version 20 subversion 1) configuration: Platform: osname=darwin, osvers=13.2.0, archname=darwin-2level uname='darwin mm-mac-2776.local 13.2.0 darwin kernel version 13.2.0: thu apr 17 23:03:13 pdt 2014; root:xnu-2422.100.13~1release_x86_64 x86_64 ' config_args='-de -Dprefix=/Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1 -Aeval:scriptdir=/Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/bin' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector', optimize='-O3', cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector' ccversion='', gccversion='4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)', 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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector' libpth=/Library/Developer/CommandLineTools/usr/bin/../lib/clang/6.0/lib /Library/Developer/CommandLineTools/usr/lib /usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under darwin Compiled at Oct 28 2014 11:36:37 %ENV: PERL5DIR="/Users/jkeenan/gitwork/perl" PERL5LIB="/Users/jkeenan/adama/extlib/lib/perl5/darwin-2level:/Users/jkeenan/adama/extlib/lib/perl5" PERLBREW_BASHRC_VERSION="0.71" PERLBREW_HOME="/Users/jkeenan/.perlbrew" PERLBREW_MANPATH="/Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/man" PERLBREW_PATH="/Users/jkeenan/perl5/perlbrew/bin:/Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/bin" PERLBREW_PERL="perl-5.20.1" PERLBREW_ROOT="/Users/jkeenan/perl5/perlbrew" PERLBREW_VERSION="0.71" PERL_LOCAL_LIB_ROOT="/Users/jkeenan/adama/extlib" PERL_MB_OPT="--install_base /Users/jkeenan/adama/extlib" PERL_MM_OPT="INSTALL_BASE=/Users/jkeenan/adama/extlib" PERL_WORKDIR="gitwork/perl" @INC: /Users/jkeenan/adama/extlib/lib/perl5/darwin-2level /Users/jkeenan/adama/extlib/lib/perl5/darwin-2level /Users/jkeenan/adama/extlib/lib/perl5 /Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/lib/site_perl/5.20.1/darwin-2level /Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/lib/site_perl/5.20.1 /Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/lib/5.20.1/darwin-2level /Users/jkeenan/perl5/perlbrew/perls/perl-5.20.1/lib/5.20.1 .
On Mon Apr 13 12:46:33 2015, JKEENAN wrote: Show quoted text
> Today I called 'cpanm DateTime' in order to make sure I had the latest > version of that library. See attached file for relevant Perl version. > > DateTime failed to install, and the output indicated that > List::AllUtils had failed to install. I then called 'cpanm > List::AllUtils' and again got a failure. > > Switching to '/Users/jkeenan/.cpanm/latest-build/List-AllUtils-0.09', > I then ran 'prove' and got this output: > > ##### > $ prove -vb t/01-basic.t > t/01-basic.t .. > ok 1 - no exports by default > ok 2 - explicitly import first > ok 3 - explicitly import any > ok 4 - explicitly import apply > ok 5 - did not import all > ok 6 - Bar::test_first returns expected value > All 6 subtests passed > > Test Summary Report > ------------------- > t/01-basic.t (Wstat: 11 Tests: 6 Failed: 0) > Non-zero wait status: 11 > Parse errors: No plan found in TAP output > Files=1, Tests=6, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.02 cusr > 0.00 csys = 0.05 CPU) > Result: FAIL > ##### > > It's not clear to me why I should get "No plan found in TAP output" > when the test file clearly ends with 'done_testing()'. > > Can you clarify?
There are 19 tests in that file. You'll see this sort of things when the test code segfaults mid-stream, in my experience. What versions of List::Util and List::MoreUtils do you have installed?
On Mon Apr 13 13:02:33 2015, DROLSKY wrote: Show quoted text
> On Mon Apr 13 12:46:33 2015, JKEENAN wrote:
> > Today I called 'cpanm DateTime' in order to make sure I had the > > latest > > version of that library. See attached file for relevant Perl > > version. > > > > DateTime failed to install, and the output indicated that > > List::AllUtils had failed to install. I then called 'cpanm > > List::AllUtils' and again got a failure. > > > > Switching to '/Users/jkeenan/.cpanm/latest-build/List-AllUtils-0.09', > > I then ran 'prove' and got this output: > > > > ##### > > $ prove -vb t/01-basic.t > > t/01-basic.t .. > > ok 1 - no exports by default > > ok 2 - explicitly import first > > ok 3 - explicitly import any > > ok 4 - explicitly import apply > > ok 5 - did not import all > > ok 6 - Bar::test_first returns expected value > > All 6 subtests passed > > > > Test Summary Report > > ------------------- > > t/01-basic.t (Wstat: 11 Tests: 6 Failed: 0) > > Non-zero wait status: 11 > > Parse errors: No plan found in TAP output > > Files=1, Tests=6, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.02 cusr > > 0.00 csys = 0.05 CPU) > > Result: FAIL > > ##### > > > > It's not clear to me why I should get "No plan found in TAP output" > > when the test file clearly ends with 'done_testing()'. > > > > Can you clarify?
> > There are 19 tests in that file. You'll see this sort of things when > the test code segfaults mid-stream, in my experience. > > What versions of List::Util and List::MoreUtils do you have installed?
List-Util: 1.38 (what came with perl-5.20.1) List-MoreUtils: 0.33 (subsequently upgraded to 0.410 via 'cpanm') I force-installed List::AllUtils after filing the initial report. To see whether the upgrade of List::MoreUtils made a difference, I tried to uninstall List::AllUtils and then re-install it. ##### [DateTime-1.18] 554 $ cpanm -U List::AllUtils List::AllUtils contains the following files: /Users/jkeenan/adama/extlib/lib/perl5/List/AllUtils.pm /Users/jkeenan/adama/extlib/man/man3/List::AllUtils.3 Are you sure you want to uninstall List::AllUtils? [y] y Unlink: /Users/jkeenan/adama/extlib/lib/perl5/List/AllUtils.pm Unlink: /Users/jkeenan/adama/extlib/man/man3/List::AllUtils.3 Unlink: /Users/jkeenan/adama/extlib/lib/perl5/darwin-2level/auto/List/AllUtils/.packlist Successfully uninstalled List::AllUtils [DateTime-1.18] 555 $ cpanm List::AllUtils --> Working on List::AllUtils Fetching http://www.cpan.org/authors/id/D/DR/DROLSKY/List-AllUtils-0.09.tar.gz ... OK Configuring List-AllUtils-0.09 ... OK Building and testing List-AllUtils-0.09 ... OK Successfully installed List-AllUtils-0.09 1 distribution installed ##### So, while I cannot definitively say that upgrading a too-old version of List::MoreUtils was *the* solution, it appears to have helped. Thank you very much. Jim Keenan
On 2015-04-13 12:46:33, JKEENAN wrote: Show quoted text
> Today I called 'cpanm DateTime' in order to make sure I had the latest > version of that library. See attached file for relevant Perl version. > > DateTime failed to install, and the output indicated that > List::AllUtils had failed to install. I then called 'cpanm > List::AllUtils' and again got a failure. > > Switching to '/Users/jkeenan/.cpanm/latest-build/List-AllUtils-0.09', > I then ran 'prove' and got this output: > > ##### > $ prove -vb t/01-basic.t > t/01-basic.t .. > ok 1 - no exports by default > ok 2 - explicitly import first > ok 3 - explicitly import any > ok 4 - explicitly import apply > ok 5 - did not import all > ok 6 - Bar::test_first returns expected value > All 6 subtests passed > > Test Summary Report > ------------------- > t/01-basic.t (Wstat: 11 Tests: 6 Failed: 0) > Non-zero wait status: 11 > Parse errors: No plan found in TAP output > Files=1, Tests=6, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.02 cusr > 0.00 csys = 0.05 CPU) > Result: FAIL > ##### > > It's not clear to me why I should get "No plan found in TAP output" > when the test file clearly ends with 'done_testing()'. > > Can you clarify?
Wstat: 11 -> Segmentation Fault.
On 2015-04-13 22:37:29, SREZIC wrote: Show quoted text
> On 2015-04-13 12:46:33, JKEENAN wrote:
> > Today I called 'cpanm DateTime' in order to make sure I had the latest > > version of that library. See attached file for relevant Perl version. > > > > DateTime failed to install, and the output indicated that > > List::AllUtils had failed to install. I then called 'cpanm > > List::AllUtils' and again got a failure. > > > > Switching to '/Users/jkeenan/.cpanm/latest-build/List-AllUtils-0.09', > > I then ran 'prove' and got this output: > > > > ##### > > $ prove -vb t/01-basic.t > > t/01-basic.t .. > > ok 1 - no exports by default > > ok 2 - explicitly import first > > ok 3 - explicitly import any > > ok 4 - explicitly import apply > > ok 5 - did not import all > > ok 6 - Bar::test_first returns expected value > > All 6 subtests passed > > > > Test Summary Report > > ------------------- > > t/01-basic.t (Wstat: 11 Tests: 6 Failed: 0) > > Non-zero wait status: 11 > > Parse errors: No plan found in TAP output > > Files=1, Tests=6, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.02 cusr > > 0.00 csys = 0.05 CPU) > > Result: FAIL > > ##### > > > > It's not clear to me why I should get "No plan found in TAP output" > > when the test file clearly ends with 'done_testing()'. > > > > Can you clarify?
> > Wstat: 11 -> Segmentation Fault.
Sorry: missed that this was already clarified earlier.