Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 120870
Status: resolved
Priority: 0/
Queue: Test-Harness

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

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



Subject: Fails tests with no '.' in @INC
On current bleadperl with PERL_USE_UNSAFE_INC=0: Output from '/usr/bin/make test': PERL_DL_NONLAZY=1 "/home/cpan4/install/bin/perl" "-Iblib/lib" "-Iblib/arch" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/compat/*.t t/bailout.t ..................... ok t/aggregator.t .................. ok t/base.t ........................ ok # Testing Test::Harness 3.38, Perl 5.026000, /home/cpan4/install/bin/perl t/000-load.t .................... ok t/callbacks.t ................... ok t/compat/env_opts.t ............. ok t/compat/env.t .................. ok t/compat/failure.t .............. ok t/compat/nonumbers.t ............ ok t/compat/regression.t ........... ok t/compat/subclass.t ............. ok t/compat/inc_taint.t ............ ok t/compat/inc-propagation.t ...... ok t/compat/version.t .............. ok t/compat/switches.t ............. ok t/console.t ..................... ok t/errors.t ...................... ok t/glob-to-regexp.t .............. ok t/file.t ........................ ok t/grammar.t ..................... ok t/harness-subclass.t ............ ok t/harness.t ..................... ok t/iterator_factory.t ............ ok t/compat/test-harness-compat.t .. ok t/iterators.t ................... ok t/nested.t ...................... ok Can't locate t/multiplexer.t in @INC (@INC contains: t/lib /home/cpan4/.cpan/build/Test-Harness-3.38-0/blib/lib /home/cpan4/.cpan/build/Test-Harness-3.38-0/blib/arch blib/lib blib/arch /home/cpan4/install/lib/perl5/site_perl/5.26.0/x86_64-linux-thread-multi-ld /home/cpan4/install/lib/perl5/site_perl/5.26.0 /home/cpan4/install/lib/perl5/5.26.0/x86_64-linux-thread-multi-ld /home/cpan4/install/lib/perl5/5.26.0) at t/nofork-mux.t line 11. t/nofork-mux.t .................. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/multiplexer.t ................. ok t/object.t ...................... ok t/nofork.t ...................... ok t/parser-config.t ............... ok t/parse.t ....................... ok t/parser-subclass.t ............. ok t/premature-bailout.t ........... ok t/perl5lib.t .................... ok t/prove.t ....................... ok t/proverc.t ..................... ok t/harness-bailout.t ............. ok t/proverun.t .................... ok t/proveversion.t ................ ok t/process.t ..................... ok t/results.t ..................... ok t/source.t ...................... ok t/scheduler.t ................... ok t/spool.t ....................... ok t/state.t ....................... ok t/source_handler.t .............. ok t/state_results.t ............... ok t/streams.t ..................... ok t/taint.t ....................... ok t/testargs.t .................... ok t/yamlish-output.t .............. ok t/yamlish-writer.t .............. ok t/yamlish.t ..................... ok t/regression.t .................. ok t/unicode.t ..................... ok Test Summary Report ------------------- t/nofork-mux.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=56, Tests=11684, 8 wallclock secs ( 1.88 usr 0.10 sys + 11.29 cusr 0.87 csys = 14.14 CPU) Result: FAIL Failed 1/56 test programs. 0/11684 subtests failed. Makefile:933: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 ------------------------------ PREREQUISITES ------------------------------ Prerequisite modules loaded: build_requires: Module Need Have ------------------- ---- ---- ExtUtils::MakeMaker 0 7.24 configure_requires: Module Need Have ------------------- ---- ---- ExtUtils::MakeMaker 0 7.24 opt_requires: Module Need Have ------------------- ---- ---- Pod::Usage 1.12 1.69 ------------------------------ ENVIRONMENT AND OTHER CONTEXT ------------------------------ Environment variables: AUTOMATED_TESTING = 1 HARNESS_OPTIONS = j3 LANG = en_US.UTF-8 PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PERL5LIB = PERL5OPT = PERL5_CPANPLUS_IS_RUNNING = 25172 PERL5_CPAN_IS_RUNNING = 25172 PERL5_CPAN_IS_RUNNING_IN_RECURSION = 18389,25172 PERL_CR_SMOKER_CURRENT = Test-Harness-3.38 PERL_CR_SMOKER_RUNONCE = 1 PERL_EXTUTILS_AUTOINSTALL = --defaultdeps PERL_MM_USE_DEFAULT = 1 PERL_USE_UNSAFE_INC = 0 SHELL = /bin/bash TERM = putty-256color Perl special variables (and OS-specific diagnostics, for MSWin32): $^X = /home/cpan4/install/bin/perl $UID/$EUID = 1005 / 1005 $GID = 1005 1005 $EGID = 1005 1005 Perl module toolchain versions installed: Module Have ------------------- ---------- CPAN 2.18 CPAN::Meta 2.150010 Cwd 3.67 ExtUtils::CBuilder 0.280225 ExtUtils::Command 7.24 ExtUtils::Install 2.04 ExtUtils::MakeMaker 7.24 ExtUtils::Manifest 1.70 ExtUtils::ParseXS 3.34 File::Spec 3.67 JSON 2.90 JSON::PP 2.27400_02 Module::Build 0.4222 Module::Signature n/a Parse::CPAN::Meta 2.150010 Test::Harness 3.38 Test::More 1.302073 YAML 1.23 YAML::Syck 1.29 version 0.9917 -- Summary of my perl5 (revision 5 version 26 subversion 0) configuration: Commit id: 1b92e6949b737e92f61827f9c92afce9218e30ba Platform: osname=linux osvers=3.16.0-4-amd64 archname=x86_64-linux-thread-multi-ld uname='linux digitalis 3.16.0-4-amd64 #1 smp debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 gnulinux ' config_args='-Dusedevel -DDEBUGGING -Dusethreads -Duselongdouble -Duse64bitall -Doptimize=-O3 -Dprefix=/home/cpan4/install -Uversiononly -Uman1dir -Uman3dir -des' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=define usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='cc' ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2' optimize='-O3 -g' cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' ccversion='' gccversion='4.9.2' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='long double' nvsize=16 Off_t='off_t' lseeksize=8 alignbytes=16 prototype=define Linker and Libraries: ld='cc' ldflags =' -fstack-protector-strong -L/usr/local/lib' libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /lib64 /usr/lib64 libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc libc=libc-2.19.so so=so useshrplib=false libperl=libperl.a gnulibc_version='2.19' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags='-Wl,-E' cccdlflags='-fPIC' lddlflags='-shared -O3 -g -L/usr/local/lib -fstack-protector-strong' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV PERL_TRACK_MEMPOOL PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_LONG_DOUBLE USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under linux Compiled at Mar 31 2017 23:44:13 %ENV: PERL5LIB="" PERL5OPT="" PERL5_CPANPLUS_IS_RUNNING="25172" PERL5_CPAN_IS_RUNNING="25172" PERL5_CPAN_IS_RUNNING_IN_RECURSION="18389,25172" PERL_CR_SMOKER_CURRENT="Test-Harness-3.38" PERL_CR_SMOKER_RUNONCE="1" PERL_EXTUTILS_AUTOINSTALL="--defaultdeps" PERL_MM_USE_DEFAULT="1" PERL_USE_UNSAFE_INC="0" @INC: /home/cpan4/install/lib/perl5/site_perl/5.26.0/x86_64-linux-thread-multi-ld /home/cpan4/install/lib/perl5/site_perl/5.26.0 /home/cpan4/install/lib/perl5/5.26.0/x86_64-linux-thread-multi-ld /home/cpan4/install/lib/perl5/5.26.0
On Sun Apr 02 12:51:14 2017, DCOLLINS wrote: Show quoted text
> On current bleadperl with PERL_USE_UNSAFE_INC=0: > > Output from '/usr/bin/make test': > > PERL_DL_NONLAZY=1 "/home/cpan4/install/bin/perl" "-Iblib/lib" "- > Iblib/arch" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t t/compat/*.t > t/bailout.t ..................... ok > t/aggregator.t .................. ok > t/base.t ........................ ok > # Testing Test::Harness 3.38, Perl 5.026000, > /home/cpan4/install/bin/perl > t/000-load.t .................... ok > t/callbacks.t ................... ok > t/compat/env_opts.t ............. ok > t/compat/env.t .................. ok > t/compat/failure.t .............. ok > t/compat/nonumbers.t ............ ok > t/compat/regression.t ........... ok > t/compat/subclass.t ............. ok > t/compat/inc_taint.t ............ ok > t/compat/inc-propagation.t ...... ok > t/compat/version.t .............. ok > t/compat/switches.t ............. ok > t/console.t ..................... ok > t/errors.t ...................... ok > t/glob-to-regexp.t .............. ok > t/file.t ........................ ok > t/grammar.t ..................... ok > t/harness-subclass.t ............ ok > t/harness.t ..................... ok > t/iterator_factory.t ............ ok > t/compat/test-harness-compat.t .. ok > t/iterators.t ................... ok > t/nested.t ...................... ok > Can't locate t/multiplexer.t in @INC (@INC contains: t/lib > /home/cpan4/.cpan/build/Test-Harness-3.38-0/blib/lib > /home/cpan4/.cpan/build/Test-Harness-3.38-0/blib/arch blib/lib > blib/arch /home/cpan4/install/lib/perl5/site_perl/5.26.0/x86_64-linux- > thread-multi-ld /home/cpan4/install/lib/perl5/site_perl/5.26.0 > /home/cpan4/install/lib/perl5/5.26.0/x86_64-linux-thread-multi-ld > /home/cpan4/install/lib/perl5/5.26.0) at t/nofork-mux.t line 11. > t/nofork-mux.t .................. > Dubious, test returned 2 (wstat 512, 0x200) > No subtests run > t/multiplexer.t ................. ok > t/object.t ...................... ok > t/nofork.t ...................... ok > t/parser-config.t ............... ok > t/parse.t ....................... ok > t/parser-subclass.t ............. ok > t/premature-bailout.t ........... ok > t/perl5lib.t .................... ok > t/prove.t ....................... ok > t/proverc.t ..................... ok > t/harness-bailout.t ............. ok > t/proverun.t .................... ok > t/proveversion.t ................ ok > t/process.t ..................... ok > t/results.t ..................... ok > t/source.t ...................... ok > t/scheduler.t ................... ok > t/spool.t ....................... ok > t/state.t ....................... ok > t/source_handler.t .............. ok > t/state_results.t ............... ok > t/streams.t ..................... ok > t/taint.t ....................... ok > t/testargs.t .................... ok > t/yamlish-output.t .............. ok > t/yamlish-writer.t .............. ok > t/yamlish.t ..................... ok > t/regression.t .................. ok > t/unicode.t ..................... ok > > Test Summary Report > ------------------- > t/nofork-mux.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: No plan found in TAP output > Files=56, Tests=11684, 8 wallclock secs ( 1.88 usr 0.10 sys + 11.29 > cusr 0.87 csys = 14.14 CPU) > Result: FAIL > Failed 1/56 test programs. 0/11684 subtests failed. > Makefile:933: recipe for target 'test_dynamic' failed > make: *** [test_dynamic] Error 255 > > ------------------------------ > PREREQUISITES > ------------------------------ > > Prerequisite modules loaded: > > build_requires: > > Module Need Have > ------------------- ---- ---- > ExtUtils::MakeMaker 0 7.24 > > configure_requires: > > Module Need Have > ------------------- ---- ---- > ExtUtils::MakeMaker 0 7.24 > > opt_requires: > > Module Need Have > ------------------- ---- ---- > Pod::Usage 1.12 1.69 > > > ------------------------------ > ENVIRONMENT AND OTHER CONTEXT > ------------------------------ > > Environment variables: > > AUTOMATED_TESTING = 1 > HARNESS_OPTIONS = j3 > LANG = en_US.UTF-8 > PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games > PERL5LIB = > PERL5OPT = > PERL5_CPANPLUS_IS_RUNNING = 25172 > PERL5_CPAN_IS_RUNNING = 25172 > PERL5_CPAN_IS_RUNNING_IN_RECURSION = 18389,25172 > PERL_CR_SMOKER_CURRENT = Test-Harness-3.38 > PERL_CR_SMOKER_RUNONCE = 1 > PERL_EXTUTILS_AUTOINSTALL = --defaultdeps > PERL_MM_USE_DEFAULT = 1 > PERL_USE_UNSAFE_INC = 0 > SHELL = /bin/bash > TERM = putty-256color > > Perl special variables (and OS-specific diagnostics, for MSWin32): > > $^X = /home/cpan4/install/bin/perl > $UID/$EUID = 1005 / 1005 > $GID = 1005 1005 > $EGID = 1005 1005 > > Perl module toolchain versions installed: > > Module Have > ------------------- ---------- > CPAN 2.18 > CPAN::Meta 2.150010 > Cwd 3.67 > ExtUtils::CBuilder 0.280225 > ExtUtils::Command 7.24 > ExtUtils::Install 2.04 > ExtUtils::MakeMaker 7.24 > ExtUtils::Manifest 1.70 > ExtUtils::ParseXS 3.34 > File::Spec 3.67 > JSON 2.90 > JSON::PP 2.27400_02 > Module::Build 0.4222 > Module::Signature n/a > Parse::CPAN::Meta 2.150010 > Test::Harness 3.38 > Test::More 1.302073 > YAML 1.23 > YAML::Syck 1.29 > version 0.9917 > > > -- > > Summary of my perl5 (revision 5 version 26 subversion 0) > configuration: > Commit id: 1b92e6949b737e92f61827f9c92afce9218e30ba > Platform: > osname=linux > osvers=3.16.0-4-amd64 > archname=x86_64-linux-thread-multi-ld > uname='linux digitalis 3.16.0-4-amd64 #1 smp debian 3.16.36- > 1+deb8u2 (2016-10-19) x86_64 gnulinux ' > config_args='-Dusedevel -DDEBUGGING -Dusethreads -Duselongdouble > -Duse64bitall -Doptimize=-O3 -Dprefix=/home/cpan4/install > -Uversiononly -Uman1dir -Uman3dir -des' > hint=recommended > useposix=true > d_sigaction=define > useithreads=define > usemultiplicity=define > use64bitint=define > use64bitall=define > uselongdouble=define > usemymalloc=n > default_inc_excludes_dot=define > bincompat5005=undef > Compiler: > cc='cc' > ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno- > strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2' > optimize='-O3 -g' > cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno- > strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' > ccversion='' > gccversion='4.9.2' > gccosandvers='' > intsize=4 > longsize=8 > ptrsize=8 > doublesize=8 > byteorder=12345678 > doublekind=3 > d_longlong=define > longlongsize=8 > d_longdbl=define > longdblsize=16 > longdblkind=3 > ivtype='long' > ivsize=8 > nvtype='long double' > nvsize=16 > Off_t='off_t' > lseeksize=8 > alignbytes=16 > prototype=define > Linker and Libraries: > ld='cc' > ldflags =' -fstack-protector-strong -L/usr/local/lib' > libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.9/include- > fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu > /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /lib64 > /usr/lib64 > libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc > perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc > libc=libc-2.19.so > so=so > useshrplib=false > libperl=libperl.a > gnulibc_version='2.19' > Dynamic Linking: > dlsrc=dl_dlopen.xs > dlext=so > d_dlsymun=undef > ccdlflags='-Wl,-E' > cccdlflags='-fPIC' > lddlflags='-shared -O3 -g -L/usr/local/lib -fstack-protector- > strong' > > > Characteristics of this binary (from libperl): > Compile-time options: > DEBUGGING > HAS_TIMES > MULTIPLICITY > PERLIO_LAYERS > PERL_COPY_ON_WRITE > PERL_DONT_CREATE_GVSV > PERL_IMPLICIT_CONTEXT > PERL_MALLOC_WRAP > PERL_OP_PARENT > PERL_PRESERVE_IVUV > PERL_TRACK_MEMPOOL > PERL_USE_DEVEL > USE_64_BIT_ALL > USE_64_BIT_INT > USE_ITHREADS > USE_LARGE_FILES > USE_LOCALE > USE_LOCALE_COLLATE > USE_LOCALE_CTYPE > USE_LOCALE_NUMERIC > USE_LOCALE_TIME > USE_LONG_DOUBLE > USE_PERLIO > USE_PERL_ATOF > USE_REENTRANT_API > Built under linux > Compiled at Mar 31 2017 23:44:13 > %ENV: > PERL5LIB="" > PERL5OPT="" > PERL5_CPANPLUS_IS_RUNNING="25172" > PERL5_CPAN_IS_RUNNING="25172" > PERL5_CPAN_IS_RUNNING_IN_RECURSION="18389,25172" > PERL_CR_SMOKER_CURRENT="Test-Harness-3.38" > PERL_CR_SMOKER_RUNONCE="1" > PERL_EXTUTILS_AUTOINSTALL="--defaultdeps" > PERL_MM_USE_DEFAULT="1" > PERL_USE_UNSAFE_INC="0" > @INC: > /home/cpan4/install/lib/perl5/site_perl/5.26.0/x86_64-linux-thread- > multi-ld > /home/cpan4/install/lib/perl5/site_perl/5.26.0 > /home/cpan4/install/lib/perl5/5.26.0/x86_64-linux-thread-multi-ld > /home/cpan4/install/lib/perl5/5.26.0
This has been resolved in Test-Harness 3.39. Leon