[Testbot] FAILED (108 packages, 4 failures) : Plone-4.1 Zope-2.13 Python-2.6.5

Plone Tests plone-tests at epy.co.at
Sun Mar 27 06:33:23 UTC 2011


Plone Tests : FAILED (108 packages, 4 failures)
Plone-4.1 Zope-2.13 Python-2.6.5

Running ./bin/alltests -q --no-color --no-progress
Running Products.CMFTestCase.layer.CMFSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.294 seconds.
  Set up Products.CMFTestCase.layer.ZCML in 5.337 seconds.
  Set up Products.CMFTestCase.layer.CMFSite/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.GenericSetup/Products/GenericSetup/utils.py:122: DeprecationWarning: UserFolder is deprecated. User folders are no longer part of AccessControl, please depend on Zope2 and import from OFS.userfolder or use the new minimal user folder classes from AccessControl.userfolder.
  obj = getattr( obj, part )
 in 1.901 seconds.
  Ran 31 tests with 0 failures and 0 errors in 0.569 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Tear down Products.CMFTestCase.layer.CMFSite in 0.032 seconds.
  Tear down Products.CMFTestCase.layer.ZCML in 0.004 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 2.335 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 5.229 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Products.ZCatalog-2.13.7-py2.6.egg/Products/ZCatalog/ZCatalog.py:604: DeprecationWarning: Your query None produced no query restriction. Currently the entire catalog content is returned. In Zope 2.14 this will result in an empty LazyCat to be returned.
  return self._catalog.searchResults(REQUEST, used, **kw)
  Ran 614 tests with 0 failures and 0 errors in 1 minutes 24.138 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.200 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.010 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 645 tests, 0 failures, 0 errors in 1 minutes 41.599 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Products.i18ntestcase-1.2-py2.6.egg/Products/i18ntestcase/PotTestCase.py:13: DeprecationWarning: The popen2 module is deprecated.  Use the subprocess module.
  from popen2 import popen4
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.kupu/Products/kupu/plone/tests/TestContent.py:4: DeprecationWarning: Products.ATReferenceBrowserWidget.ATReferenceBrowserWidget has moved to archetypes.referencebrowserwidget.widget. Import of Products.ATReferenceBrowserWidget.ATReferenceBrowserWidget will become unsupported in Plone 5.0
  from Products.ATReferenceBrowserWidget.ATReferenceBrowserWidget import ReferenceBrowserWidget
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Ran 3 tests with 0 failures and 0 errors in 0.010 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.ZCML in 2.307 seconds.
  Set up Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.kupu/Products/kupu/plone/util.py:29: DeprecationWarning: minimalpath() is deprecated and will be removed in CMF 2.3.
  kupu_plone_skin_dir = minimalpath(os.path.join(kupu_package_dir, relpath))
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.kupu/Products/kupu/plone/util.py:30: DeprecationWarning: createDirectoryView() called with deprecated reg_key format. Support for old key formats will be removed in CMF 2.3. Please use the new key format <product>:<subdir> instead.
  createDirectoryView(skinstool, kupu_plone_skin_dir, name)
<string>:207: DeprecationWarning: changeSkin should be called with 'REQUEST' as second argument. The BBB code will be removed in CMF 2.3.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.kupu/Products/kupu/plone/tests/kuputestcase.py:26: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  zcml.load_config('configure.zcml', Products.kupu.plone)
 in 5.792 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Products.CMFPlacefulWorkflow-1.5.3-py2.6.egg/Products/CMFPlacefulWorkflow/tests/policy_form.txt:1: DeprecationWarning: Browser is deprecated. Please import from Testing.testbrowser
  ;-*-Doctest-*-
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.kupu/Products/kupu/plone/plonedrawers.py:224: DeprecationWarning: getIcon() is deprecated and provides only limited backwards compatibility. It will be removed in CMF 2.4. Please use getIconExprObject() instead.
  return "%s/%s" % (self.base, type.getIcon())
  Ran 390 tests with 0 failures and 0 errors in 23.689 seconds.
Running Products.CMFPlacefulWorkflow.tests.test_exportimport.ExportImportLayer tests:
  Set up Products.CMFPlacefulWorkflow.tests.test_exportimport.ExportImportLayer in 0.003 seconds.
  Ran 1 tests with 0 failures and 0 errors in 1.026 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down Products.CMFPlacefulWorkflow.tests.test_exportimport.ExportImportLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.209 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.008 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Generated checkid_setup request to http://www.myopenid.com/server with assocication {HMAC-SHA1}{4d8ecff6}{bUlkbw==}
Generated checkid_setup request to http://www.myopenid.com/server with assocication {HMAC-SHA1}{4d8ecff6}{cu/oIA==}
  Ran 19 tests with 0 failures and 0 errors in 1.430 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 413 tests, 0 failures, 0 errors in 35.499 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.719 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/bin/test:1: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  #!/usr/local/python2.6/bin/python
  Ran 9 tests with 0 failures and 0 errors in 0.094 seconds.
Running Products.Archetypes.tests.layer.ZCML tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.208 seconds.
  Set up Products.Archetypes.tests.layer.ZCML in 0.408 seconds.
  Ran 59 tests with 0 failures and 0 errors in 3.767 seconds.
Running Products.Archetypes.tests.layer.ArchetypesSite tests:
  Set up Products.Archetypes.tests.layer.ArchetypesSite/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.GenericSetup/Products/GenericSetup/utils.py:122: DeprecationWarning: UserFolder is deprecated. User folders are no longer part of AccessControl, please depend on Zope2 and import from OFS.userfolder or use the new minimal user folder classes from AccessControl.userfolder.
  obj = getattr( obj, part )
 in 1.484 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Products.ZCatalog-2.13.7-py2.6.egg/Products/ZCatalog/ZCatalog.py:604: DeprecationWarning: Your query None produced no query restriction. Currently the entire catalog content is returned. In Zope 2.14 this will result in an empty LazyCat to be returned.
  return self._catalog.searchResults(REQUEST, used, **kw)
  Ran 461 tests with 0 failures and 0 errors in 36.724 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Tear down Products.Archetypes.tests.layer.ArchetypesSite in 0.039 seconds.
  Tear down Products.Archetypes.tests.layer.ZCML in 0.005 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.001 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.145 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.503 seconds.
  Ran 10 tests with 0 failures and 0 errors in 1.679 seconds.
Running plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer tests:
  Set up plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer in 0.005 seconds.
  Ran 19 tests with 0 failures and 0 errors in 1.902 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.194 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.005 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 25 tests with 0 failures and 0 errors in 0.104 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 583 tests, 0 failures, 0 errors in 56.449 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.082 seconds.
  Ran 229 tests with 0 failures and 0 errors in 1.186 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.163 seconds.
  Set up Products.CMFCalendar.testing.FunctionalLayer/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.GenericSetup/Products/GenericSetup/utils.py:122: DeprecationWarning: UserFolder is deprecated. User folders are no longer part of AccessControl, please depend on Zope2 and import from OFS.userfolder or use the new minimal user folder classes from AccessControl.userfolder.
  obj = getattr( obj, part )
 in 0.419 seconds.
  Ran 20 tests with 0 failures and 0 errors in 1.415 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.017 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.001 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.001 seconds.
  Ran 8 tests with 0 failures and 0 errors in 0.201 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.001 seconds.
  Ran 10 tests with 0 failures and 0 errors in 0.629 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.001 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.165 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
  Tear down Products.CMFCore.testing.TraversingEventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.146 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.297 seconds.
  Ran 32 tests with 0 failures and 0 errors in 4.211 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.015 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
  Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.001 seconds.
  Ran 12 tests with 0 failures and 0 errors in 0.309 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.136 seconds.
  Ran 38 tests with 0 failures and 0 errors in 0.720 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
  Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.000 seconds.
  Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.047 seconds.
  Ran 192 tests with 0 failures and 0 errors in 0.640 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer 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 261 tests with 0 failures and 0 errors in 0.285 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 807 tests, 0 failures, 0 errors in 12.375 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.856 seconds.
  Ran 27 tests with 0 failures and 0 errors in 0.055 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.ZCML in 3.182 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 5.499 seconds.
  Ran 135 tests with 0 failures and 0 errors in 23.607 seconds.
Running Products.CMFDiffTool.tests.BaseTestCase.CMFDiffToolLayer tests:
  Set up Products.CMFDiffTool.tests.BaseTestCase.CMFDiffToolLayer/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Products.CMFDiffTool-2.0-py2.6.egg/Products/CMFDiffTool/tests/BaseTestCase.py:39: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  zcml.load_config('configure.zcml', schemaextender)
 in 0.013 seconds.
  Ran 2 tests with 0 failures and 0 errors in 0.295 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
  Tear down Products.CMFDiffTool.tests.BaseTestCase.CMFDiffToolLayer in 0.219 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.006 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.004 seconds.
  Set up Products.CMFTestCase.layer.ZCML in 2.459 seconds.
  Set up Products.CMFTestCase.layer.CMFSite/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.GenericSetup/Products/GenericSetup/utils.py:122: DeprecationWarning: UserFolder is deprecated. User folders are no longer part of AccessControl, please depend on Zope2 and import from OFS.userfolder or use the new minimal user folder classes from AccessControl.userfolder.
  obj = getattr( obj, part )
 in 1.297 seconds.
  Ran 20 tests with 0 failures and 0 errors in 0.400 seconds.
Running plone.app.blob.tests.layer.BlobReplacementLayer tests:
  Tear down Products.CMFTestCase.layer.CMFSite in 0.032 seconds.
  Tear down Products.CMFTestCase.layer.ZCML in 0.003 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 2.332 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.640 seconds.
  Set up plone.app.blob.tests.layer.BlobLayer in 0.143 seconds.
  Set up plone.app.blob.tests.layer.BlobReplacementLayer in 0.234 seconds.
  Ran 6 tests with 0 failures and 0 errors in 2.081 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down plone.app.blob.tests.layer.BlobReplacementLayer in 0.000 seconds.
  Tear down plone.app.blob.tests.layer.BlobLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.217 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.004 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 1 tests with 0 failures and 0 errors in 0.005 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 191 tests, 0 failures, 0 errors in 48.965 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.CMFPlone/Products/CMFPlone/tests/testSSOLogin.py:1: DeprecationWarning: Browser is deprecated. Please import from Testing.testbrowser
  from Products.Five.testbrowser import Browser
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.app.content-2.0.3-py2.6.egg/plone/app/content/browser/tests/test_doctests.py:1: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module
  from zope.testing import doctest
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.app.i18n-2.0-py2.6.egg/plone/app/i18n/locales/browser/tests.py:7: DeprecationWarning: zope.testing.doctestunit is deprecated in favour of the Python standard library doctest module
  from zope.testing.doctestunit import DocTestSuite
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.459 seconds.
  Ran 120 tests with 0 failures and 0 errors in 0.727 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
  Set up Products.CMFTestCase.layer.ZCML in 3.097 seconds.
  Set up Products.CMFTestCase.layer.CMFSite/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.GenericSetup/Products/GenericSetup/utils.py:122: DeprecationWarning: UserFolder is deprecated. User folders are no longer part of AccessControl, please depend on Zope2 and import from OFS.userfolder or use the new minimal user folder classes from AccessControl.userfolder.
  obj = getattr( obj, part )
 in 0.231 seconds.
  Ran 31 tests with 0 failures and 0 errors in 3.214 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Tear down Products.CMFTestCase.layer.CMFSite in 0.017 seconds.
  Tear down Products.CMFTestCase.layer.ZCML in 0.003 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 2.358 seconds.
  Ran 12 tests with 0 failures and 0 errors in 0.016 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite in 11.217 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.PortalTransforms/Products/PortalTransforms/libtransforms/commandtransform.py:103: DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
  cin, couterr = os.popen4(command, 'b')
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.contentrules/plone/app/contentrules/browser/controlpanel.py:102: DeprecationWarning: Use site_url instead. ViewletBase.portal_url will be removed in Plone 4
  """ % self.portal_url
  Ran 1488 tests with 0 failures and 0 errors in 4 minutes 21.880 seconds.
Running plone.app.contentrules.tests.test_configuration.TestContentrulesGSLayer tests:
  Set up plone.app.contentrules.tests.test_configuration.TestContentrulesGSLayer in 0.003 seconds.
  Ran 6 tests with 0 failures and 0 errors in 2.713 seconds.
Running plone.app.customerize.tests.layer.PloneCustomerize tests:
  Tear down plone.app.contentrules.tests.test_configuration.TestContentrulesGSLayer in 0.000 seconds.
  Set up plone.app.customerize.tests.layer.PloneCustomerize in 0.011 seconds.
  Ran 2 tests with 0 failures and 0 errors in 3.041 seconds.
Running plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer tests:
  Tear down plone.app.customerize.tests.layer.PloneCustomerize in 0.000 seconds.
  Set up plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer in 0.005 seconds.
  Ran 15 tests with 0 failures and 0 errors in 1.274 seconds.
Running plone.app.upgrade.tests.base.FunctionalUpgradeLayer tests:
  Tear down plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer in 0.000 seconds.
  Set up plone.app.upgrade.tests.base.FunctionalUpgradeLayer in 0.000 seconds.
  Ran 12 tests with 0 failures and 0 errors in 1 minutes 15.650 seconds.
Running plone.app.viewletmanager.tests.test_exportimport.Layer tests:
  Tear down plone.app.upgrade.tests.base.FunctionalUpgradeLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.643 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.016 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up plone.app.viewletmanager.tests.test_exportimport.Layer in 0.000 seconds.
  Ran 16 tests with 0 failures and 0 errors in 0.054 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down plone.app.viewletmanager.tests.test_exportimport.Layer in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 130 tests with 0 failures and 0 errors in 0.921 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1832 tests, 0 failures, 0 errors in 6 minutes 11.500 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.421 seconds.
  Ran 151 tests with 0 failures and 0 errors in 0.828 seconds.
Running Products.PlonePAS.tests.layer.PlonePASLayer tests:
  Set up Products.PloneTestCase.layer.ZCML in 3.145 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.414 seconds.
  Set up Products.PlonePAS.tests.layer.PlonePASLayer in 0.000 seconds.
  Ran 149 tests with 0 failures and 0 errors in 1.944 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down Products.PlonePAS.tests.layer.PlonePASLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.188 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.004 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 348 tests with 0 failures and 0 errors in 0.217 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 648 tests, 0 failures, 0 errors in 12.782 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.fieldsets/plone/fieldsets/tests.py:6: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module
  from zope.testing import doctest
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.indexer-1.0-py2.6.egg/plone/indexer/tests.py:3: DeprecationWarning: zope.testing.doctestunit is deprecated in favour of the Python standard library doctest module
  from zope.testing import doctestunit
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.412 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.272 seconds.
  Set up Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/borg.localrole-3.0.2-py2.6.egg/borg/localrole/tests.py:52: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  zcml.load_config('configure.zcml', borg.localrole)
 in 4.643 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.141 seconds.
Running plone.browserlayer.tests.test_doctest.PloneBrowserLayerLayer tests:
  Set up plone.browserlayer.tests.test_doctest.PloneBrowserLayerLayer in 0.206 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.browserlayer-2.0.1-py2.6.egg/plone/browserlayer/README.txt:1: DeprecationWarning: Browser is deprecated. Please import from Testing.testbrowser
  plone.browserlayer tests
  Ran 1 tests with 0 failures and 0 errors in 0.734 seconds.
Running plone.theme.tests.test_doctest.PloneThemeLayer tests:
  Tear down plone.browserlayer.tests.test_doctest.PloneBrowserLayerLayer in 0.000 seconds.
  Set up plone.theme.tests.test_doctest.PloneThemeLayer in 0.004 seconds.
  Ran 1 tests with 0 failures and 0 errors in 0.042 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down plone.theme.tests.test_doctest.PloneThemeLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.185 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.005 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 176 tests with 0 failures and 0 errors in 0.499 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 183 tests, 0 failures, 0 errors in 12.136 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.753 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.190 seconds.
  Set up Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.portlet.collection-2.0.1-py2.6.egg/plone/portlet/collection/tests/base.py:21: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  zcml.load_config('configure.zcml', plone.portlet.collection)
 in 4.489 seconds.
  Ran 171 tests with 0 failures and 0 errors in 15.688 seconds.
Running plone.app.portlets.tests.layer.PlonePortlets tests:
  Set up plone.app.portlets.tests.layer.PlonePortlets in 0.000 seconds.
  Ran 1 tests with 0 failures and 0 errors in 1.281 seconds.
Running plone.app.portlets.tests.test_configuration.TestPortletZCMLLayer tests:
  Tear down plone.app.portlets.tests.layer.PlonePortlets in 0.000 seconds.
  Set up plone.app.portlets.tests.test_configuration.TestPortletZCMLLayer in 0.009 seconds.
  Ran 18 tests with 0 failures and 0 errors in 11.417 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down plone.app.portlets.tests.test_configuration.TestPortletZCMLLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.196 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.005 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.151 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 195 tests, 0 failures, 0 errors in 38.178 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 3 tests with 0 failures and 0 errors in 48.660 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 214 tests with 0 failures and 0 errors in 0.554 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.218 seconds.
  Set up Products.CMFTestCase.layer.ZCML in 0.419 seconds.
  Set up Products.CMFTestCase.layer.CMFSite/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.GenericSetup/Products/GenericSetup/utils.py:122: DeprecationWarning: UserFolder is deprecated. User folders are no longer part of AccessControl, please depend on Zope2 and import from OFS.userfolder or use the new minimal user folder classes from AccessControl.userfolder.
  obj = getattr( obj, part )
 in 0.210 seconds.
  Ran 58 tests with 0 failures and 0 errors in 0.227 seconds.
Tearing down left over layers:
  Tear down Products.CMFTestCase.layer.CMFSite in 0.018 seconds.
  Tear down Products.CMFTestCase.layer.ZCML in 0.001 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 25 tests with 0 failures and 0 errors in 0.185 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.363 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.307 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.412 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Products.PasswordResetTool-2.0.5-py2.6.egg/Products/PasswordResetTool/tests/browser.txt:1: DeprecationWarning: Browser is deprecated. Please import from Testing.testbrowser
  Functional tests for PasswordResetTool
  Ran 2 tests with 0 failures and 0 errors in 3.965 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.192 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.006 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.413 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.302 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.605 seconds.
  Ran 248 tests with 0 failures and 0 errors in 15.685 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.200 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.005 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 62 tests with 0 failures and 0 errors in 0.013 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 310 tests, 0 failures, 0 errors in 25.721 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.770 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.622 seconds.
  Set up Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Products.TinyMCE-1.2.4-py2.6.egg/Products/TinyMCE/tests.py:21: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  zcml.load_config('configure.zcml', Products.TinyMCE)
 in 4.399 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Products.TinyMCE-1.2.4-py2.6.egg/Products/TinyMCE/tests/utility.txt:1: DeprecationWarning: Browser is deprecated. Please import from Testing.testbrowser
  ===============
  Ran 8 tests with 0 failures and 0 errors in 5.777 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.191 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.007 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 176 tests with 0 failures and 0 errors in 3.811 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Running Products.contentmigration.tests.layer.TestLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.402 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.278 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.387 seconds.
  Set up Products.contentmigration.tests.layer.TestLayer in 0.015 seconds.
  Ran 13 tests with 0 failures and 0 errors in 4.631 seconds.
Tearing down left over layers:
  Tear down Products.contentmigration.tests.layer.TestLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.189 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.004 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 0 tests, 0 failures, 0 errors in 0.000 seconds.
Running archetypes.referencebrowserwidget.tests.base.layer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 2.475 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.617 seconds.
  Set up archetypes.referencebrowserwidget.tests.base.layer in 0.000 seconds.
  Ran 33 tests with 0 failures and 0 errors in 8.670 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down archetypes.referencebrowserwidget.tests.base.layer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.201 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.008 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.001 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 38 tests, 0 failures, 0 errors in 16.500 seconds.
Running archetypes.schemaextender.tests.base.layer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.841 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.290 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.533 seconds.
  Set up archetypes.schemaextender.tests.base.layer in 0.000 seconds.
  Ran 4 tests with 0 failures and 0 errors in 3.456 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down archetypes.schemaextender.tests.base.layer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.193 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.007 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 19 tests with 0 failures and 0 errors in 0.006 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 23 tests, 0 failures, 0 errors in 12.828 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 4 tests with 0 failures and 0 errors in 0.042 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/collective.z3cform.datetimewidget-1.0-py2.6.egg/collective/z3cform/datetimewidget/tests.py:25: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module
  from zope.testing import doctest
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.991 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.039 seconds.
  Ran 3 tests with 0 failures and 0 errors in 0.807 seconds.
Tearing down left over layers:
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.039 seconds.
  Ran 2 tests with 0 failures and 0 errors in 1.038 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 1 tests with 0 failures and 0 errors in 0.128 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 3 tests, 0 failures, 0 errors in 1.384 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.047 seconds.
  Ran 1 tests with 0 failures and 0 errors in 0.224 seconds.
Running kss.core.tests.base.KSSLayer tests:
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up kss.core.tests.base.KSSCoreLayer in 0.026 seconds.
  Set up kss.core.tests.base.KSSLayer in 0.062 seconds.
  Ran 15 tests with 0 failures and 0 errors in 0.154 seconds.
Running kss.core.tests.test_ttwapi.layer tests:
  Set up kss.core.tests.test_ttwapi.layer in 0.001 seconds.
  Ran 3 tests with 0 failures and 0 errors in 0.026 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down kss.core.tests.test_ttwapi.layer in 0.000 seconds.
  Tear down kss.core.tests.base.KSSLayer in 0.000 seconds.
  Tear down kss.core.tests.base.KSSCoreLayer in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 2 tests with 0 failures and 0 errors in 0.009 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 21 tests, 0 failures, 0 errors in 0.853 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.imaging/src/plone/app/imaging/tests/base.py:1: DeprecationWarning: Browser is deprecated. Please import from Testing.testbrowser
  from Products.Five.testbrowser import Browser
***********************************************
WARNING: LinguaPlone not found. Skipping tests.
***********************************************
***********************************************
WARNING: LinguaPlone not found. Skipping tests.
***********************************************
Running plone.app.blob.tests.layer.BlobLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.828 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.297 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.410 seconds.
  Set up plone.app.blob.tests.layer.BlobLayer in 0.089 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/Products.PortalTransforms/Products/PortalTransforms/libtransforms/commandtransform.py:103: DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
  cin, couterr = os.popen4(command, 'b')
  Ran 24 tests with 0 failures and 0 errors in 7.180 seconds.
Running plone.app.blob.tests.layer.BlobReplacementLayer tests:
  Set up plone.app.blob.tests.layer.BlobReplacementLayer in 0.209 seconds.
  Ran 59 tests with 0 failures and 0 errors in 14.877 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down plone.app.blob.tests.layer.BlobReplacementLayer in 0.000 seconds.
  Tear down plone.app.blob.tests.layer.BlobLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.194 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.009 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 2 tests with 0 failures and 0 errors in 0.001 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 85 tests, 0 failures, 0 errors in 31.943 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py:19: DeprecationWarning: Zope2VocabularyRegistry is deprecated. Please import from Zope2.App.schema
  from Products.Five.schema import Zope2VocabularyRegistry
Running plone.app.caching.testing.PloneAppCaching:Functional tests:
  Set up plone.testing.zca.LayerCleanup in 0.000 seconds.
  Set up plone.testing.z2.Startup/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.configuration-3.7.3-py2.6.egg/zope/configuration/config.py:193: DeprecationWarning: FiveSecurityPolicy is deprecated. Please import from AccessControl.security
  obj = getattr(mod, oname)
 in 0.214 seconds.
  Set up plone.app.testing.layers.PloneFixture Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 104, in setUp
    preSetupProfiles    = list(_profile_registry._profile_ids)
AttributeError: _profile_ids

Running plone.testing.zca.UnitTesting tests:
  Tear down plone.testing.z2.Startup in 0.009 seconds.
  Tear down plone.testing.zca.LayerCleanup in 0.000 seconds.
  Set up plone.testing.zca.UnitTesting in 0.000 seconds.
  Ran 162 tests with 0 failures and 0 errors in 0.592 seconds.
Tearing down left over layers:
  Tear down plone.testing.zca.UnitTesting in 0.000 seconds.
Total: 162 tests, 0 failures, 1 errors in 0.945 seconds.
Running plone.app.discussion.tests.layer.DiscussionLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.307 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.267 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.691 seconds.
  Set up plone.app.discussion.tests.layer.DiscussionLayer/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.discussion/plone/app/discussion/tests/layer.py:19: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  zcml.load_config("configure.zcml", plone.app.discussion)
 in 0.000 seconds.
  Ran 142 tests with 0 failures and 0 errors in 8.741 seconds.
Tearing down left over layers:
  Tear down plone.app.discussion.tests.layer.DiscussionLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.193 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.005 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.840 seconds.
  Ran 2 tests with 0 failures and 0 errors in 0.008 seconds.
Running plone.app.folder.tests.layer.IntegrationLayer tests:
  Set up Products.PloneTestCase.layer.ZCML in 3.199 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.493 seconds.
  Set up plone.app.folder.tests.layer.IntegrationLayer in 0.082 seconds.
  Ran 27 tests with 0 failures and 0 errors in 6.818 seconds.
Running plone.app.folder.tests.layer.PartialOrderingIntegrationLayer tests:
  Set up plone.app.folder.tests.layer.PartialOrderingIntegrationLayer in 0.000 seconds.
  Ran 3 tests with 0 failures and 0 errors in 0.330 seconds.
Tearing down left over layers:
  Tear down plone.app.folder.tests.layer.PartialOrderingIntegrationLayer in 0.000 seconds.
  Tear down plone.app.folder.tests.layer.IntegrationLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.197 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.004 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 32 tests, 0 failures, 0 errors in 16.590 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.app.controlpanel-2.1b1-py2.6.egg/plone/app/controlpanel/tests/cptc.py:10: DeprecationWarning: Browser is deprecated. Please import from Testing.testbrowser
  from Products.Five.testbrowser import Browser
Running plone.app.imaging.testing.ImagingLayer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.990 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.297 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.392 seconds.
  Set up collective.testcaselayer.ptc.PTCLayer in 0.023 seconds.
  Set up plone.app.imaging.testing.ImagingLayer/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.imaging/src/plone/app/imaging/testing.py:14: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  zcml.load_config('testing.zcml', imaging)
 in 0.119 seconds.
  Ran 44 tests with 0 failures and 0 errors in 7.651 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down plone.app.imaging.testing.ImagingLayer in 0.000 seconds.
  Tear down collective.testcaselayer.ptc.PTCLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.192 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.005 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 7 tests with 0 failures and 0 errors in 0.001 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 51 tests, 0 failures, 0 errors in 17.200 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.443 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.428 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.547 seconds.
  Ran 1 tests with 0 failures and 0 errors in 0.298 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.190 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.004 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Running plone.app.linkintegrity.tests.layer.PloneLinkintegrity tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.410 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.276 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.469 seconds.
  Set up collective.testcaselayer.ptc.PTCLayer in 0.023 seconds.
  Set up plone.app.linkintegrity.tests.layer.PloneLinkintegrity in 0.619 seconds.
  Ran 27 tests with 0 failures and 0 errors in 33.922 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down plone.app.linkintegrity.tests.layer.PloneLinkintegrity in 0.000 seconds.
  Tear down collective.testcaselayer.ptc.PTCLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.192 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.005 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 1 tests with 0 failures and 0 errors in 0.000 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 28 tests, 0 failures, 0 errors in 44.553 seconds.
Total: 0 tests, 0 failures, 0 errors in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py:19: DeprecationWarning: Zope2VocabularyRegistry is deprecated. Please import from Zope2.App.schema
  from Products.Five.schema import Zope2VocabularyRegistry
Running plone.app.registry.testing.plone.app.registry:Integration tests:
  Set up plone.testing.zca.LayerCleanup in 0.000 seconds.
  Set up plone.testing.z2.Startup/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.configuration-3.7.3-py2.6.egg/zope/configuration/config.py:193: DeprecationWarning: FiveSecurityPolicy is deprecated. Please import from AccessControl.security
  obj = getattr(mod, oname)
 in 0.203 seconds.
  Set up plone.app.testing.layers.PloneFixture Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 104, in setUp
    preSetupProfiles    = list(_profile_registry._profile_ids)
AttributeError: _profile_ids

Running plone.testing.zca.UnitTesting tests:
  Tear down plone.testing.z2.Startup in 0.009 seconds.
  Tear down plone.testing.zca.LayerCleanup in 0.000 seconds.
  Set up plone.testing.zca.UnitTesting in 0.000 seconds.
  Ran 37 tests with 0 failures and 0 errors in 0.976 seconds.
Tearing down left over layers:
  Tear down plone.testing.zca.UnitTesting in 0.000 seconds.
Total: 37 tests, 0 failures, 1 errors in 1.274 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py:19: DeprecationWarning: Zope2VocabularyRegistry is deprecated. Please import from Zope2.App.schema
  from Products.Five.schema import Zope2VocabularyRegistry
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.


Failure in test /home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/cleanup.txt
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/usr/local/python2.6/lib/python2.6/doctest.py", line 2152, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for cleanup.txt
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/cleanup.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/cleanup.txt", line 29, in cleanup.txt
Failed example:
    tuple(_profile_registry.listProfiles())
Expected:
    ('plone.app.testing:dummy1',)
Got:
    (u'plone.app.testing:dummy1',)
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/cleanup.txt", line 31, in cleanup.txt
Failed example:
    tuple(_import_step_registry.listSteps())
Expected:
    ('dummy2',)
Got:
    (u'dummy2',)
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/cleanup.txt", line 33, in cleanup.txt
Failed example:
    tuple(_export_step_registry.listSteps())
Expected:
    ('dummy3',)
Got:
    (u'dummy3',)


/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.configuration-3.7.3-py2.6.egg/zope/configuration/config.py:193: DeprecationWarning: FiveSecurityPolicy is deprecated. Please import from AccessControl.security
  obj = getattr(mod, oname)


Failure in test /home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/usr/local/python2.6/lib/python2.6/doctest.py", line 2152, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for layers.txt
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 46, in layers.txt
Failed example:
    runner.setup_layer(options, layers.PLONE_FIXTURE, setupLayers)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[4]>", line 1, in <module>
        runner.setup_layer(options, layers.PLONE_FIXTURE, setupLayers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
        layer.setUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 104, in setUp
        preSetupProfiles    = list(_profile_registry._profile_ids)
    AttributeError: _profile_ids
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 60, in layers.txt
Failed example:
    with z2.zopeApp() as app:
        print app['acl_users'].getUser(SITE_OWNER_NAME)
        print app['acl_users'].getUser(SITE_OWNER_NAME).getRolesInContext(app)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[7]>", line 3, in <module>
        print app['acl_users'].getUser(SITE_OWNER_NAME).getRolesInContext(app)
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 34, in __exit__
        self.gen.throw(type, value, traceback)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 248, in zopeApp
        yield app
      File "<doctest layers.txt[7]>", line 3, in <module>
        print app['acl_users'].getUser(SITE_OWNER_NAME).getRolesInContext(app)
    AttributeError: 'NoneType' object has no attribute 'getRolesInContext'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 69, in layers.txt
Failed example:
    with helpers.ploneSite() as portal:
        print portal['portal_skins'].getDefaultSkin()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[9]>", line 1, in <module>
        with helpers.ploneSite() as portal:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 241, in ploneSite
        portal = app[PLONE_SITE_ID]
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/OFS/ObjectManager.py", line 774, in __getitem__
        raise KeyError, key
    KeyError: 'plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 83, in layers.txt
Failed example:
    with helpers.ploneSite() as portal:
        print portal['acl_users'].getUser(TEST_USER_NAME).getId()
        print portal['acl_users'].getUser(TEST_USER_NAME).getUserName()
        print portal['acl_users'].getUser(TEST_USER_NAME).getRolesInContext(portal)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[11]>", line 1, in <module>
        with helpers.ploneSite() as portal:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 241, in ploneSite
        portal = app[PLONE_SITE_ID]
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/OFS/ObjectManager.py", line 774, in __getitem__
        raise KeyError, key
    KeyError: 'plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 93, in layers.txt
Failed example:
    with helpers.ploneSite() as portal:
        print portal['portal_workflow'].getDefaultChain()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[12]>", line 1, in <module>
        with helpers.ploneSite() as portal:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 241, in ploneSite
        portal = app[PLONE_SITE_ID]
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/OFS/ObjectManager.py", line 774, in __getitem__
        raise KeyError, key
    KeyError: 'plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 99, in layers.txt
Failed example:
    runner.tear_down_unneeded(options, [], setupLayers)
Expected:
    Tear down plone.app.testing.layers.PloneFixture in ... seconds.
    Tear down plone.testing.z2.Startup in ... seconds.
    Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
      Tear down plone.testing.z2.Startup in 0.008 seconds.
      Tear down plone.testing.zca.LayerCleanup in 0.000 seconds.
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 120, in layers.txt
Failed example:
    runner.setup_layer(options, layers.PLONE_INTEGRATION_TESTING, setupLayers)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[18]>", line 1, in <module>
        runner.setup_layer(options, layers.PLONE_INTEGRATION_TESTING, setupLayers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
        layer.setUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 290, in setUp
        self.setUpDatabase()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 477, in setUpDatabase
        self['zodbDB'] = zodb.stackDemoStorage(self.get('zodbDB'), name='Startup')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/zodb.py", line 25, in stackDemoStorage
        storage = DemoStorage(name=name, base=db.storage)
    AttributeError: 'DB' object has no attribute 'storage'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 131, in layers.txt
Failed example:
    layers.PLONE_INTEGRATION_TESTING.testSetUp()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[22]>", line 1, in <module>
        layers.PLONE_INTEGRATION_TESTING.testSetUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 321, in testSetUp
        super(PloneTestLifecycle, self).testSetUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 701, in testSetUp
        'SERVER_NAME': self['host'],
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'host'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 135, in layers.txt
Failed example:
    layers.PLONE_INTEGRATION_TESTING['portal'] # would normally be self.layer['portal']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[23]>", line 1, in <module>
        layers.PLONE_INTEGRATION_TESTING['portal'] # would normally be self.layer['portal']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'portal'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 141, in layers.txt
Failed example:
    getSiteManager()
Expected:
    <PersistentComponents /plone>
Got:
    <BaseGlobalComponents base>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 147, in layers.txt
Failed example:
    getSecurityManager().getUser()
Expected:
    <PloneUser 'test-user'>
Got:
    <SpecialUser 'Anonymous User'>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 154, in layers.txt
Failed example:
    portal = layers.PLONE_INTEGRATION_TESTING['portal'] # would normally be self.layer['portal']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[29]>", line 1, in <module>
        portal = layers.PLONE_INTEGRATION_TESTING['portal'] # would normally be self.layer['portal']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'portal'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 155, in layers.txt
Failed example:
    helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[30]>", line 1, in <module>
        helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 156, in layers.txt
Failed example:
    portal.invokeFactory('Document', 'd1')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[31]>", line 1, in <module>
        portal.invokeFactory('Document', 'd1')
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 158, in layers.txt
Failed example:
    'd1' in portal.objectIds()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[32]>", line 1, in <module>
        'd1' in portal.objectIds()
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 163, in layers.txt
Failed example:
    layers.PLONE_INTEGRATION_TESTING.testTearDown()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[33]>", line 1, in <module>
        layers.PLONE_INTEGRATION_TESTING.testTearDown()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 327, in testTearDown
        self.tearDownEnvironment(self['portal'])
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'portal'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 170, in layers.txt
Failed example:
    with helpers.ploneSite() as portal:
        'd1' in portal.objectIds()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[37]>", line 1, in <module>
        with helpers.ploneSite() as portal:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 240, in ploneSite
        with z2.zopeApp(db, connection, environ) as app:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 242, in zopeApp
        app = addRequestContainer(Zope2.app(connection), environ=environ)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/Zope2/__init__.py", line 51, in app
        startup()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/Zope2/__init__.py", line 47, in startup
        _startup()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/Zope2/App/startup.py", line 81, in startup
        DB = dbtab.getDatabase('/', is_root=1)
    AttributeError: 'NoneType' object has no attribute 'getDatabase'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 181, in layers.txt
Failed example:
    getSiteManager()
Expected:
    <BaseGlobalComponents test-stack-2>
Got:
    <BaseGlobalComponents base>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 186, in layers.txt
Failed example:
    runner.tear_down_unneeded(options, [], setupLayers)
Expected:
    Tear down plone.app.testing.layers.Plone:Integration in ... seconds.
    Tear down plone.app.testing.layers.PloneFixture in ... seconds.
    Tear down plone.testing.z2.Startup in ... seconds.
    Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
      Tear down plone.testing.zca.LayerCleanup in 0.000 seconds.
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 208, in layers.txt
Failed example:
    runner.setup_layer(options, layers.PLONE_FUNCTIONAL_TESTING, setupLayers)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[45]>", line 1, in <module>
        runner.setup_layer(options, layers.PLONE_FUNCTIONAL_TESTING, setupLayers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
        layer.setUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 290, in setUp
        self.setUpDatabase()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 477, in setUpDatabase
        self['zodbDB'] = zodb.stackDemoStorage(self.get('zodbDB'), name='Startup')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/zodb.py", line 25, in stackDemoStorage
        storage = DemoStorage(name=name, base=db.storage)
    AttributeError: 'DB' object has no attribute 'storage'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 219, in layers.txt
Failed example:
    layers.PLONE_FUNCTIONAL_TESTING.testSetUp()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[49]>", line 1, in <module>
        layers.PLONE_FUNCTIONAL_TESTING.testSetUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 321, in testSetUp
        super(PloneTestLifecycle, self).testSetUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 783, in testSetUp
        self['zodbDB'] = zodb.stackDemoStorage(self.get('zodbDB'), name='FunctionalTest')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/zodb.py", line 25, in stackDemoStorage
        storage = DemoStorage(name=name, base=db.storage)
    AttributeError: 'DB' object has no attribute 'storage'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 221, in layers.txt
Failed example:
    layers.PLONE_FUNCTIONAL_TESTING['portal'] # would normally be self.layer['portal']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[50]>", line 1, in <module>
        layers.PLONE_FUNCTIONAL_TESTING['portal'] # would normally be self.layer['portal']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'portal'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 225, in layers.txt
Failed example:
    getSiteManager()
Expected:
    <PersistentComponents /plone>
Got:
    <BaseGlobalComponents base>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 229, in layers.txt
Failed example:
    getSecurityManager().getUser()
Expected:
    <PloneUser 'test-user'>
Got:
    <SpecialUser 'Anonymous User'>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 235, in layers.txt
Failed example:
    portal = layers.PLONE_FUNCTIONAL_TESTING['portal'] # would normally be self.layer['portal']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[55]>", line 1, in <module>
        portal = layers.PLONE_FUNCTIONAL_TESTING['portal'] # would normally be self.layer['portal']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'portal'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 236, in layers.txt
Failed example:
    helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[56]>", line 1, in <module>
        helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 237, in layers.txt
Failed example:
    portal.invokeFactory('Document', 'd1')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[57]>", line 1, in <module>
        portal.invokeFactory('Document', 'd1')
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 240, in layers.txt
Failed example:
    'd1' in portal.objectIds()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[59]>", line 1, in <module>
        'd1' in portal.objectIds()
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 245, in layers.txt
Failed example:
    layers.PLONE_FUNCTIONAL_TESTING.testTearDown()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[60]>", line 1, in <module>
        layers.PLONE_FUNCTIONAL_TESTING.testTearDown()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 327, in testTearDown
        self.tearDownEnvironment(self['portal'])
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'portal'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 252, in layers.txt
Failed example:
    with helpers.ploneSite() as portal:
        'd1' in portal.objectIds()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[64]>", line 1, in <module>
        with helpers.ploneSite() as portal:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 240, in ploneSite
        with z2.zopeApp(db, connection, environ) as app:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 242, in zopeApp
        app = addRequestContainer(Zope2.app(connection), environ=environ)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/Zope2/__init__.py", line 52, in app
        return bobo_application(*args, **kw)
    TypeError: 'NoneType' object is not callable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 261, in layers.txt
Failed example:
    getSiteManager()
Expected:
    <BaseGlobalComponents test-stack-2>
Got:
    <BaseGlobalComponents base>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 266, in layers.txt
Failed example:
    runner.tear_down_unneeded(options, [], setupLayers)
Expected:
    Tear down plone.app.testing.layers.Plone:Functional in ... seconds.
    Tear down plone.app.testing.layers.PloneFixture in ... seconds.
    Tear down plone.testing.z2.Startup in ... seconds.
    Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
      Tear down plone.testing.zca.LayerCleanup in 0.000 seconds.
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 287, in layers.txt
Failed example:
    runner.setup_layer(options, layers.PLONE_ZSERVER, setupLayers)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[72]>", line 1, in <module>
        runner.setup_layer(options, layers.PLONE_ZSERVER, setupLayers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
        layer.setUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 290, in setUp
        self.setUpDatabase()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 477, in setUpDatabase
        self['zodbDB'] = zodb.stackDemoStorage(self.get('zodbDB'), name='Startup')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/zodb.py", line 25, in stackDemoStorage
        storage = DemoStorage(name=name, base=db.storage)
    AttributeError: 'DB' object has no attribute 'storage'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 297, in layers.txt
Failed example:
    host = layers.PLONE_ZSERVER['host']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[73]>", line 1, in <module>
        host = layers.PLONE_ZSERVER['host']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'host'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 298, in layers.txt
Failed example:
    host
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[74]>", line 1, in <module>
        host
    NameError: name 'host' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 301, in layers.txt
Failed example:
    port = layers.PLONE_ZSERVER['port']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[75]>", line 1, in <module>
        port = layers.PLONE_ZSERVER['port']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'port'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 302, in layers.txt
Failed example:
    port
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[76]>", line 1, in <module>
        port
    NameError: name 'port' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 312, in layers.txt
Failed example:
    layers.PLONE_ZSERVER.testSetUp()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[81]>", line 1, in <module>
        layers.PLONE_ZSERVER.testSetUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 321, in testSetUp
        super(PloneTestLifecycle, self).testSetUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 783, in testSetUp
        self['zodbDB'] = zodb.stackDemoStorage(self.get('zodbDB'), name='FunctionalTest')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/zodb.py", line 25, in stackDemoStorage
        storage = DemoStorage(name=name, base=db.storage)
    AttributeError: 'DB' object has no attribute 'storage'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 320, in layers.txt
Failed example:
    portal = layers.PLONE_ZSERVER['portal'] # would normally be self.layer['portal']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[82]>", line 1, in <module>
        portal = layers.PLONE_ZSERVER['portal'] # would normally be self.layer['portal']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'portal'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 321, in layers.txt
Failed example:
    helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[83]>", line 1, in <module>
        helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 322, in layers.txt
Failed example:
    portal.invokeFactory('Folder', 'folder1', title=u"Folder 1")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[84]>", line 1, in <module>
        portal.invokeFactory('Folder', 'folder1', title=u"Folder 1")
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 332, in layers.txt
Failed example:
    portal_url = portal.absolute_url()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[86]>", line 1, in <module>
        portal_url = portal.absolute_url()
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 333, in layers.txt
Failed example:
    portal_url
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[87]>", line 1, in <module>
        portal_url
    NameError: name 'portal_url' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 337, in layers.txt
Failed example:
    conn = urllib2.urlopen(portal_url + '/folder1', timeout=5)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[89]>", line 1, in <module>
        conn = urllib2.urlopen(portal_url + '/folder1', timeout=5)
    NameError: name 'portal_url' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 338, in layers.txt
Failed example:
    responseBody = conn.read()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[90]>", line 1, in <module>
        responseBody = conn.read()
    NameError: name 'conn' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 339, in layers.txt
Failed example:
    "Folder 1" in responseBody
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[91]>", line 1, in <module>
        "Folder 1" in responseBody
    NameError: name 'responseBody' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 341, in layers.txt
Failed example:
    conn.close()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[92]>", line 1, in <module>
        conn.close()
    NameError: name 'conn' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 345, in layers.txt
Failed example:
    layers.PLONE_ZSERVER.testTearDown()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[93]>", line 1, in <module>
        layers.PLONE_ZSERVER.testTearDown()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 327, in testTearDown
        self.tearDownEnvironment(self['portal'])
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'portal'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 360, in layers.txt
Failed example:
    with helpers.ploneSite() as portal:
        print 'folder1' in portal.objectIds()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[101]>", line 1, in <module>
        with helpers.ploneSite() as portal:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 240, in ploneSite
        with z2.zopeApp(db, connection, environ) as app:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 242, in zopeApp
        app = addRequestContainer(Zope2.app(connection), environ=environ)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/Zope2/__init__.py", line 52, in app
        return bobo_application(*args, **kw)
    TypeError: 'NoneType' object is not callable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 366, in layers.txt
Failed example:
    runner.tear_down_unneeded(options, [], setupLayers)
Expected:
    Tear down plone.app.testing.layers.Plone:ZServer in ... seconds.
    Tear down plone.app.testing.layers.PloneFixture in ... seconds.
    Tear down plone.testing.z2.ZServer in ... seconds.
    Tear down plone.testing.z2.Startup in ... seconds.
    Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
      Tear down plone.testing.zca.LayerCleanup in 0.000 seconds.
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 373, in layers.txt
Failed example:
    conn = urllib2.urlopen(portal_url + '/folder1', timeout=5)
Expected:
    Traceback (most recent call last):
    ...
    URLError: <urlopen error [Errno ...] Connection refused>
Got:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[103]>", line 1, in <module>
        conn = urllib2.urlopen(portal_url + '/folder1', timeout=5)
    NameError: name 'portal_url' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 393, in layers.txt
Failed example:
    runner.setup_layer(options, layers.PLONE_FTP_SERVER, setupLayers)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[108]>", line 1, in <module>
        runner.setup_layer(options, layers.PLONE_FTP_SERVER, setupLayers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
        layer.setUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 290, in setUp
        self.setUpDatabase()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 477, in setUpDatabase
        self['zodbDB'] = zodb.stackDemoStorage(self.get('zodbDB'), name='Startup')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/zodb.py", line 25, in stackDemoStorage
        storage = DemoStorage(name=name, base=db.storage)
    AttributeError: 'DB' object has no attribute 'storage'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 403, in layers.txt
Failed example:
    host = layers.PLONE_FTP_SERVER['host']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[109]>", line 1, in <module>
        host = layers.PLONE_FTP_SERVER['host']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'host'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 404, in layers.txt
Failed example:
    host
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[110]>", line 1, in <module>
        host
    NameError: name 'host' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 407, in layers.txt
Failed example:
    port = layers.PLONE_FTP_SERVER['port']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[111]>", line 1, in <module>
        port = layers.PLONE_FTP_SERVER['port']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'port'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 408, in layers.txt
Failed example:
    port
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[112]>", line 1, in <module>
        port
    NameError: name 'port' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 418, in layers.txt
Failed example:
    layers.PLONE_FTP_SERVER.testSetUp()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[117]>", line 1, in <module>
        layers.PLONE_FTP_SERVER.testSetUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 321, in testSetUp
        super(PloneTestLifecycle, self).testSetUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 783, in testSetUp
        self['zodbDB'] = zodb.stackDemoStorage(self.get('zodbDB'), name='FunctionalTest')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/zodb.py", line 25, in stackDemoStorage
        storage = DemoStorage(name=name, base=db.storage)
    AttributeError: 'DB' object has no attribute 'storage'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 426, in layers.txt
Failed example:
    portal = layers.PLONE_FTP_SERVER['portal'] # would normally be self.layer['portal']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[118]>", line 1, in <module>
        portal = layers.PLONE_FTP_SERVER['portal'] # would normally be self.layer['portal']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'portal'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 427, in layers.txt
Failed example:
    helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[119]>", line 1, in <module>
        helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 428, in layers.txt
Failed example:
    portal.invokeFactory('Folder', 'folder1')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[120]>", line 1, in <module>
        portal.invokeFactory('Folder', 'folder1')
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 436, in layers.txt
Failed example:
    folder_path = portal.absolute_url_path() + '/folder1'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[122]>", line 1, in <module>
        folder_path = portal.absolute_url_path() + '/folder1'
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 440, in layers.txt
Failed example:
    ftpClient.connect(host, port, timeout=5)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[125]>", line 1, in <module>
        ftpClient.connect(host, port, timeout=5)
    NameError: name 'host' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 446, in layers.txt
Failed example:
    ftpClient.login(SITE_OWNER_NAME, SITE_OWNER_PASSWORD)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[128]>", line 1, in <module>
        ftpClient.login(SITE_OWNER_NAME, SITE_OWNER_PASSWORD)
      File "/usr/local/python2.6/lib/python2.6/ftplib.py", line 372, in login
        resp = self.sendcmd('USER ' + user)
      File "/usr/local/python2.6/lib/python2.6/ftplib.py", line 242, in sendcmd
        self.putcmd(cmd)
      File "/usr/local/python2.6/lib/python2.6/ftplib.py", line 177, in putcmd
        self.putline(line)
      File "/usr/local/python2.6/lib/python2.6/ftplib.py", line 172, in putline
        self.sock.sendall(line)
    AttributeError: 'NoneType' object has no attribute 'sendall'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 449, in layers.txt
Failed example:
    ftpClient.cwd(folder_path)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[129]>", line 1, in <module>
        ftpClient.cwd(folder_path)
    NameError: name 'folder_path' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 452, in layers.txt
Failed example:
    ftpClient.retrlines('LIST')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[130]>", line 1, in <module>
        ftpClient.retrlines('LIST')
      File "/usr/local/python2.6/lib/python2.6/ftplib.py", line 416, in retrlines
        resp = self.sendcmd('TYPE A')
      File "/usr/local/python2.6/lib/python2.6/ftplib.py", line 242, in sendcmd
        self.putcmd(cmd)
      File "/usr/local/python2.6/lib/python2.6/ftplib.py", line 177, in putcmd
        self.putline(line)
      File "/usr/local/python2.6/lib/python2.6/ftplib.py", line 172, in putline
        self.sock.sendall(line)
    AttributeError: 'NoneType' object has no attribute 'sendall'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 457, in layers.txt
Failed example:
    ftpClient.quit()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[131]>", line 1, in <module>
        ftpClient.quit()
      File "/usr/local/python2.6/lib/python2.6/ftplib.py", line 566, in quit
        resp = self.voidcmd('QUIT')
      File "/usr/local/python2.6/lib/python2.6/ftplib.py", line 247, in voidcmd
        self.putcmd(cmd)
      File "/usr/local/python2.6/lib/python2.6/ftplib.py", line 177, in putcmd
        self.putline(line)
      File "/usr/local/python2.6/lib/python2.6/ftplib.py", line 172, in putline
        self.sock.sendall(line)
    AttributeError: 'NoneType' object has no attribute 'sendall'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 462, in layers.txt
Failed example:
    layers.PLONE_FTP_SERVER.testTearDown()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[132]>", line 1, in <module>
        layers.PLONE_FTP_SERVER.testTearDown()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 327, in testTearDown
        self.tearDownEnvironment(self['portal'])
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'portal'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 477, in layers.txt
Failed example:
    with helpers.ploneSite() as portal:
        print 'folder1' in portal.objectIds()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[140]>", line 1, in <module>
        with helpers.ploneSite() as portal:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 240, in ploneSite
        with z2.zopeApp(db, connection, environ) as app:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 242, in zopeApp
        app = addRequestContainer(Zope2.app(connection), environ=environ)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/Zope2/__init__.py", line 52, in app
        return bobo_application(*args, **kw)
    TypeError: 'NoneType' object is not callable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 483, in layers.txt
Failed example:
    runner.tear_down_unneeded(options, [], setupLayers)
Expected:
    Tear down plone.app.testing.layers.Plone:FTPServer in ... seconds.
    Tear down plone.app.testing.layers.PloneFixture in ... seconds.
    Tear down plone.testing.z2.FTPServer in ... seconds.
    Tear down plone.testing.z2.Startup in ... seconds.
    Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
      Tear down plone.testing.zca.LayerCleanup in 0.000 seconds.
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.txt", line 490, in layers.txt
Failed example:
    ftpClient.connect(host, port, timeout=5)
Expected:
    Traceback (most recent call last):
    ...
    error: [Errno ...] Connection refused
Got:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.txt[142]>", line 1, in <module>
        ftpClient.connect(host, port, timeout=5)
    NameError: name 'host' is not defined




Failure in test /home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/usr/local/python2.6/lib/python2.6/doctest.py", line 2152, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for helpers.txt
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 117, in helpers.txt
Failed example:
    runner.setup_layer(options, HELPER_DEMOS_INTEGRATION_TESTING, setupLayers)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[11]>", line 1, in <module>
        runner.setup_layer(options, HELPER_DEMOS_INTEGRATION_TESTING, setupLayers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
        layer.setUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 290, in setUp
        self.setUpDatabase()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 477, in setUpDatabase
        self['zodbDB'] = zodb.stackDemoStorage(self.get('zodbDB'), name='Startup')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/zodb.py", line 25, in stackDemoStorage
        storage = DemoStorage(name=name, base=db.storage)
    AttributeError: 'DB' object has no attribute 'storage'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 129, in helpers.txt
Failed example:
    queryUtility(Interface, name="dummy1")
Expected:
    <object object at ...>
Got nothing
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 132, in helpers.txt
Failed example:
    with helpers.ploneSite() as portal:
        print portal.title
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[15]>", line 1, in <module>
        with helpers.ploneSite() as portal:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 240, in ploneSite
        with z2.zopeApp(db, connection, environ) as app:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 242, in zopeApp
        app = addRequestContainer(Zope2.app(connection), environ=environ)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/Zope2/__init__.py", line 52, in app
        return bobo_application(*args, **kw)
    TypeError: 'NoneType' object is not callable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 139, in helpers.txt
Failed example:
    with helpers.ploneSite() as portal:
        print portal['portal_quickinstaller'].isProductInstalled('plonetheme.classic')
        print portal['portal_skins'].getDefaultSkin()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[16]>", line 1, in <module>
        with helpers.ploneSite() as portal:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 240, in ploneSite
        with z2.zopeApp(db, connection, environ) as app:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 242, in zopeApp
        app = addRequestContainer(Zope2.app(connection), environ=environ)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/Zope2/__init__.py", line 52, in app
        return bobo_application(*args, **kw)
    TypeError: 'NoneType' object is not callable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 151, in helpers.txt
Failed example:
    HELPER_DEMOS_INTEGRATION_TESTING.testSetUp()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[21]>", line 1, in <module>
        HELPER_DEMOS_INTEGRATION_TESTING.testSetUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 321, in testSetUp
        super(PloneTestLifecycle, self).testSetUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 701, in testSetUp
        'SERVER_NAME': self['host'],
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'host'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 161, in helpers.txt
Failed example:
    portal = HELPER_DEMOS_INTEGRATION_TESTING['portal'] # would normally be self.layer['portal']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[25]>", line 1, in <module>
        portal = HELPER_DEMOS_INTEGRATION_TESTING['portal'] # would normally be self.layer['portal']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'portal'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 163, in helpers.txt
Failed example:
    getSecurityManager().getUser().getRolesInContext(portal)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[26]>", line 1, in <module>
        getSecurityManager().getUser().getRolesInContext(portal)
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 166, in helpers.txt
Failed example:
    getSecurityManager().getUser().getUserName() == TEST_USER_NAME
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 168, in helpers.txt
Failed example:
    getSecurityManager().getUser().getId() == TEST_USER_ID
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 171, in helpers.txt
Failed example:
    helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[30]>", line 1, in <module>
        helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 172, in helpers.txt
Failed example:
    repr(getSecurityManager()) != sm_repr
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 174, in helpers.txt
Failed example:
    getSecurityManager().getUser().getRolesInContext(portal)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[32]>", line 1, in <module>
        getSecurityManager().getUser().getRolesInContext(portal)
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 181, in helpers.txt
Failed example:
    helpers.login(portal, TEST_USER_NAME)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[35]>", line 1, in <module>
        helpers.login(portal, TEST_USER_NAME)
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 182, in helpers.txt
Failed example:
    getSecurityManager().getUser().getUserName() == TEST_USER_NAME
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 185, in helpers.txt
Failed example:
    portal.invokeFactory('Folder', 'folder1', title=u"Folder 1")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[37]>", line 1, in <module>
        portal.invokeFactory('Folder', 'folder1', title=u"Folder 1")
    NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 190, in helpers.txt
Failed example:
    HELPER_DEMOS_INTEGRATION_TESTING.testTearDown()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[38]>", line 1, in <module>
        HELPER_DEMOS_INTEGRATION_TESTING.testTearDown()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 327, in testTearDown
        self.tearDownEnvironment(self['portal'])
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/layer.py", line 26, in __getitem__
        raise KeyError(key)
    KeyError: 'portal'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 199, in helpers.txt
Failed example:
    queryUtility(Interface, name="dummy1")
Expected:
    <object object at ...>
Got nothing
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 202, in helpers.txt
Failed example:
    with helpers.ploneSite() as portal:
        print portal.title
        print portal['portal_quickinstaller'].isProductInstalled('plonetheme.classic')
        print portal['portal_skins'].getDefaultSkin()
        'folder1' in portal.objectIds()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[44]>", line 1, in <module>
        with helpers.ploneSite() as portal:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 240, in ploneSite
        with z2.zopeApp(db, connection, environ) as app:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 242, in zopeApp
        app = addRequestContainer(Zope2.app(connection), environ=environ)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/Zope2/__init__.py", line 52, in app
        return bobo_application(*args, **kw)
    TypeError: 'NoneType' object is not callable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 216, in helpers.txt
Failed example:
    runner.tear_down_unneeded(options, [l for l in setupLayers if l not in (HELPER_DEMOS_INTEGRATION_TESTING, HELPER_DEMOS_FIXTURE,)], setupLayers)
Expected:
    Tear down plone.app.testing.layers.HelperDemos:Integration in ... seconds.
    Tear down HelperDemos in ... seconds.
Got nothing
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 223, in helpers.txt
Failed example:
    with helpers.ploneSite() as portal:
        print portal.title
        print portal['portal_quickinstaller'].isProductInstalled('plonetheme.classic')
        print portal['portal_skins'].getDefaultSkin()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[47]>", line 1, in <module>
        with helpers.ploneSite() as portal:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 240, in ploneSite
        with z2.zopeApp(db, connection, environ) as app:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 242, in zopeApp
        app = addRequestContainer(Zope2.app(connection), environ=environ)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/Zope2/__init__.py", line 52, in app
        return bobo_application(*args, **kw)
    TypeError: 'NoneType' object is not callable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 233, in helpers.txt
Failed example:
    runner.tear_down_unneeded(options, [], setupLayers)
Expected:
    Tear down plone.app.testing.layers.PloneFixture in ... seconds.
    Tear down plone.testing.z2.Startup in ... seconds.
    Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
      Tear down plone.testing.zca.LayerCleanup in 0.000 seconds.
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 326, in helpers.txt
Failed example:
    runner.setup_layer(options, MY_INTEGRATION_TESTING, setupLayers)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[56]>", line 1, in <module>
        runner.setup_layer(options, MY_INTEGRATION_TESTING, setupLayers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
        layer.setUp()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 290, in setUp
        self.setUpDatabase()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 477, in setUpDatabase
        self['zodbDB'] = zodb.stackDemoStorage(self.get('zodbDB'), name='Startup')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/zodb.py", line 25, in stackDemoStorage
        storage = DemoStorage(name=name, base=db.storage)
    AttributeError: 'DB' object has no attribute 'storage'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 335, in helpers.txt
Failed example:
    queryUtility(Interface, name="dummy1")
Expected:
    <object object at ...>
Got nothing
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 338, in helpers.txt
Failed example:
    with helpers.ploneSite() as portal:
        print portal.title
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[58]>", line 1, in <module>
        with helpers.ploneSite() as portal:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 240, in ploneSite
        with z2.zopeApp(db, connection, environ) as app:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 242, in zopeApp
        app = addRequestContainer(Zope2.app(connection), environ=environ)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/Zope2/__init__.py", line 52, in app
        return bobo_application(*args, **kw)
    TypeError: 'NoneType' object is not callable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 342, in helpers.txt
Failed example:
    someGlobal['test']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[59]>", line 1, in <module>
        someGlobal['test']
    KeyError: 'test'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 350, in helpers.txt
Failed example:
    'plone.app.testing:dummy1' in _profile_registry.listProfiles()
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 354, in helpers.txt
Failed example:
    'import1' in _import_step_registry.listSteps()
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 358, in helpers.txt
Failed example:
    'export1' in _export_step_registry.listSteps()
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 362, in helpers.txt
Failed example:
    'dummy_plugin1' in PluggableAuthService.MultiPlugins
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 369, in helpers.txt
Failed example:
    runner.tear_down_unneeded(options, [l for l in setupLayers if l not in (MY_INTEGRATION_TESTING, MY_FIXTURE)], setupLayers)
Expected:
    Tear down plone.app.testing.layers.MyLayer:Integration in ... seconds.
Got nothing
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 375, in helpers.txt
Failed example:
    with helpers.ploneSite() as portal:
        print portal.title
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[73]>", line 1, in <module>
        with helpers.ploneSite() as portal:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 240, in ploneSite
        with z2.zopeApp(db, connection, environ) as app:
      File "/usr/local/python2.6/lib/python2.6/contextlib.py", line 16, in __enter__
        return self.gen.next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py", line 242, in zopeApp
        app = addRequestContainer(Zope2.app(connection), environ=environ)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/Zope2-2.13.5-py2.6.egg/Zope2/__init__.py", line 52, in app
        return bobo_application(*args, **kw)
    TypeError: 'NoneType' object is not callable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 382, in helpers.txt
Failed example:
    len(_profile_registry.listProfiles()) == numProfiles - 1
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 387, in helpers.txt
Failed example:
    len(_import_step_registry.listSteps()) == numImportSteps - 1
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 392, in helpers.txt
Failed example:
    len(_export_step_registry.listSteps()) == numExportSteps - 1
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 403, in helpers.txt
Failed example:
    runner.tear_down_unneeded(options, [], setupLayers)
Expected:
    Tear down plone.app.testing.layers.PloneFixture in ... seconds.
    Tear down plone.testing.z2.Startup in ... seconds.
    Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
      Tear down plone.testing.zca.LayerCleanup in 0.000 seconds.
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 430, in helpers.txt
Failed example:
    tuple(_profile_registry.listProfiles())
Expected:
    ('plone.app.testing:dummy1', 'plone.app.testing:dummy2', 'plone.testing:dummy1')
Got:
    (u'plone.app.testing:dummy1', u'plone.testing:dummy1', u'plone.app.testing:dummy2')
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 436, in helpers.txt
Failed example:
    helpers.tearDownProfileRegistation('plone.app.testing')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest helpers.txt[89]>", line 1, in <module>
        helpers.tearDownProfileRegistation('plone.app.testing')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.py", line 57, in tearDownProfileRegistation
        for profileId, profileInfo in _profile_registry._profile_info.items():
    AttributeError: _profile_info
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/helpers.txt", line 437, in helpers.txt
Failed example:
    tuple(_profile_registry.listProfiles())
Expected:
    ('plone.testing:dummy1',)
Got:
    (u'plone.app.testing:dummy1', u'plone.testing:dummy1', u'plone.app.testing:dummy2')


  Ran 3 tests with 3 failures and 0 errors in 0.393 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.335 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.311 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.398 seconds.
  Ran 7 tests with 0 failures and 0 errors in 7.840 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.191 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.006 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py:19: DeprecationWarning: Zope2VocabularyRegistry is deprecated. Please import from Zope2.App.schema
  from Products.Five.schema import Zope2VocabularyRegistry
Running plone.app.uuid.testing.plone.app.uuid:Functional tests:
  Set up plone.testing.zca.LayerCleanup in 0.000 seconds.
  Set up plone.testing.z2.Startup/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.configuration-3.7.3-py2.6.egg/zope/configuration/config.py:193: DeprecationWarning: FiveSecurityPolicy is deprecated. Please import from AccessControl.security
  obj = getattr(mod, oname)
 in 0.283 seconds.
  Set up plone.app.testing.layers.PloneFixture Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 104, in setUp
    preSetupProfiles    = list(_profile_registry._profile_ids)
AttributeError: _profile_ids

Running plone.app.uuid.testing.plone.app.uuid:Integration tests:
  Set up plone.app.testing.layers.PloneFixture Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 367, in run_layer
    setup_layer(options, layer, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 627, in setup_layer
    setup_layer(options, base, setup_layers)
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/testrunner/runner.py", line 632, in setup_layer
    layer.setUp()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.app.testing/plone/app/testing/layers.py", line 104, in setUp
    preSetupProfiles    = list(_profile_registry._profile_ids)
AttributeError: _profile_ids

Tearing down left over layers:
  Tear down plone.testing.z2.Startup in 0.009 seconds.
  Tear down plone.testing.zca.LayerCleanup in 0.000 seconds.
Total: 0 tests, 0 failures, 2 errors in 0.293 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.app.z3cform-0.5.3-py2.6.egg/plone/app/z3cform/tests/test_kss_attr.py:3: DeprecationWarning: Browser is deprecated. Please import from Testing.testbrowser
  from Products.Five.testbrowser import Browser
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.app.z3cform-0.5.3-py2.6.egg/plone/app/z3cform/tests/tests.py:3: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module
  import zope.testing.doctest
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.414 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.690 seconds.
  Set up Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.app.z3cform-0.5.3-py2.6.egg/plone/app/z3cform/tests/tests.py:21: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  zcml.load_config('testing.zcml', plone.app.z3cform.tests)
 in 4.697 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.760 seconds.
Running plone.app.z3cform.tests.layer.KSSUnitTestLayer tests:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.190 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.004 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up plone.app.z3cform.tests.layer.KSSUnitTestLayer in 0.377 seconds.
  Ran 9 tests with 0 failures and 0 errors in 0.136 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down plone.app.z3cform.tests.layer.KSSUnitTestLayer in 0.001 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 3 tests with 0 failures and 0 errors in 0.004 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 17 tests, 0 failures, 0 errors in 12.005 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.autoform-1.0b5-py2.6.egg/plone/autoform/tests/test_doctests.py:5: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module
  import zope.testing.doctest
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 52 tests with 0 failures and 0 errors in 1.127 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 61 tests with 0 failures and 0 errors in 5.147 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 57 tests with 0 failures and 0 errors in 0.055 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.folder-1.0.1-py2.6.egg/plone/folder/tests/layer.py:2: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  from Products.Five.zcml import load_config
Running plone.folder.tests.layer.PloneFolderLayer tests:
  Set up plone.folder.tests.layer.PloneFolderLayer in 0.007 seconds.
  Ran 67 tests with 0 failures and 0 errors in 4.881 seconds.
Tearing down left over layers:
  Tear down plone.folder.tests.layer.PloneFolderLayer in 0.000 seconds.
#### Running tests for group ATCT ####
#### Finished tests for group ATCT ####

#### Running tests for group Add-ons ####
#### Finished tests for group Add-ons ####

#### Running tests for group Archetypes ####
#### Finished tests for group Archetypes ####

#### Running tests for group CMF ####
#### Finished tests for group CMF ####

#### Running tests for group CMFEditions ####
#### Finished tests for group CMFEditions ####

#### Running tests for group Plone ####
#### Finished tests for group Plone ####

#### Running tests for group PlonePAS ####
#### Finished tests for group PlonePAS ####

#### Running tests for group plone ####
#### Finished tests for group plone ####

#### Running tests for group portlets ####
#### Finished tests for group portlets ####

#### Running tests for group z3c.autoinclude ####
#### Finished tests for group z3c.autoinclude ####

#### Running tests for AccessControl ####
#### Finished tests for AccessControl ####

#### Running tests for Products.CMFTestCase ####
#### Finished tests for Products.CMFTestCase ####

#### Running tests for Products.ExtendedPathIndex ####
#### Finished tests for Products.ExtendedPathIndex ####

#### Running tests for Products.PasswordResetTool ####
#### Finished tests for Products.PasswordResetTool ####

#### Running tests for Products.ResourceRegistries ####
#### Finished tests for Products.ResourceRegistries ####

#### Running tests for Products.TinyMCE ####
#### Finished tests for Products.TinyMCE ####

#### Running tests for Products.ZCatalog ####
#### Finished tests for Products.ZCatalog ####

#### Running tests for Products.contentmigration ####
#### Finished tests for Products.contentmigration ####

#### Running tests for Products.i18ntestcase ####
#### Finished tests for Products.i18ntestcase ####

#### Running tests for archetypes.referencebrowserwidget ####
#### Finished tests for archetypes.referencebrowserwidget ####

#### Running tests for archetypes.schemaextender ####
#### Finished tests for archetypes.schemaextender ####

#### Running tests for collective.monkeypatcher ####
#### Finished tests for collective.monkeypatcher ####

#### Running tests for collective.z3cform.datetimewidget ####
#### Finished tests for collective.z3cform.datetimewidget ####

#### Running tests for five.customerize ####
#### Finished tests for five.customerize ####

#### Running tests for five.formlib ####
#### Finished tests for five.formlib ####

#### Running tests for kss.core ####
#### Finished tests for kss.core ####

#### Running tests for plone.app.blob ####
#### Finished tests for plone.app.blob ####

#### Running tests for plone.app.caching ####
#### Finished tests for plone.app.caching ####

#### Running tests for plone.app.discussion ####
#### Finished tests for plone.app.discussion ####

#### Running tests for plone.app.folder ####
#### Finished tests for plone.app.folder ####

#### Running tests for plone.app.imaging ####
#### Finished tests for plone.app.imaging ####

#### Running tests for plone.app.jquerytools ####
#### Finished tests for plone.app.jquerytools ####

#### Running tests for plone.app.linkintegrity ####
#### Finished tests for plone.app.linkintegrity ####

#### Running tests for plone.app.locales ####
#### Finished tests for plone.app.locales ####

#### Running tests for plone.app.registry ####
#### Finished tests for plone.app.registry ####

#### Running tests for plone.app.testing ####
#### Finished tests for plone.app.testing ####

#### Running tests for plone.app.users ####
#### Finished tests for plone.app.users ####

#### Running tests for plone.app.uuid ####
#### Finished tests for plone.app.uuid ####

#### Running tests for plone.app.z3cform ####
#### Finished tests for plone.app.z3cform ####

#### Running tests for plone.autoform ####
#### Finished tests for plone.autoform ####

#### Running tests for plone.cachepurging ####
#### Finished tests for plone.cachepurging ####

#### Running tests for plone.caching ####
#### Finished tests for plone.caching ####

#### Running tests for plone.folder ####
#### Finished tests for plone.folder Running plone.outputfilters.tests.base.layer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.223 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.579 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.448 seconds.
  Set up plone.outputfilters.tests.base.layer in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.outputfilters-1.0b4-py2.6.egg/plone/outputfilters/README.txt:1: DeprecationWarning: load_string is deprecated. Please import from Zope2.App.zcml
  Introduction
  Ran 36 tests with 0 failures and 0 errors in 5.590 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down plone.outputfilters.tests.base.layer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.190 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.005 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 4 tests with 0 failures and 0 errors in 0.000 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 40 tests, 0 failures, 0 errors in 15.534 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.registry-1.0b4-py2.6.egg/plone/registry/tests.py:4: DeprecationWarning: zope.testing.doctestunit is deprecated in favour of the Python standard library doctest module
  from zope.testing import doctestunit
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/doctestunit.py:27: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module
  from doctest import DocFileSuite, DocTestSuite
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.registry-1.0b4-py2.6.egg/plone/registry/registry.py:256: DeprecationWarning: The Records persistent class is deprecated and should not be used.
  warnings.warn("The Records persistent class is deprecated and should not be used.", DeprecationWarning)
  Ran 105 tests with 0 failures and 0 errors in 0.055 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 0 tests, 0 failures, 0 errors in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.stringinterp-1.0.3-py2.6.egg/plone/stringinterp/tests/stringinterpTestCase.py:5: DeprecationWarning: Browser is deprecated. Please import from Testing.testbrowser
  from Products.Five.testbrowser import Browser
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.429 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.382 seconds.
  Set up Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.stringinterp-1.0.3-py2.6.egg/plone/stringinterp/tests/stringinterpTestCase.py:19: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  zcml.load_config('configure.zcml', plone.stringinterp)
 in 4.798 seconds.
  Ran 2 tests with 0 failures and 0 errors in 0.432 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.199 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.004 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.supermodel-1.0b7-py2.6.egg/plone/supermodel/tests.py:9: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module
  from zope.testing import doctest
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 71 tests with 0 failures and 0 errors in 0.297 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/src/plone.testing/src/plone/testing/z2.py:19: DeprecationWarning: Zope2VocabularyRegistry is deprecated. Please import from Zope2.App.schema
  from Products.Five.schema import Zope2VocabularyRegistry
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.configuration-3.7.3-py2.6.egg/zope/configuration/config.py:193: DeprecationWarning: FiveSecurityPolicy is deprecated. Please import from AccessControl.security
  obj = getattr(mod, oname)
  Ran 7 tests with 0 failures and 0 errors in 13.601 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 23 tests with 0 failures and 0 errors in 0.028 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 6 tests with 0 failures and 0 errors in 0.753 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plone.z3cform-0.7.3-py2.6.egg/plone/z3cform/tests.py:4: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module
  from zope.testing import doctest
Running plone.z3cform.testing_zcml_layer tests:
  Set up plone.z3cform.testing_zcml_layer in 0.341 seconds.
  Ran 34 tests with 0 failures and 0 errors in 0.202 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down plone.z3cform.testing_zcml_layer ... not supported
  Running in a subprocess.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 39 tests with 0 failures and 0 errors in 0.774 seconds.
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 73 tests, 0 failures, 0 errors in 4.001 seconds.
Total: 0 tests, 0 failures, 0 errors in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plonetheme.sunburst-1.1.2-py2.6.egg/plonetheme/sunburst/tests/base.py:6: DeprecationWarning: Browser is deprecated. Please import from Testing.testbrowser
  from Products.Five.testbrowser import Browser
Running plonetheme.sunburst.tests.base.Layer tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.418 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.306 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 4.508 seconds.
  Set up collective.testcaselayer.ptc.PTCLayer in 0.023 seconds.
  Set up plonetheme.sunburst.tests.base.Layer/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plonetheme.sunburst-1.1.2-py2.6.egg/plonetheme/sunburst/tests/base.py:18: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  zcml.load_config('configure.zcml', package=sunburst)
 in 0.006 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/plonetheme.sunburst-1.1.2-py2.6.egg/plonetheme/sunburst/README.txt:1: DeprecationWarning: load_string is deprecated. Please import from Zope2.App.zcml
  plonetheme.sunburst
  Ran 3 tests with 0 failures and 0 errors in 1.198 seconds.
Tearing down left over layers:
  Tear down plonetheme.sunburst.tests.base.Layer in 0.000 seconds.
  Tear down collective.testcaselayer.ptc.PTCLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.192 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.004 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/wicked-1.1.9-py2.6.egg/wicked/utils.py:223: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module
  from zope.testing import doctest
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.845 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.295 seconds.
  Ran 3 tests with 0 failures and 0 errors in 0.037 seconds.
Running wicked.at.tests.wickedtestcase.WickedSite tests:
  Set up Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/wicked-1.1.9-py2.6.egg/wicked/at/tests/wickedtestcase.py:19: DeprecationWarning: load_config is deprecated. Please import from Zope2.App.zcml
  zcml.load_config("configure.zcml", package=wicked.atcontent)
 in 5.375 seconds.
  Set up wicked.at.tests.wickedtestcase.WickedSite in 0.002 seconds.
  Ran 23 tests with 0 failures and 0 errors in 5.514 seconds.
Running wicked.at.tests.test_scope.Scoped tests:
  Set up wicked.at.tests.test_scope.Scoped in 0.001 seconds.
  Ran 3 tests with 0 failures and 0 errors in 0.609 seconds.
Running wicked.plone.tests.SelectiveATCT tests:
  Tear down wicked.at.tests.test_scope.Scoped in 0.000 seconds.
  Tear down wicked.at.tests.wickedtestcase.WickedSite in 0.002 seconds.
  Set up wicked.plone.tests.SelectiveATCT in 0.003 seconds.
  Ran 22 tests with 0 failures and 0 errors in 6.747 seconds.
Running wicked.plone.tests.ZCMLLayer tests:
  Tear down wicked.plone.tests.SelectiveATCT in 0.004 seconds.
  Set up wicked.plone.tests.ZCMLLayer in 0.020 seconds.
  Ran 2 tests with 0 failures and 0 errors in 0.674 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down wicked.plone.tests.ZCMLLayer in 0.212 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.001 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.004 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 34 tests with 0 failures and 0 errors in 0.016 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 87 tests, 0 failures, 0 errors in 24.720 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 2 tests with 0 failures and 0 errors in 0.014 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 38 tests with 0 failures and 0 errors in 3.716 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/z3c.formwidget.query-0.5-py2.6.egg/z3c/formwidget/query/tests.py:4: DeprecationWarning: zope.testing.doctestunit is deprecated in favour of the Python standard library doctest module
  from zope.testing import doctestunit
/home/stefan/autotest/temp/python26-zope213-cmf22-plone41/eggs/zope.testing-3.9.4-py2.6.egg/zope/testing/doctestunit.py:27: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module
  from doctest import DocFileSuite, DocTestSuite
Running zope.testing.testrunner.layer.UnitTests tests:
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 25 tests with 0 failures and 0 errors in 0.397 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
####

#### Running tests for plone.outputfilters ####
#### Finished tests for plone.outputfilters ####

#### Running tests for plone.registry ####
#### Finished tests for plone.registry ####

#### Running tests for plone.scale ####
#### Finished tests for plone.scale ####

#### Running tests for plone.stringinterp ####
#### Finished tests for plone.stringinterp ####

#### Running tests for plone.supermodel ####
#### Finished tests for plone.supermodel ####

#### Running tests for plone.testing ####
#### Finished tests for plone.testing ####

#### Running tests for plone.transformchain ####
#### Finished tests for plone.transformchain ####

#### Running tests for plone.uuid ####
#### Finished tests for plone.uuid ####

#### Running tests for plone.z3cform ####
#### Finished tests for plone.z3cform ####

#### Running tests for plonetheme.classic ####
#### Finished tests for plonetheme.classic ####

#### Running tests for plonetheme.sunburst ####
#### Finished tests for plonetheme.sunburst ####

#### Running tests for wicked ####
#### Finished tests for wicked ####

#### Running tests for z3c.batching ####
#### Finished tests for z3c.batching ####

#### Running tests for z3c.form ####
#### Finished tests for z3c.form ####

#### Running tests for z3c.formwidget.query ####
#### Finished tests for z3c.formwidget.query ####

Packages with test failures:

Failing tests in plone.app.caching
Failing tests in plone.app.registry
Failing tests in plone.app.testing
Failing tests in plone.app.uuid

Total time elapsed: 1286.905 seconds

Grand total: 108 packages, 4 failures


FAILED (108 packages, 4 failures)



More information about the Testbot mailing list