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

CMF Tests cmf-tests at epy.co.at
Tue Nov 22 06:35:58 UTC 2011


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

Running ./bin/test
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.095 seconds.
/home/stefan/autotest/temp/python26-zope214-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-zope214-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 376 tests with 0 failures and 0 errors in 1.468 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.300 seconds.
  Ran 21 tests with 0 failures and 0 errors in 0.061 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 0.484 seconds.
  Ran 20 tests with 0 failures and 0 errors in 1.658 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.022 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.682 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 15.744 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 3.005 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 2.035 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.256 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.334 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-zope214-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-zope214-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 343, in runAllExportSteps
    return self._doRunExportSteps(self.listExportSteps())
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 1021, in _doRunExportSteps
    messages[step_id] = handler(context)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/exportimport/workflow.py", line 141, in exportWorkflowTool
    exportObjects(tool, '', context)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 819, in exportObjects
    exportObjects(sub, path+'/', context)
  File "/home/stefan/autotest/temp/python26-zope214-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-zope214-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-zope214-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-zope214-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 343, in runAllExportSteps
    return self._doRunExportSteps(self.listExportSteps())
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 1021, in _doRunExportSteps
    messages[step_id] = handler(context)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/exportimport/workflow.py", line 141, in exportWorkflowTool
    exportObjects(tool, '', context)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 819, in exportObjects
    exportObjects(sub, path+'/', context)
  File "/home/stefan/autotest/temp/python26-zope214-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-zope214-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-zope214-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-zope214-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 343, in runAllExportSteps
    return self._doRunExportSteps(self.listExportSteps())
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 1021, in _doRunExportSteps
    messages[step_id] = handler(context)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/exportimport/workflow.py", line 141, in exportWorkflowTool
    exportObjects(tool, '', context)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.GenericSetup/Products/GenericSetup/utils.py", line 819, in exportObjects
    exportObjects(sub, path+'/', context)
  File "/home/stefan/autotest/temp/python26-zope214-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-zope214-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.731 seconds.
Running Products.CMFTopic.testing.FunctionalLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.020 seconds.
  Set up Products.CMFTopic.testing.FunctionalLayer in 0.227 seconds.
  Ran 1 tests with 0 failures and 0 errors in 0.024 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFTopic.testing.FunctionalLayer in 0.022 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.334 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.234 seconds.
  Ran 40 tests with 0 failures and 0 errors in 0.790 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
  Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.000 seconds.
  Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.099 seconds.
  Ran 219 tests with 0 failures and 0 errors in 0.675 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 3.134 seconds.
Tearing down left over layers:
  Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1565 tests, 0 failures, 3 errors in 42.284 seconds.

FAILED (errors=3)


More information about the cmf-tests mailing list