[ZODB-Dev] ZODB.tests.testZODB.checkResetCachesAPI definitely bad

Stefan H. Holek stefan at epy.co.at
Tue Sep 12 05:51:38 EDT 2006


These errors are *also* due to  
ZODB.tests.testZODB.checkResetCachesAPI. The cache reset appears to  
leave the Application object and/or transactions in a borked state.

All is well when I suppress checkResetCachesAPI:

$ python2.4 test.py -q -m '!^(ZEO|zope[.]app[.])' -t '! 
checkResetCachesAPI' --all
Running unit tests:
   Ran 7062 tests with 0 failures and 0 errors in 494.930 seconds.
Running  
Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests:
   Set up  
Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in  
0.005 seconds.
   Running:
     ..
   Ran 2 tests with 0 failures and 0 errors in 0.025 seconds.
Tearing down left over layers:
   Tear down  
Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in  
0.003 seconds.
Total: 7064 tests, 0 failures, 0 errors

Stefan


     testInsideOutVirtualHosting  
(webdav.tests.testPUT_factory.TestPUTFactory)
     testNoVirtualHosting (webdav.tests.testPUT_factory.TestPUTFactory)

Error in test testNoVirtualHosting  
(webdav.tests.testPUT_factory.TestPUTFactory)
Traceback (most recent call last):
   File "/usr/lib/python2.4/unittest.py", line 251, in run
     self.setUp()
   File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- 
branches---2.9--2.4/build/lib/python/webdav/tests/ 
testPUT_factory.py", line 22, in setUp
     self.app.manage_addFolder('folder', '')
   File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- 
branches---2.9--2.4/build/lib/python/OFS/Folder.py", line 49, in  
manage_addFolder
     self._setObject(id, ob)
   File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- 
branches---2.9--2.4/build/lib/python/OFS/ObjectManager.py", line 300,  
in _setObject
     v = self._checkId(id)
   File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- 
branches---2.9--2.4/build/lib/python/OFS/ObjectManager.py", line 95,  
in checkValidId
     raise BadRequest, (
BadRequest: The id "folder" is invalid - it is already in use.



On 12. Sep 2006, at 02:52, buildbot at zope.com wrote:

> The Buildbot has detected a failed build of Zope branches 2.9 2.4  
> Linux zc-buildbot.
>
> Buildbot URL: http://buildbot.zope.org/
>
> Build Reason: changes
> Build Source Stamp: 7595
> Blamelist: adamg,ctheune,flindner,flox,jim,tseaver
>
> BUILD FAILED: failed test
>
> sincerely,
>  -The Buildbot

--
It doesn't necessarily do it in chronological order,
though.  --Douglas Adams




More information about the ZODB-Dev mailing list