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

CMF Tests cmf-tests at epy.co.at
Wed Aug 27 21:23:42 EDT 2008


CMF Tests : FAILED (errors=6)
CMF-trunk Zope-trunk Python-2.4.4 : Linux

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope212/test.py -q --config-file etc/zope.conf --path Products --test-path Products
Parsing /home/stefan/autotest/temp/python24-zope212-cmf22/etc/zope.conf
Running unit tests:
  Ran 492 tests with 0 failures and 0 errors in 2.650 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.263 seconds.
  Ran 364 tests with 0 failures and 0 errors in 6.454 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 1.576 seconds.
  Ran 51 tests with 0 failures and 0 errors in 0.423 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/testrunner.py", line 1252, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/testrunner.py", line 1377, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/CMFCalendar/testing.py", line 46, in setUp
    extension_ids=('Products.CMFCalendar:default',
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/CMFDefault/factory.py", line 63, in addConfiguredSite
    setup_tool.runAllImportStepsFromProfile('profile-%s' % profile_id)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/tool.py", line 327, in runAllImportStepsFromProfile
    ignore_dependencies=ignore_dependencies)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/tool.py", line 1080, in _runImportStepsFromContext
    message = self._doRunImportStep(step, context)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/tool.py", line 994, in _doRunImportStep
    return handler(context)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/components.py", line 313, in importComponentRegistry
    importer.body = body
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/utils.py", line 506, in _importBody
    self._importNode(dom.documentElement)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/components.py", line 88, in _importNode
    self._initUtilities(child)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/components.py", line 193, in _initUtilities
    self.context.registerUtility(aq_base(obj), provided, name)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/lib/python/five/localsitemanager/registry.py", line 248, in registerUtility
    zope.event.notify(zope.component.interfaces.Registered(
TypeError: __init__() takes exactly 6 arguments (7 given)

Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.004 seconds.
  Ran 25 tests with 0 failures and 0 errors in 1.749 seconds.
Running Products.CMFCore.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFCore.testing.EventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.ExportImportZCMLLayer in 0.004 seconds.
  Ran 109 tests with 0 failures and 0 errors in 18.865 seconds.
Running Products.CMFCore.testing.TraversingEventZCMLLayer tests:
  Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.TraversingEventZCMLLayer in 0.003 seconds.
  Ran 15 tests with 0 failures and 0 errors in 1.438 seconds.
Running Products.CMFCore.testing.TraversingZCMLLayer tests:
  Tear down Products.CMFCore.testing.TraversingEventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.TraversingZCMLLayer in 0.004 seconds.
  Ran 68 tests with 0 failures and 0 errors in 4.603 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
  Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.720 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/testrunner.py", line 1252, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/testrunner.py", line 1377, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/CMFDefault/testing.py", line 43, in setUp
    snapshot=False)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/CMFDefault/factory.py", line 63, in addConfiguredSite
    setup_tool.runAllImportStepsFromProfile('profile-%s' % profile_id)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/tool.py", line 327, in runAllImportStepsFromProfile
    ignore_dependencies=ignore_dependencies)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/tool.py", line 1080, in _runImportStepsFromContext
    message = self._doRunImportStep(step, context)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/tool.py", line 994, in _doRunImportStep
    return handler(context)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/components.py", line 313, in importComponentRegistry
    importer.body = body
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/utils.py", line 506, in _importBody
    self._importNode(dom.documentElement)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/components.py", line 88, in _importNode
    self._initUtilities(child)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/components.py", line 193, in _initUtilities
    self.context.registerUtility(aq_base(obj), provided, name)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/lib/python/five/localsitemanager/registry.py", line 248, in registerUtility
    zope.event.notify(zope.component.interfaces.Registered(
TypeError: __init__() takes exactly 6 arguments (7 given)

Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
  Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.004 seconds.
  Ran 12 tests with 0 failures and 0 errors in 2.001 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFUid.testing.UidEventZCMLLayer in 0.000 seconds.
  Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 1.366 seconds.
  Ran 37 tests with 0 failures and 0 errors in 4.289 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.499 seconds.


Error in test test_blacklist_get (Products.GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests)
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-zope212-cmf22/Products/GenericSetup/tests/test_components.py", line 188, in test_blacklist_get
    self._populate(obj)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/tests/test_components.py", line 148, in _populate
    obj.registerUtility(DummyUtility(), IDummyInterface)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/lib/python/five/localsitemanager/registry.py", line 248, in registerUtility
    zope.event.notify(zope.component.interfaces.Registered(
TypeError: __init__() takes exactly 6 arguments (7 given)



Error in test test_blacklist_set (Products.GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests)
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-zope212-cmf22/Products/GenericSetup/tests/test_components.py", line 213, in test_blacklist_set
    adapted.body = self._BODY
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/utils.py", line 506, in _importBody
    self._importNode(dom.documentElement)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/components.py", line 88, in _importNode
    self._initUtilities(child)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/components.py", line 193, in _initUtilities
    self.context.registerUtility(aq_base(obj), provided, name)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/lib/python/five/localsitemanager/registry.py", line 248, in registerUtility
    zope.event.notify(zope.component.interfaces.Registered(
TypeError: __init__() takes exactly 6 arguments (7 given)



Error in test test_body_get (Products.GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests)
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-zope212-cmf22/Products/GenericSetup/testing.py", line 88, in test_body_get
    self._populate(self._obj)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/tests/test_components.py", line 148, in _populate
    obj.registerUtility(DummyUtility(), IDummyInterface)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/lib/python/five/localsitemanager/registry.py", line 248, in registerUtility
    zope.event.notify(zope.component.interfaces.Registered(
TypeError: __init__() takes exactly 6 arguments (7 given)



Error in test test_body_set (Products.GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests)
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-zope212-cmf22/Products/GenericSetup/testing.py", line 96, in test_body_set
    adapted.body = self._BODY
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/utils.py", line 506, in _importBody
    self._importNode(dom.documentElement)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/components.py", line 88, in _importNode
    self._initUtilities(child)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/components.py", line 216, in _initUtilities
    self.context.registerUtility(factory(), provided, name)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/lib/python/five/localsitemanager/registry.py", line 248, in registerUtility
    zope.event.notify(zope.component.interfaces.Registered(
TypeError: __init__() takes exactly 6 arguments (7 given)

  Ran 210 tests with 0 failures and 4 errors in 4.676 seconds.
Tearing down left over layers:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 1383 tests, 0 failures, 6 errors in 57.113 seconds.

FAILED (errors=6)


More information about the cmf-tests mailing list