[Testbot] FAILED (failures=1, errors=1) : Plone-3.2 Zope-2.10 Python-2.4.5

CMFPlone Tests plone-tests at epy.co.at
Wed Dec 17 05:26:48 UTC 2008


CMFPlone Tests : FAILED (failures=1, errors=1)
Plone-3.2 Zope-2.10 Python-2.4.5

Running /usr/local/python2.4/bin/python ./bin/instance test -q --package Products.CMFPlone
Running unit tests:
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/xmlconfig.py:323: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])
  Ran 178 tests with 0 failures and 0 errors in 2.429 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Products.PloneTestCase.layer.ZCML in 9.600 seconds.
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.plugins.ZODBRoleManager.ZODBRoleManager.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.PlonePAS/Products/PlonePAS/setuphandlers.py:39: DeprecationWarning: portal_groups.getGroupIds is deprecated and will be removed in Plone 4.0. Use PAS searchGroups instead
  existing = gtool.listGroupIds()
  Ran 12 tests with 0 failures and 0 errors in 0.040 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite in 12.964 seconds.
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_beforeDelete is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.PlonePAS/Products/PlonePAS/tools/groupdata.py:249: DeprecationWarning: portal_groups.getGroupMembers is deprecated and will be removed in Plone 4.0. Use PAS to get a group and check its members instead.
  for u_name in gtool.getGroupMembers(self.getId()):
/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Plone/Products/CMFPlone/MembershipTool.py:211: DeprecationWarning: getUserIds is deprecated. Use the PAS methods instead
  return self.__getPUS().getUserIds()
/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Plone/Products/CMFPlone/migrations/migration_util.py:90: DeprecationWarning: setupCurrentSkin should be called with 'REQUEST' as argument. The BBB code will be removed in CMF 2.3.
  portal.setupCurrentSkin()


Error in test testMakeSnapshot (Products.CMFPlone.tests.testPortalCreation.TestPortalCreation)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Plone/Products/CMFPlone/tests/testPortalCreation.py", line 712, in testMakeSnapshot
    self.setup.createSnapshot(snapshot_id)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 446, in createSnapshot
    messages[step_id] = handler(context)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/kssregistry.py", line 20, in exportKSSRegistry
    return exportResRegistry(context, _REG_ID, _REG_TITLE, _FILENAME)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.ResourceRegistries/Products/ResourceRegistries/exportimport/resourceregistry.py", line 48, in exportResRegistry
    context.writeDataFile(filename, exporter.body, exporter.mime_type)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 531, in _exportBody
    xml = self._doc.toprettyxml(' ')
  File "/usr/local/python2.4/lib/python2.4/xml/dom/minidom.py", line 59, in toprettyxml
    self.writexml(writer, "", indent, newl, encoding)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 441, in writexml
    node.writexml(writer, indent, addindent, newl)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 412, in writexml
    node.writexml(writer, indent+addindent, addindent, newl)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 395, in writexml
    a_value = escape(attrs[a_name].value.encode('utf-8'), quote=True)
AttributeError: encode

/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Plone/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:9: DeprecationWarning: portal_groups.searchForGroups is deprecated and will be removed in Plone 4.0. Use PAS searchGroups instead
  ##
/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Plone/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:9: DeprecationWarning: portal_groups.searchForGroups is deprecated and will be removed in Plone 4.0. Use PAS searchGroups instead
  ##
/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Plone/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:7: DeprecationWarning: portal_membership.searchForMembers is deprecated and will be removed in Plone 4.0. Use PAS searchUsers instead
  ##parameters=searchstring, restrict, return_form=None, ignore=[]
/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Plone/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:9: DeprecationWarning: portal_groups.searchForGroups is deprecated and will be removed in Plone 4.0. Use PAS searchGroups instead
  ##
/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Plone/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:7: DeprecationWarning: portal_membership.searchForMembers is deprecated and will be removed in Plone 4.0. Use PAS searchUsers instead
  ##parameters=searchstring, restrict, return_form=None, ignore=[]
/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Plone/Products/CMFPlone/skins/plone_prefs/prefs_user_group_search.py:9: DeprecationWarning: portal_groups.searchForGroups is deprecated and will be removed in Plone 4.0. Use PAS searchGroups instead
  ##


Failure in test /home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt
Failed doctest test for LoginAndLogout.txt
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 115, in LoginAndLogout.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/Members/test_user_1_/edit'
Got:
    'http://nohost/plone/Members/test_user_1_/atct_edit'

  Ran 1526 tests with 1 failures and 1 errors in 493.756 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.632 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.014 seconds.
Total: 1716 tests, 1 failures, 1 errors

FAILED (failures=1, errors=1)




More information about the Testbot mailing list