Skip Menu |

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

Report information
The Basics
Id: 28629
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: stefan.jakobs [...] rus.uni-stuttgart.de
Cc:
AdminCc:

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



Subject: make test error in Net-DNS 0.60 and 0.61
Date: Thu, 2 Aug 2007 11:48:24 +0200
To: bug-Net-DNS [...] rt.cpan.org
From: Stefan Jakobs <stefan.jakobs [...] rus.uni-stuttgart.de>
Hello, if I do a make test, I'll get this: # make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load..................ok 4/79# # These tests were ran with: # Net::DNS::VERSION: 0.61 # set environment variable NET_DNS_DEBUG to get all versions t/00-load..................ok t/00-pod...................skipped all skipped: Test::Pod v0.95 required for testing POD t/00-version...............ok t/01-resolver-env..........ok t/01-resolver-file.........ok 7/8 skipped: Could not read configuration file t/01-resolver-opt..........ok t/01-resolver..............ok t/02-header................ok t/03-question..............ok t/04-packet-unique-push....ok t/04-packet................ok t/05-rr-opt................ok t/05-rr-rrsort.............ok t/05-rr-sshfp..............skipped all skipped: Digest::BubbleBabble not installed. t/05-rr-txt................ok t/05-rr-unknown............ok t/05-rr....................ok t/06-update................ok t/07-misc..................ok t/08-online................ok t/09-tkey..................ok t/10-recurse...............ok 2/12Server [193.0.14.129] did not give answers at /MAILRELAY-SETUP/TEST/Net-DNS-0.61/blib/lib/Net/DNS/Resolver/Recurse.pm line 86. t/10-recurse...............ok 3/12# Failed test (t/10-recurse.t at line 57) t/10-recurse...............NOK 4# Failed test (t/10-recurse.t at line 63) Can't call method "answer" on an undefined value at t/10-recurse.t line 64. t/10-recurse...............NOK 5# Looks like you planned 12 tests but only ran 5. # Looks like your test died just after 5. t/10-recurse...............dubious Test returned status 255 (wstat 65280, 0xff00) Scalar found where operator expected at (eval 153) line 1, near "'int' $__val" (Missing operator before $__val?) DIED. FAILED tests 4-12 Failed 9/12 tests, 25.00% okay t/11-escapedchars..........# Using the XS compiled dn_expand function t/11-escapedchars..........ok 95/141# # disabling XS based dns_expand for a moment. t/11-escapedchars..........ok 97/141# # Continuing to use the XS based dn_expand() t/11-escapedchars..........ok t/11-inet6.................ok 10/11 skipped: Socket6 and or IO::Socket::INET6 not loaded t/12-compression...........ok 4/5123456789112345678921234567893123456789412345678951234567896123... truncated to 63 octets (RFC1035 2.3.1) at t/12-compression.t line 56 t/12-compression...........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/10-recurse.t 255 65280 12 16 133.33% 4-12 2 tests and 17 subtests skipped. Failed 1/25 test scripts, 96.00% okay. 9/1193 subtests failed, 99.25% okay. make: *** [test_dynamic] Error 255 # perl -V Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration: Platform: osname=linux, osvers=2.6.5, archname=i586-linux-thread-multi uname='linux oldboy 2.6.5 #1 smp fri nov 18 15:22:13 utc 2005 i686 i686 i386 gnulinux ' config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=true -Doptimize=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -Wall -pipe' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -Wall -pipe', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing' ccversion='', gccversion='3.3.3 (SuSE Linux)', gccosandvers='' 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='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags ='' libpth=/lib /usr/lib /usr/local/lib libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.3.3' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.3/i586-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962 Built under linux Compiled at Dec 17 2005 03:24:12 @INC: /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl . # uname -a Linux testserv 2.6.5-7.286-bigsmp #1 SMP Thu May 31 10:12:58 UTC 2007 i686 i686 i386 GNU/Linux is a SLES 9 SP3 x86 Server. I have also a similar x86_64 Server and on this one the make test works fine. Here is the perl -V output: # perl -V Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration: Platform: osname=linux, osvers=2.6.5, archname=x86_64-linux-thread-multi uname='linux mahler 2.6.5 #1 smp thu aug 25 06:20:45 utc 2005 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=-O2 -fmessage-length=0 -Wall -Wall -pipe' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef 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 -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -fmessage-length=0 -Wall -Wall -pipe', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing' ccversion='', gccversion='3.3.3 (SuSE Linux)', 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//lib64/libc.so.6, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.3.3' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962 Built under linux Compiled at Dec 17 2005 03:22:14 @INC: /usr/lib/perl5/5.8.3/x86_64-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl . I'm not experienced with perl, but if I can help you to solve the problem please feel free to ask. Greetings Stefan
Subject: Re: [rt.cpan.org #28629] make test error in Net-DNS 0.60 and 0.61
Date: Thu, 2 Aug 2007 12:26:59 +0200
To: bug-Net-DNS [...] rt.cpan.org
From: "Olaf M. Kolkman" <olaf [...] dacht.net>
The bug seems to be triggered by: Server [193.0.14.129] did not give answers 193.0.14.129 is one of the servers in your /etc/resolv.conf and that did not give an answer, causing the test to fail. You may try to run make test a second time and see if the failure (probably with the server at 193.0.14.129 is transient). But even if that fails I would not worry to much. Having said that, the test suite needs to be a bit more resilient with respect to these sort of failures. (I will close this ticket) --Olaf On 2Aug 2007, at 11:49 AM, Stefan Jakobs via RT wrote: Show quoted text
> > Thu Aug 02 05:49:36 2007: Request 28629 was acted upon. > Transaction: Ticket created by stefan.jakobs@rus.uni-stuttgart.de > Queue: Net-DNS > Subject: make test error in Net-DNS 0.60 and 0.61 > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: stefan.jakobs@rus.uni-stuttgart.de > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=28629 > > > > Hello, > > if I do a make test, I'll get this: > > # make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > t/00-load..................ok 4/79# > # These tests were ran with: > # Net::DNS::VERSION: 0.61 > # set environment variable NET_DNS_DEBUG to get all versions > t/00-load..................ok > t/00-pod...................skipped > all skipped: Test::Pod v0.95 required for testing POD > t/00-version...............ok > t/01-resolver-env..........ok > t/01-resolver-file.........ok > 7/8 skipped: Could not read configuration file > t/01-resolver-opt..........ok > t/01-resolver..............ok > t/02-header................ok > t/03-question..............ok > t/04-packet-unique-push....ok > t/04-packet................ok > t/05-rr-opt................ok > t/05-rr-rrsort.............ok > t/05-rr-sshfp..............skipped > all skipped: Digest::BubbleBabble not installed. > t/05-rr-txt................ok > t/05-rr-unknown............ok > t/05-rr....................ok > t/06-update................ok > t/07-misc..................ok > t/08-online................ok > t/09-tkey..................ok > t/10-recurse...............ok 2/12Server [193.0.14.129] did not > give answers > at /MAILRELAY-SETUP/TEST/Net-DNS-0.61/blib/lib/Net/DNS/Resolver/ > Recurse.pm > line 86. > t/10-recurse...............ok 3/12# Failed test (t/10-recurse.t > at line > 57) > t/10-recurse...............NOK 4# Failed test (t/10-recurse.t > at line 63) > Can't call method "answer" on an undefined value at t/10-recurse.t > line 64. > t/10-recurse...............NOK 5# Looks like you planned 12 tests > but only ran > 5. > # Looks like your test died just after 5. > t/10-recurse...............dubious > Test returned status 255 (wstat 65280, 0xff00) > Scalar found where operator expected at (eval 153) line 1, near "'int' > $__val" > (Missing operator before $__val?) > DIED. FAILED tests 4-12 > Failed 9/12 tests, 25.00% okay > t/11-escapedchars..........# Using the XS compiled dn_expand function > t/11-escapedchars..........ok 95/141# > # disabling XS based dns_expand for a moment. > t/11-escapedchars..........ok 97/141# > # Continuing to use the XS based dn_expand() > t/11-escapedchars..........ok > t/11-inet6.................ok > 10/11 skipped: Socket6 and or IO::Socket::INET6 not loaded > t/12-compression...........ok > 4/5123456789112345678921234567893123456789412345678951234567896123... > truncated to 63 octets (RFC1035 2.3.1) at t/12-compression.t line 56 > t/12-compression...........ok > Failed Test Stat Wstat Total Fail Failed List of Failed > ---------------------------------------------------------------------- > --------- > t/10-recurse.t 255 65280 12 16 133.33% 4-12 > 2 tests and 17 subtests skipped. > Failed 1/25 test scripts, 96.00% okay. 9/1193 subtests failed, > 99.25% okay. > make: *** [test_dynamic] Error 255 > > > # perl -V > Summary of my perl5 (revision 5.0 version 8 subversion 3) > configuration: > Platform: > osname=linux, osvers=2.6.5, archname=i586-linux-thread-multi > uname='linux oldboy 2.6.5 #1 smp fri nov 18 15:22:13 utc 2005 > i686 i686 > i386 gnulinux ' > > config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr - > Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm - > Duseshrplib=true -Doptimize=-O2 -march=i586 -mcpu=i686 -fmessage- > length=0 -Wall -Wall -pipe' > hint=recommended, useposix=true, d_sigaction=define > usethreads=define use5005threads=undef useithreads=define > usemultiplicity=define > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags > ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict- > aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > > optimize='-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -Wall > -pipe', > > cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno- > strict-aliasing' > ccversion='', gccversion='3.3.3 (SuSE Linux)', gccosandvers='' > 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='double', nvsize=8, Off_t='off_t', > lseeksize=8 > alignbytes=4, prototype=define > Linker and Libraries: > ld='cc', ldflags ='' > libpth=/lib /usr/lib /usr/local/lib > libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc > perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc > libc=, so=so, useshrplib=true, libperl=libperl.so > gnulibc_version='2.3.3' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, > ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.3/i586-linux- > thread-multi/CORE' > cccdlflags='-fPIC', lddlflags='-shared' > > > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES > PERL_IMPLICIT_CONTEXT > Locally applied patches: > SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962 > Built under linux > Compiled at Dec 17 2005 03:24:12 > @INC: > /usr/lib/perl5/5.8.3/i586-linux-thread-multi > /usr/lib/perl5/5.8.3 > /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.3 > /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.3 > /usr/lib/perl5/vendor_perl > . > > # uname -a > Linux testserv 2.6.5-7.286-bigsmp #1 SMP Thu May 31 10:12:58 UTC > 2007 i686 > i686 i386 GNU/Linux > is a SLES 9 SP3 x86 Server. > > > I have also a similar x86_64 Server and on this one the make test > works fine. > Here is the perl -V output: > > # perl -V > Summary of my perl5 (revision 5.0 version 8 subversion 3) > configuration: > Platform: > osname=linux, osvers=2.6.5, archname=x86_64-linux-thread-multi > uname='linux mahler 2.6.5 #1 smp thu aug 25 06:20:45 utc 2005 > 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=-O2 -fmessage-length=0 -Wall -Wall -pipe' > hint=recommended, useposix=true, d_sigaction=define > usethreads=define use5005threads=undef 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 -DTHREADS_HAVE_PIDS -fno-strict- > aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > optimize='-O2 -fmessage-length=0 -Wall -Wall -pipe', > > cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno- > strict-aliasing' > ccversion='', gccversion='3.3.3 (SuSE Linux)', 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//lib64/libc.so.6, so=so, useshrplib=true, > libperl=libperl.so > gnulibc_version='2.3.3' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, > ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.3/x86_64-linux- > thread-multi/CORE' > cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64' > > > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT > USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT > Locally applied patches: > SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962 > Built under linux > Compiled at Dec 17 2005 03:22:14 > @INC: > /usr/lib/perl5/5.8.3/x86_64-linux-thread-multi > /usr/lib/perl5/5.8.3 > /usr/lib/perl5/site_perl/5.8.3/x86_64-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.3 > /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.3 > /usr/lib/perl5/vendor_perl > . > > I'm not experienced with perl, but if I can help you to solve the > problem > please feel free to ask. > > Greetings > Stefan
------------------------------------------------------ Ik dacht net... heel even maar.
Download PGP.sig
application/pgp-signature 227b

Message body not shown because it is not plain text.