[Zope-dev] KGS buildbot news (zope.server failure almost explained)

Christophe Combelles ccomb at free.fr
Thu Aug 14 20:35:47 EDT 2008


Marius Gedminas a écrit :
> On Sat, Aug 09, 2008 at 01:50:33AM +0300, Marius Gedminas wrote:
>> On Sat, Aug 09, 2008 at 12:57:48AM +0300, Marius Gedminas wrote:
>>>>     - zope.server tests fail horribly with invalid file descriptor
>>>>       errors.  I cannot reproduce this error in isolation (bin/test -m
>>>>       zope.server), but I can reproduce it when I run all the tests
>>>>       together.  Some previous test is mucking stuff up.
>> 'bin/test -m ZEO -m zope.server' is enough to reproduce this error.
> 
> Minimal test case:
> 
>   bin/test -pvc1 -m zope.server -t testAPPE -m ZEO -t insane
> 
> The ZEO test that breaks zope.server.ftp is
> 
>   multiple_storages_invalidation_queue_is_not_insane (ZEO.tests.testZEO)
> 
> For completeness, the full sequence of steps is
> 
>   check out zope.release branch 3.4
>   bootstrap and run buildout
>   bin/generate-buildout
>   cd test
>   ../bin/buildout
>   bin/test -pvc1 -m zope.server -t testAPPE -m ZEO -t insane

thanks for isolating it, I've found a way to prevent the failure to occur!
The real problem comes from the ZEO tests, I've reported it here:
https://bugs.launchpad.net/zodb/+bug/257954
The final explanation is that the testrunner imports every test modules. Some 
tests modules located in zope.server and zope.app.server also import 
zope.server.dualmodechannel, which creates a pipe (a global trigger).
One of the ZEO tests close this pipe although it shouldn't. When the zope.server 
tests happen, the pipe is already closed and the tests fail.

Now,

We need to:
-----------
- release a bugfix version of zope.server 3.4.3
- release a bugfix version of zope.app.server 3.4.2
- fix z3c.formdemo and z3c.formjs against z3c.form 1.8.2 (This should be 
straightforward)

We can also:
------------
- release a bugfix version of zope.publisher 3.4.4 that fixes an old critical 
bug ( https://bugs.launchpad.net/zope3/+bug/98440 )
- release a bugfix version of zc.zope3recipes 0.6.2, which fixes some problem 
with unwanted upgrades during tests. (although this is not needed for the 
sandboxed tests of KGS in the buildbot to pass)

We should probably:
-------------------
- wait for setuptools 0.6c9 that fixes a major problem with subversion 1.5
- wait for the final ZODB 3.8.1.
   It would be good to include some fix for LP 257954

After that we are ready for a release of zope 3.4.
We should also probably consider waiting a bit more for the new site 
(new.zope.org) to come up, but I don't know when it will be finished. It only 
needs some content for zope2, grok, and some other pages.

Christophe


> 
> Marius Gedminas
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope )



More information about the Zope-Dev mailing list