Bug 5343 - 'make test' failures: sa trunk/v3.2.0-pre1-r499012; lots of test-only --lint errors
Summary: 'make test' failures: sa trunk/v3.2.0-pre1-r499012; lots of test-only --lint ...
Status: RESOLVED DUPLICATE of bug 5270
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Building & Packaging (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: All Mac OS X
: P5 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-20 15:50 UTC by snowcrash+apache
Modified: 2007-02-21 02:01 UTC (History)
0 users



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 snowcrash+apache 2007-02-20 15:50:45 UTC
running,

	spamassassin --version
		SpamAssassin version 3.2.0-pre1-r499012
		  running on Perl version 5.8.8

on,

	uname -a
		Darwin snowcrash 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep  8 17:18:57 PDT
2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc

after an error-free 'make'/'make install',

	spamassassin --lint --nocreate-prefs --debug

passes with *no* failures/errors, and *just* 3 warnings:

  [13221] warn: config: warning: score set for non-existent rule MAILTO_TO_SPAM_ADDR
  [13221] warn: config: warning: score set for non-existent rule ADVANCE_FEE_1
  [13221] warn: config: warning: score set for non-existent rule FORGED_RCVD_HELO

(i'll chase those down later ...), and, fyi, the executable works as expected
installed in my mailserver (exim) ...

subsequent,

	'make test'

reports,

	Failed Test             Stat Wstat Total Fail  List of Failed
	-------------------------------------------------------------------------------
	t/basic_lint.t                         1    1  1
	t/lang_lint.t                          8    8  1-8
	t/lint_nocreate_prefs.t                2    1  1
	t/meta.t                 255 65280     2    4  1-2
	t/trust_path.t                        69   19  2 5 8 11 14 17 20 23 26 29 32 35
												   47 50 53 56 59 65 68
	17 tests skipped.
	Failed 5/127 test scripts. 31/1807 subtests failed.
	Files=127, Tests=1807, 6422 wallclock secs (3222.48 cusr + 693.48 csys =
3915.96 CPU)
	Failed 5/127 test programs. 31/1807 subtests failed.
	make: *** [test_dynamic] Error 255


VERBOSE test output for each of the failed tests follows here;

NOTE that there are *many* more "non-existent" warnings ...


(1)
make test TEST_VERBOSE=1 TEST_FILES="t/basic_lint.t"
	------------------------
	make -f spamc/Makefile spamc/spamc
	make[1]: `spamc/spamc' is up to date.
	[ ! -d rulesrc ] || /usr/local/bin/perl build/mkrules --src rulesrc --out rules
--manifest MANIFEST --manifestskip MANIFEST.SKIP
	mkrules: no rules updated
	/usr/local/bin/perl build/preprocessor  -Mvars -DVERSION="3.002000"
-DPREFIX="/usr/local/spamassassin"
-DDEF_RULES_DIR="/var/mail/spamassassin/distribution"
-DLOCAL_RULES_DIR="/var/mail/spamassassin/local"
-DLOCAL_STATE_DIR="/var/mail/spamassassin/updates"
-DINSTALLSITELIB="/usr/local/lib/perl/sitelib" -DCONTACT_ADDRESS="" -Msharpbang
-Mconditional -DPERL_BIN="/usr/local/bin/perl" -DPERL_WARN="" -DPERL_TAINT=""
-m755 -isa-update.raw -osa-update
	cp sa-update blib/script/sa-update
	/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-update
	PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'blib/lib', 'blib/arch')" t/basic_lint.t
	t/basic_lint....1..1
	# Running under perl version 5.008008 for darwin
	# Current time local: Tue Feb 20 14:49:11 2007
	# Current time GMT:   Tue Feb 20 22:49:11 2007
	# Using Test.pm version 1.25
			/usr/local/bin/perl -T -w ../spamassassin.raw -C log/test_rules_copy 
--siteconfigpath log/localrules.tmp -p log/test_default.cf  -L --lint
	[23986] warn: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
	[23986] warn: config: warning: score set for non-existent rule FM_SCHOOL_DIPLOMA
	[23986] warn: config: warning: score set for non-existent rule
TVD_FW_GRAPHIC_NAME_LONG
	[23986] warn: config: warning: score set for non-existent rule FB_RE_FI
	[23986] warn: config: warning: score set for non-existent rule HS_DRUG_DOLLAR_3
	[23986] warn: config: warning: score set for non-existent rule
XMAILER_MIMEOLE_OL_C7C33
	[23986] warn: config: warning: score set for non-existent rule FU_URI_TRACKER_T
	[23986] warn: config: warning: score set for non-existent rule HS_UPLOADED_SOFTWARE
	[23986] warn: config: warning: score set for non-existent rule
HS_BODY_UPLOADED_SOFTWARE
	[23986] warn: config: warning: score set for non-existent rule FRT_BIGGERMEM1
	[23986] warn: config: warning: score set for non-existent rule FU_COMMON_SUBS2
	[23986] warn: config: warning: score set for non-existent rule HS_DRUG_DOLLAR_MANY
	[23986] warn: config: warning: score set for non-existent rule FB_GVR
	[23986] warn: config: warning: score set for non-existent rule TVD_PH_SUBJ_URGENT
	[23986] warn: config: warning: score set for non-existent rule CTYPE_8SPACE_GIF
	[23986] warn: config: warning: score set for non-existent rule FM_MORTGAGE5PLUS
	[23986] warn: config: warning: score set for non-existent rule FB_MORE_SIZE
	[23986] warn: config: warning: score set for non-existent rule BANKING_LAWS
	[23986] warn: config: warning: score set for non-existent rule FB_SPACED_PHN_3B
	[23986] warn: config: warning: score set for non-existent rule KAM_STOCKTIP15
	[23986] warn: config: warning: score set for non-existent rule FB_P1LL
	[23986] warn: config: warning: score set for non-existent rule FB_NUMYO
	[23986] warn: config: warning: score set for non-existent rule
TVD_PH_SUBJ_ACCOUNTS_POST
	[23986] warn: config: warning: score set for non-existent rule FB_UNRESOLV_PROV
	[23986] warn: config: warning: score set for non-existent rule FB_EXTRA_INCHES
	[23986] warn: config: warning: score set for non-existent rule FS_NEW_SOFT_UPLOAD
	[23986] warn: config: warning: score set for non-existent rule FU_HOODIA
	[23986] warn: config: warning: score set for non-existent rule HS_MEETUP_FOR_SEX
	[23986] warn: config: warning: score set for non-existent rule FB_FHARMACY
	[23986] warn: config: warning: score set for non-existent rule DOS_YOUR_PLACE
	[23986] warn: config: warning: score set for non-existent rule TVD_RCVD_IP
	[23986] warn: config: warning: score set for non-existent rule FB_ALMOST_SEX
	[23986] warn: config: warning: score set for non-existent rule FB_FORWARD_LOOK
	[23986] warn: config: warning: score set for non-existent rule FB_ROLX
	[23986] warn: config: warning: score set for non-existent rule FM_SCHOOLING
	[23986] warn: config: warning: score set for non-existent rule HS_SUBJ_NEW_SOFTWARE
	[23986] warn: config: warning: score set for non-existent rule FH_HAS_XID
	[23986] warn: config: warning: score set for non-existent rule HS_DRUG_DOLLAR_2
	[23986] warn: config: warning: score set for non-existent rule LOOPHOLE_1
	[23986] warn: config: warning: score set for non-existent rule FB_CAN_LONGER
	[23986] warn: config: warning: score set for non-existent rule FB_THOUS_PERSONAL
	[23986] warn: config: warning: score set for non-existent rule FB_NOT_PHONE_NUM3
	[23986] warn: config: warning: score set for non-existent rule FRT_TODAY2
	[23986] warn: config: warning: score set for non-existent rule FH_RE_NEW_DDD
	[23986] warn: config: warning: score set for non-existent rule FS_DOLLAR_BONUS
	[23986] warn: config: warning: score set for non-existent rule FB_EMAIL_HIER
	[23986] warn: config: warning: score set for non-existent rule FS_CHEAP_CAP
	[23986] warn: config: warning: score set for non-existent rule FB_ANUI
	[23986] warn: config: warning: score set for non-existent rule
TVD_FW_GRAPHIC_NAME_MID
	[23986] warn: config: warning: score set for non-existent rule FB_UNLOCK_YOUR_G
	[23986] warn: config: warning: score set for non-existent rule HS_GETMEOFF
	[23986] warn: config: warning: score set for non-existent rule FM_PHN_NODNS
	[23986] warn: config: warning: score set for non-existent rule FB_NOT_SCHOOL
	[23986] warn: config: warning: score set for non-existent rule
SUBJECT_NEEDS_ENCODING
	[23986] warn: config: warning: score set for non-existent rule FH_FROM_HOODIA
	[23986] warn: config: warning: score set for non-existent rule FB_SSEX
	[23986] warn: config: warning: score set for non-existent rule HS_FORGED_OE_FW
	[23986] warn: config: warning: score set for non-existent rule TT_OBSCURED_VALIUM
	[23986] warn: config: warning: score set for non-existent rule FH_MSGID_01C70XXX
	[23986] warn: config: warning: score set for non-existent rule FRT_WEIGHT2
	[23986] warn: config: warning: score set for non-existent rule FU_END_ET
	[23986] warn: config: warning: score set for non-existent rule FH_HAS_XAIMC
	[23986] warn: config: warning: score set for non-existent rule FS_RAMROD
	[23986] warn: config: warning: score set for non-existent rule HS_DRUG_DOLLAR_1
	[23986] warn: config: warning: score set for non-existent rule FH_FROM_CASH
	[23986] warn: config: warning: score set for non-existent rule
XMAILER_MIMEOLE_OL_C9068
	[23986] warn: config: warning: score set for non-existent rule FS_TIP_DDD
	[23986] warn: config: warning: score set for non-existent rule FB_NOT_PHONE_NUM1
	[23986] warn: config: warning: score set for non-existent rule FRT_MEETING
	[23986] warn: config: warning: score set for non-existent rule
XMAILER_MIMEOLE_OL_D03AB
	[23986] warn: config: warning: score set for non-existent rule GEO_QUERY_STRING
	[23986] warn: lint: 71 issues detected, please rerun with debug enabled for
more information
			Not found: anything =   
	# Failed test 1 in t/SATest.pm at line 623
	Output can be examined in: 
			Checking anything
	not ok 1
	FAILED test 1
			Failed 1/1 tests, 0.00% okay
	Failed Test    Stat Wstat Total Fail  List of Failed
	-------------------------------------------------------------------------------
t/basic_lint.t                1    1  1
Failed 1/1 test scripts. 1/1 subtests failed.
Files=1, Tests=1, 26 wallclock secs (19.40 cusr +  5.01 csys = 24.41 CPU)
Failed 1/1 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 255
------------------------

(2)
make test TEST_VERBOSE=1 TEST_FILES="t/lang_lint.t"
------------------------
make -f spamc/Makefile spamc/spamc
make[1]: `spamc/spamc' is up to date.
[ ! -d rulesrc ] || /usr/local/bin/perl build/mkrules --src rulesrc --out rules
--manifest MANIFEST --manifestskip MANIFEST.SKIP
mkrules: no rules updated
/usr/local/bin/perl build/preprocessor  -Mvars -DVERSION="3.002000"
-DPREFIX="/usr/local/spamassassin"
-DDEF_RULES_DIR="/var/mail/spamassassin/distribution"
-DLOCAL_RULES_DIR="/var/mail/spamassassin/local"
-DLOCAL_STATE_DIR="/var/mail/spamassassin/updates"
-DINSTALLSITELIB="/usr/local/lib/perl/sitelib" -DCONTACT_ADDRESS="" -Msharpbang
-Mconditional -DPERL_BIN="/usr/local/bin/perl" -DPERL_WARN="" -DPERL_TAINT=""
-m755 -isa-update.raw -osa-update
cp sa-update blib/script/sa-update
/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-update
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'blib/lib', 'blib/arch')" t/lang_lint.t
t/lang_lint....1..8
# Running under perl version 5.008008 for darwin
# Current time local: Tue Feb 20 14:53:17 2007
# Current time GMT:   Tue Feb 20 22:53:17 2007
# Using Test.pm version 1.25
        /usr/local/bin/perl -T -w ../spamassassin.raw -C log/test_rules_copy 
--siteconfigpath log/localrules.tmp -p log/test_default.cf  -L --lint
[24010] warn: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
(same repeating block)
[24010] warn: config: warning: score set for non-existent rule GEO_QUERY_STRING
[24010] warn: lint: 71 issues detected, please rerun with debug enabled for more
information
        Not found: anything =   
# Failed test 1 in t/SATest.pm at line 623
Output can be examined in: 
        Checking anything
not ok 1
        /usr/local/bin/perl -T -w ../spamassassin.raw -C log/test_rules_copy 
--siteconfigpath log/localrules.tmp -p log/test_default.cf  -L --lint
[24013] warn: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
(same repeating block)
[24013] warn: config: warning: score set for non-existent rule GEO_QUERY_STRING
[24013] warn: lint: 71 issues detected, please rerun with debug enabled for more
information
        Not found: anything =   
# Failed test 2 in t/SATest.pm at line 623 fail #2
Output can be examined in: 
        Checking anything
not ok 2
        /usr/local/bin/perl -T -w ../spamassassin.raw -C log/test_rules_copy 
--siteconfigpath log/localrules.tmp -p log/test_default.cf  -L --lint
[24016] warn: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
(same repeating block)
[24016] warn: config: warning: score set for non-existent rule GEO_QUERY_STRING
[24016] warn: lint: 71 issues detected, please rerun with debug enabled for more
information
        Not found: anything =   
# Failed test 3 in t/SATest.pm at line 623 fail #3
Output can be examined in: 
        Checking anything
not ok 3
        /usr/local/bin/perl -T -w ../spamassassin.raw -C log/test_rules_copy 
--siteconfigpath log/localrules.tmp -p log/test_default.cf  -L --lint
[24019] warn: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
(same repeating block)
[24019] warn: config: warning: score set for non-existent rule GEO_QUERY_STRING
[24019] warn: lint: 71 issues detected, please rerun with debug enabled for more
information
        Not found: anything =   
# Failed test 4 in t/SATest.pm at line 623 fail #4
Output can be examined in: 
        Checking anything
not ok 4
        /usr/local/bin/perl -T -w ../spamassassin.raw -C log/test_rules_copy 
--siteconfigpath log/localrules.tmp -p log/test_default.cf  -L --lint
[24022] warn: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
(same repeating block)
[24022] warn: config: warning: score set for non-existent rule GEO_QUERY_STRING
[24022] warn: lint: 71 issues detected, please rerun with debug enabled for more
information
        Not found: anything =   
# Failed test 5 in t/SATest.pm at line 623 fail #5
Output can be examined in: 
        Checking anything
not ok 5
        /usr/local/bin/perl -T -w ../spamassassin.raw -C log/test_rules_copy 
--siteconfigpath log/localrules.tmp -p log/test_default.cf  -L --lint
[24025] warn: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
(same repeating block)
[24025] warn: config: warning: score set for non-existent rule GEO_QUERY_STRING
[24025] warn: lint: 71 issues detected, please rerun with debug enabled for more
information
        Not found: anything =   
# Failed test 6 in t/SATest.pm at line 623 fail #6
Output can be examined in: 
        Checking anything
not ok 6
        /usr/local/bin/perl -T -w ../spamassassin.raw -C log/test_rules_copy 
--siteconfigpath log/localrules.tmp -p log/test_default.cf  -L --lint
[24028] warn: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
(same repeating block)
[24028] warn: config: warning: score set for non-existent rule GEO_QUERY_STRING
[24028] warn: lint: 71 issues detected, please rerun with debug enabled for more
information
        Not found: anything =   
# Failed test 7 in t/SATest.pm at line 623 fail #7
Output can be examined in: 
        Checking anything
not ok 7
        /usr/local/bin/perl -T -w ../spamassassin.raw -C log/test_rules_copy 
--siteconfigpath log/localrules.tmp -p log/test_default.cf  -L --lint
[24031] warn: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
(same repeating block)
[24031] warn: config: warning: score set for non-existent rule GEO_QUERY_STRING
[24031] warn: lint: 71 issues detected, please rerun with debug enabled for more
information
        Not found: anything =   
# Failed test 8 in t/SATest.pm at line 623 fail #8
Output can be examined in: 
        Checking anything
not ok 8
FAILED tests 1-8
        Failed 8/8 tests, 0.00% okay
Failed Test   Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/lang_lint.t                8    8  1-8
Failed 1/1 test scripts. 8/8 subtests failed.
Files=1, Tests=8, 203 wallclock secs (154.26 cusr + 37.88 csys = 192.14 CPU)
Failed 1/1 test programs. 8/8 subtests failed.
make: *** [test_dynamic] Error 255
------------------------

(3)
make test TEST_VERBOSE=1 TEST_FILES="t/lint_nocreate_prefs.t"
------------------------
make -f spamc/Makefile spamc/spamc
make[1]: `spamc/spamc' is up to date.
[ ! -d rulesrc ] || /usr/local/bin/perl build/mkrules --src rulesrc --out rules
--manifest MANIFEST --manifestskip MANIFEST.SKIP
mkrules: no rules updated
/usr/local/bin/perl build/preprocessor  -Mvars -DVERSION="3.002000"
-DPREFIX="/usr/local/spamassassin"
-DDEF_RULES_DIR="/var/mail/spamassassin/distribution"
-DLOCAL_RULES_DIR="/var/mail/spamassassin/local"
-DLOCAL_STATE_DIR="/var/mail/spamassassin/updates"
-DINSTALLSITELIB="/usr/local/lib/perl/sitelib" -DCONTACT_ADDRESS="" -Msharpbang
-Mconditional -DPERL_BIN="/usr/local/bin/perl" -DPERL_WARN="" -DPERL_TAINT=""
-m755 -isa-update.raw -osa-update
cp sa-update blib/script/sa-update
/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-update
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'blib/lib', 'blib/arch')" t/lint_nocreate_prefs.t
t/lint_nocreate_prefs....1..2
# Running under perl version 5.008008 for darwin
# Current time local: Tue Feb 20 14:59:18 2007
# Current time GMT:   Tue Feb 20 22:59:18 2007
# Using Test.pm version 1.25
        /usr/local/bin/perl -T -w ../spamassassin.raw -C log/test_rules_copy 
--siteconfigpath log/localrules.tmp -p log/test_default.cf  -L --lint
--prefspath=log/prefs
[24055] warn: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
(same repeating block)
[24055] warn: config: warning: score set for non-existent rule GEO_QUERY_STRING
[24055] warn: lint: 71 issues detected, please rerun with debug enabled for more
information
        Not found: anything =   
# Failed test 1 in t/SATest.pm at line 623
Output can be examined in: 
        Checking anything
not ok 1
ok 2
FAILED test 1
        Failed 1/2 tests, 50.00% okay
Failed Test             Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/lint_nocreate_prefs.t                2    1  1
Failed 1/1 test scripts. 1/2 subtests failed.
Files=1, Tests=2, 25 wallclock secs (19.08 cusr +  4.84 csys = 23.92 CPU)
Failed 1/1 test programs. 1/2 subtests failed.
make: *** [test_dynamic] Error 255
------------------------

(4)
make test TEST_VERBOSE=1 TEST_FILES="t/meta.t"
------------------------
make -f spamc/Makefile spamc/spamc
make[1]: `spamc/spamc' is up to date.
[ ! -d rulesrc ] || /usr/local/bin/perl build/mkrules --src rulesrc --out rules
--manifest MANIFEST --manifestskip MANIFEST.SKIP
mkrules: no rules updated
/usr/local/bin/perl build/preprocessor  -Mvars -DVERSION="3.002000"
-DPREFIX="/usr/local/spamassassin"
-DDEF_RULES_DIR="/var/mail/spamassassin/distribution"
-DLOCAL_RULES_DIR="/var/mail/spamassassin/local"
-DLOCAL_STATE_DIR="/var/mail/spamassassin/updates"
-DINSTALLSITELIB="/usr/local/lib/perl/sitelib" -DCONTACT_ADDRESS="" -Msharpbang
-Mconditional -DPERL_BIN="/usr/local/bin/perl" -DPERL_WARN="" -DPERL_TAINT=""
-m755 -isa-update.raw -osa-update
cp sa-update blib/script/sa-update
/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-update
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'blib/lib', 'blib/arch')" t/meta.t
t/meta....1..2
# Running under perl version 5.008008 for darwin
# Current time local: Tue Feb 20 15:00:30 2007
# Current time GMT:   Tue Feb 20 23:00:30 2007
# Using Test.pm version 1.25
DC_IMAGE_SPAM_TEXT depends on DC_IMG_TEXT_RATIO with 0 score in set 0
DC_IMAGE_SPAM_TEXT depends on DC_GIF_MULTI_LARGO which is nonexistent
DC_IMAGE_SPAM_TEXT depends on DC_PNG_MULTI_LARGO which is nonexistent
DC_IMAGE_SPAM_HTML depends on DC_GIF_MULTI_LARGO which is nonexistent
DC_IMAGE_SPAM_HTML depends on DC_PNG_MULTI_LARGO which is nonexistent
Can't use string ("0") as a HASH ref while "strict refs" in use at t/meta.t line 57.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
Failed Test Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/meta.t     255 65280     2    4  1-2
Failed 1/1 test scripts. 2/2 subtests failed.
Files=1, Tests=2,  8 wallclock secs ( 5.85 cusr +  1.51 csys =  7.36 CPU)
Failed 1/1 test programs. 2/2 subtests failed.
make: *** [test_dynamic] Error 255
------------------------

(5)
make test TEST_VERBOSE=1 TEST_FILES=" t/trust_path.t"
------------------------
make -f spamc/Makefile spamc/spamc
make[1]: `spamc/spamc' is up to date.
[ ! -d rulesrc ] || /usr/local/bin/perl build/mkrules --src rulesrc --out rules
--manifest MANIFEST --manifestskip MANIFEST.SKIP
mkrules: no rules updated
/usr/local/bin/perl build/preprocessor  -Mvars -DVERSION="3.002000"
-DPREFIX="/usr/local/spamassassin"
-DDEF_RULES_DIR="/var/mail/spamassassin/distribution"
-DLOCAL_RULES_DIR="/var/mail/spamassassin/local"
-DLOCAL_STATE_DIR="/var/mail/spamassassin/updates"
-DINSTALLSITELIB="/usr/local/lib/perl/sitelib" -DCONTACT_ADDRESS="" -Msharpbang
-Mconditional -DPERL_BIN="/usr/local/bin/perl" -DPERL_WARN="" -DPERL_TAINT=""
-m755 -isa-update.raw -osa-update
cp sa-update blib/script/sa-update
/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-update
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'blib/lib', 'blib/arch')" t/trust_path.t
t/trust_path....1..69
# Running under perl version 5.008008 for darwin
# Current time local: Tue Feb 20 15:01:19 2007
# Current time GMT:   Tue Feb 20 23:01:19 2007
# Using Test.pm version 1.25
ok 1
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

not ok 2
# Failed test 2 in t/trust_path.t at line 495
ok 3
conf: -------------------------------------------------------------------
add_header all Untrusted _RELAYSUNTRUSTED_
add_header all Trusted _RELAYSTRUSTED_
clear_trusted_networks
clear_internal_networks
hdr sample: -------------------------------------------------------------------

  Received: from sender.net (127.0.1.2) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000

------------------------------------------------------------------------------

expected: Trusted: [ ip=127.0.1.2 rdns=sender.net helo=sender.net
by=receiver.net ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:
got     : Trusted: [ ip=127.0.1.2 rdns=sender.net helo=sender.net
by=receiver.net ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:

[netset warning expected here...]
ok 4
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

not ok 5
netset warn: netset: cannot include 127/8 as it has already been included
# Failed test 5 in t/trust_path.t at line 495 fail #2
ok 6
[netset warning expected here...]
ok 7
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

not ok 8
netset warn: netset: cannot include 127/8 as it has already been included
# Failed test 8 in t/trust_path.t at line 495 fail #3
ok 9
[netset warning expected here...]
ok 10
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

not ok 11
netset warn: netset: cannot exclude 127/8 as it has already been included
netset warn: netset: cannot exclude 127/8 as it has already been included
# Failed test 11 in t/trust_path.t at line 495 fail #4
ok 12
ok 13
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

not ok 14
# Failed test 14 in t/trust_path.t at line 495 fail #5
ok 15
conf: -------------------------------------------------------------------
add_header all Untrusted _RELAYSUNTRUSTED_
add_header all Trusted _RELAYSTRUSTED_
clear_trusted_networks
clear_internal_networks
trusted_networks 1.2/16
hdr sample: -------------------------------------------------------------------
  Received: from sender.net (127.0.1.2) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000

------------------------------------------------------------------------------

expected: Trusted: [ ip=127.0.1.2 rdns=sender.net helo=sender.net
by=receiver.net ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:
got     : Trusted: [ ip=127.0.1.2 rdns=sender.net helo=sender.net
by=receiver.net ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:

ok 16
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

# Failed test 17 in t/trust_path.t at line 495 fail #6
not ok 17
ok 18
conf: -------------------------------------------------------------------
add_header all Untrusted _RELAYSUNTRUSTED_
add_header all Trusted _RELAYSTRUSTED_
clear_trusted_networks
clear_internal_networks
hdr sample: -------------------------------------------------------------------

  Received: from sender.net (10.0.1.2) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000

------------------------------------------------------------------------------

expected: Trusted: [ ip=10.0.1.2 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:
got     : Trusted: [ ip=10.0.1.2 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:

[netset warning expected here...]
ok 19
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

not ok 20
# Failed test 20 in t/trust_path.t at line 495 fail #7
netset warn: netset: cannot exclude 1.2/16 as it has already been included
ok 21
ok 22
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

# Failed test 23 in t/trust_path.t at line 495 fail #8
not ok 23
ok 24
conf: -------------------------------------------------------------------
add_header all Untrusted _RELAYSUNTRUSTED_
add_header all Trusted _RELAYSTRUSTED_
clear_trusted_networks
clear_internal_networks
trusted_networks 1.2/16
hdr sample: -------------------------------------------------------------------
  Received: from sender.net (1.1.1.2) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000

------------------------------------------------------------------------------

expected: Trusted: Untrusted: [ ip=1.1.1.2 rdns=sender.net helo=sender.net
by=receiver.net ident= envfrom= intl=0 id= auth= msa=0 ]
got     : Trusted: Untrusted: [ ip=1.1.1.2 rdns=sender.net helo=sender.net
by=receiver.net ident= envfrom= intl=0 id= auth= msa=0 ]

ok 25
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

not ok 26
# Failed test 26 in t/trust_path.t at line 495 fail #9
ok 27
conf: -------------------------------------------------------------------
add_header all Untrusted _RELAYSUNTRUSTED_
add_header all Trusted _RELAYSTRUSTED_
clear_trusted_networks
clear_internal_networks
trusted_networks 1.1/16
hdr sample: -------------------------------------------------------------------
  Received: from sender.net (1.1.1.2) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000

------------------------------------------------------------------------------

expected: Trusted: [ ip=1.1.1.2 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:
got     : Trusted: [ ip=1.1.1.2 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:

ok 28
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

# Failed test 29 in t/trust_path.t at line 495 fail #10
not ok 29
ok 30
conf: -------------------------------------------------------------------
add_header all Untrusted _RELAYSUNTRUSTED_
add_header all Trusted _RELAYSTRUSTED_
clear_trusted_networks
clear_internal_networks
trusted_networks 1.1/16
internal_networks 1.1/16
hdr sample: -------------------------------------------------------------------
  Received: from sender.net (1.1.1.2) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000

------------------------------------------------------------------------------

expected: Trusted: [ ip=1.1.1.2 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:
got     : Trusted: [ ip=1.1.1.2 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:

ok 31
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

# Failed test 32 in t/trust_path.t at line 495 fail #11
not ok 32
ok 33
conf: -------------------------------------------------------------------
add_header all Untrusted _RELAYSUNTRUSTED_
add_header all Trusted _RELAYSTRUSTED_
clear_trusted_networks
clear_internal_networks
internal_networks 1.1/16
hdr sample: -------------------------------------------------------------------
  Received: from sender.net (1.1.1.2) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000

------------------------------------------------------------------------------

expected: Trusted: [ ip=1.1.1.2 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:
got     : Trusted: [ ip=1.1.1.2 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:

ok 34
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

# Failed test 35 in t/trust_path.t at line 495 fail #12
not ok 35
ok 36
conf: -------------------------------------------------------------------
add_header all Untrusted _RELAYSUNTRUSTED_
add_header all Trusted _RELAYSTRUSTED_
clear_trusted_networks
clear_internal_networks
trusted_networks 1.1/16 1.2/16
internal_networks 1.2/16
hdr sample: -------------------------------------------------------------------
  Received: from sender.net (1.1.1.2) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000

------------------------------------------------------------------------------

expected: Trusted: [ ip=1.1.1.2 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=0 id= auth= msa=0 ] Untrusted:
got     : Trusted: [ ip=1.1.1.2 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=0 id= auth= msa=0 ] Untrusted:

ok 37
[lint error expected here...]
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

lint error: trusted_networks doesn't contain internal_networks entry '1.2.8/24'
ok 38
ok 39
ok 40
[lint error expected here...]
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

lint error: trusted_networks doesn't contain internal_networks entry '1.1/16'
ok 41
ok 42
ok 43
[lint error expected here...]
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

lint error: trusted_networks doesn't contain internal_networks entry '1.1.1.1'
ok 44
ok 45
[netset warning expected here...]
ok 46
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

not ok 47
netset warn: netset: cannot exclude 1.1.1.2/32 as it has already been included
# Failed test 47 in t/trust_path.t at line 495 fail #13
ok 48
ok 49
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

# Failed test 50 in t/trust_path.t at line 495 fail #14
not ok 50
ok 51
conf: -------------------------------------------------------------------
add_header all Untrusted _RELAYSUNTRUSTED_
add_header all Trusted _RELAYSTRUSTED_
clear_trusted_networks
clear_internal_networks
trusted_networks 1.1/16
internal_networks !4.3.2.1 1.1/16
hdr sample: -------------------------------------------------------------------
  Received: from sender.net (1.1.1.2) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000

------------------------------------------------------------------------------

expected: Trusted: [ ip=1.1.1.2 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:
got     : Trusted: [ ip=1.1.1.2 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted:

ok 52
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

# Failed test 53 in t/trust_path.t at line 495 fail #15
not ok 53
ok 54
conf: -------------------------------------------------------------------
add_header all Untrusted _RELAYSUNTRUSTED_
add_header all Trusted _RELAYSTRUSTED_
clear_trusted_networks
clear_internal_networks
trusted_networks 1.1/16
msa_networks 1.1.1.2
hdr sample: -------------------------------------------------------------------
  Received: from sender.net (1.1.1.1) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000
  Received: from sender.net (1.1.1.2) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000
  Received: from sender.net (5.5.5.5) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000

------------------------------------------------------------------------------

expected: Trusted: [ ip=1.1.1.1 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] [ ip=1.1.1.2 rdns=sender.net
helo=sender.net by=receiver.net ident= envfrom= intl=1 id= auth= msa=1 ] [
ip=5.5.5.5 rdns=sender.net helo=sender.net by=receiver.net ident= envfrom=
intl=1 id= auth= msa=0 ] Untrusted:
got     : Trusted: [ ip=1.1.1.1 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] [ ip=1.1.1.2 rdns=sender.net
helo=sender.net by=receiver.net ident= envfrom= intl=1 id= auth= msa=1 ] [
ip=5.5.5.5 rdns=sender.net helo=sender.net by=receiver.net ident= envfrom=
intl=1 id= auth= msa=0 ] Untrusted:

ok 55
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

not ok 56
# Failed test 56 in t/trust_path.t at line 495 fail #16
ok 57
conf: -------------------------------------------------------------------
add_header all Untrusted _RELAYSUNTRUSTED_
add_header all Trusted _RELAYSTRUSTED_
clear_trusted_networks
clear_internal_networks
trusted_networks 1.1/16
internal_networks !1.1.1.2 1.1/16
msa_networks 1.1.1.2
hdr sample: -------------------------------------------------------------------
  Received: from sender.net (1.1.1.1) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000
  Received: from sender.net (1.1.1.2) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000
  Received: from sender.net (5.5.5.5) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000

------------------------------------------------------------------------------

expected: Trusted: [ ip=1.1.1.1 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] [ ip=1.1.1.2 rdns=sender.net
helo=sender.net by=receiver.net ident= envfrom= intl=0 id= auth= msa=1 ] [
ip=5.5.5.5 rdns=sender.net helo=sender.net by=receiver.net ident= envfrom=
intl=0 id= auth= msa=0 ] Untrusted:
got     : Trusted: [ ip=1.1.1.1 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] [ ip=1.1.1.2 rdns=sender.net
helo=sender.net by=receiver.net ident= envfrom= intl=0 id= auth= msa=1 ] [
ip=5.5.5.5 rdns=sender.net helo=sender.net by=receiver.net ident= envfrom=
intl=0 id= auth= msa=0 ] Untrusted:

ok 58
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

# Failed test 59 in t/trust_path.t at line 495 fail #17
not ok 59
ok 60
conf: -------------------------------------------------------------------
add_header all Untrusted _RELAYSUNTRUSTED_
add_header all Trusted _RELAYSTRUSTED_
clear_trusted_networks
clear_internal_networks
trusted_networks !1.1.1.2 1.1/16 5.5.5.5
msa_networks 5.5.5.5
hdr sample: -------------------------------------------------------------------
  Received: from sender.net (1.1.1.1) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000
  Received: from sender.net (1.1.1.2) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000
  Received: from sender.net (5.5.5.5) by receiver.net
              with SMTP; 10 Nov 2005 00:00:00 -0000

------------------------------------------------------------------------------

expected: Trusted: [ ip=1.1.1.1 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted: [ ip=1.1.1.2 rdns=sender.net
helo=sender.net by=receiver.net ident= envfrom= intl=0 id= auth= msa=0 ] [
ip=5.5.5.5 rdns=sender.net helo=sender.net by=receiver.net ident= envfrom=
intl=0 id= auth= msa=0 ]
got     : Trusted: [ ip=1.1.1.1 rdns=sender.net helo=sender.net by=receiver.net
ident= envfrom= intl=1 id= auth= msa=0 ] Untrusted: [ ip=1.1.1.2 rdns=sender.net
helo=sender.net by=receiver.net ident= envfrom= intl=0 id= auth= msa=0 ] [
ip=5.5.5.5 rdns=sender.net helo=sender.net by=receiver.net ident= envfrom=
intl=0 id= auth= msa=0 ]

ok 61
[lint error expected here...]
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

lint error: trusted_networks doesn't contain msa_networks entry '5.5.5.5'
ok 62
ok 63
[netset warning expected here...]
ok 64
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

not ok 65
# Failed test 65 in t/trust_path.t at line 495 fail #18
netset warn: netset: cannot exclude 1/8 as it has already been included
ok 66
[netset warning expected here...]
ok 67
lint error: config: warning: score set for non-existent rule FH_HOST_EQ_D_D_D_DB
( same repeating block)
lint error: config: warning: score set for non-existent rule GEO_QUERY_STRING

not ok 68
netset warn: netset: cannot include 1/8 as it has already been excluded
# Failed test 68 in t/trust_path.t at line 495 fail #19
ok 69
FAILED tests 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 47, 50, 53, 56, 59, 65, 68
        Failed 19/69 tests, 72.46% okay
Failed Test    Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/trust_path.t               69   19  2 5 8 11 14 17 20 23 26 29 32 35 47 50 53
                                      56 59 65 68
Failed 1/1 test scripts. 19/69 subtests failed.
Files=1, Tests=69, 316 wallclock secs (217.15 cusr + 42.90 csys = 260.05 CPU)
Failed 1/1 test programs. 19/69 subtests failed.
make: *** [test_dynamic] Error 255
------------------------
Comment 1 Justin Mason 2007-02-21 02:01:52 UTC
yep -- we know ;)

this is an outstanding issue with the rescoring, and it's being worked on over
there...

*** This bug has been marked as a duplicate of 5270 ***