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

CMFPlone Tests plone-tests at epy.co.at
Mon Dec 15 04:47:55 UTC 2008


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

Running /usr/local/python2.4/bin/python ./bin/test --package Products.CMFPlone
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 3.255 seconds.
  Ran 111 tests with 0 failures and 0 errors in 1.633 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Products.PloneTestCase.layer.ZCML in 11.592 seconds.
  Ran 9 tests with 0 failures and 0 errors in 0.027 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite in 10.249 seconds.
/home/stefan/autotest/temp/python24-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.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testPortalCreation.py", line 488, in testMakeSnapshot
    self.setup.createSnapshot(snapshot_id)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 366, in createSnapshot
    messages[step_id] = handler(context)
  File "/home/stefan/autotest/temp/python24-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/python24-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/python24-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 493, 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-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/python24-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/python24-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/python24-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/python24-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 5 minutes 42.997 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.446 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.207 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 13.187 seconds.

FAILED (errors=1)




More information about the Testbot mailing list