[cmf-tests] FAILED (failures=2, errors=3) : CMF-trunk Zope-trunk Python-2.5.4 : Linux
CMF Tests
cmf-tests at epy.co.at
Tue Feb 3 21:28:41 EST 2009
CMF Tests : FAILED (failures=2, errors=3)
CMF-trunk Zope-trunk Python-2.5.4 : Linux
Running /usr/local/python2.5/bin/python /home/stefan/autotest/temp/python25-zope212/test.py -q --config-file etc/zope.conf --path Products --test-path Products
/home/stefan/autotest/temp/python25-zope212-cmf22/lib/python/five/localsitemanager/__init__.py:4: DeprecationWarning: ISite is deprecated. Moved to zope.location.interfaces. Importing from here will stop working in Zope 3.6
from zope.app.component.interfaces import ISite
Parsing /home/stefan/autotest/temp/python25-zope212-cmf22/etc/zope.conf
Running Testing.ZopeTestCase.layer.ZopeLite tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.801 seconds.
Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22/lib/python/five/localsitemanager/localsitemanager.txt
Failed doctest test for localsitemanager.txt
File "/home/stefan/autotest/temp/python25-zope212-cmf22/lib/python/five/localsitemanager/localsitemanager.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22/lib/python/five/localsitemanager/localsitemanager.txt", line 193, in localsitemanager.txt
Failed example:
list(sitemanager.registeredUtilities())
Expected:
[UtilityRegistration(<PersistentComponents site>, ITestUtility, u'hello_world', <Utility TestUtility "test">, u''),
UtilityRegistration(<PersistentComponents site>, ITestUtility, u'aq_wrapped', <Utility AQTestUtility "test">, u'')]
Got:
[UtilityRegistration(<PersistentComponents site>, ITestUtility, u'hello_world', <Utility TestUtility "test">, None, u''), UtilityRegistration(<PersistentComponents site>, ITestUtility, u'aq_wrapped', <Utility AQTestUtility "test">, None, u'')]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22/lib/python/five/localsitemanager/localsitemanager.txt", line 345, in localsitemanager.txt
Failed example:
list(sitemanager_a.registeredUtilities())
Expected:
[UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'with_aq_chain', si_util_cped, u''),
UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'aq_wrapped', <Utility AQTestUtility "test">, u''),
UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'hello_world', <Utility TestUtility "test">, u'')]
Got:
[UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'aq_wrapped', <Utility AQTestUtility "test">, None, u''), UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'with_aq_chain', si_util_cped, None, u''), UtilityRegistration(<PersistentComponents /a>, ITestUtility, u'hello_world', <Utility TestUtility "test">, None, u'')]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22/lib/python/five/localsitemanager/localsitemanager.txt", line 364, in localsitemanager.txt
Failed example:
aqutils
Expected:
[<SITestUtility at /a/b/c/si_util_cped>, <Utility AQTestUtility "test">]
Got:
[<Utility AQTestUtility "test">, <SITestUtility at /a/b/c/si_util_cped>]
Ran 406 tests with 1 failures and 0 errors in 7.248 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.689 seconds.
Ran 51 tests with 0 failures and 0 errors in 0.401 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
Set up Products.CMFCalendar.testing.FunctionalLayer Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/testing/testrunner/runner.py", line 360, in run_layer
setup_layer(options, layer, setup_layers)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/testing/testrunner/runner.py", line 536, in setup_layer
layer.setUp()
File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFCalendar/testing.py", line 37, in setUp
zcml.load_config('configure.zcml', Products.CMFCalendar)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/Products/Five/zcml.py", line 53, in load_config
_context = xmlconfig.file(file, package, _context, execute=execute)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 610, in file
include(context, name, package)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 546, in include
processxmlfile(f, context)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 378, in processxmlfile
parser.parse(src)
File "/usr/local/python2.5/lib/python2.5/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/python2.5/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/python2.5/lib/python2.5/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/python2.5/lib/python2.5/xml/sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 357, in endElementNS
self.context.end()
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/config.py", line 541, in end
self.stack.pop().finish()
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/config.py", line 689, in finish
actions = self.handler(context, **args)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 546, in include
processxmlfile(f, context)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 378, in processxmlfile
parser.parse(src)
File "/usr/local/python2.5/lib/python2.5/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/python2.5/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/python2.5/lib/python2.5/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/python2.5/lib/python2.5/xml/sax/expatreader.py", line 338, in start_element_ns
AttributesNSImpl(newattrs, qnames))
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 230, in startElementNS
self.context.begin(name, data, info)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/config.py", line 538, in begin
self.stack.append(self.stack[-1].contained(__name, __data, __info))
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/config.py", line 839, in contained
return RootStackItem.contained(self, name, data, info)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/config.py", line 707, in contained
factory = self.context.factory(self.context, name)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/config.py", line 484, in factory
raise ConfigurationError("Unknown directive", ns, n)
ZopeXMLConfigurationError: File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFCalendar/configure.zcml", line 9.2-9.47
ZopeXMLConfigurationError: File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFDefault/skin/configure.zcml", line 12.2
ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/browser', u'defaultSkin')
Running Products.CMFCore.testing.EventZCMLLayer tests:
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.001 seconds.
Set up Products.CMFCore.testing.EventZCMLLayer in 0.003 seconds.
Ran 24 tests with 0 failures and 0 errors in 1.619 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.003 seconds.
Ran 112 tests with 0 failures and 0 errors in 26.017 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.003 seconds.
Ran 15 tests with 0 failures and 0 errors in 1.278 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.003 seconds.
Ran 68 tests with 0 failures and 0 errors in 7.075 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.000 seconds.
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 1.664 seconds.
Set up Products.CMFDefault.testing.FunctionalLayer Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/testing/testrunner/runner.py", line 360, in run_layer
setup_layer(options, layer, setup_layers)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/testing/testrunner/runner.py", line 536, in setup_layer
layer.setUp()
File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFDefault/testing.py", line 36, in setUp
zcml.load_config('configure.zcml', Products.CMFDefault)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/Products/Five/zcml.py", line 53, in load_config
_context = xmlconfig.file(file, package, _context, execute=execute)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 610, in file
include(context, name, package)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 546, in include
processxmlfile(f, context)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 378, in processxmlfile
parser.parse(src)
File "/usr/local/python2.5/lib/python2.5/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/python2.5/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/python2.5/lib/python2.5/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/python2.5/lib/python2.5/xml/sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 357, in endElementNS
self.context.end()
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/config.py", line 541, in end
self.stack.pop().finish()
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/config.py", line 689, in finish
actions = self.handler(context, **args)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 546, in include
processxmlfile(f, context)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 378, in processxmlfile
parser.parse(src)
File "/usr/local/python2.5/lib/python2.5/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/python2.5/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/python2.5/lib/python2.5/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/python2.5/lib/python2.5/xml/sax/expatreader.py", line 338, in start_element_ns
AttributesNSImpl(newattrs, qnames))
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/xmlconfig.py", line 230, in startElementNS
self.context.begin(name, data, info)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/config.py", line 538, in begin
self.stack.append(self.stack[-1].contained(__name, __data, __info))
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/config.py", line 839, in contained
return RootStackItem.contained(self, name, data, info)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/config.py", line 707, in contained
factory = self.context.factory(self.context, name)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/config.py", line 484, in factory
raise ConfigurationError("Unknown directive", ns, n)
ZopeXMLConfigurationError: File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFDefault/configure.zcml", line 4.2-4.28
ZopeXMLConfigurationError: File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFDefault/skin/configure.zcml", line 12.2
ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/browser', u'defaultSkin')
Running Products.CMFTopic.testing.FunctionalLayer tests:
Set up Products.CMFTopic.testing.FunctionalLayer Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/testing/testrunner/runner.py", line 360, in run_layer
setup_layer(options, layer, setup_layers)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/testing/testrunner/runner.py", line 536, in setup_layer
layer.setUp()
File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFTopic/testing.py", line 44, in setUp
extension_ids=('Products.CMFTopic:default',))
File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFDefault/factory.py", line 62, in addConfiguredSite
setup_tool.setBaselineContext('profile-%s' % profile_id)
File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/GenericSetup/tool.py", line 198, in setBaselineContext
self.applyContextById(context_id, encoding)
File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/GenericSetup/tool.py", line 202, in applyContextById
context = self._getImportContext(context_id)
File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/GenericSetup/tool.py", line 902, in _getImportContext
info = _profile_registry.getProfileInfo(context_id)
File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/GenericSetup/registry.py", line 667, in getProfileInfo
result = self._profile_info[ profile_id ]
KeyError: 'Products.CMFDefault:default'
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.001 seconds.
Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.003 seconds.
Ran 12 tests with 0 failures and 0 errors in 1.873 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
Tear down Products.CMFUid.testing.UidEventZCMLLayer in 0.000 seconds.
Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 1.169 seconds.
Ran 37 tests with 0 failures and 0 errors in 4.837 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.110 seconds.
Ran 212 tests with 0 failures and 0 errors in 5.515 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFDefault/formlib/widgets.txt
Failed doctest test for widgets.txt
File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFDefault/formlib/widgets.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFDefault/formlib/widgets.txt", line 125, in widgets.txt
Failed example:
print widget.getInputValue()
Expected:
Traceback (most recent call last):
...
WidgetInputError: ('NAME', u'FIELD TITLE', )
Got:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest widgets.txt[47]>", line 1, in <module>
print widget.getInputValue()
File "/home/stefan/autotest/temp/python25-zope212-cmf22/Products/CMFDefault/formlib/widgets.py", line 139, in getInputValue
value = super(IDInputWidget, self).getInputValue()
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/app/form/browser/widget.py", line 333, in getInputValue
raise self._error
WidgetInputError: ('NAME', u'FIELD TITLE', RequiredMissing())
Ran 589 tests with 1 failures and 0 errors in 3.254 seconds.
Tearing down left over layers:
Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1526 tests, 2 failures, 3 errors in 1 minutes 15.038 seconds.
FAILED (failures=2, errors=3)
More information about the cmf-tests
mailing list