Re: [Zope-dev] Zope Tests: 78 OK, 5 Failed

2010-12-09 Thread Charlie Clark
Am 09.12.2010, 14:42 Uhr, schrieb Marius Gedminas :

> When can we have the new pretty summarizer?

Presumably not before Theuni gets back from holiday.

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope Tests: 78 OK, 5 Failed

2010-12-09 Thread Marius Gedminas
On Thu, Dec 09, 2010 at 12:58:18PM +0100, Zope Tests Summarizer wrote:
> Summary of messages to the zope-tests list.
> Period Wed Dec  8 12:00:00 2010 UTC to Thu Dec  9 12:00:00 2010 UTC.
> There were 83 messages: 8 from Zope Tests, 4 from buildbot at pov.lt, 19 from 
> buildbot at winbot.zope.org, 11 from ccomb at free.fr, 41 from jdriessen at 
> thehealthagency.com.

When can we have the new pretty summarizer?

> Test failures
> -
> 
> Subject: FAILED : ZTK 1.0 / Python2.6.5 Linux 64bit
> From: ccomb at free.fr
> Date: Wed Dec  8 19:46:28 EST 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026043.html

Failure in test testHELP (zope.server.ftp.tests.test_ftpserver.Tests)
in zope.server-3.6.2.

AFAICS the test is basically:

  * start a server in one thread that does

socket.send("message #1\r\n")
# some python code runs here
socket.send("message #2\r\nmessage #3\r\n")

  * have it do this in a different thread

reply = socket.recv(1)

  * assert that reply == "message #1\r\nmessage #2\r\nmessage #3\r\n"

This sometimes works, and sometimes doesn't---unsurprisingly.

This might be a sufficient workaround:

Index: src/zope/server/ftp/server.py
===
--- src/zope/server/ftp/server.py   (revision 118761)
+++ src/zope/server/ftp/server.py   (working copy)
@@ -194,7 +194,7 @@ class FTPServerChannel(LineServerChannel
 
 def cmd_help(self, args):
 'See IFTPCommandHandler'
-self.reply('HELP_START')
+self.reply('HELP_START', flush=False)
 self.write('Help goes here somewhen.\r\n')
 self.reply('HELP_END')

as there's buffering going on on the Python level -- up to 9000 chars by
default -- so it would result in the server doing a single
socket.send().

It's still not entirely Correct; the right thing would be to fix the
receiving side to aggregate the packets until the full message is
received (or a timeout occurs).

Any takers?  I can't even test the workaround, since this test passes on
my machine.

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Zope Tests: 78 OK, 5 Failed

2010-12-09 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Wed Dec  8 12:00:00 2010 UTC to Thu Dec  9 12:00:00 2010 UTC.
There were 83 messages: 8 from Zope Tests, 4 from buildbot at pov.lt, 19 from 
buildbot at winbot.zope.org, 11 from ccomb at free.fr, 41 from jdriessen at 
thehealthagency.com.


Test failures
-

Subject: FAILED : Zope Buildbot / zopetoolkit-1.0_win-py2.5 slave-win
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:23:49 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025988.html

Subject: FAILED : Zope Buildbot / zopetoolkit_win-py2.5 slave-win
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:35:49 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025995.html

Subject: FAILED : Zope Buildbot / zopetoolkit-py2.7 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 14:03:30 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026010.html

Subject: FAILED : Zope Buildbot / zopetoolkit-py2.7 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 14:21:05 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026014.html

Subject: FAILED : ZTK 1.0 / Python2.6.5 Linux 64bit
From: ccomb at free.fr
Date: Wed Dec  8 19:46:28 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026043.html


Tests passed OK
---

Subject: OK : Zope Buildbot / zope2.13_win-py2.6 slave-win
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:00:44 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025985.html

Subject: OK : Zope Buildbot / zope2.13_win-py2.7 slave-win
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:02:58 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025986.html

Subject: OK : Zope Buildbot / zopetoolkit-1.0_win-py2.4 slave-win
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:17:44 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025987.html

Subject: OK : Zope Buildbot / zope2.12-py2.6 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:26:20 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025989.html

Subject: OK : Zope Buildbot / zope2.13-py2.6 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:27:45 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025990.html

Subject: OK : Zope Buildbot / zope2.13-py2.7 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:29:07 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025991.html

Subject: OK : Zope Buildbot / zope2.14-py2.6 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:30:34 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025992.html

Subject: OK : Zope Buildbot / zope2.14-py2.7 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:31:56 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025993.html

Subject: OK : Zope Buildbot / zopetoolkit-1.0_win-py2.6 slave-win
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:35:39 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025994.html

Subject: OK : Zope Buildbot / zopetoolkit-1.0-py2.4 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:37:39 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025996.html

Subject: OK : Zope Buildbot / zope2.12-py2.6 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:40:58 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025997.html

Subject: OK : Zope Buildbot / zope2.13-py2.6 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:42:25 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025998.html

Subject: OK : Zope Buildbot / zopetoolkit_win-py2.6 slave-win
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:43:15 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/025999.html

Subject: OK : Zope Buildbot / zopetoolkit-1.0-py2.5 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:43:33 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026000.html

Subject: OK : Zope Buildbot / zope2.13-py2.7 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:43:50 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026001.html

Subject: OK : Zope Buildbot / zope2.14-py2.6 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:45:15 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026002.html

Subject: OK : Zope Buildbot / zope2.14-py2.7 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec  8 13:46:38 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/026003.html

Subject: OK : Zope Buildbot / zopeto