Skip Menu |

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

Report information
The Basics
Id: 88635
Status: open
Priority: 0/
Queue: NetAddr-IP

People
Owner: Nobody in particular
Requestors: dsteinbrunner [...] pobox.com
Cc:
AdminCc:

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



Subject: test failures
I'm trying to install version 4.070 on my OS X 10.8.4 box using perl 5.18.1 and getting this: Test Summary Report ------------------- t/binet_ntoa.t (Wstat: 0 Tests: 20 Failed: 3) Failed tests: 7, 9, 11 t/binet_pton.t (Wstat: 0 Tests: 32 Failed: 3) Failed tests: 19, 21, 23 t/inet_pton.t (Wstat: 0 Tests: 32 Failed: 3) Failed tests: 19, 21, 23 t/ipv6_ntoa.t (Wstat: 0 Tests: 20 Failed: 3) Failed tests: 7, 9, 11 Files=39, Tests=1528, 2 wallclock secs ( 0.20 usr 0.07 sys + 0.83 cusr 0.15 csys = 1.25 CPU) Result: FAIL Failed 4/39 test programs. 12/1528 subtests failed. I have not tried installing against a different OS or perl version but I pretty sure the last module release had this same issue under that same configuration, I just had not gotten around to reporting it.
From: dsteinbrunner [...] pobox.com
On Thu Sep 12 20:29:34 2013, dsteinbrunner@pobox.com wrote: Show quoted text
> I have not tried installing against a different OS or perl version but > I pretty sure the last module release had this same issue under that > same configuration, I just had not gotten around to reporting it.
I just installed it fine on a Windows 8 box with 5.18.0 and on Debian 5.0.9 with 5.16.3 on it...
From: dsteinbrunner [...] pobox.com
On Thu Sep 12 21:25:59 2013, dsteinbrunner@pobox.com wrote: Show quoted text
> On Thu Sep 12 20:29:34 2013, dsteinbrunner@pobox.com wrote: >
> > I have not tried installing against a different OS or perl version > > but > > I pretty sure the last module release had this same issue under that > > same configuration, I just had not gotten around to reporting it.
> > I just installed it fine on a Windows 8 box with 5.18.0 and on Debian > 5.0.9 with 5.16.3 on it...
I just installed using the same Debian box but with 5.18.1 and I have installed with the same Mac OS X box using 5.16.3 without issue. So it seems to have something to do with Mac OS X and perl 5.18.1.
From: dluke [...] geeklair.net
On Fri Sep 13 09:41:52 2013, dsteinbrunner@pobox.com wrote: Show quoted text
> I just installed using the same Debian box but with 5.18.1 and I have > installed with the same Mac OS X box using 5.16.3 without issue. > > So it seems to have something to do with Mac OS X and perl 5.18.1.
This same thing happens on Mac OS X 10.5 with MacPorts' perl v5.12.4 verbose prove output looks like this: Lite/Util/t/binet_ntoa.t .............. 1..20 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 got: ::0.0.0.33 exp: ::21 not ok 7 ok 8 got: ::1:2:3:4:5:6:7 exp: 0:1:2:3:4:5:6:7 not ok 9 ok 10 got: 1:2:3:4:5:6:7:: exp: 1:2:3:4:5:6:7:0 not ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 Failed 3/20 subtests Lite/Util/t/binet_pton.t .............. 1..32 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 got: ::0.0.0.33 exp: ::21 not ok 19 ok 20 got: ::1:2:3:4:5:6:7 exp: 0:1:2:3:4:5:6:7 not ok 21 ok 22 got: 1:2:3:4:5:6:7:: exp: 1:2:3:4:5:6:7:0 not ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 Failed 3/32 subtests Lite/Util/t/inet_pton.t ............... 1..32 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 got: ::0.0.0.33 exp: ::21 not ok 19 ok 20 got: ::1:2:3:4:5:6:7 exp: 0:1:2:3:4:5:6:7 not ok 21 ok 22 got: 1:2:3:4:5:6:7:: exp: 1:2:3:4:5:6:7:0 not ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 Failed 3/32 subtests Lite/Util/t/ipv6_ntoa.t ............... 1..20 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 got: ::0.0.0.33 exp: ::21 not ok 7 ok 8 got: ::1:2:3:4:5:6:7 exp: 0:1:2:3:4:5:6:7 not ok 9 ok 10 got: 1:2:3:4:5:6:7:: exp: 1:2:3:4:5:6:7:0 not ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 Failed 3/20 subtests
From: dluke [...] geeklair.net
On Tue Feb 11 16:43:22 2014, dluke@geeklair.net wrote: Show quoted text
> On Fri Sep 13 09:41:52 2013, dsteinbrunner@pobox.com wrote:
> > I just installed using the same Debian box but with 5.18.1 and I have > > installed with the same Mac OS X box using 5.16.3 without issue. > > > > So it seems to have something to do with Mac OS X and perl 5.18.1.
> > This same thing happens on Mac OS X 10.5 with MacPorts' perl v5.12.4
... and I see the same thing on Mac OS X 10.9.2 with a perlbrew-built perl v5.18.2
Show quoted text
> ... and I see the same thing on Mac OS X 10.9.2 with a perlbrew-built > perl v5.18.2
same here, but not on ubuntu precise + perl v5.18.2 (osx 10.9 perl 5.18.2) Test Summary Report ------------------- t/binet_ntoa.t (Wstat: 0 Tests: 20 Failed: 3) Failed tests: 7, 9, 11 t/binet_pton.t (Wstat: 0 Tests: 32 Failed: 3) Failed tests: 19, 21, 23 t/inet_pton.t (Wstat: 0 Tests: 32 Failed: 3) Failed tests: 19, 21, 23 t/ipv6_ntoa.t (Wstat: 0 Tests: 20 Failed: 3) Failed tests: 7, 9, 11 Files=39, Tests=1528, 2 wallclock secs ( 0.27 usr 0.09 sys + 1.14 cusr 0.28 csys = 1.78 CPU) Result: FAIL Failed 4/39 test programs. 12/1528 subtests failed. make[2]: *** [test_dynamic] Error 255 make[1]: *** [subdirs-test] Error 2 make: *** [subdirs-test] Error 2
From: dluke [...] geeklair.net
On Tue Apr 15 12:16:11 2014, dluke@geeklair.net wrote: Show quoted text
> On Tue Feb 11 16:43:22 2014, dluke@geeklair.net wrote:
> > On Fri Sep 13 09:41:52 2013, dsteinbrunner@pobox.com wrote:
> > > I just installed using the same Debian box but with 5.18.1 and I > > > have > > > installed with the same Mac OS X box using 5.16.3 without issue. > > > > > > So it seems to have something to do with Mac OS X and perl 5.18.1.
> > > > This same thing happens on Mac OS X 10.5 with MacPorts' perl v5.12.4
> > ... and I see the same thing on Mac OS X 10.9.2 with a perlbrew-built > perl v5.18.2
Still an issue with a perlbrew-built perl v5.20.0 on Mac OS X 10.9.3 with NetAddr::IP 4.075
From: dluke [...] geeklair.net
On Mon Jun 16 10:01:08 2014, dluke@geeklair.net wrote: Show quoted text
> Still an issue with a perlbrew-built perl v5.20.0 on Mac OS X 10.9.3 > with NetAddr::IP 4.075
Still an issue with perlbrew-built perl v5.22.0 on Mac OS X 10.10.3, NetAddr::IP 4.075
Need access to a box to test this on. Any volunteers for remote access? On Thu Sep 12 20:29:34 2013, dsteinbrunner@pobox.com wrote: Show quoted text
> I'm trying to install version 4.070 on my OS X 10.8.4 box using perl > 5.18.1 and getting this: > > Test Summary Report > ------------------- > t/binet_ntoa.t (Wstat: 0 Tests: 20 Failed: 3) > Failed tests: 7, 9, 11 > t/binet_pton.t (Wstat: 0 Tests: 32 Failed: 3) > Failed tests: 19, 21, 23 > t/inet_pton.t (Wstat: 0 Tests: 32 Failed: 3) > Failed tests: 19, 21, 23 > t/ipv6_ntoa.t (Wstat: 0 Tests: 20 Failed: 3) > Failed tests: 7, 9, 11 > Files=39, Tests=1528, 2 wallclock secs ( 0.20 usr 0.07 sys + 0.83 > cusr 0.15 csys = 1.25 CPU) > Result: FAIL > Failed 4/39 test programs. 12/1528 subtests failed. > > I have not tried installing against a different OS or perl version but > I pretty sure the last module release had this same issue under that > same configuration, I just had not gotten around to reporting it.
On Fri Aug 14 03:38:41 2015, MIKER wrote: Show quoted text
> On Thu Sep 12 20:29:34 2013, dsteinbrunner@pobox.com wrote:
> > I'm trying to install version 4.070 on my OS X 10.8.4 box using perl > > 5.18.1 and getting this: > > > > Test Summary Report > > ------------------- > > t/binet_ntoa.t (Wstat: 0 Tests: 20 Failed: 3) > > Failed tests: 7, 9, 11 > > t/binet_pton.t (Wstat: 0 Tests: 32 Failed: 3) > > Failed tests: 19, 21, 23 > > t/inet_pton.t (Wstat: 0 Tests: 32 Failed: 3) > > Failed tests: 19, 21, 23 > > t/ipv6_ntoa.t (Wstat: 0 Tests: 20 Failed: 3) > > Failed tests: 7, 9, 11 > > Files=39, Tests=1528, 2 wallclock secs ( 0.20 usr 0.07 sys + 0.83 > > cusr 0.15 csys = 1.25 CPU) > > Result: FAIL > > Failed 4/39 test programs. 12/1528 subtests failed.
This seems to be a Socket6::inet_ntop on darwin problem. I didn't see any problem in ipv6_ntoa nor ipv6_aton itself. I'm onto it. -- Reini Urban
Show quoted text
> This seems to be a Socket6::inet_ntop on darwin problem. > I didn't see any problem in ipv6_ntoa nor ipv6_aton itself. > I'm onto it.
Confirmed. darwin system inet_ntop() is totally broken for some ipv6 addresses. Wonder how they can survive with this. I fixed it in Socket6 with a new probe, and I added some tests there. The fallback inet_ntop code work fine. See https://rt.cpan.org/Ticket/Display.html?id=113005 -- Reini Urban