[cmf-tests] FAILED (errors=4) : CMF-2.1 Zope-trunk Python-2.4.4 :
Linux
CMF Unit Tests
cmf-tests at epy.co.at
Sat Apr 28 21:36:26 EDT 2007
CMF Unit Tests : FAILED (errors=4)
CMF-2.1 Zope-trunk Python-2.4.4 : Linux
Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope211/test.py -q --config-file etc/zope.conf --path Products --test-path Products
Parsing /home/stefan/autotest/temp/python24-zope211-cmf21/etc/zope.conf
Running unit tests:
Ran 827 tests with 0 failures and 0 errors in 8.741 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.970 seconds.
Ran 52 tests with 0 failures and 0 errors in 0.411 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
Set up Products.CMFCalendar.testing.FunctionalLayer in 0.916 seconds.
Ran 21 tests with 0 failures and 0 errors in 3.658 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.072 seconds.
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.005 seconds.
Set up Products.CMFCore.testing.EventZCMLLayer in 0.071 seconds.
Ran 26 tests with 0 failures and 0 errors in 0.146 seconds.
Running Products.CMFCore.testing.ExportImportZCMLLayer tests:
Tear down Products.CMFCore.testing.EventZCMLLayer in 0.001 seconds.
Set up Products.CMFCore.testing.ExportImportZCMLLayer in 0.127 seconds.
Ran 106 tests with 0 failures and 0 errors in 1.116 seconds.
Running Products.CMFCore.testing.TraversingEventZCMLLayer tests:
Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.001 seconds.
Set up Products.CMFCore.testing.TraversingEventZCMLLayer in 0.090 seconds.
Error in test test_checkTransitionGuard (DCWorkflow.tests.test_DCWorkflow.DCWorkflowDefinitionTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/DCWorkflow/tests/test_DCWorkflow.py", line 165, in test_checkTransitionGuard
dummy = self.site._setObject( 'dummy', DummyContent() )
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/tests/base/dummy.py", line 234, in _setObject
notify(ObjectAddedEvent(object, self, id))
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CMFCatalogAware.py", line 266, in handleContentishEvent
ob.indexObject()
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CMFCatalogAware.py", line 76, in indexObject
catalog.indexObject(self)
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 270, in indexObject
self.catalog_object(object, url)
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 263, in catalog_object
pghandler)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 534, in catalog_object
self._catalog.catalogObject(obj, uid, None, idxs,
AttributeError: _catalog
Error in test test_doActionFor (DCWorkflow.tests.test_DCWorkflow.DCWorkflowDefinitionTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/DCWorkflow/tests/test_DCWorkflow.py", line 92, in test_doActionFor
dummy = self.site._setObject( 'dummy', DummyContent() )
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/tests/base/dummy.py", line 234, in _setObject
notify(ObjectAddedEvent(object, self, id))
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CMFCatalogAware.py", line 266, in handleContentishEvent
ob.indexObject()
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CMFCatalogAware.py", line 76, in indexObject
catalog.indexObject(self)
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 270, in indexObject
self.catalog_object(object, url)
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 263, in catalog_object
pghandler)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 534, in catalog_object
self._catalog.catalogObject(obj, uid, None, idxs,
AttributeError: _catalog
Error in test test_events (DCWorkflow.tests.test_DCWorkflow.DCWorkflowDefinitionTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/DCWorkflow/tests/test_DCWorkflow.py", line 119, in test_events
dummy = self.site._setObject( 'dummy', DummyContent() )
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/tests/base/dummy.py", line 234, in _setObject
notify(ObjectAddedEvent(object, self, id))
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CMFCatalogAware.py", line 266, in handleContentishEvent
ob.indexObject()
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CMFCatalogAware.py", line 76, in indexObject
catalog.indexObject(self)
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 270, in indexObject
self.catalog_object(object, url)
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 263, in catalog_object
pghandler)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 534, in catalog_object
self._catalog.catalogObject(obj, uid, None, idxs,
AttributeError: _catalog
Error in test test_isActionSupported (DCWorkflow.tests.test_DCWorkflow.DCWorkflowDefinitionTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/DCWorkflow/tests/test_DCWorkflow.py", line 181, in test_isActionSupported
dummy = self.site._setObject( 'dummy', DummyContent() )
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/tests/base/dummy.py", line 234, in _setObject
notify(ObjectAddedEvent(object, self, id))
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CMFCatalogAware.py", line 266, in handleContentishEvent
ob.indexObject()
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CMFCatalogAware.py", line 76, in indexObject
catalog.indexObject(self)
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 270, in indexObject
self.catalog_object(object, url)
File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 263, in catalog_object
pghandler)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 534, in catalog_object
self._catalog.catalogObject(obj, uid, None, idxs,
AttributeError: _catalog
Ran 16 tests with 0 failures and 4 errors in 0.197 seconds.
Running Products.CMFCore.testing.TraversingZCMLLayer tests:
Tear down Products.CMFCore.testing.TraversingEventZCMLLayer in 0.001 seconds.
Set up Products.CMFCore.testing.TraversingZCMLLayer in 0.069 seconds.
Ran 69 tests with 0 failures and 0 errors in 0.557 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.001 seconds.
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.724 seconds.
Set up Products.CMFDefault.testing.FunctionalLayer in 0.656 seconds.
Ran 50 tests with 0 failures and 0 errors in 10.469 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
Tear down Products.CMFDefault.testing.FunctionalLayer in 0.159 seconds.
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.006 seconds.
Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.068 seconds.
Ran 12 tests with 0 failures and 0 errors in 0.641 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
Tear down Products.CMFUid.testing.UidEventZCMLLayer in 0.001 seconds.
Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 1.080 seconds.
Ran 35 tests with 0 failures and 0 errors in 2.064 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.002 seconds.
Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.295 seconds.
Ran 190 tests with 0 failures and 0 errors in 1.626 seconds.
Tearing down left over layers:
Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
Total: 1404 tests, 0 failures, 4 errors
FAILED (errors=4)
More information about the cmf-tests
mailing list