Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: k.heinz-cpan [...] onlinehome.de
Cc:
AdminCc:

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



Subject: still problems with test 11-inet6.t (IPv6 enabled but no connectivity)
While preparing a package of Net-DNS 0.57 for the pkgsrc package collection on a NetBSD 3.0 system (perl 5.8.7, IPv6 enabled but without IPv6 connectivity, online tests disabled) I get the following during "make test": ====================================== ok 1 - use Net::DNS; # # The libraries needed for IPv6 support have been found # Now we establish if we can bind to ::1 ok 2 # skip online tests are not enabled Can't call method "errorstring" on an undefined value at t/11-inet6.t line 115. ok 3 # skip online tests are not enabled # Looks like you planned 11 tests but only ran 3. # Looks like your test died just after 3. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-11 Failed 8/11 tests, 27.27% okay (less 2 skipped tests: 1 okay, 9. 09%) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------ ------- t/11-inet6.t 255 65280 11 16 145.45% 4-11 2 subtests skipped. Failed 1/1 test scripts, 0.00% okay. 8/11 subtests failed, 27.27% okay. *** Error code 255 ====================================== With the first attached patch (patch-aa) all tests can finish but the results of tests 6 and 7 (tcp6 _cannot_ succeed without an IPv6 connection) are still wrong because they rely on "$res->nameservers($AAAA_address)" from tests 2-4 which were skipped (online tests disabled). Due to this relationship, I think tests 6 and 7 should also be skipped if online tests are not enabled (see the second patch, patch-ab). ====================================== ok 1 - use Net::DNS; # # The libraries needed for IPv6 support have been found # Now we establish if we can bind to ::1 ok 2 # skip online tests are not enabled ok 3 # skip online tests are not enabled ok 4 # skip online tests are not enabled ok 5 # skip No answer available to analyse (unknown error or no error) not ok 6 - Correct errorstring when forcing v4 # Failed test (t/11-inet6.t at line 126) # got: 'NOERROR' # expected: 'no nameservers' # Looks like you failed 1 test of 11. ok 7 - Query over tcp6 succeeded ok 8 # skip online tests are not enabled ok 9 # skip online tests are not enabled ok 10 # skip axfr_start did not return a socket ok 11 # skip axfr_start did not return a socket dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 6 ====================================== With both patches applied, I get 10/11 test skipped when online tests are disabled and the following correct results with online tests enabled: ====================================== ok 1 - use Net::DNS; # # The libraries needed for IPv6 support have been found # Now we establish if we can bind to ::1 # # # Testing for global IPv6 connectivity... # preparing... ok 2 - Preparing for v6 transport, got NS records for ripe.net ok 3 - Preparing for v4 transport, got A records for ns-pri.ripe.net # # Will try to connect to ns-pri.ripe.net (193.0.0.195) ok 4 - Preparing for v6 transport, got AAAA records for ns-pri.ripe.net # # Will try to connect to ns-pri.ripe.net (2001:610:240: 0:53:0:0:3) # # Connection failed: Send error: No route to host # # It seems you do not have global IPv6 connectivity' # This is not an error in Net::DNS # You can confirm this by trying 'ping6 2001:610:240:0: 53:0:0:3' # ok 5 # skip No answer available to analyse (Send error: No route to host) # You can safely ignore the following message: ok 6 - Correct errorstring when forcing v4 # configuring 2001:610:240:0:53:0:0:3 193.0.0.195 as nameservers ok 7 - Fallback to V4 succeeded ok 8 - Preparing for v6 transport, got NS records for net-dns.org ok 9 - Preparing for v6 transport, got AAAA records for ns.hactrn.net # # Trying to connect to ns.hactrn.net (2002:425c:4242:0: 210:5aff:fe86:1f54) ok 10 # skip axfr_start did not return a socket ok 11 # skip axfr_start did not return a socket ok 3/11 skipped: various reasons All tests successful, 3 subtests skipped. ======================================
Subject: patch-ab
Download patch-ab
application/octet-stream 1.8k

Message body not shown because it is not plain text.

From: .heinz-cpan [...] onlinehome.de
Show quoted text
> With the first attached patch (patch-aa) all tests can finish but > the results of tests 6 and 7 (tcp6 _cannot_ succeed without an IPv6
patch-aa was missing. ciao Klaus
Download patch-aa
application/octet-stream 920b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #18113] still problems with test 11-inet6.t (IPv6 enabled but no connectivity)
Date: Mon, 13 Mar 2006 16:14:27 +0100
To: bug-Net-DNS [...] rt.cpan.org
From: "Olaf M. Kolkman" <olaf [...] dacht.net>
On Mar 11, 2006, at 12:09 AM, Guest via RT wrote: Show quoted text
> > Fri Mar 10 18:09:14 2006: Request 18113 was acted upon. > Transaction: Ticket created by guest > Queue: Net-DNS > Subject: still problems with test 11-inet6.t (IPv6 enabled but no > connectivity) > Owner: Nobody > Requestors: k.heinz-cpan@onlinehome.de > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=18113 > > > > While preparing a package of Net-DNS 0.57 for the pkgsrc package > collection on a NetBSD 3.0 system (perl 5.8.7, IPv6 enabled but > without IPv6 connectivity, online tests disabled) I get the following > during "make test":
Thanks... nasty cornercase in the test script that I had not catched. I reckon that you can work around this in preparing the package (Is the Net BSD ports collection working similar to the FreeBSD ports collection, with local patches and such?). I am happy I only get bug reports for the test scripts :-)... --Olaf ------------------------------------------------------ Ik dacht net... heel even maar.
Download PGP.sig
application/pgp-signature 227b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #18113] still problems with test 11-inet6.t (IPv6 enabled but no connectivity)
Date: Mon, 13 Mar 2006 19:42:01 +0100
To: "Olaf M. Kolkman via RT" <bug-Net-DNS [...] rt.cpan.org>
From: Klaus Heinz <k.heinz-cpan [...] onlinehome.de>
Olaf M. Kolkman via RT wrote: Show quoted text
> I reckon that you can work around this in preparing the package (Is > the Net BSD ports collection working similar to the FreeBSD ports > collection, with local patches and such?).
Pkgsrc is quite similar to the FreeBSD ports system in this regard, so it is not _that_ urgent to fix it in Net-DNS. On the other hand, we try to minimize the amount of patches we have to keep in our own repository so it would be nice if you could include them in the next release. ciao Klaus
Subject: Re: [rt.cpan.org #18113] still problems with test 11-inet6.t (IPv6 enabled but no connectivity)
Date: Tue, 14 Mar 2006 08:11:52 +0100
To: bug-Net-DNS [...] rt.cpan.org
From: "Olaf M. Kolkman" <olaf [...] dacht.net>
Show quoted text
> > Pkgsrc is quite similar to the FreeBSD ports system in this regard, so > it is not _that_ urgent to fix it in Net-DNS. On the other hand, we > try > to minimize the amount of patches we have to keep in our own > repository > so it would be nice if you could include them in the next release.
Off course... the trunk has been patched already. --Olaf ------------------------------------------------------ Ik dacht net... heel even maar.
Download PGP.sig
application/pgp-signature 227b

Message body not shown because it is not plain text.

From: João Guilherme Cardoso de Mello (jguilherme [...] tw.inf.br)
remove te follow package ( and reinstall it later ): libio-socket-inet6-perl libnet-ip-perl libsocket6-perl libmail-spf-query-perl libnet-cidr-lite-perl now you are ready to install Net::DNS :) On Sex. Mar. 10 18:09:14 2006, guest wrote: Show quoted text
> While preparing a package of Net-DNS 0.57 for the pkgsrc package > collection on a NetBSD 3.0 system (perl 5.8.7, IPv6 enabled but > without IPv6 connectivity, online tests disabled) I get the following > during "make test": > > ====================================== > ok 1 - use Net::DNS; > # > # The libraries needed for IPv6 support have been found > # Now we establish if we can bind to ::1 > ok 2 # skip online tests are not enabled > Can't call method "errorstring" on an undefined value at t/11-inet6.t > line 115. > ok 3 # skip online tests are not enabled > # Looks like you planned 11 tests but only ran 3. > # Looks like your test died just after 3. > dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 4-11 > Failed 8/11 tests, 27.27% okay (less 2 skipped tests: 1 okay, 9. > 09%) > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------ > ------- > t/11-inet6.t 255 65280 11 16 145.45% 4-11 > 2 subtests skipped. > Failed 1/1 test scripts, 0.00% okay. 8/11 subtests failed, 27.27% okay. > *** Error code 255 > ====================================== > > > With the first attached patch (patch-aa) all tests can finish but > the results of tests 6 and 7 (tcp6 _cannot_ succeed without an IPv6 > connection) are still wrong because they rely on > "$res->nameservers($AAAA_address)" from tests 2-4 which were skipped > (online tests disabled). Due to this relationship, I think tests 6 and > 7 should also be skipped if online tests are not enabled (see the second > patch, patch-ab). > > ====================================== > ok 1 - use Net::DNS; > # > # The libraries needed for IPv6 support have been found > # Now we establish if we can bind to ::1 > ok 2 # skip online tests are not enabled > ok 3 # skip online tests are not enabled > ok 4 # skip online tests are not enabled > ok 5 # skip No answer available to analyse (unknown error or no error) > not ok 6 - Correct errorstring when forcing v4 > > # Failed test (t/11-inet6.t at line 126) > # got: 'NOERROR' > # expected: 'no nameservers' > # Looks like you failed 1 test of 11. > ok 7 - Query over tcp6 succeeded > ok 8 # skip online tests are not enabled > ok 9 # skip online tests are not enabled > ok 10 # skip axfr_start did not return a socket > ok 11 # skip axfr_start did not return a socket > dubious > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 6 > > ====================================== > > > With both patches applied, I get 10/11 test skipped when online tests > are disabled and the following correct results with online tests > enabled: > > ====================================== > ok 1 - use Net::DNS; > # > # The libraries needed for IPv6 support have been found > # Now we establish if we can bind to ::1 > # > # > # Testing for global IPv6 connectivity... > # preparing... > ok 2 - Preparing for v6 transport, got NS records for ripe.net > ok 3 - Preparing for v4 transport, got A records for ns-pri.ripe.net > # > # Will try to connect to ns-pri.ripe.net (193.0.0.195) > ok 4 - Preparing for v6 transport, got AAAA records for ns-pri.ripe.net > # > # Will try to connect to ns-pri.ripe.net (2001:610:240: > 0:53:0:0:3) > # > # Connection failed: Send error: No route to host > # > # It seems you do not have global IPv6 connectivity' > # This is not an error in Net::DNS > # You can confirm this by trying 'ping6 2001:610:240:0: > 53:0:0:3' > # > ok 5 # skip No answer available to analyse (Send error: No route to > host) > # You can safely ignore the following message: > ok 6 - Correct errorstring when forcing v4 > # configuring 2001:610:240:0:53:0:0:3 193.0.0.195 as nameservers > ok 7 - Fallback to V4 succeeded > ok 8 - Preparing for v6 transport, got NS records for net-dns.org > ok 9 - Preparing for v6 transport, got AAAA records for ns.hactrn.net > # > # Trying to connect to ns.hactrn.net (2002:425c:4242:0: > 210:5aff:fe86:1f54) > ok 10 # skip axfr_start did not return a socket > ok 11 # skip axfr_start did not return a socket > ok > 3/11 skipped: various reasons > All tests successful, 3 subtests skipped. > ======================================
Subject: Re: [rt.cpan.org #18113] still problems with test 11-inet6.t (IPv6 enabled but no connectivity)
Date: Thu, 8 Jun 2006 15:38:23 +0200
To: bug-Net-DNS [...] rt.cpan.org
From: "Olaf M. Kolkman" <olaf [...] dacht.net>
On Jun 8, 2006, at 3:28 PM, Guest via RT wrote: Show quoted text
> > Queue: Net-DNS > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=18113 > > > remove te follow package ( and reinstall it later ): > > > libio-socket-inet6-perl libnet-ip-perl libsocket6-perl > libmail-spf-query-perl libnet-cidr-lite-perl > > now you are ready to install Net::DNS :) >
Is this with version 0.57 from CPAN or with the version that still lives in the SVN repository only and has not yet been released? --Olaf
Download PGP.sig
application/pgp-signature 227b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #18113] Resolved: still problems with test 11-inet6.t (IPv6 enabled but no connectivity)
Date: Sat, 15 Jul 2006 13:53:02 +0200
To: Olaf Kolkman via RT <bug-Net-DNS [...] rt.cpan.org>
From: Klaus Heinz <k.heinz-cpan [...] onlinehome.de>
Olaf Kolkman via RT wrote: Show quoted text
I discovered that somehow in Net-DNS 0.58 one part of my patch-aa has not been applied: t/11-inet6.................ok 1/11# # The libraries needed for IPv6 support have been found # Now we establish if we can bind to ::1 t/11-inet6.................ok 2/11# Looks like you planned 11 tests but only ran 10. t/11-inet6.................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 11 Failed 1/11 tests, 90.91% okay (less 9 skipped tests: 1 okay, 9.09%) Again, this is when IPv6 is enabled but online tests are disabled. I will append the missing part of the patch again. ciao Klaus
Subject: Re: [rt.cpan.org #18113] Resolved: still problems with test 11-inet6.t (IPv6 enabled but no connectivity)
Date: Mon, 17 Jul 2006 09:07:28 +0200
To: bug-Net-DNS [...] rt.cpan.org
From: "Olaf M. Kolkman" <olaf [...] dacht.net>
Show quoted text
> > Again, this is when IPv6 is enabled but online tests are disabled. > I will append the missing part of the patch again. >
Hmm, puzzled of why this happened and why I did not notice. Anyway, its fixed on the trunk. 0.59 should behave better, or at least have other bugs :-) Thanks! --Olaf ------------------------------------------------------ Ik dacht net... heel even maar.
Download PGP.sig
application/pgp-signature 227b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #18113] Resolved: still problems with test 11-inet6.t (IPv6 enabled but no connectivity)
Date: Mon, 17 Jul 2006 17:02:39 +0200
To: "Olaf M. Kolkman via RT" <bug-Net-DNS [...] rt.cpan.org>
From: Klaus Heinz <k.heinz-cpan [...] onlinehome.de>
Olaf M. Kolkman via RT wrote: Show quoted text
> Hmm, puzzled of why this happened and why I did not notice. > > Anyway, its fixed on the trunk. 0.59 should behave better, or at > least have other bugs :-)
We'll see :) I did not attach the patch because I am still struggling with this new authentication scheme on rt.cpan.org. Neither Opera nor Firefox work for me. ciao Klaus
Fixed in 0.59