[Zope-dev] Re: [ZODB-Dev] Test Failures

Sidnei da Silva sidnei at enfoldsystems.com
Fri Dec 16 12:01:59 EST 2005


| No idea why it failed for you.  The only thing that rings a bell here is
| that this test was added in ZODB 3.4.2b1, corresponding to this ZODB news
| entry:
| 
| """
| BTrees
| ------
| 
| - (3.4.2b1) Collector 1873.  It wasn't possible to construct a BTree
|   or Bucket from, or apply their update() methods to, a PersistentMapping
|   or PersistentDict.  This works now.
| """
| 
| So my only guesses are that you have some older (than 3.4.2) version of ZODB
| on your PYTHONPATH, or that your checkout is screwed up.  Here are the
| externals you _should_ have:

But, why only the 2.8 tests would fail then? I'll try a 'make clean'
before running the tests and see if it helps.

| tim at ds9:~/Zope2.8$ svn propget svn:externals lib/python
| zope
| svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope
| ZConfig        svn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3
| BTrees         svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/BTrees
| Persistence    svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/Persistence
| persistent     svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/persistent
| ThreadedAsync
| svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/ThreadedAsync
| transaction    svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/transaction
| ZEO            svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/ZEO
| ZODB           svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/ZODB
| ZopeUndo       svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/ZopeUndo
| zdaemon        svn://svn.zope.org/repos/main/zdaemon/tags/zdaemon-1.1

Looks good to me:

sidnei at cotia:~/src/zope/2.8$ svn propget svn:externals lib/python
zope           svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope
ZConfig        svn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3
BTrees         svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/BTrees
Persistence    svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/Persistence
persistent     svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/persistent
ThreadedAsync  svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/ThreadedAsync
transaction    svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/transaction
ZEO            svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/ZEO
ZODB           svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/ZODB
ZopeUndo       svn://svn.zope.org/repos/main/ZODB/tags/3.4.2/src/ZopeUndo
zdaemon        svn://svn.zope.org/repos/main/zdaemon/tags/zdaemon-1.1

| 
| > Additionally, while running the tests for Zope 2.8, 2.9 and trunk (all
| > at the same time *wink*), the following tests failed. I suspect the
| > failures have to do with heavy load on the box while running the tests?
| 
| Almost certainly, yes.  The Transience tests are part of Zope (not part of
| ZODB), and it's in the nature of transient objects that they "go away by
| magic" as time passes.  If "too much" wall-clock time elapses while a
| Transience test is running, failure is expected.

Running all the tests takes 1864 seconds, so I can see it taking too
long :)

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com


More information about the Zope-Dev mailing list