You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Robert Menschel <Ro...@Menschel.net> on 2004/11/06 23:59:02 UTC

DNSBL test failures

I lost my Windows XP desktop this month while I was out of town.

I've now reconstructed it from scratch, using the vendor's recovery
disks, ie: wiping out everything (fortunately all data is on backups).

I installed current Cygwin, all needed modules (I believe), then using
CPAN installed all modules needed for SpamAssassin, and then attempted
to install SA also via CPAN.

t/dnsbl is failing, with messages like:

> t/dnsbl..........Bareword found in conditional at t/dnsbl.t line 15.
>   Not found: P_2 =  <dns:134.88.73.210.dnsbltest.spamassassin.org>
>                         > [127.0.0.4]
> # Failed test 1 in t/SATest.pm at line 530
...
> t/dnsbl..........NOK 15# Failed test 17 in t/SATest.pm at line 530
>                  fail #17
>   Not found: P_13 =  DNSBL_TXT_TOP
>   # Failed test 18 in t/SATest.pm at line 530 fail #18
> t/dnsbl.....................FAILED tests 1-18
>        Failed 18/22 tests, 18.18% okay

Then,
> # Failed test 1 in t/SATest.pm at line 530
> t/spf.......................NOK 1# Failed test 2 in t/SATest.pm at
>         line 530 fail #2
> t/spf.......................FAILED tests 1-2
>         Failed 2/2 tests, 0.00% okay

Resulting in:
> Failed Test Stat Wstat Total Fail  Failed  List of Failed
> t/dnsbl.t                 22   18  81.82%  1-18
> t/spf.t                    2    2 100.00%  1-2
> 5 tests skipped.
> Failed 2/67 test scripts, 97.01% okay. 20/1493 subtests failed, 98.66% okay.
> make: *** [test_dynamic] Error 255
>   /usr/bin/make test -- NOT OK

Now, I don't /need/ network tests on this machine -- I use this for
rule testing and mass-checks, and not for any actual mail processing.
I can install SA and ignore these network tests, and do what /I/ need,
but then I couldn't contribute network results to any global
mass-check runs.

As far as I can tell, I have all needed prerequistes, including:
> cpan> install Net::DNS
> Net::DNS is up to date.
> cpan> install Mail::SPF::Query
> Mail::SPF::Query is up to date.

I'll push forward and see what I can figure out about this, but I throw
this to the list to see if anyone has run into anything similar and
can help me short-circuit this process and get me running (I still
have about 20 other applications/suites to install before I'm back
where I was when I left town).

Thanks for any help.

Bob Menschel




Re: DNSBL test failures

Posted by Robert Menschel <Ro...@Menschel.net>.
Saturday, November 6, 2004, 2:59:02 PM, I wrote:

RM> I lost my Windows XP desktop this month while I was out of town.
RM> I've now reconstructed it from scratch, using the vendor's recovery
RM> disks, ie: wiping out everything (fortunately all data is on backups).
RM> I installed current Cygwin, all needed modules (I believe), then using
RM> CPAN installed all modules needed for SpamAssassin, and then attempted
RM> to install SA also via CPAN.

RM> t/dnsbl is failing, with messages like:

>> t/dnsbl..........Bareword found in conditional at t/dnsbl.t line 15.
>>   Not found: P_2 =  <dns:134.88.73.210.dnsbltest.spamassassin.org>
>>                         > [127.0.0.4]
>> # Failed test 1 in t/SATest.pm at line 530
RM> ...

Another data point for those interested:

I've made no system changes (no changes anywhere within the Cygwin
environment), but instead of using CPAN to download 3.0.1, I did a
direct download of 3.0.1 from the Apache mirror (zip format), unzipped
the file into my Cygwin home directory, and did a standard install
(perl Makefile.PL ; make ; make test ; make install). I used the same
default userid in both runs, and expected the results to be the same.

However, the only error during the entire "make test" suite was
> t/dnsbl.....Bareword found in conditional at t/dnsbl.t line 15.
None of the other errors were reported, and the tests completed with
> All tests successful, 5 tests skipped.
> Files=67, Tests=1493, 498 wallclock secs (202.32 cusr + 92.63 csys = 294.94 CPU)

The code I downloaded from the mirror should be identical to what came
to me via CPAN, but the results are different.

Any ideas why?  If I can figure out anything useful from this, I'm
willing to document it on the Wiki, but so far all I've got are some
head scratches.

Bob Menschel