[cmf-tests] FAILED (errors=3) : CMF-trunk Zope-2.13 Python-2.6.6 : Linux

CMF Tests cmf-tests at epy.co.at
Wed Nov 23 06:33:35 UTC 2011


CMF Tests : FAILED (errors=3)
CMF-trunk Zope-2.13 Python-2.6.6 : Linux (x86_64)

Running ./bin/test
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.084 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFDefault/Products/CMFDefault/tests/test_SyndicationTool.py:237: DeprecationWarning: RSS 2.0 uses RFC 822 formatting this method will be removed in CMF 2.4
  as_HTML4 = tool.getHTML4UpdateBase()
/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFDefault/Products/CMFDefault/tests/test_SyndicationTool.py:251: DeprecationWarning: RSS 2.0 uses RFC 822 formatting this method will be removed in CMF 2.4
  as_HTML4 = tool.getHTML4UpdateBase(context)
  Ran 374 tests with 0 failures and 0 errors in 1.279 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.286 seconds.
  Ran 21 tests with 0 failures and 0 errors in 0.045 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 0.514 seconds.
  Ran 20 tests with 0 failures and 0 errors in 1.740 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.018 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.001 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.001 seconds.
  Ran 24 tests with 0 failures and 0 errors in 0.615 seconds.
Running Products.CMFCore.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFCore.testing.EventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.ExportImportZCMLLayer in 0.001 seconds.
  Ran 113 tests with 0 failures and 0 errors in 12.328 seconds.
Running Products.CMFCore.testing.TraversingEventZCMLLayer tests:
  Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.TraversingEventZCMLLayer in 0.001 seconds.
  Ran 62 tests with 0 failures and 0 errors in 2.610 seconds.
Running Products.CMFCore.testing.TraversingZCMLLayer tests:
  Tear down Products.CMFCore.testing.TraversingEventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.TraversingZCMLLayer in 0.001 seconds.
  Ran 73 tests with 0 failures and 0 errors in 1.830 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
  Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.198 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.285 seconds.


Error in test testUpgradeAllProposed (Products.CMFDefault.upgrade.tests.test_upgrade.UpgradeFrom20Tests)
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.CMFDefault/Products/CMFDefault/upgrade/tests/test_upgrade.py", line 75, in testUpgradeAllProposed
    expected_export = self.app.site.portal_setup.runAllExportSteps()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 343, in runAllExportSteps
    return self._doRunExportSteps(self.listExportSteps())
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 1021, in _doRunExportSteps
    messages[step_id] = handler(context)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFCore/Products/CMFCore/exportimport/workflow.py", line 141, in exportWorkflowTool
    exportObjects(tool, '', context)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 819, in exportObjects
    exportObjects(sub, path+'/', context)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 815, in exportObjects
    context.writeDataFile(filename, body, exporter.mime_type)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/context.py", line 466, in writeDataFile
    raise ValueError("Unicode text is not supported, even if it only "
ValueError: Unicode text is not supported, even if it only contains ascii. Please encode your data



Error in test testUpgradeAllProposed (Products.CMFDefault.upgrade.tests.test_upgrade.UpgradeFrom21Tests)
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.CMFDefault/Products/CMFDefault/upgrade/tests/test_upgrade.py", line 75, in testUpgradeAllProposed
    expected_export = self.app.site.portal_setup.runAllExportSteps()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 343, in runAllExportSteps
    return self._doRunExportSteps(self.listExportSteps())
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 1021, in _doRunExportSteps
    messages[step_id] = handler(context)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFCore/Products/CMFCore/exportimport/workflow.py", line 141, in exportWorkflowTool
    exportObjects(tool, '', context)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 819, in exportObjects
    exportObjects(sub, path+'/', context)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 815, in exportObjects
    context.writeDataFile(filename, body, exporter.mime_type)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/context.py", line 466, in writeDataFile
    raise ValueError("Unicode text is not supported, even if it only "
ValueError: Unicode text is not supported, even if it only contains ascii. Please encode your data



Error in test testUpgradeAllProposed (Products.CMFDefault.upgrade.tests.test_upgrade.UpgradeFrom22Tests)
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.CMFDefault/Products/CMFDefault/upgrade/tests/test_upgrade.py", line 75, in testUpgradeAllProposed
    expected_export = self.app.site.portal_setup.runAllExportSteps()
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 343, in runAllExportSteps
    return self._doRunExportSteps(self.listExportSteps())
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 1021, in _doRunExportSteps
    messages[step_id] = handler(context)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFCore/Products/CMFCore/exportimport/workflow.py", line 141, in exportWorkflowTool
    exportObjects(tool, '', context)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 819, in exportObjects
    exportObjects(sub, path+'/', context)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 815, in exportObjects
    context.writeDataFile(filename, body, exporter.mime_type)
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.GenericSetup/Products/GenericSetup/context.py", line 466, in writeDataFile
    raise ValueError("Unicode text is not supported, even if it only "
ValueError: Unicode text is not supported, even if it only contains ascii. Please encode your data

  Ran 52 tests with 0 failures and 3 errors in 8.490 seconds.
Running Products.CMFTopic.testing.FunctionalLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.017 seconds.
  Set up Products.CMFTopic.testing.FunctionalLayer in 0.207 seconds.
  Ran 1 tests with 0 failures and 0 errors in 0.022 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFTopic.testing.FunctionalLayer in 0.018 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
  Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.001 seconds.
  Ran 12 tests with 0 failures and 0 errors in 0.305 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFUid.testing.UidEventZCMLLayer in 0.000 seconds.
  Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.185 seconds.
  Ran 40 tests with 0 failures and 0 errors in 0.762 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
  Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.001 seconds.
  Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.081 seconds.
  Ran 219 tests with 0 failures and 0 errors in 0.670 seconds.
Running zope.testrunner.layer.UnitTests tests:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.000 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 552 tests with 0 failures and 0 errors in 2.882 seconds.
Tearing down left over layers:
  Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1563 tests, 0 failures, 3 errors in 37.349 seconds.

FAILED (errors=3)


More information about the cmf-tests mailing list