[cmf-tests] FAILED (errors=4) : CMF-2.1 Zope-trunk Python-2.4.4 : Linux

CMF Unit Tests cmf-tests at epy.co.at
Tue May 1 21:38:55 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 7.137 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 2.143 seconds.
  Ran 52 tests with 0 failures and 0 errors in 0.602 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 1.426 seconds.
  Ran 21 tests with 0 failures and 0 errors in 4.036 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.074 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.004 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.071 seconds.
  Ran 26 tests with 0 failures and 0 errors in 0.147 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.128 seconds.
  Ran 106 tests with 0 failures and 0 errors in 1.128 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.071 seconds.
  Ran 69 tests with 0 failures and 0 errors in 0.550 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.902 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.663 seconds.
  Ran 50 tests with 0 failures and 0 errors in 11.768 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.068 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.228 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFUid.testing.UidEventZCMLLayer in 0.001 seconds.
  Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.695 seconds.
  Ran 35 tests with 0 failures and 0 errors in 1.966 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.133 seconds.
  Ran 190 tests with 0 failures and 0 errors in 1.577 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