You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Sidney Markowitz <si...@sidney.com> on 2021/04/08 00:56:18 UTC

Test failures in 3.4 branch

Here are failures I got running in the 3.4 branch with the rules, rulesrc, and 
t.rules symlinked to trunk.

  sudo make test TEST_FILES="xt/*.t"

in macOS 11.2.3

I'm not deep enough into the code to address the issue right now, just 
following release steps.

Can someone please look at this and comment?

xt/50_lang_lint.t ................... Apr  8 12:24:46.964 [94600] warn: 
config: invalid meta T_KHOP_BOTNET_4 token: .8
Apr  8 12:24:47.821 [94600] warn: lint: 1 issues detected, please rerun with 
debug enabled for more information
	Not found: anything =    at t/lang_lint.t line 19.
xt/50_lang_lint.t ................... 1/?
#   Failed test at t/SATest.pm line 811.
Apr  8 12:24:48.646 [94602] warn: config: invalid meta T_KHOP_BOTNET_4 token: .8
Apr  8 12:24:49.292 [94602] warn: lint: 1 issues detected, please rerun with 
debug enabled for more information
	Not found: anything =    at t/lang_lint.t line 19.
xt/50_lang_lint.t ................... 2/?
#   Failed test at t/SATest.pm line 811.
Apr  8 12:24:50.076 [94604] warn: config: invalid meta T_KHOP_BOTNET_4 token: .8
Apr  8 12:24:50.710 [94604] warn: lint: 1 issues detected, please rerun with 
debug enabled for more information
	Not found: anything =    at t/lang_lint.t line 19.
xt/50_lang_lint.t ................... 3/?
#   Failed test at t/SATest.pm line 811.
Apr  8 12:24:51.497 [94606] warn: config: invalid meta T_KHOP_BOTNET_4 token: .8
Apr  8 12:24:52.141 [94606] warn: lint: 1 issues detected, please rerun with 
debug enabled for more information
	Not found: anything =    at t/lang_lint.t line 19.
xt/50_lang_lint.t ................... 4/?
#   Failed test at t/SATest.pm line 811.
Apr  8 12:24:52.946 [94608] warn: config: invalid meta T_KHOP_BOTNET_4 token: .8
Apr  8 12:24:53.591 [94608] warn: lint: 1 issues detected, please rerun with 
debug enabled for more information
	Not found: anything =    at t/lang_lint.t line 19.
xt/50_lang_lint.t ................... 5/?
#   Failed test at t/SATest.pm line 811.
Apr  8 12:24:54.369 [94610] warn: config: invalid meta T_KHOP_BOTNET_4 token: .8
Apr  8 12:24:55.014 [94610] warn: lint: 1 issues detected, please rerun with 
debug enabled for more information
	Not found: anything =    at t/lang_lint.t line 19.
xt/50_lang_lint.t ................... 6/?
#   Failed test at t/SATest.pm line 811.
Apr  8 12:24:55.814 [94612] warn: config: invalid meta T_KHOP_BOTNET_4 token: .8
Apr  8 12:24:56.466 [94612] warn: lint: 1 issues detected, please rerun with 
debug enabled for more information
	Not found: anything =    at t/lang_lint.t line 19.
xt/50_lang_lint.t ................... 7/?
#   Failed test at t/SATest.pm line 811.
Apr  8 12:24:57.255 [94614] warn: config: invalid meta T_KHOP_BOTNET_4 token: .8
Apr  8 12:24:57.918 [94614] warn: lint: 1 issues detected, please rerun with 
debug enabled for more information
	Not found: anything =    at t/lang_lint.t line 19.
xt/50_lang_lint.t ................... 8/?
#   Failed test at t/SATest.pm line 811.
# Looks like you failed 8 tests of 8.
exec failed at xt/50_lang_lint.t line 6.
xt/50_lang_lint.t ................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/8 subtests

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

Sidney

Re: Test failures in 3.4 branch

Posted by Bill Cole <sa...@billmail.scconsult.com>.
On 7 Apr 2021, at 23:33, Bill Cole wrote:

> On 7 Apr 2021, at 20:56, Sidney Markowitz wrote:
>
>> Here are failures I got running in the 3.4 branch with the rules, 
>> rulesrc, and t.rules symlinked to trunk.
>>
>>  sudo make test TEST_FILES="xt/*.t"
>>
>> in macOS 11.2.3
>>
>> I'm not deep enough into the code to address the issue right now, 
>> just following release steps.
>>
>> Can someone please look at this and comment?
>>
>> xt/50_lang_lint.t ................... Apr  8 12:24:46.964 [94600] 
>> warn: config: invalid meta T_KHOP_BOTNET_4 token: .8
>> Apr  8 12:24:47.821 [94600] warn: lint: 1 issues detected, please 
>> rerun with debug enabled for more information
>> 	Not found: anything =    at t/lang_lint.t line 19.
>
> [... more errors with T_KHOP_BOTNET_4 elided ...]
>
> The string T_KHOP_BOTNET_4 (apparently a rule name) does not occur 
> anywhere in the 3.4 branch or in trunk.
>
> Theory: it's seeing a bogus rule file that isn't in the distribution. 
> Maybe a user_prefs file?

DATA POINT: I just grabbed fresh 3.4 and trunk trees with the rules, 
rulesrc, and t.rules symlinked and 'sudo make test TEST_FILES="xt/*.t"' 
has made it through xt/50_spamc_x_E_R.t without issues, no mention of 
bad rules.

-- 
Bill Cole
bill@scconsult.com or billcole@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire

Re: Test failures in 3.4 branch

Posted by Sidney Markowitz <si...@sidney.com>.
Bill Cole wrote on 8/04/21 3:33 pm:
> The string T_KHOP_BOTNET_4 (apparently a rule name) does not occur
> anywhere in the 3.4 branch or in trunk.
> 
> Theory: it's seeing a bogus rule file that isn't in the distribution.
> Maybe a user_prefs file?

After carefully ensuring that trunk was a clean checkout, it all worked, so I 
guess I had some svn ignored files in rules and/or rulesrc that affected the 
testing without showing up in svn status.

All ok now, on with the release process.

Re: Test failures in 3.4 branch

Posted by Henrik K <he...@hege.li>.
On Wed, Apr 07, 2021 at 11:33:10PM -0400, Bill Cole wrote:
> On 7 Apr 2021, at 20:56, Sidney Markowitz wrote:
> 
> > Here are failures I got running in the 3.4 branch with the rules,
> > rulesrc, and t.rules symlinked to trunk.
> > 
> >  sudo make test TEST_FILES="xt/*.t"
> > 
> > in macOS 11.2.3
> > 
> > I'm not deep enough into the code to address the issue right now, just
> > following release steps.
> > 
> > Can someone please look at this and comment?
> > 
> > xt/50_lang_lint.t ................... Apr  8 12:24:46.964 [94600] warn:
> > config: invalid meta T_KHOP_BOTNET_4 token: .8
> > Apr  8 12:24:47.821 [94600] warn: lint: 1 issues detected, please rerun
> > with debug enabled for more information
> > 	Not found: anything =    at t/lang_lint.t line 19.
> 
> [... more errors with T_KHOP_BOTNET_4 elided ...]
> 
> The string T_KHOP_BOTNET_4 (apparently a rule name) does not occur anywhere
> in the 3.4 branch or in trunk.
> 
> Theory: it's seeing a bogus rule file that isn't in the distribution. Maybe
> a user_prefs file?

On a separate note, should the meta parser support .8 float notation as 0.8
works already?  I guess we could add that to trunk..


Re: Test failures in 3.4 branch

Posted by Bill Cole <sa...@billmail.scconsult.com>.
On 7 Apr 2021, at 20:56, Sidney Markowitz wrote:

> Here are failures I got running in the 3.4 branch with the rules, 
> rulesrc, and t.rules symlinked to trunk.
>
>  sudo make test TEST_FILES="xt/*.t"
>
> in macOS 11.2.3
>
> I'm not deep enough into the code to address the issue right now, just 
> following release steps.
>
> Can someone please look at this and comment?
>
> xt/50_lang_lint.t ................... Apr  8 12:24:46.964 [94600] 
> warn: config: invalid meta T_KHOP_BOTNET_4 token: .8
> Apr  8 12:24:47.821 [94600] warn: lint: 1 issues detected, please 
> rerun with debug enabled for more information
> 	Not found: anything =    at t/lang_lint.t line 19.

[... more errors with T_KHOP_BOTNET_4 elided ...]

The string T_KHOP_BOTNET_4 (apparently a rule name) does not occur 
anywhere in the 3.4 branch or in trunk.

Theory: it's seeing a bogus rule file that isn't in the distribution. 
Maybe a user_prefs file?



> xt/50_lang_lint.t ................... 1/?
> #   Failed test at t/SATest.pm line 811.
> Apr  8 12:24:48.646 [94602] warn: config: invalid meta T_KHOP_BOTNET_4 
> token: .8
> Apr  8 12:24:49.292 [94602] warn: lint: 1 issues detected, please 
> rerun with debug enabled for more information
> 	Not found: anything =    at t/lang_lint.t line 19.
> xt/50_lang_lint.t ................... 2/?
> #   Failed test at t/SATest.pm line 811.
> Apr  8 12:24:50.076 [94604] warn: config: invalid meta T_KHOP_BOTNET_4 
> token: .8
> Apr  8 12:24:50.710 [94604] warn: lint: 1 issues detected, please 
> rerun with debug enabled for more information
> 	Not found: anything =    at t/lang_lint.t line 19.
> xt/50_lang_lint.t ................... 3/?
> #   Failed test at t/SATest.pm line 811.
> Apr  8 12:24:51.497 [94606] warn: config: invalid meta T_KHOP_BOTNET_4 
> token: .8
> Apr  8 12:24:52.141 [94606] warn: lint: 1 issues detected, please 
> rerun with debug enabled for more information
> 	Not found: anything =    at t/lang_lint.t line 19.
> xt/50_lang_lint.t ................... 4/?
> #   Failed test at t/SATest.pm line 811.
> Apr  8 12:24:52.946 [94608] warn: config: invalid meta T_KHOP_BOTNET_4 
> token: .8
> Apr  8 12:24:53.591 [94608] warn: lint: 1 issues detected, please 
> rerun with debug enabled for more information
> 	Not found: anything =    at t/lang_lint.t line 19.
> xt/50_lang_lint.t ................... 5/?
> #   Failed test at t/SATest.pm line 811.
> Apr  8 12:24:54.369 [94610] warn: config: invalid meta T_KHOP_BOTNET_4 
> token: .8
> Apr  8 12:24:55.014 [94610] warn: lint: 1 issues detected, please 
> rerun with debug enabled for more information
> 	Not found: anything =    at t/lang_lint.t line 19.
> xt/50_lang_lint.t ................... 6/?
> #   Failed test at t/SATest.pm line 811.
> Apr  8 12:24:55.814 [94612] warn: config: invalid meta T_KHOP_BOTNET_4 
> token: .8
> Apr  8 12:24:56.466 [94612] warn: lint: 1 issues detected, please 
> rerun with debug enabled for more information
> 	Not found: anything =    at t/lang_lint.t line 19.
> xt/50_lang_lint.t ................... 7/?
> #   Failed test at t/SATest.pm line 811.
> Apr  8 12:24:57.255 [94614] warn: config: invalid meta T_KHOP_BOTNET_4 
> token: .8
> Apr  8 12:24:57.918 [94614] warn: lint: 1 issues detected, please 
> rerun with debug enabled for more information
> 	Not found: anything =    at t/lang_lint.t line 19.
> xt/50_lang_lint.t ................... 8/?
> #   Failed test at t/SATest.pm line 811.
> # Looks like you failed 8 tests of 8.
> exec failed at xt/50_lang_lint.t line 6.
> xt/50_lang_lint.t ................... Dubious, test returned 2 (wstat 
> 512, 0x200)
> Failed 8/8 subtests
>
>  -----------------
>
> Sidney


-- 
Bill Cole
bill@scconsult.com or billcole@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire