Subject: | Tests fail with v6 nameservers in resolv.conf |
Date: | Wed, 12 Nov 2008 15:21:36 +0100 |
To: | bug-Mail-DKIM [...] rt.cpan.org |
From: | Peter Pramberger <peter [...] pramberger.at> |
Hi,
I'm not sure if this is Mail::DKIMs fault. Anyway the policy and
verifier tests fail if there are IPv6 resolvers configured on the system.
Mail-DKIM-0.32
This is perl, v5.8.8 built for x86_64-linux-thread-multi
on CentOS 5.2
DEBUG: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
DEBUG: t/Mail-DKIM..................ok
DEBUG: t/policy.....................
DEBUG: # Failed test 'not the default policy'
DEBUG: # in t/policy.t at line 21.
DEBUG: # Looks like you failed 1 test of 12.
DEBUG: dubious
DEBUG: Test returned status 1 (wstat 256, 0x100)
DEBUG: DIED. FAILED test 4
DEBUG: Failed 1/12 tests, 91.67% okay
DEBUG: t/signature..................ok
DEBUG: t/signer.....................ok
DEBUG: t/signer_policy..............ok
DEBUG: t/simple_canonicalization....ok
DEBUG: t/textwrap...................ok
DEBUG: t/verifier...................
DEBUG: # Failed test 'result() works and gave expected answer'
DEBUG: # in t/verifier.t at line 28.
DEBUG:
DEBUG: # Failed test ''mine_ietf01_1.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''mine_ietf01_2.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''mine_ietf01_3.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''mine_ietf01_4.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''mine_ietf05_1.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_ietf00_1.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_ietf00_2.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_ietf00_3.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_ietf00_4.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_ietf00_5.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_ietf01_1.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_ietf01_2.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_rfc4871_3.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_rfc4871_4.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_1878523.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''multiple_1.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''multiple_2.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test 'second signature is 'pass''
DEBUG: # in t/verifier.t at line 54.
DEBUG:
DEBUG: # Failed test 'third signature is 'fail''
DEBUG: # in t/verifier.t at line 55.
DEBUG:
DEBUG: # Failed test ''good_qp_1.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_qp_2.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_qp_3.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''bad_ietf01_1.txt' should 'fail''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test 'determined body had been altered'
DEBUG: # in t/verifier.t at line 61.
DEBUG:
DEBUG: # Failed test ''bad_ietf01_2.txt' should 'fail''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test 'determined message had been altered'
DEBUG: # in t/verifier.t at line 63.
DEBUG:
DEBUG: # Failed test ''bad_ietf01_3.txt' should 'fail''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test 'determined RSA failure'
DEBUG: # in t/verifier.t at line 65.
DEBUG:
DEBUG: # Failed test ''bad_1.txt' should 'fail''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''bad_1878954.txt' should 'fail''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_dk_gmail.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_dk_yahoo.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_dk_1.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_dk_2.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_dk_3.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_dk_4.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_dk_5.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_dk_6.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''good_dk_7.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''dk_headers_1.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''dk_headers_2.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''dk_multiple_1.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test 'first signature is 'pass''
DEBUG: # in t/verifier.t at line 95.
DEBUG:
DEBUG: # Failed test 'second signature is 'pass''
DEBUG: # in t/verifier.t at line 96.
DEBUG:
DEBUG: # Failed test ''no_body_1.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''no_body_2.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''no_body_3.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''goodkey_1.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''goodkey_2.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''goodkey_3.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG:
DEBUG: # Failed test ''goodkey_4.txt' should 'pass''
DEBUG: # in t/verifier.t at line 169.
DEBUG: # Looks like you failed 52 tests of 83.
DEBUG: dubious
DEBUG: Test returned status 52 (wstat 13312, 0x3400)
DEBUG: DIED. FAILED tests 5-22, 24-35, 37-48, 51, 53-57, 66-69
DEBUG: Failed 52/83 tests, 37.35% okay (less 1 skipped test: 30 okay,
36.14%)
DEBUG: Failed Test Stat Wstat Total Fail Failed List of Failed
DEBUG:
-------------------------------------------------------------------------------
DEBUG: t/policy.t 1 256 12 1 8.33% 4
DEBUG: t/verifier.t 52 13312 83 52 62.65% 5-22 24-35 37-48 51
53-57 66-69
DEBUG: 1 subtest skipped.
DEBUG: Failed 2/8 test scripts, 75.00% okay. 53/162 subtests failed,
67.28% okay.
After changing the entries to IPv4, the tests succeed:
DEBUG: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
DEBUG: t/Mail-DKIM..................ok
DEBUG: t/policy.....................ok
DEBUG: t/signature..................ok
DEBUG: t/signer.....................ok
DEBUG: t/signer_policy..............ok
DEBUG: t/simple_canonicalization....ok
DEBUG: t/textwrap...................ok
DEBUG: t/verifier...................ok
DEBUG: All tests successful.
DEBUG: Files=8, Tests=162, 3 wallclock secs ( 0.35 cusr + 0.18 csys =
0.53 CPU)
Br,
Peter