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

CMF Tests cmf-tests at epy.co.at
Tue Mar 30 21:52:10 EDT 2010


CMF Tests : FAILED (errors=13)
CMF-trunk Zope-trunk Python-2.6.4 : Linux (x86_64)

Running /usr/local/python2.6/bin/python ./bin/test
/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/tests.py:20: DeprecationWarning: Zope2VocabularyRegistry is deprecated. Please import from Zope2.App.schema
  from Products.Five.schema import Zope2VocabularyRegistry
/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFCore/Products/CMFCore/tests/test_zcml.py:20: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module
  from zope.testing import doctest
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/layer.py", line 28, in setUp
    func(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/ZopeLite.py", line 145, in _startup
    _theApp = Zope2.app()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/__init__.py", line 51, in app
    startup()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/App/startup.py", line 109, in startup
    load_site()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/App/zcml.py", line 46, in load_site
    _context = xmlconfig.file(site_zcml)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.configuration-3.7.1-py2.6.egg/zope/configuration/xmlconfig.py", line 653, in file
    context.execute_actions()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.configuration-3.7.1-py2.6.egg/zope/configuration/config.py", line 606, in execute_actions
    callable(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/AccessControl/security.py", line 153, in protectClass
    permission = getUtility(IPermission, name=permission_id)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.component-3.9.3-py2.6.egg/zope/component/_api.py", line 171, in getUtility
    raise ComponentLookupError(interface, name)
ConfigurationExecutionError: <class 'zope.component.interfaces.ComponentLookupError'>: (<InterfaceClass zope.security.interfaces.IPermission>, 'cmf.ModifyPortalContent')
  in:
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/configure.zcml", line 20.2-26.8
    <browser:page
        for="Products.CMFCalendar.interfaces.IMutableEvent"
        layer="Products.CMFDefault.interfaces.ICMFDefaultSkin"
        name="edit.html"
        class=".event.EventEditView"
        permission="cmf.ModifyPortalContent"
        />


Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/layer.py", line 28, in setUp
    func(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/ZopeLite.py", line 145, in _startup
    _theApp = Zope2.app()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/__init__.py", line 52, in app
    return bobo_application(*args, **kw)
TypeError: 'NoneType' object is not callable

Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/layer.py", line 28, in setUp
    func(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/ZopeLite.py", line 145, in _startup
    _theApp = Zope2.app()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/__init__.py", line 52, in app
    return bobo_application(*args, **kw)
TypeError: 'NoneType' object is not callable

Running Products.CMFCore.testing.EventZCMLLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/layer.py", line 28, in setUp
    func(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/ZopeLite.py", line 145, in _startup
    _theApp = Zope2.app()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/__init__.py", line 52, in app
    return bobo_application(*args, **kw)
TypeError: 'NoneType' object is not callable

Running Products.CMFCore.testing.ExportImportZCMLLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/layer.py", line 28, in setUp
    func(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/ZopeLite.py", line 145, in _startup
    _theApp = Zope2.app()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/__init__.py", line 52, in app
    return bobo_application(*args, **kw)
TypeError: 'NoneType' object is not callable

Running Products.CMFCore.testing.TraversingEventZCMLLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/layer.py", line 28, in setUp
    func(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/ZopeLite.py", line 145, in _startup
    _theApp = Zope2.app()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/__init__.py", line 52, in app
    return bobo_application(*args, **kw)
TypeError: 'NoneType' object is not callable

Running Products.CMFCore.testing.TraversingZCMLLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/layer.py", line 28, in setUp
    func(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/ZopeLite.py", line 145, in _startup
    _theApp = Zope2.app()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/__init__.py", line 52, in app
    return bobo_application(*args, **kw)
TypeError: 'NoneType' object is not callable

Running Products.CMFDefault.testing.FunctionalLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/layer.py", line 28, in setUp
    func(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/ZopeLite.py", line 145, in _startup
    _theApp = Zope2.app()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/__init__.py", line 52, in app
    return bobo_application(*args, **kw)
TypeError: 'NoneType' object is not callable

Running Products.CMFTopic.testing.FunctionalLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/layer.py", line 28, in setUp
    func(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/ZopeLite.py", line 145, in _startup
    _theApp = Zope2.app()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/__init__.py", line 52, in app
    return bobo_application(*args, **kw)
TypeError: 'NoneType' object is not callable

Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/layer.py", line 28, in setUp
    func(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/ZopeLite.py", line 145, in _startup
    _theApp = Zope2.app()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/__init__.py", line 52, in app
    return bobo_application(*args, **kw)
TypeError: 'NoneType' object is not callable

Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/layer.py", line 28, in setUp
    func(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/ZopeLite.py", line 145, in _startup
    _theApp = Zope2.app()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/__init__.py", line 52, in app
    return bobo_application(*args, **kw)
TypeError: 'NoneType' object is not callable

Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/eggs/zope.testing-3.9.3-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/layer.py", line 28, in setUp
    func(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Testing/ZopeTestCase/ZopeLite.py", line 145, in _startup
    _theApp = Zope2.app()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Zope2/__init__.py", line 52, in app
    return bobo_application(*args, **kw)
TypeError: 'NoneType' object is not callable

Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.


Error in test test_manage_propertiesForm_allows_adding (Products.CMFCore.tests.test_ActionInformation.ActionTests)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFCore/Products/CMFCore/tests/test_ActionInformation.py", line 117, in test_manage_propertiesForm_allows_adding
    form_html = a.manage_propertiesForm(request)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/App/special_dtml.py", line 185, in _exec
    try: result = render_blocks(self._v_blocks, ns)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/DocumentTemplate/DT_With.py", line 78, in render
    try: return render_blocks(self.section, md)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 338, in __render_with_namespace__
    return self._bindAndExec((), namevals, namespace)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/App/special_dtml.py", line 185, in _exec
    try: result = render_blocks(self._v_blocks, ns)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/DocumentTemplate/DT_With.py", line 78, in render
    try: return render_blocks(self.section, md)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/DocumentTemplate/DT_In.py", line 707, in renderwob
    try: append(render(section, md))
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Zope2/src/DocumentTemplate/DT_Util.py", line 201, in eval
    return eval(code, d)
   - __traceback_info__: _
  File "<string>", line 1, in <module>
AttributeError: DummyRequest instance has no attribute 'URL'

/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFCore/Products/CMFCore/tests/test_zcml.py:1: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  ##############################################################################
/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFCore/Products/CMFCore/tests/test_zcml.py:1: DeprecationWarning: load_string is deprecated. Please import from Zope2.App.zcml
  ##############################################################################
  Ran 586 tests with 0 failures and 1 errors in 1.408 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 586 tests, 0 failures, 13 errors in 1.927 seconds.

FAILED (errors=13)


More information about the cmf-tests mailing list