Skip Menu |
 

This queue is for tickets about the Mail-SPF CPAN distribution.

Report information
The Basics
Id: 28545
Status: resolved
Priority: 0/
Queue: Mail-SPF

People
Owner: JMEHNLE [...] cpan.org
Requestors: bitcard [...] x09.de
schneecrash [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: v2.007
Fixed in: v2.8.0



Subject: Mail::SPFv2.005 'make test' fails: "t/10.00-rfc4408.t {101 119 181 191}"
Date: Sun, 29 Jul 2007 17:18:38 -0700
To: bug-Mail-SPF [...] rt.cpan.org
From: snowcrash <schneecrash [...] gmail.com>
Download (untitled) / with headers
text/plain 2.5k
bug-Mail-SPF@rt.cpan.org. with perl -VSummary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=darwin, osvers=8.8.0, archname=darwin-thread-multi-2level uname='darwin sc 8.8.0 darwin kernel version 8.8.0: fri sep 8 17:18:57 pdt 2006; root:xnu-792.12.6.obj~1release_ppc power macintosh powerpc ' building, cpanp -z Mail::SPF grep -A1 "name:" META.yml name: Mail-SPF version: v2.005 ./Build realclean perl Build.PL ./Build test fails, Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------- t/10.00-rfc4408.t 4 1024 326 4 101 119 181 191 Failed 1/10 test scripts. 4/485 subtests failed. Files=10, Tests=485, 29 wallclock secs (14.67 cusr + 1.27 csys = 15.94 CPU) Failed 1/10 test programs. 4/485 subtests failed. and, verbose test output, t/10.00-rfc4408...............1..326 ... ok 100 - Test case 'a-cidr6-0-ip4' explanation not relevant # Test case 'a-colon-domain' result: # Expected: 'pass' # Got: 'neutral' not ok 101 - Test case 'a-colon-domain' result # Failed test 'Test case 'a-colon-domain' result' # at t/Mail-SPF-Test-lib.pm line 89. ok 102 - Test case 'a-colon-domain' explanation not applicable ... ok 118 - Test case 'a-bad-cidr4' explanation not applicable # Test case 'a-colon-domain-ip4mapped' result: # Expected: 'pass' # Got: 'neutral' not ok 119 - Test case 'a-colon-domain-ip4mapped' result # Failed test 'Test case 'a-colon-domain-ip4mapped' result' # at t/Mail-SPF-Test-lib.pm line 89. ok 120 - Test case 'a-colon-domain-ip4mapped' explanation not applicable ... ok 180 - Test case 'mx-empty-domain' explanation not applicable # Test case 'mx-colon-domain-ip4mapped' result: # Expected: 'pass' # Got: 'neutral' not ok 181 - Test case 'mx-colon-domain-ip4mapped' result # Failed test 'Test case 'mx-colon-domain-ip4mapped' result' # at t/Mail-SPF-Test-lib.pm line 89. ok 182 - Test case 'mx-colon-domain-ip4mapped' explanation not applicable ... ok 190 - Test case 'mx-numeric-top-label' explanation not applicable # Test case 'mx-colon-domain' result: # Expected: 'pass' # Got: 'neutral' not ok 191 - Test case 'mx-colon-domain' result # Failed test 'Test case 'mx-colon-domain' result' # at t/Mail-SPF-Test-lib.pm line 89. ok 192 - Test case 'mx-colon-domain' explanation not applicable ... # Looks like you failed 4 tests of 326. dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 101, 119, 181, 191 Failed 4/326 tests, 98.77% okay
From: william.cole [...] gedas.com
Download (untitled) / with headers
text/plain 1.4k
On Sun Jul 29 20:19:00 2007, schneecrash@gmail.com wrote: Show quoted text
> bug-Mail-SPF@rt.cpan.org. > > with > > perl -VSummary of my perl5 (revision 5 version 8 subversion 8) > configuration: > Platform: > osname=darwin, osvers=8.8.0, archname=darwin-thread-multi-2level > uname='darwin sc 8.8.0 darwin kernel version 8.8.0: fri sep 8 > 17:18:57 pdt 2006; root:xnu-792.12.6.obj~1release_ppc power macintosh > powerpc '
Data point: I see an identical problem using the Apple-provided version of perl current for PPC MacOS 10.4.10 Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=darwin, osvers=8.0, archname=darwin-thread-multi-2level uname='darwin b07.apple.com 8.0 darwin kernel version 8.3.0: mon oct 3 20:04:04 pdt 2005; root:xnu-792.6.22.obj~2release_ppc power macintosh powerpc ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef # uname -a Darwin toaster 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh powerpc It may be relevant that the MacOS/Darwin resolver is not much like others.
Subject: Re: [rt.cpan.org #28545] Mail::SPFv2.005 'make test' fails: "t/10.00-rfc4408.t {101 119 181 191}"
Date: Wed, 1 Aug 2007 15:01:26 -0700
To: bug-Mail-SPF [...] rt.cpan.org
From: snowcrash+spf <schneecrash+spf [...] gmail.com>
Download (untitled) / with headers
text/plain 662b
Show quoted text
> It may be relevant that the MacOS/Darwin resolver is not much like others.
i'd guess that the resolver is involved. though, i'd argue, that statement might be a bit broad ... osx's 'lookupd': http://developer.apple.com/documentation/Darwin/Reference/ManPages/man5/resolver.5.html is bsd-resolver-related, and is available as a freebsd port: http://www.freshports.org/sysutils/lookupd as well. also, lots of apps -- f/oss & otherwise -- /do/ manage to use osx' resolver out-of-the-box (well, sometimes requiring the BIND_8_COMPAT knob) without issue. so, i'm guessing there's some spf-specific issue as well. remains to be seen, of course ... cheers
Subject: 'make test' in Mail-SPF gives error: Domain-spec may contain any visible char except %
Download (untitled) / with headers
text/plain 2.2k
When installing Mail-SPF-2.005 (and Mail-SPF-2.004) and invoking a 'make test' (which is using Mail-SPF-Test, when I am correct) following errors are occuring under Solaris 9 (SPARC) and Fedora 7 (Linux i386) using Perl 5.8.8: [...] t/10.00-rfc4408...............ok 16/326# Test case 'a-colon-domain' result: # Expected: 'pass' # Got: 'neutral' # Failed test 'Test case 'a-colon-domain' result' # at t/Mail-SPF-Test-lib.pm line 89. t/10.00-rfc4408...............NOK 101/326# Test case description: Domain-spec may contain any visible char except % t/10.00-rfc4408...............ok 103/326# Test case 'a-colon-domain-ip4mapped' result: # Expected: 'pass' # Got: 'neutral' # Failed test 'Test case 'a-colon-domain-ip4mapped' result' # at t/Mail-SPF-Test-lib.pm line 89. t/10.00-rfc4408...............NOK 119/326# Test case description: Domain-spec may contain any visible char except % t/10.00-rfc4408...............ok 179/326# Test case 'mx-colon-domain-ip4mapped' result: # Expected: 'pass' # Got: 'neutral' # Failed test 'Test case 'mx-colon-domain-ip4mapped' result' # at t/Mail-SPF-Test-lib.pm line 89. t/10.00-rfc4408...............NOK 181/326# Test case description: Domain-spec may contain any visible char except % # Test case 'mx-colon-domain' result: # Expected: 'pass' # Got: 'neutral' # Failed test 'Test case 'mx-colon-domain' result' # at t/Mail-SPF-Test-lib.pm line 89. t/10.00-rfc4408...............NOK 191/326# Test case description: Domain-spec may contain any visible char except % t/10.00-rfc4408...............ok 315/326# Looks like you failed 4 tests of 326. t/10.00-rfc4408...............dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 101, 119, 181, 191 Failed 4/326 tests, 98.77% okay t/10.01-rfc4406...............ok t/90-author-pod-validation....ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/10.00-rfc4408.t 4 1024 326 4 101 119 181 191 Failed 1/10 test scripts. 4/485 subtests failed. Files=10, Tests=485, 13 wallclock secs (12.26 cusr + 0.65 csys = 12.91 CPU) Failed 1/10 test programs. 4/485 subtests failed. make: *** [test] Error 29 Exit 2 ... any ideas what's going on and how to fix it?
Download (untitled) / with headers
text/plain 842b
The system's resolver isn't the problem here because Mail::SPF uses Net::DNS::Resolver::Programmable to do _offline_ testing (net access can't be taken for granted with automated package building systems such as Debian's). The problem rather is a serious bug in Net::DNS 0.60+, which I filed after debugging this issue yesterday: http://rt.cpan.org/Ticket/Display.html?id=29531 I could eventually make Mail::SPF recommend the next version of Net::DNS that has this bug fixed, but there wouldn't be any guarantee that Net::DNS with all its automagic won't break again in the future, so there is really little point. Thus I have decided to do nothing and leave this bug report open (stalled) as a (historic) document and as a pointer for others who experience this issue. As a temporary solution, please downgrade to Net::DNS 0.59.
Download (untitled) / with headers
text/plain 841b
The system's resolver isn't the problem here because Mail::SPF uses Net::DNS::Resolver::Programmable to do _offline_ testing (net access can't be taken for granted with automated package building systems such as Debian's). The problem rather is a serious bug in Net::DNS 0.60+, which I filed after debugging this issue yesterday: http://rt.cpan.org/Ticket/Display.html?id=29531 I could eventually make Mail::SPF recommend the next version of Net::DNS that has this bug fixed, but there wouldn't be any guarantee that Net::DNS with all its automagic won't break again in the future, so there is really little point. Thus I have decided to do nothing and leave this bug report open (stalled) as a (historic) document and as a pointer for others who experience this issue. As a temporary solution, please downgrade to Net::DNS 0.59.
From: paul [...] city-fan.org
Download (untitled) / with headers
text/plain 164b
On Fri Sep 21 09:55:26 2007, JMEHNLE wrote: Show quoted text
> As a temporary solution, please downgrade to Net::DNS 0.59.
Net::DNS 0.63 doesn't appear to suffer from this problem.
It's fixed in Net::DNS 0.62. The next release of Mail::SPF is going to require 0.62 or higher.
2.008 requires Net::DNS 0.62+.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.