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/05/09 14:17:50 UTC

[Bug 5457] New: make test fails at spamc_z

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

           Summary: make test fails at spamc_z
           Product: Spamassassin
           Version: 3.2.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Regression Tests
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: gustavo@cpqd.com.br


Hi,

I'm trying to install Mail::SpamAssassin version 3.2.0 in a Ubuntu 6.10 server.
 During the 'make test' phase I see the following errors:

t/spamc_z...................    Not found: firstline =  Return-Path:
sb55sb55@yahoo.com
# Failed test 2 in t/SATest.pm at line 633
        Not found: subj =  Subject: There yours for FREE!
# Failed test 3 in t/SATest.pm at line 633 fail #2
        Not found: endsinnums =  TEST_ENDSNUMS
# Failed test 4 in t/SATest.pm at line 633 fail #3
        Not found: noreal =  TEST_NOREALNAME
# Failed test 5 in t/SATest.pm at line 633 fail #4
        Not found: lastline =  This must be the very last line
# Failed test 6 in t/SATest.pm at line 633 fail #5
        Not found: flag =  X-Spam-Flag: YES
# Failed test 7 in t/SATest.pm at line 633 fail #6
        Not found: stars =  X-Spam-Level: **********
# Failed test 8 in t/SATest.pm at line 633 fail #7
        Not found: status =  X-Spam-Status: Yes, score=
# Failed test 9 in t/SATest.pm at line 633 fail #8
Output can be examined in: log/d.spamc_z/out.1
t/spamc_z...................FAILED tests 2-9
        Failed 8/9 tests, 11.11% okay

These are the only errors I see. I suceeded in installing it with CPAN by force.



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

[Bug 5457] make test fails at spamc_z

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


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |3.2.1




------- Additional Comments From jm@jmason.org  2007-05-10 05:22 -------
the test is supposed to be skipped when zlib support is not available, but now
that I look, I see I only did that if zlib support is not available *in the
spamd server*.  it doesn't take the lack of zlib support in the spamc client
into account at all!  oops.  so yep, that needs to be fixed...



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

[Bug 5457] [review] make test fails at spamc_z

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


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 2 votes               |needs 1 vote




------- Additional Comments From spamassassin@dostech.ca  2007-06-06 21:01 -------
+1



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

[Bug 5457] make test fails at spamc_z

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


sidney@sidney.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.2.1                       |3.2.2




------- Additional Comments From sidney@sidney.com  2007-06-04 22:02 -------
Moving items off the 3.2.1 queue to 3.2.2 to facilitate a quick release.
If you can get this in Review status right away feel free to move it back




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

[Bug 5457] [review] make test fails at spamc_z

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


sidney@sidney.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
  Status Whiteboard|needs 1 vote                |ready to commit




------- Additional Comments From sidney@sidney.com  2007-06-06 22:47 -------
Committed to trunk revision 545071.

+1 for 3.2 branch

Committed to 3.2 branch revision 545073.




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

[Bug 5457] [review] make test fails at spamc_z

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


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
            Summary|make test fails at spamc_z  |[review] make test fails at
                   |                            |spamc_z
  Status Whiteboard|                            |needs 2 votes
   Target Milestone|3.2.2                       |3.2.1






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

[Bug 5457] make test fails at spamc_z

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





------- Additional Comments From gustavo@cpqd.com.br  2007-05-09 06:05 -------
Created an attachment (id=3940)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3940&action=view)
contents of the files in t/log/d.spamc_z

Sure. These are the files.



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

[Bug 5457] make test fails at spamc_z

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





------- Additional Comments From jm@jmason.org  2007-06-06 14:23 -------
Created an attachment (id=3973)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3973&action=view)
fix

here's the fix...



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

[Bug 5457] make test fails at spamc_z

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





------- Additional Comments From jm@jmason.org  2007-05-09 05:27 -------
could you attach the contents of the files in t/log/d.spamc_z ? (you may have to
re-run "make test TEST_FILES=t/spamc_z.t" if they don't still exist)



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

[Bug 5457] make test fails at spamc_z

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





------- Additional Comments From jm@jmason.org  2007-05-10 02:28 -------
could you run the test and then check the syslog for messages from spamc?  it
appears the spamd is never connected to, so it's something going wrong entirely
within spamc.

Also, an "strace -f" of the test script would be very useful.  generate by:

  cd t; strace -fo OUT ./spamc_z.t

then gzip and attach OUT.gz.



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

[Bug 5457] make test fails at spamc_z

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





------- Additional Comments From gustavo@cpqd.com.br  2007-05-10 05:06 -------
I noticed the following line in /var/log/mail.log:

  May 10 07:52:29 barao spamc[11127]: spamc not built with zlib support

Then I noticed that spamc wasn't configured with zlib support because I didn't
have the Ubuntu zlib1g-dev package installed.  I installed it and the problem
disappeared.

It seems that the spamc_z test should be disabled when spamc isn't configured
with zlib support.

Thank you for syslog hint.



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