Here's a sample of what happens...the second exception prevents any report from getting written for plone.app.contenttypestest.test_content_profile.PloneAppContenttypesContent.
Perhaps we should fix the layer teardown, but the most important thing to fix is making sure that problems with layer teardown don't prevent the report from getting written.
Running plone.app.contenttypes.tests.test_content_profile.PloneAppContenttypesContent:Integration tests:
Tear down plone.app.contenttypes.testing.PloneAppContenttypes:Robot in 0.000 seconds.
Tear down plone.testing.z2.ZServer in 4.133 seconds.
Set up plone.app.contenttypes.tests.test_content_profile.PloneAppContenttypesContent Traceback (most recent call last):
File "/Users/davisagli/.buildout/eggs/zope.testrunner-4.1.1-py2.7.egg/zope/testrunner/runner.py", line 380, in run_layer
setup_layer(options, layer, setup_layers)
File "/Users/davisagli/.buildout/eggs/zope.testrunner-4.1.1-py2.7.egg/zope/testrunner/runner.py", line 667, in setup_layer
setup_layer(options, base, setup_layers)
File "/Users/davisagli/.buildout/eggs/zope.testrunner-4.1.1-py2.7.egg/zope/testrunner/runner.py", line 672, in setup_layer
layer.setUp()
File "/Users/davisagli/Plone/5.0/src/plone.app.testing/plone/app/testing/helpers.py", line 343, in setUp
self.setUpPloneSite(portal)
File "/Users/davisagli/Plone/5.0/src/plone.app.contenttypes/plone/app/contenttypes/tests/test_content_profile.py", line 32, in setUpPloneSite
self.applyProfile(portal, 'plone.app.contenttypes:plone-content')
File "/Users/davisagli/Plone/5.0/src/plone.app.testing/plone/app/testing/helpers.py", line 389, in applyProfile
return applyProfile(portal, profileName)
File "/Users/davisagli/Plone/5.0/src/plone.app.testing/plone/app/testing/helpers.py", line 113, in applyProfile
setupTool.runAllImportStepsFromProfile(profileId)
File "/Users/davisagli/.buildout/eggs/Products.GenericSetup-1.7.3-py2.7.egg/Products/GenericSetup/tool.py", line 350, in runAllImportStepsFromProfile
ignore_dependencies=ignore_dependencies)
- __traceback_info__: profile-plone.app.contenttypes:plone-content
File "/Users/davisagli/.buildout/eggs/Products.GenericSetup-1.7.3-py2.7.egg/Products/GenericSetup/tool.py", line 1100, in _runImportStepsFromContext
message = self._doRunImportStep(step, context)
File "/Users/davisagli/.buildout/eggs/Products.GenericSetup-1.7.3-py2.7.egg/Products/GenericSetup/tool.py", line 1015, in _doRunImportStep
return handler(context)
- __traceback_info__: portlets
File "/Users/davisagli/Plone/5.0/src/plone.app.portlets/plone/app/portlets/exportimport/portlets.py", line 727, in importPortlets
importer.body = body
File "/Users/davisagli/.buildout/eggs/Products.GenericSetup-1.7.3-py2.7.egg/Products/GenericSetup/utils.py", line 509, in _importBody
self._importNode(dom.documentElement)
File "/Users/davisagli/Plone/5.0/src/plone.app.portlets/plone/app/portlets/exportimport/portlets.py", line 249, in _importNode
self._initProvider(node)
File "/Users/davisagli/Plone/5.0/src/plone.app.portlets/plone/app/portlets/exportimport/portlets.py", line 258, in _initProvider
self._initPortlets(node)
File "/Users/davisagli/Plone/5.0/src/plone.app.portlets/plone/app/portlets/exportimport/portlets.py", line 312, in _initPortlets
self._initAssignmentNode(child)
File "/Users/davisagli/Plone/5.0/src/plone.app.portlets/plone/app/portlets/exportimport/portlets.py", line 459, in _initAssignmentNode
portlet_factory = getUtility(IFactory, name=type_)
File "/Users/davisagli/.buildout/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 169, in getUtility
raise ComponentLookupError(interface, name)
ComponentLookupError: (<InterfaceClass zope.component.interfaces.IFactory>, 'portlets.Events')
Tearing down left over layers:
Tear down plone.app.contenttypes.testing.PloneAppContenttypes in 0.109 seconds.
Tear down plone.app.testing.layers.PloneFixture
Traceback (most recent call last):
File "/Users/davisagli/Plone/5.0/bin/jenkins-test", line 469, in <module>
'--test-path', '/Users/davisagli/.buildout/eggs/zope.globalrequest-1.0-py2.7.egg',
File "/Users/davisagli/.buildout/eggs/collective.xmltestreport-1.3.0-py2.7.egg/collective/xmltestreport/runner.py", line 60, in run
failed = run_internal(defaults, args, script_parts=script_parts)
File "/Users/davisagli/.buildout/eggs/collective.xmltestreport-1.3.0-py2.7.egg/collective/xmltestreport/runner.py", line 72, in run_internal
runner.run()
File "/Users/davisagli/.buildout/eggs/zope.testrunner-4.1.1-py2.7.egg/zope/testrunner/runner.py", line 148, in run
self.run_tests()
File "/Users/davisagli/.buildout/eggs/zope.testrunner-4.1.1-py2.7.egg/zope/testrunner/runner.py", line 252, in run_tests
tear_down_unneeded(self.options, (), setup_layers, True)
File "/Users/davisagli/.buildout/eggs/zope.testrunner-4.1.1-py2.7.egg/zope/testrunner/runner.py", line 644, in tear_down_unneeded
l.tearDown()
File "/Users/davisagli/Plone/5.0/src/plone.app.testing/plone/app/testing/layers.py", line 102, in tearDown
with z2.zopeApp() as app:
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/Users/davisagli/.buildout/eggs/plone.testing-4.0.8-py2.7.egg/plone/testing/z2.py", line 250, in zopeApp
app = addRequestContainer(Zope2.app(connection), environ=environ)
File "/Users/davisagli/.buildout/eggs/Zope2-2.13.21-py2.7.egg/Zope2/__init__.py", line 52, in app
return bobo_application(*args, **kw)
File "/Users/davisagli/.buildout/eggs/Zope2-2.13.21-py2.7.egg/App/ZApplication.py", line 75, in __call__
return connection.root()[aname]
File "/Users/davisagli/.buildout/eggs/ZODB3-3.10.5-py2.7-macosx-10.8-x86_64.egg/ZODB/Connection.py", line 366, in root
return RootConvenience(self.get(z64))
File "/Users/davisagli/.buildout/eggs/ZODB3-3.10.5-py2.7-macosx-10.8-x86_64.egg/ZODB/Connection.py", line 248, in get
p, serial = self._storage.load(oid, '')
AttributeError: 'NoneType' object has no attribute 'load'