Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: APOCAL [...] cpan.org
Cc:
AdminCc:

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



Subject: 08-online.t fails with my ISP
The online test failed, I suspect it's because my ISP is returning different values than what is expected ( damn Qwest! ) Is it possible to update the test so it passes with what the Qwest DNS servers returns? Running [/usr/bin/make test]... PERL_DL_NONLAZY=1 /home/apoc/perl/perl-5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # # These tests were ran with: # Net::DNS::VERSION: 0.65 # set environment variable NET_DNS_DEBUG to get all versions t/00-load.t ................ ok t/00-pod.t ................. skipped: Test::Pod v0.95 required for testing POD t/00-version.t ............. ok t/001-connection-checks.t .. ok # # # Executing heuristic to see if have unlimited view of the Internet # If the heuristic fails this could have various reasons probably having # nothing to do with bugs in Net::DNS # # t/01-resolver-env.t ........ ok t/01-resolver-file.t ....... ok t/01-resolver-flags.t ...... ok t/01-resolver-opt.t ........ ok t/01-resolver.t ............ ok t/02-header.t .............. ok t/03-question.t ............ ok t/04-packet-unique-push.t .. ok t/04-packet.t .............. ok t/05-apl.t ................. ok t/05-rr-opt.t .............. ok t/05-rr-rrsort.t ........... ok t/05-rr-sshfp.t ............ skipped: Digest::BubbleBabble not installed. t/05-rr-txt.t .............. ok t/05-rr-unknown.t .......... ok t/05-rr-various.t .......... ok t/05-rr.t .................. ok t/06-update.t .............. ok t/07-misc.t ................ ok # Failed test 'search(198.41.0.4) works' # at t/08-online.t line 116. # got: 'a.root' # expected: 'a.root-servers.net' # Failed test 'query(198.41.0.4) works' # at t/08-online.t line 116. # got: 'a.root' # expected: 'a.root-servers.net' # Failed test 'search(2001:500:1::803f:235) works' # at t/08-online.t line 116. # got: 'h.root' # expected: 'h.root-servers.net' # Failed test 'query(2001:500:1::803f:235) works' # at t/08-online.t line 116. # got: 'h.root' # expected: 'h.root-servers.net' t/08-online.t .............. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/95 subtests # Looks like you failed 4 tests of 95. t/09-tkey.t ................ ok t/10-recurse.t ............. skipped: Cannot run these tests from this IP:192.168.0.7 # Using the XS compiled dn_expand function # # disabling XS based dns_expand for a moment. # # Continuing to use the XS based dn_expand() t/11-escapedchars.t ........ ok t/11-inet6.t ............... skipped: Online tests disabled. t/12-compression.t ......... ok 123456789112345678921234567893123456789412345678951234567896123... truncated to 63 octets (RFC1035 2.3.1) at t/12-compression.t line 56 # Cleaning Proceed anyway? [y/N]: t/99-cleanup.t ............. ok Test Summary Report ------------------- t/08-online.t (Wstat: 1024 Tests: 95 Failed: 4) Failed tests: 54, 56, 58, 60 Non-zero exit status: 4 Files=30, Tests=1541, 81 wallclock secs ( 0.03 usr 0.19 sys + 1.70 cusr 0.63 csys = 2.55 CPU) -- ~Apocalypse
Which is not a bug in the code but due to the fact that your ISP plays the 'mess with the DNS' game. Little I can do for you except that you should just ignore the failure of the test.