Skip Menu |
 

This queue is for tickets about the Net-Daemon CPAN distribution.

Report information
The Basics
Id: 17307
Status: resolved
Worked: 13 hours (780 min)
Priority: 0/
Queue: Net-Daemon

People
Owner: MNOONING [...] cpan.org
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails tests so won't install
Download (untitled) / with headers
text/plain 3.4k
The ::Test module won't pass its tests, so the others won't install, which means DBI won't install. perl -V at the end - this is 5.9.2 Show quoted text
cpan> install Net::Daemon::Test
Running install for module Net::Daemon::Test Running make for J/JW/JWIED/Net-Daemon-0.38.tar.gz Is already unwrapped into directory /root/.cpan/build/Net-Daemon-0.38 Has already been processed within this session Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/base..........ok t/config........ok t/fork..........ok t/forkm.........FAILED before any test output arrived t/ithread.......skipped all skipped: no reason given t/ithreadm......skipped all skipped: no reason given t/loop-child....ok t/loop..........ok t/single........ok t/thread........skipped all skipped: no reason given t/threadm.......skipped all skipped: no reason given t/unix..........ok Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t/forkm.t ?? ?? % ?? 4 tests skipped. Failed 1/12 test scripts, 91.67% okay. 10/43 subtests failed, 76.74% okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force perl -V Summary of my perl5 (revision 5 version 9 subversion 2) configuration: Platform: osname=linux, osvers=2.4.21-32.0.1.el, archname=i686-linux-ld uname='linux bdmsd 2.4.21-32.0.1.el #1 tue may 17 18:01:37 edt 2005 i686 i686 i386 gnulinux ' config_args='-Dusedevel -de' hint=previous, useposix=true, d_sigaction=define usethreads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=define usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe - I/usr/local/include -I/usr/include/gdbm', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -I/usr/local/include - I/usr/include/gdbm -fno-strict-aliasing -pipe -I/usr/local/include - I/usr/include/gdbm' ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.3 2.96- 122)', gccosandvers='linux7' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='long double', nvsize=12, Off_t='off_t', lseeksize=4 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.3.2' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LONG_DOUBLE Built under linux Compiled at Jan 19 2006 13:27:00 %ENV: PERL5LIB="/usr/lib/perl5/site_perl/5.8.0/" @INC: /usr/lib/perl5/site_perl/5.8.0/ /usr/local/lib/perl5/5.9.2/i686-linux-ld /usr/local/lib/perl5/5.9.2 /usr/local/lib/perl5/site_perl/5.9.2/i686-linux-ld /usr/local/lib/perl5/site_perl/5.9.2 /usr/local/lib/perl5/site_perl . [root@bdmsd apache2]#
From: tromp at sanger.med.wayne.edu
Greetings On my installation perl 5.8.5 on solaris 2.7 the forkm test was hung up indefinitely. Browsing through the code of forkm.t shows a 'for(;;){}' loop in the subroutine CatchChild that does not exit. After inserting a 'last;' into the loop all non-skipped tests pass. last may not be the ideal loop breaking condition, but it confirms that the loop is a problem. Gerard On Fri Jan 27 07:19:20 2006, guest wrote: Show quoted text
> The ::Test module won't pass its tests, so the others won't install, > which means DBI won't install. perl -V at the end - this is 5.9.2 >
> cpan> install Net::Daemon::Test
> Running install for module Net::Daemon::Test > Running make for J/JW/JWIED/Net-Daemon-0.38.tar.gz > Is already unwrapped into directory /root/.cpan/build/Net-Daemon-0.
38 Show quoted text
> Has already been processed within this session > Running make test > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "- > e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/base..........ok > t/config........ok > t/fork..........ok > t/forkm.........FAILED before any test output arrived > t/ithread.......skipped > all skipped: no reason given > t/ithreadm......skipped > all skipped: no reason given > t/loop-child....ok > t/loop..........ok > t/single........ok > t/thread........skipped > all skipped: no reason given > t/threadm.......skipped > all skipped: no reason given > t/unix..........ok > Failed Test Stat Wstat Total Fail Failed List of Failed > ----------------------------------------------------------------------
- Show quoted text
> -------- > t/forkm.t ?? ?? % ?? > 4 tests skipped. > Failed 1/12 test scripts, 91.67% okay. 10/43 subtests failed, 76.74% > okay. > make: *** [test_dynamic] Error 255 > /usr/bin/make test -- NOT OK > Running make install > make test had returned bad status, won't install without force > > perl -V > Summary of my perl5 (revision 5 version 9 subversion 2) configuration: > Platform: > osname=linux, osvers=2.4.21-32.0.1.el, archname=i686-linux-ld > uname='linux bdmsd 2.4.21-32.0.1.el #1 tue may 17 18:01:37 edt > 2005 i686 i686 i386 gnulinux ' > config_args='-Dusedevel -de' > hint=previous, useposix=true, d_sigaction=define > usethreads=undef useithreads=undef usemultiplicity=undef > useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=define > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-fno-strict-aliasing -pipe - > I/usr/local/include -I/usr/include/gdbm', > optimize='-O2', > cppflags='-fno-strict-aliasing -pipe -I/usr/local/include - > I/usr/include/gdbm -fno-strict-aliasing -pipe -I/usr/local/include - > I/usr/include/gdbm' > ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.3 2.96- > 122)', gccosandvers='linux7' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 > d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=12 Show quoted text
> ivtype='long', ivsize=4, nvtype='long double', nvsize=12, > Off_t='off_t', lseeksize=4 > alignbytes=4, prototype=define > Linker and Libraries: > ld='cc', ldflags =' -L/usr/local/lib' > libpth=/usr/local/lib /lib /usr/lib > libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc > perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc > libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.
a Show quoted text
> gnulibc_version='2.3.2' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' > cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: USE_LONG_DOUBLE > Built under linux > Compiled at Jan 19 2006 13:27:00 > %ENV: > PERL5LIB="/usr/lib/perl5/site_perl/5.8.0/" > @INC: > /usr/lib/perl5/site_perl/5.8.0/ > /usr/local/lib/perl5/5.9.2/i686-linux-ld > /usr/local/lib/perl5/5.9.2 > /usr/local/lib/perl5/site_perl/5.9.2/i686-linux-ld > /usr/local/lib/perl5/site_perl/5.9.2 > /usr/local/lib/perl5/site_perl > . > [root@bdmsd apache2]#
From: m.nooning [...] comcast.net
Download (untitled) / with headers
text/plain 628b
It has been quite a long time since this bug was posted. Thanks for pinpointing the problem area. There are ten child processes being created. For each one, the parent puts the PID into %childs. Therefore, I modified sub CatchChild as you see below. I do not have a Solaris machine to test it on. I will be putting this on CPAN shortly as Net-Daemon-0.41. Eventually the CPAN testers will get to it to see if it really solves the problem. if (keys(%childs) == 0) { # We ae done when the last of our ten childs are gone. ShowResults(); last; }
Fixed in Net-Daemon-0.40 and Net-Daemon-0.41
Subject: Re: [rt.cpan.org #17307] Fails tests so won't install
Date: Wed, 23 May 2007 20:15:07 +0100
To: bug-Net-Daemon [...] rt.cpan.org
From: Lee Goddard <London [...] LeeGoddard.net>
Download (untitled) / with headers
text/plain 114b
Thanks for that -- if you drop me a line lgoddard@cpan.org I'll cpantest.pl it on Debian and Win32. Cheers lee
From: m.nooning [...] comcast.net
Download (untitled) / with headers
text/plain 414b
Thanks Lee. I am transferring discussion of this bug to #18112: forkm test hangs for Solaris 8 because it is also a forkm.t problem. In my last reply to bug report #18112 I pasted a new forkm.t file with a lot of prints to STDERR. Perhaps we could glean something from them. I will not close this out until bug #18112 is closed out, but I will continue to do replies only to #18112 for simplicity. Thanks
Download (untitled) / with headers
text/plain 137b
Per the cpan testers at http://testers.cpan.org/show/Net-Daemon.html this now works. A big thank you goes out to all you cpan testers!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.