Subject: | t/policy.t fails on 5.26.1 |
all my Perl modules are up2date, Perl is a perlbrewed 5.26.1 on Ubuntu 17.10 64bit with up2date patches.
My network is IPv6 enabled (also DNS), wireshark shows only a dns query for the TXT record of _domainkey.policy.test.authmilter.org which seems to come from line 20 of this test.
[alex@alex-pc:~/.cpanm/work/1516541074.19275/Mail-DKIM-0.52$ ]$ perl -Ilib -MCarp::Always t/policy.t
1..19
ok 1 - new() works
ok 2 - parse() works
ok 3 - fetch() works (requires DNS)
ok 4 - not the default policy
ok 5 - parse() works (no tags)
ok 6 - note tag has default value
ok 7 - note tag has been changed
ok 8 - policy tag has default value
ok 9 - policy tag has been changed
ok 10 - testing flag has default value
ok 11 - as_string() method is implemented
DNS error: SERVFAIL
at lib/Mail/DKIM/DNS.pm line 182.
Mail::DKIM::DNS::query("_domainkey.doesnotexist.test.authmilter.org.invalid", "TXT") called at lib/Mail/DKIM/DNS.pm line 206
eval {...} called at lib/Mail/DKIM/DNS.pm line 209
Mail::DKIM::DNS::__ANON__() called at lib/Mail/DKIM/Policy.pm line 52
Mail::DKIM::Policy::fetch("Mail::DKIM::DkPolicy", "Protocol", "dns", "Sender", "alfred\@doesnotexist.test.authmilter.org.invalid") called at lib/Mail/DKIM/DNS.pm line 200.
Mail::DKIM::DNS::__ANON__("DNS error: SERVFAIL\x{a} at lib/Mail/DKIM/DNS.pm line 182.\x{a}\x{9}Mail:"...) called at lib/Mail/DKIM/DNS.pm line 210
Mail::DKIM::DNS::__ANON__() called at lib/Mail/DKIM/Policy.pm line 52
Mail::DKIM::Policy::fetch("Mail::DKIM::DkPolicy", "Protocol", "dns", "Sender", "alfred\@doesnotexist.test.authmilter.org.invalid") called at t/policy.t line 45
# Looks like your test exited with 255 just after 11.