You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by BG Mahesh <bg...@indiainfo.com> on 2004/10/14 13:24:04 UTC

SA 3.0/Failed Test

hi

I am trying to install SA 3.0 on RedHat linux. During testing the error I get is,

% make test

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/bayesdbm..................skipped
        all skipped: no reason given
t/bayesdbm_flock............skipped
        all skipped: no reason given
t/bayessql..................skipped
        all skipped: no reason given
t/dnsbl.....................    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
        Not found: P_7 =  <dns:134.88.73.210.sb.dnsbltest.spamassassin.org?type=TXT>
# Failed test 2 in t/SATest.pm at line 530 fail #2
        Not found: P_4 =  <dns:14.35.17.212.dnsbltest.spamassassin.org> [127.0.0.1, 127.0.0.1]
# Failed test 3 in t/SATest.pm at line 530 fail #3
        Not found: P_3 =  <dns:18.13.119.61.dnsbltest.spamassassin.org> [127.0.0.12]
# Failed test 4 in t/SATest.pm at line 530 fail #4
        Not found: P_5 =  <dns:226.149.120.193.dnsbltest.spamassassin.org> [127.0.0.1]
# Failed test 5 in t/SATest.pm at line 530 fail #5
        Not found: P_1 =  <dns:98.3.137.144.dnsbltest.spamassassin.org> [127.0.0.2]
t/dnsbl.....................NOK 1# Failed test 6 in t/SATest.pm at line 530 fail #6
        Not found: P_6 =  <dns:example.com.dnsbltest.spamassassin.org> [127.0.0.2]
# Failed test 7 in t/SATest.pm at line 530 fail #7
        Not found: P_15 =  DNSBL_RHS
# Failed test 8 in t/SATest.pm at line 530 fail #8
        Not found: P_17 =  DNSBL_SB_FLOAT
t/dnsbl.....................NOK 2# Failed test 9 in t/SATest.pm at line 530 fail #9
        Not found: P_18 =  DNSBL_SB_STR
# Failed test 10 in t/SATest.pm at line 530 fail #10
        Not found: P_16 =  DNSBL_SB_TIME
# Failed test 11 in t/SATest.pm at line 530 fail #11
        Not found: P_10 =  DNSBL_TEST_DYNAMIC
# Failed test 12 in t/SATest.pm at line 530 fail #12
        Not found: P_12 =  DNSBL_TEST_RELAY
t/dnsbl.....................NOK 3# Failed test 13 in t/SATest.pm at line 530 fail #13
        Not found: P_11 =  DNSBL_TEST_SPAM
# Failed test 14 in t/SATest.pm at line 530 fail #14
        Not found: P_8 =  DNSBL_TEST_TOP
# Failed test 15 in t/SATest.pm at line 530 fail #15
t/dnsbl.....................NOK 4       Not found: P_9 =  DNSBL_TEST_WHITELIST
# Failed test 16 in t/SATest.pm at line 530 fail #16
        Not found: P_14 =  DNSBL_TXT_RE
# 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
t/hashcash..................skipped
        all skipped: no reason given
t/razor2....................skipped
        all skipped: no reason given
t/spamd_ldap................skipped
        all skipped: no reason given
t/spamd_ssl.................skipped
        all skipped: no reason given
t/spf.......................skipped
        all skipped: no reason given
t/sql_based_whitelist.......skipped
        all skipped: no reason given
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/dnsbl.t                 22   18  81.82%  1-18
9 tests skipped.
Failed 1/67 test scripts, 98.51% okay. 18/1396 subtests failed, 98.71% okay.
make: *** [test_dynamic] Error 29
[root@ns3 Mail-SpamAssassin-3.0.0]#


How do I fix this problem?

--
B.G. Mahesh
bg.mahesh@indiainfo.com
http://www.indiainfo.com/

-- 
______________________________________________
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com 
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!

Powered by Outblaze

Re: SA 3.0/Failed Test

Posted by Bob Apthorpe <ap...@cynistar.net>.
Hi,

On Thu, 14 Oct 2004 16:54:04 +0530 "BG Mahesh" <bg...@indiainfo.com> wrote:

> I am trying to install SA 3.0 on RedHat linux. During testing the error
> I get is,
> 
> % make test
> [dnsbl test failures]
>
> How do I fix this problem?

What does:

  perl -e 'use Net::DNS; print $Net::DNS::VERSION, "\n";'

return?

My suspicion is that your installed version of Net::DNS is too old; you
should have v0.34 or later on Unix or 0.46 or later on Windows.

hth,

-- Bob

Re: SA 3.0/Failed Test

Posted by Matt Kettler <mk...@evi-inc.com>.
At 07:24 AM 10/14/2004, BG Mahesh wrote:

<skip bunch of garbage showing dns test failures>

>How do I fix this problem?


Remember when the "perl Makefile.pl" warned you that checking network rules 
could cause make test to fail, but you turned them on anyway?

         Check network rules during 'make test' (test scripts may fail due 
to network problems)? (y/n) [n]

Anyway:

1) check your resolv.conf verify that each of the listed DNS servers works 
properly.
         $cat /etc/resolv.conf
                 nameserver 1.1.1.1
                 nameserver 2.2.2.2
         $dig @1.1.1.1 www.spamassassin.org
         $dig @2.2.2.2 www.spamassassin.org
         etc.

The results from dig should have an "ANSWER SECTION". If it's missing, and 
you only get back a question section and authority section the resolve failed.


2) Check that you can manually resolve the test that failed

         $host  134.88.73.210.dnsbltest.spamassassin.org
         134.88.73.210.dnsbltest.spamassassin.org has address 127.0.0.4

3)  You can try to re-run make test, and it should work if #2 works, or you 
can re-do the build from scratch and this time tell SA to not test the 
network tests.