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

CMF Unit Tests cmf-tests at epy.co.at
Mon Nov 26 21:43:27 EST 2007


CMF Unit Tests : FAILED (errors=9)
CMF-trunk Zope-2.10 Python-2.4.4 : Linux

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope210/test.py -q --config-file etc/zope.conf --path Products --test-path Products
Installing GenericSetup ... done (0.013s)
Parsing /home/stefan/autotest/temp/python24-zope210-cmf22/etc/zope.conf
Running unit tests:
/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile GenericSetup:dummy_profile2 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-zope210-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile GenericSetup:dummy_profile taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
  warn('Version for profile %s taken from version.txt. '


Error in test test_registerProfile_duplicate (GenericSetup.tests.test_registry.ProfileRegistryTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/tests/test_registry.py", line 1072, in test_registerProfile_duplicate
    registry.registerProfile( NAME, TITLE, DESCRIPTION, PATH )
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
    metadata = ProfileMetadata(
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/utils.py", line 841, in _getProductPath
    , globals(), {}, ['initialize'])
TypeError: __import__() argument 1 must be string, not None



Error in test test_registerProfile_normal (GenericSetup.tests.test_registry.ProfileRegistryTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/tests/test_registry.py", line 1048, in test_registerProfile_normal
    , PROFILE_TYPE
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
    metadata = ProfileMetadata(
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/utils.py", line 843, in _getProductPath
    raise ValueError('Not a valid product name: %s'
ValueError: Not a valid product name: TestProduct



Error in test test_registerProfile_site_type (GenericSetup.tests.test_registry.ProfileRegistryTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/tests/test_registry.py", line 1098, in test_registerProfile_site_type
    , for_=FOR
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
    metadata = ProfileMetadata(
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/utils.py", line 843, in _getProductPath
    raise ValueError('Not a valid product name: %s'
ValueError: Not a valid product name: TestProduct

/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile Products.GenericSetup: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. '
  Ran 809 tests with 0 failures and 3 errors in 8.185 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 1.841 seconds.
/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/registry.py:572: 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-zope210-cmf22/Products/GenericSetup/registry.py:572: 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-zope210-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile Products.CMFDefault: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-zope210-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile Products.CMFDefault:views_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-zope210-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile Products.CMFDefault:sample_content 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-zope210-cmf22/Products/GenericSetup/registry.py:572: 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-zope210-cmf22/Products/GenericSetup/registry.py:572: 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. '
/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/registry.py:212: UserWarning: The version parameter for registerStep.ImportStepRegistry is deprecated.
  warn('The version parameter for registerStep.ImportStepRegistry '
  Ran 50 tests with 0 failures and 0 errors in 0.703 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 2.223 seconds.
  Ran 22 tests with 0 failures and 0 errors in 7.015 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.151 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.005 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.000 seconds.
  Ran 24 tests with 0 failures and 0 errors in 3.491 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.000 seconds.
  Ran 109 tests with 0 failures and 0 errors in 31.538 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.000 seconds.
  Ran 15 tests with 0 failures and 0 errors in 1.590 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.000 seconds.
  Ran 68 tests with 0 failures and 0 errors in 5.769 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.744 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.637 seconds.
  Ran 50 tests with 0 failures and 0 errors in 7.330 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.067 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.006 seconds.
  Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.000 seconds.
  Ran 12 tests with 0 failures and 0 errors in 1.068 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.698 seconds.
  Ran 37 tests with 0 failures and 0 errors in 2.084 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.133 seconds.


Error in test test_getBaselineContextID (Products.GenericSetup.tests.test_tool.SetupToolTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/tests/test_tool.py", line 140, in test_getBaselineContextID
    profile_registry.registerProfile('foo', 'Foo', '', self._PROFILE_PATH)
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
    metadata = ProfileMetadata(
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/utils.py", line 841, in _getProductPath
    , globals(), {}, ['initialize'])
TypeError: __import__() argument 1 must be string, not None



Error in test test_listContextInfos_with_registered_base_profile (Products.GenericSetup.tests.test_tool.SetupToolTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/tests/test_tool.py", line 770, in test_listContextInfos_with_registered_base_profile
    'Foo', BASE)
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
    metadata = ProfileMetadata(
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/utils.py", line 843, in _getProductPath
    raise ValueError('Not a valid product name: %s'
ValueError: Not a valid product name: Foo



Error in test test_listContextInfos_with_registered_extension_profile (Products.GenericSetup.tests.test_tool.SetupToolTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/tests/test_tool.py", line 784, in test_listContextInfos_with_registered_extension_profile
    'Foo', EXTENSION)
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
    metadata = ProfileMetadata(
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/utils.py", line 843, in _getProductPath
    raise ValueError('Not a valid product name: %s'
ValueError: Not a valid product name: Foo



Error in test test_runAllImportStepsFromProfileWithDepends (Products.GenericSetup.tests.test_tool.SetupToolTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/tests/test_tool.py", line 530, in test_runAllImportStepsFromProfileWithDepends
    profile_registry.registerProfile('foo', 'Foo', '', self._PROFILE_PATH)
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
    metadata = ProfileMetadata(
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/utils.py", line 841, in _getProductPath
    , globals(), {}, ['initialize'])
TypeError: __import__() argument 1 must be string, not None



Error in test test_runAllImportStepsFromProfileWithoutDepends (Products.GenericSetup.tests.test_tool.SetupToolTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/tests/test_tool.py", line 512, in test_runAllImportStepsFromProfileWithoutDepends
    profile_registry.registerProfile('foo', 'Foo', '', self._PROFILE_PATH)
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
    metadata = ProfileMetadata(
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/utils.py", line 841, in _getProductPath
    , globals(), {}, ['initialize'])
TypeError: __import__() argument 1 must be string, not None



Error in test test_setBaselineContext (Products.GenericSetup.tests.test_tool.SetupToolTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/tests/test_tool.py", line 180, in test_setBaselineContext
    profile_registry.registerProfile('foo', 'Foo', '', self._PROFILE_PATH)
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
    metadata = ProfileMetadata(
  File "/home/stefan/autotest/temp/python24-zope210-cmf22/Products/GenericSetup/utils.py", line 841, in _getProductPath
    , globals(), {}, ['initialize'])
TypeError: __import__() argument 1 must be string, not None

  Ran 207 tests with 0 failures and 6 errors in 1.720 seconds.
Tearing down left over layers:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
Total: 1403 tests, 0 failures, 9 errors

FAILED (errors=9)


More information about the cmf-tests mailing list