You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2007/07/09 03:39:16 UTC

[Bug 5550] New: Unable to upgrade, half spamd_plugin tests failing.

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5550

           Summary: Unable to upgrade, half spamd_plugin tests failing.
           Product: Spamassassin
           Version: 3.2.1
          Platform: HP
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Building & Packaging
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: jerry@fam-lee.com


Failed Test                Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/spamc_optC.t                            9    4  44.44%  2 4 6 8
t/spamc_optL.t                           16   16 100.00%  1-16
t/spamd_allow_user_rules.t                5    1  20.00%  4
t/spamd_plugin.t                          6    3  50.00%  2 4 6
24 tests skipped.
Failed 4/129 test scripts, 96.90% okay. 24/1915 subtests failed, 98.75% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

Attempting to fix the issues I found: 
http://issues.apache.org/SpamAssassin/attachment.cgi?id=3989

After modifying, I copied three files from:
/root/.cpan/build/Mail-SpamAssassin-3.2.1/t/ 
(they get overwritten if you log out and back in)
To: 
/tmp/spamd_allow_user_rules.t_wc
       spamd_plugin.t_wc
       SATest.pm_wc

When in place...compile results:

Failed Test      Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/spamd_plugin.t                6    3  50.00%  2 4 6
24 tests skipped.
Failed 1/129 test scripts, 99.22% okay. 3/1915 subtests failed, 99.84% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

IT ALMOST PASSED!!! SIGH.....SO CLOSE...

t/spamd_parallel............ok
t/spamd_plugin..............ok 1/6      Not found: called1 =  test: called
myTestPlugin, round 1
# Failed test 2 in t/SATest.pm at line 658
Output can be examined in: log/d.spamd_plugin/out.1 log/d.spamd_plugin/spamd.err.1
t/spamd_plugin..............ok 3/6      Not found: called2 =  called
myTestPlugin, round 2
# Failed test 4 in t/SATest.pm at line 658 fail #2
Output can be examined in: log/d.spamd_plugin/out.1
log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.3
log/d.spamd_plugin/spamd.err.1
t/spamd_plugin..............ok 5/6      Not found: called3 =  called
myTestPlugin, round 3
# Failed test 6 in t/SATest.pm at line 658 fail #3
Output can be examined in: log/d.spamd_plugin/out.1
log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.3
log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.5
log/d.spamd_plugin/spamd.err.1
t/spamd_plugin..............FAILED tests 2, 4, 6
        Failed 3/6 tests, 50.00% okay

    } else {
      warn "\tNot found: $type = $pat\n";
      if (!$dont_ok) {			<<<<<<<<<<<<<<<<myline658>>>>>>>>>
        ok (0);                     # keep the right # of tests
      }
      $wasfailure++;


I am looking at the code lines and searching the blog but I am at a loss of what
to do next.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5550] Unable to upgrade, half spamd_plugin tests failing.

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5550





------- Additional Comments From sidney@sidney.com  2007-07-08 19:06 -------
He tried applying the patch from bug 5510 and that did not work for him.

That's because you also have to appply the patches from bug 5518 and 5529 to get
the complete set of fixes to install from CPAN.

Note that not all platforms will require the patch from bug 5518, but it will
not hurt to install it.

All these bug fixes will be included in version 3.2.2 which is due to be
released soon.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5550] Unable to upgrade, half spamd_plugin tests failing.

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5550





------- Additional Comments From spamassassin@dostech.ca  2007-07-08 22:28 -------
*** Bug 5551 has been marked as a duplicate of this bug. ***



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5550] Unable to upgrade, half spamd_plugin tests failing.

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5550


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From felicity@apache.org  2007-07-08 18:46 -------
This looks like bug 5510, so closing as a duplicate.  It'll be fixed in the
upcoming 3.2.2.

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



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.