Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: efe [...] atmsol.com
Cc:
AdminCc:

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



Subject: Net::DNS install test fails with Net::DNS::Packet error
New installation of Net::DNS through CPAN shell command 'install Net::DNS' fails. The following excerpt of installation tests show failure point: ... t/06-update.t .............. ok t/07-misc.t ................ ok t/08-online.t .............. 53/95 # Failed test 'The object isa Net::DNS::Packet' # at t/08-online.t line 110. # The object isn't defined # NXDOMAIN t/08-online.t .............. 54/95 # Failed test 'The object isa Net::DNS::Packet' # at t/08-online.t line 110. # The object isn't defined # SERVFAIL t/08-online.t .............. 78/95 # Looks like you planned 95 tests but ran 93. # Looks like you failed 2 tests of 93 run. t/08-online.t .............. Dubious, test returned 2 (wstat 512, 0x200) Failed 4/95 subtests t/09-tkey.t ................ ok t/10-recurse.t ............. ok ... My installation of Perl is v5.8.4 on a Solaris 10 server: Show quoted text
> perl -v
This is perl, v5.8.4 built for sun4-solaris-64int (with 29 registered patches, see perl -V for more detail) Copyright 1987-2004, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. Show quoted text
> uname -a
SunOS ASCSUN3 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-280R
the SERVFAIL in the error log below indicates that there was a problem fetching the answer by the recursive nameserver that you queried. # Failed test 'The object isa Net::DNS::Packet' # at t/08-online.t line 110. # The object isn't defined # SERVFAIL I've added some code to handle this gracefully, although there is no way all cornercases that we'll encounter in these on-line tests can be handled gracefully.