On 04/19/18 18:54, Reio Remma wrote: > I ran make test now - not exactly a pass. > cc dev@, I think this is a regression. > There were lots of complaints about: "Maybe you need to kill a running spamd > process?" There was no spamd running. > > The RPM is actually working nicely on our production system (after I removed > the = from spamc options). > > This is all on CentOS 7. > Some tests fails on 3.4 because rulesrc directory has moved only to trunk, restoring rulesrc dir fixes the broken test. $ make test TEST_FILES=t/basic_lint_without_sandbox.t "/usr/bin/perl" build/mkrules --exit_on_no_src --src rulesrc --out rules --manifest MANIFEST --manifestskip MANIFEST.SKIP no source directory found: exiting
Giovanni > Test Summary Report > > ------------------- > > t/basic_lint_without_sandbox.t (Wstat: 256 Tests: 3 Failed: 1) > > Failed test: 1 > > Non-zero exit status: 1 > > t/debug.t (Wstat: 256 Tests: 3 Failed: 1) > > Failed test: 3 > > Non-zero exit status: 1 > > t/lang_lint.t (Wstat: 1536 Tests: 8 Failed: 6) > > Failed tests: 1, 3, 5-8 > > Non-zero exit status: 6 > > t/sa_check_spamd.t (Wstat: 768 Tests: 7 Failed: 3) > > Failed tests: 1, 6-7 > > Non-zero exit status: 3 > > t/spamc_x_e.t (Wstat: 256 Tests: 7 Failed: 1) > > Failed test: 1 > > Non-zero exit status: 1 > > t/spamc_x_E_R.t (Wstat: 768 Tests: 49 Failed: 3) > > Failed tests: 1, 10, 12 > > Non-zero exit status: 3 > > t/spamd.t (Wstat: 512 Tests: 14 Failed: 2) > > Failed tests: 1, 14 > > Non-zero exit status: 2 > > t/spamd_allow_user_rules.t (Wstat: 512 Tests: 5 Failed: 2) > > Failed tests: 1, 3 > > Non-zero exit status: 2 > > t/spamd_client.t (Wstat: 5120 Tests: 52 Failed: 20) > > Failed tests: 2, 18-19, 31-32, 35, 37-42, 44, 46-52 > > Non-zero exit status: 20 > > t/spamd_maxchildren.t (Wstat: 512 Tests: 22 Failed: 2) > > Failed tests: 1, 22 > > Non-zero exit status: 2 > > t/spamd_report.t (Wstat: 512 Tests: 6 Failed: 2) > > Failed tests: 1, 6 > > Non-zero exit status: 2 > > t/spamd_report_ifspam.t (Wstat: 512 Tests: 10 Failed: 2) > > Failed tests: 1, 10 > > Non-zero exit status: 2 > > t/spamd_user_rules_leak.t (Wstat: 512 Tests: 28 Failed: 2) > > Failed tests: 1, 19 > > Non-zero exit status: 2 > > t/spamd_whitelist_leak.t (Wstat: 512 Tests: 8 Failed: 2) > > Failed tests: 1, 8 > > Non-zero exit status: 2 > > Files=169, Tests=3081, 793 wallclock secs ( 0.93 usr 0.69 sys + 174.60 cusr > 30.48 csys = 206.70 CPU) > > Result: FAIL > > Failed 14/169 test programs. 49/3081 subtests failed. > > make: *** [test_dynamic] Error 255 > > > > On 19.04.2018 16:33, Kevin A. McGrail wrote: >> Certainly sounds odd. Does make test pass before you build the RPM? >> >> -- >> Kevin A. McGrail >> Asst. Treasurer & VP Fundraising, Apache Software Foundation >> Chair Emeritus Apache SpamAssassin Project >> https://www.linkedin.com/in/kmcgrail - 703.798.0171 >> >> On Thu, Apr 19, 2018 at 3:24 AM, Reio Remma <r...@mrstuudio.ee >> <mailto:r...@mrstuudio.ee>> wrote: >> >> On 19.04.18 9:45, Reio Remma wrote: >>> Hello! >>> >>> I'm trying to use this to report spam: >>> >>> spamc --reporttype=report --username=amavis < mail >>> >>> However all I get is: >>> >>> spamc[9632]: Please specify a legal report type >>> >>> It works if I omit the = after --reporttype. This is with SA 3.4.2 from >>> SVN, iirc it worked the other day with --reporttype=report in 3.4.1. >>> >>> I'm also curious about a log message when reporting: >>> >>> spamd[9506]: spamd: handle_user (userdir) unable to find user: '' >> >> *Update:* none of the --option= switches work. >> >> handle_user (userdir) unable to find user: '' is caused because I have >> the -username switch as --username=amavis instead of --username amavis >> >> It worked in 3.4.1. >> >> Is it at all possible that I botched the RPM for 3.4.2? >> >> Reio >> >> >