Bug 1346 - Make Test Errors
Summary: Make Test Errors
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Other other
: P1 normal
Target Milestone: ---
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-06 08:05 UTC by Marc Perkel
Modified: 2003-01-08 20:25 UTC (History)
1 user (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Perkel 2003-01-06 08:05:24 UTC
This may just be me but if it isn't then it's a setious problem so I'm reporting
it here to get some quick attention.

When I run "make test" - this is what happens.

t/rule_tests........ok
t/spamd_maxchildren.ok 1/22     Not found: endsinnums =  FROM_ENDS_IN_NUMS
       Not found: noreal =  NO_REAL_NAME
       Not found: flag =  X-Spam-Flag: YES
       Not found: stars =  X-Spam-Level: **********
       Not found: status =  X-Spam-Status: Yes, hits=
t/spamd_maxchildren.ok 15/22    Not found: endsinnums =  FROM_ENDS_IN_NUMS
       Not found: noreal =  NO_REAL_NAME
       Not found: flag =  X-Spam-Flag: YES
       Not found: stars =  X-Spam-Level: **********
       Not found: status =  X-Spam-Status: Yes, hits=
t/spamd_maxchildren.FAILED tests 3-7, 17-21
       Failed 10/22 tests, 54.55% okay
t/spamd_maxsize.....ok
t/spamd_parallel....    Not found: endsinnums =  FROM_ENDS_IN_NUMS
       Not found: noreal =  NO_REAL_NAME
       Not found: flag =  X-Spam-Flag: YES
       Not found: stars =  X-Spam-Level: **********
       Not found: status =  X-Spam-Status: Yes, hits=
t/spamd_parallel....ok 14/20    Not found: endsinnums =  FROM_ENDS_IN_NUMS
       Not found: noreal =  NO_REAL_NAME
       Not found: flag =  X-Spam-Flag: YES
       Not found: stars =  X-Spam-Level: **********
       Not found: status =  X-Spam-Status: Yes, hits=
t/spamd_parallel....FAILED tests 2-6, 16-20
       Failed 10/20 tests, 50.00% okay
t/spamd_port........    Not found: flag =  X-Spam-Flag: YES
       Not found: status =  X-Spam-Status: Yes, hits=
t/spamd_port........FAILED tests 3-4
       Failed 2/4 tests, 50.00% okay
t/spamd_stop........    Not found: status =  X-Spam-Status: Yes,
t/spamd_stop........FAILED test 2
       Failed 1/2 tests, 50.00% okay
t/spamd.............    Not found: endsinnums =  FROM_ENDS_IN_NUMS
       Not found: noreal =  NO_REAL_NAME
       Not found: flag =  X-Spam-Flag: YES
       Not found: stars =  X-Spam-Level: **********
       Not found: status =  X-Spam-Status: Yes, hits=
t/spamd.............FAILED tests 2-3, 5-7
       Failed 5/7 tests, 28.57% okay
t/spamd_utf8........ok
t/spam..............ok
t/strip2............ok
Comment 1 Michael Parker 2003-01-08 13:19:12 UTC
I'm seeing similar failures with the addition of:
....spamd start failed at t/SATest.pm line 232.


Maybe you need to kill a running spamd process?


Running via TEST_VERBOSE=1 and taking the command line and running it for one of
the tests gives me this:

 /usr/bin/perl -T -w ../spamd/spamd -x -D -p 48373 -C ../rules -L 
debug: Score set 0 chosen.
debug: bayes: tie-ing to DB file R/O /home/parker/.spamassassin/bayes_toks
debug: bayes: tie-ing to DB file R/O /home/parker/.spamassassin/bayes_seen
debug: Score set 2 chosen.
debug: ignore: test message to precompile patterns and load modules
debug: using "../rules" for site rules dir
debug: Initialising learner
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=2.2
debug: bayes corpus size: nspam = 1772, nham = 2366
debug: tokenize: header tokens for *F = "ignore@compiling.spamassassin.taint.org"
debug: tokenize: header tokens for *m = " 1042058590 74771 spamassassin_spamd_init "
debug: bayes token 'somewhat' => 0.00353460972017673
debug: bayes token 'N:H*m:NNNNN' => 0.00875505132002485
debug: bayes token 'N:H*m:NNNNNNNNNN' => 0.0225482513320125
debug: bayes: score = 0.0116130367180614
debug: bayes: untie-ing
debug: bayes: untie-ing db_toks
debug: bayes: untie-ing db_seen
debug: running raw-body-text per-line regexp tests; score so far=2.2
debug: running uri tests; score so far=2.2
debug: uri tests: Done uriRE
debug: running full-text regexp tests; score so far=2.2
debug: local tests only, ignoring DCC
debug: local tests only, ignoring Razor1
debug: local tests only, ignoring Razor2
debug: local tests only, ignoring Pyzor
debug: all '*From' addrs: ignore@compiling.spamassassin.taint.org
debug: all '*To' addrs: 
debug: is DNS available? 0
debug: running meta tests; score so far=3.2
debug: is spam? score=1.2 required=5
tests=BAYES_01,DATE_MISSING,MISSING_HEADERS,NO_REAL_NAME
Insecure dependency in unlink while running with -T switch at ../spamd/spamd
line 980.


Comment 2 Justin Mason 2003-01-09 05:25:23 UTC
ok, now fixed