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

CMF Tests cmf-tests at epy.co.at
Tue Mar 4 21:49:50 EST 2008


CMF Tests : FAILED (errors=1)
CMF-trunk Zope-trunk Python-2.4.4 : Linux

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope212/test.py -q --config-file etc/zope.conf --path Products --test-path Products
Parsing /home/stefan/autotest/temp/python24-zope212-cmf22/etc/zope.conf
Running unit tests:
  Ran 465 tests with 0 failures and 0 errors in 2.510 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.210 seconds.
  Ran 361 tests with 0 failures and 0 errors in 5.775 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 1.357 seconds.
/home/stefan/autotest/temp/python24-zope212/lib/python/OFS/CopySupport.py:525: PendingDeprecationWarning: raising a string exception is deprecated
  action = 'manage_main')
/home/stefan/autotest/temp/python24-zope212/lib/python/OFS/CopySupport.py:519: PendingDeprecationWarning: raising a string exception is deprecated
  action = 'manage_main')
  Ran 50 tests with 0 failures and 0 errors in 0.421 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFCalendar:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFCalendar:skins_support taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFTopic:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.DCWorkflow:revision2 taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '
 in 0.838 seconds.
  Ran 22 tests with 0 failures and 0 errors in 3.982 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.069 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.005 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.004 seconds.
  Ran 24 tests with 0 failures and 0 errors in 1.855 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.004 seconds.
  Ran 109 tests with 0 failures and 0 errors in 19.684 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.006 seconds.
  Ran 15 tests with 0 failures and 0 errors in 1.591 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.005 seconds.
  Ran 68 tests with 0 failures and 0 errors in 5.612 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.681 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.618 seconds.
  Ran 50 tests with 0 failures and 0 errors in 9.207 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.064 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.006 seconds.
  Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.004 seconds.
  Ran 12 tests with 0 failures and 0 errors in 1.122 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.710 seconds.
  Ran 37 tests with 0 failures and 0 errors in 2.104 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
  Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.002 seconds.
  Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.139 seconds.


Error in test test_required_tools_with_replacement (Products.GenericSetup.tests.test_tool.Test_importToolset)
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/Products/GenericSetup/tests/test_tool.py", line 1270, in test_required_tools_with_replacement
    importToolset( context )
  File "/home/stefan/autotest/temp/python24-zope212-cmf22/Products/GenericSetup/tool.py", line 143, in importToolset
    site._setObject(tool_id, new_tool)
UnboundLocalError: local variable 'new_tool' referenced before assignment

  Ran 206 tests with 0 failures and 1 errors in 2.109 seconds.
Tearing down left over layers:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 1419 tests, 0 failures, 1 errors in 1 minutes 4.475 seconds.

FAILED (errors=1)


More information about the cmf-tests mailing list