Skip Menu |

This queue is for tickets about the NetAddr-IP CPAN distribution.

Report information
The Basics
Id: 18794
Status: resolved
Priority: 0/
Queue: NetAddr-IP

People
Owner: luismunoz [...] cpan.org
Requestors: cvicente [...] ns.uoregon.edu
Cc:
AdminCc:

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



Subject: Failed tests on RH AS4
Multiple tests fail under RedHat AS4: $ uname -a Linux xxx 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 athlon i386 GNU/Linux perl -V Summary of my perl5 (revision 5 version 8 subversion 5) configuration: Platform: osname=linux, osvers=2.6.9-22.18.bz155725.elsmp, archname=i386-linux-thread-multi uname='linux hs20-bc1-4.build.redhat.com 2.6.9-22.18.bz155725.elsmp #1 smp thu nov 17 15:34:08 est 2005 i686 i686 i386 gnulinux ' config_args='-des -Doptimize=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Dversion=5.8.5 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0' 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 I can provide more details about this particular setup if needed. Here's the output from the CPAN install process: Checking if your kit is complete... Looks good Writing Makefile for NetAddr::IP cp IP.pm blib/lib/NetAddr/IP.pm Manifying blib/man3/NetAddr::IP.3pm /usr/bin/make -- OK Running 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 t/00-Sign..........WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 0EB4 46D4 9070 4283 7429 443F 4320 D619 123F 8610 t/00-Sign..........ok t/bitops...........ok t/imhoff...........ok t/loops............ok t/masklen..........ok t/new-store........ok t/old-store........ok t/over-arr.........ok t/over-qq..........ok t/relops...........ok t/short............ok t/v4-aton..........NOK 5 # Failed test '->aton(broadcast)' # in t/v4-aton.t at line 32. # got: 'ß<W' # expected: 'ÿÿÿÿ' t/v4-aton..........ok 18/18# Looks like you failed 1 test of 18. t/v4-aton..........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 5 Failed 1/18 tests, 94.44% okay t/v4-badnm.........ok t/v4-base..........ok t/v4-basem.........ok t/v4-cidr..........ok t/v4-cnew..........ok t/v4-coalesce......ok t/v4-compact.......ok t/v4-compplus......ok t/v4-contains......ok t/v4-first.........ok t/v4-hostenum......ok t/v4-last..........ok t/v4-new...........ok t/v4-num...........ok t/v4-numeric.......FAILED test 3 Failed 1/20 tests, 95.00% okay t/v4-range.........ok t/v4-re............ok t/v4-snew..........ok 14/34 # Failed test 'Matching ->addr()' t/v4-snew..........NOK 15# in t/v4-snew.t at line 29. # got: 'x.x.60.87' <--(anonymized) # expected: '255.255.255.255' t/v4-snew..........ok 34/34# Looks like you failed 1 test of 34. t/v4-snew..........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 15 Failed 1/34 tests, 97.06% okay t/v4-split-bulk....ok t/v4-split-list....ok t/v4-sprefix.......ok t/v4-wnew..........ok t/v4-xprefix.......ok t/v6-base..........ok t/v6-contains......ok t/v6-inc...........ok t/v6-numeric.......ok t/v6-split-bulk....ok t/wildcard.........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/v4-aton.t 1 256 18 1 5.56% 5 t/v4-numeric.t 20 1 5.00% 3 t/v4-snew.t 1 256 34 1 2.94% 15 Failed 3/42 test scripts, 92.86% okay. 3/2298 subtests failed, 99.87% 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 Please investigate. Thanks.
On Thu Apr 20 01:24:48 2006, guest wrote: Show quoted text
> Linux xxx 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 > athlon > i386 GNU/Linux > > perl -V > Summary of my perl5 (revision 5 version 8 subversion 5) configuration: > (...) > t/v4-aton..........NOK 5 > > # Failed test '->aton(broadcast)' > # in t/v4-aton.t at line 32. > # got: 'ß<W' > # expected: 'ÿÿÿÿ' > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 5 > Failed 1/18 tests, 94.44% okay
This is likely #14793 at work. This is fixed in the next release. Show quoted text
> t/v4-numeric.......FAILED test 3
Another instance where keywords may be conflicting local names. Show quoted text
> # Failed test 'Matching ->addr()' > t/v4-snew..........NOK 15# in t/v4-snew.t at line 29. > > # got: 'x.x.60.87' <--(anonymized) > # expected: '255.255.255.255' > t/v4-snew..........ok 34/34# Looks like you failed 1 test of 34.
Definitely a local name conflicting with a built-in keyword. Show quoted text
> Please investigate.
Next release will likely see a fix for this. Thanks for reporting this and feel free to reopen if the bug occurs again. -lem