[cmf-tests] FAILED (errors=2) : CMF-2.0 Zope-2.10 Python-2.4.3 : Linux

CMF Unit Tests cmf-tests at epy.co.at
Sun Jun 11 22:11:06 EDT 2006


CMF Unit Tests : FAILED (errors=2)
CMF-2.0 Zope-2.10 Python-2.4.3 : Linux

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope210/test.py -q --config-file etc/zope.conf --path Products --test-path Products
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/config.py:690: DeprecationWarning: The five:traversable statement is no longer needed and will be removed in Zope 2.12.
  actions = self.handler(context, **args)
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/config.py:184: DeprecationWarning: zope.app.event.interfaces has moved to zope.lifecycleevent.interfaces. Import of zope.app.event.interfaces will become unsupported in Zope 3.5
  mod = __import__(mname, *_import_chickens)
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/config.py:199: DeprecationWarning: IObjectEvent is deprecated. IObjectEvent has moved to zope.component.interfaces
  obj = getattr(mod, oname)
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_FSPageTemplate.py:25: DeprecationWarning: Products.PageTemplates.TALES has moved to zope.tales.tales. Import of Products.PageTemplates.TALES will become unsupported in 2.12
  from Products.PageTemplates.TALES import Undefined
Parsing /home/stefan/autotest/temp/python24-zope210-cmf20/etc/zope.conf
Running unit tests:
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/GenericSetup/tests/common.py:58: DeprecationWarning: FiveTraversable is deprecated. __bobo_traverse__ and ITraverser/ITraversable for controlling URL traversal have become obsolete. Use an IPublishTraverse adapter instead.  This reference will go away in Zope 2.12.
  from Products.Five.traversable import FiveTraversable
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFDefault.Portal.CMFSite.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFCore.PortalFolder.PortalFolder.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFCalendar.Event.Event.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/exportimport/tests/test_content.py:48: DeprecationWarning: zope.app.tests has moved to zope.app.testing. Import of zope.app.tests will become unsupported in Zope 3.5
  from zope.app.tests import ztapi


Error in test test_reindexObjectSecurity_missing_noraise (CMFCore.tests.test_CMFCatalogAware.CMFCatalogAwareTests)
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-zope210-cmf20/Products/CMFCore/tests/test_CMFCatalogAware.py", line 182, in test_reindexObjectSecurity_missing_noraise
    self.assertEqual( len(self.logged), 1 ) # logging because no raise
TypeError: len() of unsized object



Error in test test_allMetaTypes (CMFCore.tests.test_TypesTool.TypesToolTests)
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-zope210-cmf20/Products/CMFCore/tests/test_TypesTool.py", line 111, in test_allMetaTypes
    act = tool.unrestrictedTraverse(html_quote(factype['action']))
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/Traversable.py", line 263, in unrestrictedTraverse
    obj = next
UnboundLocalError: local variable 'next' referenced before assignment

<string>:1: DeprecationWarning: setDefaultSkin is deprecated. setDefaultSkin has been moved to zope.publisher.browser. This reference will be removed in Zope 3.5.
  Ran 1261 tests with 0 failures and 2 errors in 108.222 seconds.

FAILED (errors=2)


More information about the cmf-tests mailing list