On 2024-04-02 at 18:18:09 UTC-0400 (Tue, 2 Apr 2024 18:18:09 -0400)
Scott Ellentuch <tuct...@gmail.com>
is rumored to have said:

Hi,

Trying to install SA 4.0.1 from scratch. Tried via CPAN, that didn't go
well, so trying from tarball. (Enabled SSL when doing Makefile.PL)

NEVER run 'make' as root except when you're ready to commit with 'make install' unless you're doing it on a sacrificial system.

Think about how unsafe it could be...

These test failures look like you did that. I am flattered that you trust the SpamAssassin team that much, but don't, please. We are only human. In the past there have been bugs in the test suite that have polluted the running config of the system if run as root. It is possible in principle for there to still be such bugs.

I'm on Amazon Linux 2 , 4.0.1 SA, and not sure what other info I can give.
I installed every perl module it wanted.

FWIW, non-root 'make test' has been clean for PMC members on a wide range of systems, so a real test failure would be both a shock and a serious problem. If this is happening with a normal user running 'make test' we definitely need to
address it.


The final summary is -
Test Summary Report
-------------------
t/spamc_optL.t                  (Wstat: 2560 Tests: 18 Failed: 10)
  Failed tests:  2, 5-8, 10, 12, 15-16, 18
  Non-zero exit status: 10
t/spamd_client.t                (Wstat: 3584 Tests: 52 Failed: 14)
  Failed tests:  35, 37-42, 44, 46-51
  Non-zero exit status: 14
Files=217, Tests=3807, 904 wallclock secs ( 1.21 usr 0.22 sys + 273.72
cusr 26.33 csys = 301.48 CPU)
Result: FAIL
Failed 2/217 test programs. 24/3807 subtests failed.
make: *** [test_dynamic] Error 255

During the run it seems to output :

t/spamd_client.t .................. 32/52
#   Failed test at t/spamd_client.t line 152.
ERROR: Bayes dump returned an error, please re-run with -D for more
information
t/spamd_client.t .................. 37/52
#   Failed test at t/spamd_client.t line 157.
Not found: spam in database = 1 0  non-token data: nspam at
t/spamd_client.t line 158.

#   Failed test at t/SATest.pm line 926.

#   Failed test at t/spamd_client.t line 161.
ERROR: Bayes dump returned an error, please re-run with -D for more
information

#   Failed test at t/spamd_client.t line 165.
Not found: ham in database = 0 0 non-token data: nham at t/spamd_client.t
line 166.

#   Failed test at t/SATest.pm line 926.
Not found: spam in database = 0 0  non-token data: nspam at
t/spamd_client.t line 166.

#   Failed test at t/SATest.pm line 926.
t/spamd_client.t .................. 44/52
#   Failed test at t/spamd_client.t line 172.
ERROR: Bayes dump returned an error, please re-run with -D for more
information

#   Failed test at t/spamd_client.t line 177.
Not found: ham in database = 1 0 non-token data: nham at t/spamd_client.t
line 178.

#   Failed test at t/SATest.pm line 926.

#   Failed test at t/spamd_client.t line 181.
ERROR: Bayes dump returned an error, please re-run with -D for more
information
t/spamd_client.t .................. 49/52
#   Failed test at t/spamd_client.t line 185.
Not found: ham in database = 0 0 non-token data: nham at t/spamd_client.t
line 186.

#   Failed test at t/SATest.pm line 926.
Not found: spam in database = 0 0  non-token data: nspam at
t/spamd_client.t line 186.

#   Failed test at t/SATest.pm line 926.
t/spamd_client.t .................. 52/52 # Looks like you failed 14 tests
of 52.
t/spamd_client.t .................. Dubious, test returned 14 (wstat 3584,
0xe00)
Failed 14/52 subtests

Any indications as to the issue?

Thanks, Tuc


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

Reply via email to