[Testbot] FAILED (errors=2) : AT-trunk Plone-trunk Zope-trunk Python-2.5.4

Archetypes Tests plone-tests at epy.co.at
Tue Feb 3 05:08:34 UTC 2009


Archetypes Tests : FAILED (errors=2) 
AT-trunk Plone-trunk Zope-trunk Python-2.5.4

Running /usr/local/python2.5/bin/python ./bin/test --package Products.Archetypes --package Products.MimetypesRegistry --package Products.PortalTransforms --package Products.validation
/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/five.localsitemanager/src/five/localsitemanager/__init__.py:21: 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
Test-module import failures:

Module: Products.Archetypes.tests.test_interfaces

Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_interfaces.py", line 198, in <module>
    testInstances = safe_load_site_wrapper(make_test_instances)()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFTestCase/Products/CMFTestCase/five.py", line 48, in wrapped_func
    safe_load_site()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFTestCase/Products/CMFTestCase/five.py", line 39, in safe_load_site
    zcml.load_site()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/Five/zcml.py", line 44, in load_site
    _context = xmlconfig.file(file)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/xmlconfig.py", line 610, in file
    include(context, name, package)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/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-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 541, in end
    self.stack.pop().finish()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 689, in finish
    actions = self.handler(context, **args)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/Five/fiveconfigure.py", line 74, in loadProducts
    handleBrokenProduct(product)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/Five/fiveconfigure.py", line 72, in loadProducts
    xmlconfig.include(_context, zcml, package=product)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/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-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 541, in end
    self.stack.pop().finish()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 689, in finish
    actions = self.handler(context, **args)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/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-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/xmlconfig.py", line 230, in startElementNS
    self.context.begin(name, data, info)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/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-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 839, in contained
    return RootStackItem.contained(self, name, data, info)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 707, in contained
    factory = self.context.factory(self.context, name)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 484, in factory
    raise ConfigurationError("Unknown directive", ns, n)
ZopeXMLConfigurationError: File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/etc/site.zcml", line 15.2-15.23
    ZopeXMLConfigurationError: File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFDefault/Products/CMFDefault/configure.zcml", line 4.2-4.28
    ZopeXMLConfigurationError: File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFDefault/Products/CMFDefault/skin/configure.zcml", line 12.2
    ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/browser', u'defaultSkin')


Running Products.Archetypes.tests.layer.ZCML tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 2.251 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.960 seconds.
  Set up Products.Archetypes.tests.layer.ZCML Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/testrunner/runner.py", line 360, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/testrunner/runner.py", line 536, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/layer.py", line 15, in setUp
    zcml.load_config('configure.zcml', Products.CMFDefault)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Zope2/src/Products/Five/zcml.py", line 53, in load_config
    _context = xmlconfig.file(file, package, _context, execute=execute)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/xmlconfig.py", line 610, in file
    include(context, name, package)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/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-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 541, in end
    self.stack.pop().finish()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 689, in finish
    actions = self.handler(context, **args)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/xmlconfig.py", line 546, in include
    processxmlfile(f, context)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/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-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/xmlconfig.py", line 230, in startElementNS
    self.context.begin(name, data, info)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/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-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 839, in contained
    return RootStackItem.contained(self, name, data, info)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 707, in contained
    factory = self.context.factory(self.context, name)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 484, in factory
    raise ConfigurationError("Unknown directive", ns, n)
ZopeXMLConfigurationError: File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFDefault/Products/CMFDefault/configure.zcml", line 4.2-4.28
    ZopeXMLConfigurationError: File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFDefault/Products/CMFDefault/skin/configure.zcml", line 12.2
    ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/browser', u'defaultSkin')

Running Products.Archetypes.tests.layer.ArchetypesSite tests:
  Set up Products.Archetypes.tests.layer.ZCML in 0.527 seconds.
  Set up Products.Archetypes.tests.layer.ArchetypesSite Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/testrunner/runner.py", line 360, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/testrunner/runner.py", line 536, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/layer.py", line 39, in setUp
    func(*args, **kw)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFTestCase/Products/CMFTestCase/setup.py", line 106, in setupCMFSite
    SiteSetup(id, products, quiet, base_profile, extension_profiles).run()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFTestCase/Products/CMFTestCase/setup.py", line 143, in run
    self._setupCMFSite()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFTestCase/Products/CMFTestCase/setup.py", line 160, in _setupCMFSite
    self._setupCMFSite_with_genericsetup()
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFTestCase/Products/CMFTestCase/setup.py", line 172, in _setupCMFSite_with_genericsetup
    profile_id=self.base_profile)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFDefault/Products/CMFDefault/factory.py", line 62, in addConfiguredSite
    setup_tool.setBaselineContext('profile-%s' % profile_id)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 198, in setBaselineContext
    self.applyContextById(context_id, encoding)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 202, in applyContextById
    context = self._getImportContext(context_id)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 902, in _getImportContext
    info = _profile_registry.getProfileInfo(context_id)
  File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.GenericSetup/Products/GenericSetup/registry.py", line 667, in getProfileInfo
    result = self._profile_info[ profile_id ]
KeyError: 'Products.CMFDefault:default'

Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down Products.Archetypes.tests.layer.ZCML in 0.002 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer 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 24 tests with 0 failures and 0 errors in 0.677 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.

Test-modules with import problems:
  Products.Archetypes.tests.test_interfaces
Total: 24 tests, 0 failures, 2 errors in 4.939 seconds.

FAILED (errors=2) 




More information about the Testbot mailing list