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 2009/03/03 10:56:01 UTC

[Bug 6077] New: fix failing tests

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6077

           Summary: fix failing tests
           Product: Spamassassin
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Regression Tests
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: jm@jmason.org


Duncan said:

> Also, I'm confused by this output:
> http://hudson.zones.apache.org/hudson/job/SpamAssassin-trunk/2776/console
>
> It suggests that a couple of other tests failed as well, but these aren't
> listed in the summary?
>
> Failed Test             Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/config_tree_recurse.t   17  4352     4    8 200.00%  1-4
> t/whitelist_addrs.t      255 65280    35   44 125.71%  14-35
> 36 tests skipped.
> Failed 2/152 test scripts, 98.68% okay. 26/3128 subtests failed, 99.17%
> okay.
> *** Error code 11


they are indeed failing.


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6077] fix failing tests

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


Justin Mason <jm...@jmason.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5                          |P1




--- Comment #1 from Justin Mason <jm...@jmason.org>  2009-06-29 04:26:14 PST ---
needs investigation before a 3.3.0 release

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6077] fix failing tests

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


Justin Mason <jm...@jmason.org> changed:

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




--- Comment #2 from Justin Mason <jm...@jmason.org>  2009-06-30 02:49:14 PST ---
aha, these were cases where new tests don't support perl 5.6.x, or the perl 5.6
versions of the module used are slightly broken.

http://hudson.zones.apache.org/hudson/job/SpamAssassin-trunk/3348/console

A taint-support bug:

t/config_tree_recurse...........1..4
Insecure dependency in unlink while running with -T switch at
/local/perl561/lib/5.6.1/File/Path.pm line 233.
dubious
    Test returned status 17 (wstat 4352, 0x1100)
DIED. FAILED tests 1-4
    Failed 4/4 tests, 0.00% okay

And a perl 5.8.x-ism:

t/whitelist_addrs...............1..35
    /home/jm/tools/perl561/bin/perl -T -w ../spamassassin.raw -C
log/test_rules_copy  --siteconfigpath log/localrules.tmp -p log/test_default.cf
 --add-addr-to-whitelist whitelist_test@whitelist.spamassassin.taint.org
ok 1
    Checking added address to whitelist
ok 2
    /home/jm/tools/perl561/bin/perl -T -w ../spamassassin.raw -C
log/test_rules_copy  --siteconfigpath log/localrules.tmp -p log/test_default.cf
 -L < data/nice/002
ok 3
    Checking spamno
ok 4
    /home/jm/tools/perl561/bin/perl -T -w ../spamassassin.raw -C
log/test_rules_copy  --siteconfigpath log/localrules.tmp -p log/test_default.cf
 -L < data/spam/004
    Checking spamno
ok 5
    /home/jm/tools/perl561/bin/perl -T -w ../spamassassin.raw -C
log/test_rules_copy  --siteconfigpath log/localrules.tmp -p log/test_default.cf
 --remove-addr-from-whitelist whitelist_test@whitelist.spamassassin.taint.org
ok 6
    Checking removed address
ok 7
    /home/jm/tools/perl561/bin/perl -T -w ../spamassassin.raw -C
log/test_rules_copy  --siteconfigpath log/localrules.tmp -p log/test_default.cf
 -L < data/spam/004
    Checking spamyes
ok 8
    /home/jm/tools/perl561/bin/perl -T -w ../spamassassin.raw -C
log/test_rules_copy  --siteconfigpath log/localrules.tmp -p log/test_default.cf
 --add-addr-to-blacklist whitelist_test@whitelist.spamassassin.taint.org
ok 9
    Checking added address to blacklist
ok 10
    /home/jm/tools/perl561/bin/perl -T -w ../spamassassin.raw -C
log/test_rules_copy  --siteconfigpath log/localrules.tmp -p log/test_default.cf
 -L < data/nice/002
    Checking spamyes
ok 11
    /home/jm/tools/perl561/bin/perl -T -w ../spamassassin.raw -C
log/test_rules_copy  --siteconfigpath log/localrules.tmp -p log/test_default.cf
 --remove-addr-from-whitelist whitelist_test@whitelist.spamassassin.taint.org
ok 12
ok 13
Unknown open() mode '>&' at t/whitelist_addrs.t line 95.
dubious
    Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 14-35
    Failed 22/35 tests, 37.14% okay


Since we're planning to turn off 5.6.x explicit support anyway, let's turn it
off for the Hudson build:

: 569...; svn commit -m "bug 6077: turn off the perl 5.6.x test run for
Hudson." build/hudson/run_build 
Sending        build/hudson/run_build
Transmitting file data .
Committed revision 789643 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=789643 ).

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6077] fix failing tests

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


Justin Mason <jm...@jmason.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |major
   Target Milestone|Undefined                   |3.3.0




-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.