Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CPAN-Reporter CPAN distribution.

Report information
The Basics
Id: 54226
Status: resolved
Priority: 0/
Queue: CPAN-Reporter

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

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



Subject: make test fails in t/57_hang_interrupt.t
Hi David, the newly updated CPAN::Reporter fails in t/57_hang_interrupt.t: perl -Iblib/lib -Iblib/auto t/57_hang_interrupt.t 1..29 ok 1 - require CPAN::Reporter; ok 2 - home directory mocked ok 3 - config directory created ok 4 - created temp config file ok 5 - Copying t-Pass to temp directory /tmp/qfb5G1UVsS ok 6 - generate report for t-Pass ok 7 - report was sent for t-Pass ok 8 - saw report sent message for t-Pass ok 9 - home directory mocked ok 10 - config directory created ok 11 - created temp config file ok 12 - Copying t-Fail to temp directory /tmp/bhhxP0ByZr ok 13 - generate report for t-Fail not ok 14 - report was sent for t-Fail # Failed test 'report was sent for t-Fail' # at t/57_hang_interrupt.t line 105. not ok 15 - saw report sent message for t-Fail # Failed test 'saw report sent message for t-Fail' # at t/57_hang_interrupt.t line 105. # 'Writing Makefile for Bogus::Module # cp lib/Bogus/Module.pm blib/lib/Bogus/Module.pm # PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # # # Failed test 'Failed this test' # # at t/01_Bogus.t line 8. # # Looks like you failed 1 test of 1. # t/01_Bogus.t .. # Dubious, test returned 1 (wstat 256, 0x100) # Failed 1/1 subtests # # Test Summary Report # ------------------- # t/01_Bogus.t (Wstat: 256 Tests: 1 Failed: 1) # Failed test: 1 # Non-zero exit status: 1 # Files=1, Tests=1, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.02 cusr 0.00 csys = 0.05 CPU) # Result: FAIL # Failed 1/1 test programs. 1/1 subtests failed. # *** Error code 1 # # Stop. # make: stopped in /tmp/bhhxP0ByZr # (make test exited with 256) # # CPAN::Reporter: test results were not valid, Prerequisite version too low: # requires: # # Module Need Have # ---------- ---- ---- # ! File::Spec 0 # # . # # requires: # # Module Need Have # ---------- ---- ---- # ! File::Spec 0 # # # Test report will not be sent' # doesn't match '/sending test report with/' ok 16 - home directory mocked ok 17 - config directory created ok 18 - created temp config file ok 19 - Copying PL-Hang to temp directory /tmp/Zopq4u5HnM ok 20 - generate report for PL-Hang ok 21 - report not sent for PL-Hang ok 22 - saw report not sent message for PL-Hang ok 23 - home directory mocked ok 24 - config directory created ok 25 - created temp config file ok 26 - Copying t-Hang to temp directory /tmp/6J46x0PXkh ok 27 - generate report for t-Hang ok 28 - report not sent for t-Hang not ok 29 - saw report not sent message for t-Hang # Failed test 'saw report not sent message for t-Hang' # at t/57_hang_interrupt.t line 105. # 'Writing Makefile for Bogus::Module # cp lib/Bogus/Module.pm blib/lib/Bogus/Module.pm # PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # (make test exited with 9) # !!! TIMER DIDNT TIMEOUT -- SHOULDNT BE HERE !!! at t/01_Bogus.t line 13. # # Looks like you planned 2 tests but ran 1. # # Looks like your test exited with 255 just after 1. # t/01_Bogus.t .. # Dubious, test returned 255 (wstat 65280, 0xff00) # Failed 1/2 subtests # # Test Summary Report # ------------------- # t/01_Bogus.t (Wstat: 65280 Tests: 1 Failed: 0) # Non-zero exit status: 255 # Parse errors: Bad plan. You planned 2 tests but ran 1. # Files=1, Tests=1, 40 wallclock secs ( 0.02 usr 0.00 sys + 20.03 cusr 19.04 csys = 39.09 CPU) # Result: FAIL # Failed 1/1 test programs. 0/1 subtests failed. # CPAN::Reporter: couldn't determine exit value for 'make test' # CPAN::Reporter: had errors capturing exit value and output. Tests abandoned' # doesn't match '/report will not be sent/' # Looks like you failed 3 tests of 29.
Subject: Re: [rt.cpan.org #54226] make test fails in t/57_hang_interrupt.t
Date: Tue, 2 Feb 2010 15:44:08 -0500
To: bug-CPAN-Reporter <bug-CPAN-Reporter [...] rt.cpan.org>
From: David Golden <dagolden [...] cpan.org>
What's your 'perl -V' output? Do you have Proc::ProcessTable installed? If so, what version? Thanks, David
bash-4.1$ perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=netbsd, osvers=5.99.22, archname=x86_64-netbsd-thread-multi uname='netbsd bert 5.99.22 netbsd 5.99.22 (bert) #0: fri dec 25 16:11:03 cet 2009 trevor@bert:usrobjusrsrcsysarchamd64compilebert amd64 ' config_args='-sde -Darchname=x86_64-netbsd -Dcc=cc -Doptimize=-O2 -pthread -I/usr/include -Ui_malloc -Uinstallusrbinperl -Dinstallstyle=lib/perl5 -Dprefix=/usr/pkg -Dsiteprefix=/usr/pkg -Dvendorprefix=/usr/pkg -Dscriptdir=/usr/pkg/lib/perl5/bin -Dsitescript=/usr/pkg/lib/perl5/site_perl/bin -Dvendorscript=/usr/pkg/lib/perl5/vendor_perl/bin -Dsitebin=/usr/pkg/lib/perl5/site_perl/bin -Dvendorbin=/usr/pkg/lib/perl5/vendor_perl/bin -Dprivlib=/usr/pkg/lib/perl5/5.10.0 -Dsitelib=/usr/pkg/lib/perl5/site_perl/5.10.0 -Dvendorlib=/usr/pkg/lib/perl5/vendor_perl/5.10.0 -Dsitelib_stem=/usr/pkg/lib/perl5/site_perl -Dvendorlib_stem=/usr/pkg/lib/perl5/vendor_perl -Dman1ext=1 -Dman1dir=/usr/pkg/lib/perl5/man/man1 -Dsiteman1dir=/usr/pkg/lib/perl5/site_perl/man/man1 -Dvendorman1dir=/usr/pkg/lib/perl5/vendor_perl/man/man1 -Dman3ext=3 -Dman3dir=/usr/pkg/lib/perl5/man/man3 -Dsiteman3dir=/usr/pkg/lib/perl5/site_perl/man/man3 -Dvendorman3dir=/usr/pkg/lib/perl5/vendor_perl/man/man3 -Duseshrplib -Daphostname=/bin/hostname -Dln=/bin/ln -Dsed=/usr/bin/sed -Dsh=/bin/sh -Dissymlink=test -h -Dperl5=false -Duseithreads -Uusemymalloc -Dlibswanted=m crypt ' 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 ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/pkg/include', optimize='-O2 -pthread -I/usr/include', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/pkg/include' ccversion='', gccversion='4.1.3 20080704 prerelease (NetBSD nb2 20081120)', 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 ='-Wl,-R/usr/pkg/lib -fstack-protector -L/usr/pkg/lib' libpth=/usr/lib /usr/pkg/lib libs=-lm -lcrypt -lpthread perllibs=-lm -lcrypt -lpthread libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-R/usr/pkg/lib/perl5/5.10.0/x86_64-netbsd-thread-multi/CORE' cccdlflags='-DPIC -fPIC ', lddlflags='-Wl,-R/usr/pkg/lib --whole-archive -shared -L/usr/pkg/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under netbsd Compiled at Dec 26 2009 12:38:58 @INC: /usr/pkg/lib/perl5/site_perl/5.10.0/x86_64-netbsd-thread-multi /usr/pkg/lib/perl5/site_perl/5.10.0 /usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-netbsd-thread-multi /usr/pkg/lib/perl5/vendor_perl/5.10.0 /usr/pkg/lib/perl5/vendor_perl /usr/pkg/lib/perl5/5.10.0/x86_64-netbsd-thread-multi /usr/pkg/lib/perl5/5.10.0 . bash-4.1$ pkg_info | grep p5-Proc-ProcessTable p5-Proc-ProcessTable-0.45nb1 Perl extension to access the UNIX process table
Proc::ProcessTable has been removed as a dependency of CPAN::Reporter. Admittedly, there are still some bugs in the new approach, but I'm going to close this ticket as I won't be doing any further work directly on it. I hope the new approach works better for you.