[Testbot] FAILED (errors=1) : Plone-trunk Zope-trunk Python-2.5.2

CMFPlone Tests plone-tests at epy.co.at
Sat Dec 20 05:16:25 UTC 2008


CMFPlone Tests : FAILED (errors=1)
Plone-trunk Zope-trunk Python-2.5.2

Running /usr/local/python2.5/bin/python ./bin/test --package Products.CMFPlone
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 3.455 seconds.
  Ran 111 tests with 0 failures and 0 errors in 1.706 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Products.PloneTestCase.layer.ZCML in 10.857 seconds.
  Ran 9 tests with 0 failures and 0 errors in 0.026 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/utils.py:502: DeprecationWarning: raising a string exception is deprecated
  action ='./manage_main',)
 in 12.697 seconds.
/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.PlonePAS/Products/PlonePAS/tools/groupdata.py:168: DeprecationWarning: portal_groups.getGroupMembers is deprecated and will be removed in Plone 3.5. Use PAS to get a group and check its members instead.
  for u_name in gtool.getGroupMembers(self.getId()):


Error in test testMakeSnapshot (Products.CMFPlone.tests.testPortalCreation.TestPortalCreation)
Traceback (most recent call last):
  File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testPortalCreation.py", line 488, in testMakeSnapshot
    self.setup.createSnapshot(snapshot_id)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 366, in createSnapshot
    messages[step_id] = handler(context)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/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/python25-zope212-cmf22-plone40/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/python25-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 493, in _exportBody
    xml = self._doc.toprettyxml(' ')
  File "/usr/local/python2.5/lib/python2.5/xml/dom/minidom.py", line 57, in toprettyxml
    self.writexml(writer, "", indent, newl, encoding)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 403, in writexml
    node.writexml(writer, indent, addindent, newl)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 374, in writexml
    node.writexml(writer, indent+addindent, addindent, newl)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 357, in writexml
    a_value = escape(attrs[a_name].value.encode('utf-8'), quote=True)
AttributeError: encode

/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.PlonePAS/Products/PlonePAS/pas.py:112: DeprecationWarning: userSetGroups is deprecated. Use the PAS methods instead
  self.userSetGroups(login, groups)
/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.PlonePAS/Products/PlonePAS/gruf_support.py:66: DeprecationWarning: portal_groups.getGroupsForPrincipal is deprecated and will be removed in Plone 3.5. Use PAS to get a principal and check its group list instead.
  groups = set(gtool.getGroupsForPrincipal(member))
  Ran 908 tests with 0 failures and 1 errors in 6 minutes 4.078 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.452 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.031 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 39 tests with 0 failures and 0 errors in 0.208 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1067 tests, 0 failures, 1 errors in 6 minutes 36.636 seconds.

FAILED (errors=1)




More information about the Testbot mailing list