You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jonathan Allen <jo...@barumtrading.co.uk> on 2007/07/03 16:46:12 UTC

Errors in CPAN test

Hi List,

So what's with 3.2.1 ?  I'm running 3.1.8 and did the standard:

   cpan Mail::SpamAssassin

and got:

t/spamc_optC................FAILED tests 2, 4, 6, 8
	Failed 4/9 tests, 55.56% okay
t/spamc_optL................FAILED tests 1-16
	Failed 16/16 tests, 0.00% okay
t/spamd_allow_user_rules....FAILED test 4
	Failed 1/5 tests, 80.00% okay
t/spamd_plugin..............FAILED tests 2, 4, 6
	Failed 3/6 tests, 50.00% okay
Failed Test                Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/spamc_optC.t                            9    4  2 4 6 8
t/spamc_optL.t                           16   16  1-16
t/spamd_allow_user_rules.t                5    1  4
t/spamd_plugin.t                          6    3  2 4 6
23 tests skipped.
Failed 4/129 test scripts. 24/1924 subtests failed.

	Not found: reported spam = Message successfully reported/revoked
# Failed test 2 in t/SATest.pm at line 635
Output can be examined in: log/d.spamc_optC/out.1
	Not found: revoked ham = Message successfully reported/revoked
# Failed test 4 in t/SATest.pm at line 635 fail #2
Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3
	Not found: failed to report spam = Unable to report/revoke message
# Failed test 6 in t/SATest.pm at line 635 fail #3
Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3 log/d.spamc_optC/out.5
	Not found: failed to revoke ham = Unable to report/revoke message
# Failed test 8 in t/SATest.pm at line 635 fail #4
Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3 log/d.spamc_optC/out.5 log/d.spamc_optC/out.7
# Failed test 1 in t/spamc_optL.t at line 20
	Not found: learned spam = Message successfully un/learned
# Failed test 2 in t/SATest.pm at line 635
Output can be examined in: 
# Failed test 3 in t/spamc_optL.t at line 24
	Not found: already learned spam = Message was already un/learned
# Failed test 4 in t/SATest.pm at line 635 fail #2
Output can be examined in: 
ERROR: Bayes dump returned an error, please re-run with -D for more information
# Failed test 5 in t/spamc_optL.t at line 28
	Not found: spam in database = 1 0  non-token data: nspam
# Failed test 6 in t/SATest.pm at line 635 fail #3
Output can be examined in: 
# Failed test 7 in t/spamc_optL.t at line 32
	Not found: forget spam = Message successfully un/learned
# Failed test 8 in t/SATest.pm at line 635 fail #4
Output can be examined in: 
# Failed test 9 in t/spamc_optL.t at line 36
	Not found: learned ham = Message successfully un/learned
# Failed test 10 in t/SATest.pm at line 635 fail #5
Output can be examined in: 
# Failed test 11 in t/spamc_optL.t at line 40
	Not found: already learned ham = Message was already un/learned
# Failed test 12 in t/SATest.pm at line 635 fail #6
Output can be examined in: 
ERROR: Bayes dump returned an error, please re-run with -D for more information
# Failed test 13 in t/spamc_optL.t at line 44
	Not found: ham in database = 1 0  non-token data: nham
# Failed test 14 in t/SATest.pm at line 635 fail #7
Output can be examined in: 
# Failed test 15 in t/spamc_optL.t at line 48
	Not found: learned ham = Message successfully un/learned
# Failed test 16 in t/SATest.pm at line 635 fail #8
Output can be examined in: 
	Not found: myfoo =  1.0 MYFOO 
# Failed test 4 in t/SATest.pm at line 635
Output can be examined in: log/d.spamd_allow_user_rules/out.2 log/d.spamd_allow_user_rules/spamd.err.1
	Not found: called1 =  test: called myTestPlugin, round 1 
# Failed test 2 in t/SATest.pm at line 635
Output can be examined in: log/d.spamd_plugin/out.1 log/d.spamd_plugin/spamd.err.1
	Not found: called2 =  called myTestPlugin, round 2 
# Failed test 4 in t/SATest.pm at line 635 fail #2
Output can be examined in: log/d.spamd_plugin/out.1 log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.3 log/d.spamd_plugin/spamd.err.1
	Not found: called3 =  called myTestPlugin, round 3 
# Failed test 6 in t/SATest.pm at line 635 fail #3
Output can be examined in: log/d.spamd_plugin/out.1 log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.3 log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.5 log/d.spamd_plugin/spamd.err.1
Failed 4/129 test programs. 24/1924 subtests failed.
make: *** [test_dynamic] Error 255

What do I do next ?

Jonathan

Re: Errors in CPAN test

Posted by Matt Kettler <mk...@verizon.net>.
Jonathan Allen wrote:
> Hi List,
>
> So what's with 3.2.1 ?  I'm running 3.1.8 and did the standard:
>
>    cpan Mail::SpamAssassin
>   

Symptom of bug 5510 that affects 3.2.1:

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5510

Essentially, make test will always fail if run as root, which is exactly
what CPAN does.

Unfortunately, this is fixed, but it's targeted for release in 3.2.2,
which isn't out yet..

You can either force install, or install from a tarball and do your
make/make test as a non-root user, then su to root for the make install
part.



Re: Errors in CPAN test

Posted by MIKE YRABEDRA <li...@323inc.com>.

Force install or wait for 3.2.2




on 7/3/07 10:46 AM, Jonathan Allen at jonathan@barumtrading.co.uk wrote:

> Hi List,
> 
> So what's with 3.2.1 ?  I'm running 3.1.8 and did the standard:
> 
>    cpan Mail::SpamAssassin
> 
> and got:
> 
> t/spamc_optC................FAILED tests 2, 4, 6, 8
> Failed 4/9 tests, 55.56% okay
> t/spamc_optL................FAILED tests 1-16
> Failed 16/16 tests, 0.00% okay
> t/spamd_allow_user_rules....FAILED test 4
> Failed 1/5 tests, 80.00% okay
> t/spamd_plugin..............FAILED tests 2, 4, 6
> Failed 3/6 tests, 50.00% okay
> Failed Test                Stat Wstat Total Fail  List of Failed
> 
------------------------------------------------------------------------------>
-
> t/spamc_optC.t                            9    4  2 4 6 8
> t/spamc_optL.t                           16   16  1-16
> t/spamd_allow_user_rules.t                5    1  4
> t/spamd_plugin.t                          6    3  2 4 6
> 23 tests skipped.
> Failed 4/129 test scripts. 24/1924 subtests failed.
> 
> Not found: reported spam = Message successfully reported/revoked
> # Failed test 2 in t/SATest.pm at line 635
> Output can be examined in: log/d.spamc_optC/out.1
> Not found: revoked ham = Message successfully reported/revoked
> # Failed test 4 in t/SATest.pm at line 635 fail #2
> Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3
> Not found: failed to report spam = Unable to report/revoke message
> # Failed test 6 in t/SATest.pm at line 635 fail #3
> Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3
> log/d.spamc_optC/out.5
> Not found: failed to revoke ham = Unable to report/revoke message
> # Failed test 8 in t/SATest.pm at line 635 fail #4
> Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3
> log/d.spamc_optC/out.5 log/d.spamc_optC/out.7
> # Failed test 1 in t/spamc_optL.t at line 20
> Not found: learned spam = Message successfully un/learned
> # Failed test 2 in t/SATest.pm at line 635
> Output can be examined in:
> # Failed test 3 in t/spamc_optL.t at line 24
> Not found: already learned spam = Message was already un/learned
> # Failed test 4 in t/SATest.pm at line 635 fail #2
> Output can be examined in:
> ERROR: Bayes dump returned an error, please re-run with -D for more
> information
> # Failed test 5 in t/spamc_optL.t at line 28
> Not found: spam in database = 1 0  non-token data: nspam
> # Failed test 6 in t/SATest.pm at line 635 fail #3
> Output can be examined in:
> # Failed test 7 in t/spamc_optL.t at line 32
> Not found: forget spam = Message successfully un/learned
> # Failed test 8 in t/SATest.pm at line 635 fail #4
> Output can be examined in:
> # Failed test 9 in t/spamc_optL.t at line 36
> Not found: learned ham = Message successfully un/learned
> # Failed test 10 in t/SATest.pm at line 635 fail #5
> Output can be examined in:
> # Failed test 11 in t/spamc_optL.t at line 40
> Not found: already learned ham = Message was already un/learned
> # Failed test 12 in t/SATest.pm at line 635 fail #6
> Output can be examined in:
> ERROR: Bayes dump returned an error, please re-run with -D for more
> information
> # Failed test 13 in t/spamc_optL.t at line 44
> Not found: ham in database = 1 0  non-token data: nham
> # Failed test 14 in t/SATest.pm at line 635 fail #7
> Output can be examined in:
> # Failed test 15 in t/spamc_optL.t at line 48
> Not found: learned ham = Message successfully un/learned
> # Failed test 16 in t/SATest.pm at line 635 fail #8
> Output can be examined in:
> Not found: myfoo =  1.0 MYFOO
> # Failed test 4 in t/SATest.pm at line 635
> Output can be examined in: log/d.spamd_allow_user_rules/out.2
> log/d.spamd_allow_user_rules/spamd.err.1
> Not found: called1 =  test: called myTestPlugin, round 1
> # Failed test 2 in t/SATest.pm at line 635
> Output can be examined in: log/d.spamd_plugin/out.1
> log/d.spamd_plugin/spamd.err.1
> Not found: called2 =  called myTestPlugin, round 2
> # Failed test 4 in t/SATest.pm at line 635 fail #2
> Output can be examined in: log/d.spamd_plugin/out.1
> log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.3
> log/d.spamd_plugin/spamd.err.1
> Not found: called3 =  called myTestPlugin, round 3
> # Failed test 6 in t/SATest.pm at line 635 fail #3
> Output can be examined in: log/d.spamd_plugin/out.1
> log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.3
> log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.5
> log/d.spamd_plugin/spamd.err.1
> Failed 4/129 test programs. 24/1924 subtests failed.
> make: *** [test_dynamic] Error 255
> 
> What do I do next ?
> 
> Jonathan

-- 
Mike Yrabedra B^)>