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

CMF Tests cmf-tests at epy.co.at
Wed Apr 14 22:10:19 EDT 2010


CMF Tests : FAILED (failures=3)
CMF-trunk Zope-trunk Python-2.6.4 : Linux (x86_64)

Running /usr/local/python2.6/bin/python ./bin/test
/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFCore/Products/CMFCore/tests/test_zcml.py:20: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module
  from zope.testing import doctest
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.579 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf23/src/five.localsitemanager/src/five/localsitemanager/browser.txt:1: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  Functional Tests
/home/stefan/autotest/temp/python26-zope213-cmf23/src/five.localsitemanager/src/five/localsitemanager/browser.txt:1: DeprecationWarning: load_string is deprecated. Please import from Zope2.App.zcml
  Functional Tests
/home/stefan/autotest/temp/python26-zope213-cmf23/src/five.localsitemanager/src/five/localsitemanager/browser.txt:1: DeprecationWarning: Browser is deprecated. Please import from Testing.testbrowser
  Functional Tests
  Ran 363 tests with 0 failures and 0 errors in 1.942 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.178 seconds.
  Ran 55 tests with 0 failures and 0 errors in 0.122 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 0.311 seconds.
  Ran 20 tests with 0 failures and 0 errors in 1.451 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.028 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.607 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 103 tests with 0 failures and 0 errors in 10.290 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 15 tests with 0 failures and 0 errors in 0.496 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 69 tests with 0 failures and 0 errors in 1.658 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.157 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.248 seconds.


Failure in test /home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/tests/authentication.txt
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/usr/local/python2.6/lib/python2.6/doctest.py", line 2145, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for authentication.txt
  File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/tests/authentication.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/tests/authentication.txt", line 51, in authentication.txt
Failed example:
    '[[cmf_default][Login success]]' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False




Failure 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 84, in testUpgradeAllProposed
    self.assertEqual(diff, '', diff)
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: Index: cookieauth.xml
===================================================================
--- cookieauth.xml 1271296977
+++ cookieauth.xml 1271296977
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<object name="cookie_authentication" meta_type="Cookie Crumbler">
+<object name="" meta_type="Cookie Crumbler">
  <property name="auth_cookie">__ac</property>
  <property name="name_cookie">__ac_name</property>
  <property name="pw_cookie">__ac_password</property>



Failure 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 84, in testUpgradeAllProposed
    self.assertEqual(diff, '', diff)
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: Index: cookieauth.xml
===================================================================
--- cookieauth.xml 1271296978
+++ cookieauth.xml 1271296978
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<object name="cookie_authentication" meta_type="Cookie Crumbler">
+<object name="" meta_type="Cookie Crumbler">
  <property name="auth_cookie">__ac</property>
  <property name="name_cookie">__ac_name</property>
  <property name="pw_cookie">__ac_password</property>

  Ran 44 tests with 3 failures and 0 errors in 6.261 seconds.
Running Products.CMFTopic.testing.FunctionalLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.024 seconds.
  Set up Products.CMFTopic.testing.FunctionalLayer in 0.193 seconds.
  Ran 1 tests with 0 failures and 0 errors in 0.023 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFTopic.testing.FunctionalLayer in 0.026 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.335 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.145 seconds.
  Ran 38 tests with 0 failures and 0 errors in 0.736 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.079 seconds.
  Ran 212 tests with 0 failures and 0 errors in 0.642 seconds.
Running zope.testing.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.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 589 tests with 0 failures and 0 errors in 1.245 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1545 tests, 3 failures, 0 errors in 29.630 seconds.

FAILED (failures=3)


More information about the cmf-tests mailing list