[Testbot] Plone 5.2 - Python 3.7 - Build # 299 - Still Failing!
jenkins at plone.org
jenkins at plone.org
Mon Sep 9 10:48:15 UTC 2019
Plone 5.2 - Python 3.7 - Build # 299 - Still Failing:
Check console output at https://jenkins.plone.org/job/plone-5.2-python-3.7/299/ to view the results.
Plone 5.2 - Python 3.7 - Build # 299 - Still Failing:
Check console output at https://jenkins.plone.org/job/plone-5.2-python-3.7/299/ to view the results.
Test Results:
43 tests failed.
FAILED: Products.GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests.test_blacklist_get
Error Message:
((<PersistentComponents >, <Products.GenericSetup.testing.DummySetupEnviron object at 0x7faa2aa20c90>), <InterfaceClass Products.GenericSetup.interfaces.IBody>, '')
Stack Trace:
((<PersistentComponents >, <Products.GenericSetup.testing.DummySetupEnviron object at 0x7faa2aa20c90>), <InterfaceClass Products.GenericSetup.interfaces.IBody>, '')
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/workspace/plone-5.2-python-3.7/src/Products.GenericSetup/Products/GenericSetup/tests/test_components.py", line 349, in test_blacklist_get
adapted = getMultiAdapter((obj, context), IBody)
File "/home/jenkins/.buildout/eggs/cp37m/zope.component-4.5-py3.7.egg/zope/component/_api.py", line 97, in getMultiAdapter
raise ComponentLookupError(objects, interface, name)
FAILED: Products.GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests.test_blacklist_set
Error Message:
((<PersistentComponents >, <Products.GenericSetup.testing.DummySetupEnviron object at 0x7faa2cc00dd0>), <InterfaceClass Products.GenericSetup.interfaces.IBody>, '')
Stack Trace:
((<PersistentComponents >, <Products.GenericSetup.testing.DummySetupEnviron object at 0x7faa2cc00dd0>), <InterfaceClass Products.GenericSetup.interfaces.IBody>, '')
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/workspace/plone-5.2-python-3.7/src/Products.GenericSetup/Products/GenericSetup/tests/test_components.py", line 364, in test_blacklist_set
adapted = getMultiAdapter((obj, context), IBody)
File "/home/jenkins/.buildout/eggs/cp37m/zope.component-4.5-py3.7.egg/zope/component/_api.py", line 97, in getMultiAdapter
raise ComponentLookupError(objects, interface, name)
FAILED: Products.GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests.test_body_get
Error Message:
((<PersistentComponents >, <Products.GenericSetup.testing.DummySetupEnviron object at 0x7faa2d27e990>), <InterfaceClass Products.GenericSetup.interfaces.IBody>, '')
Stack Trace:
((<PersistentComponents >, <Products.GenericSetup.testing.DummySetupEnviron object at 0x7faa2d27e990>), <InterfaceClass Products.GenericSetup.interfaces.IBody>, '')
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/workspace/plone-5.2-python-3.7/src/Products.GenericSetup/Products/GenericSetup/testing.py", line 85, in test_body_get
adapted = getMultiAdapter((self._obj, context), IBody)
File "/home/jenkins/.buildout/eggs/cp37m/zope.component-4.5-py3.7.egg/zope/component/_api.py", line 97, in getMultiAdapter
raise ComponentLookupError(objects, interface, name)
FAILED: Products.GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests.test_body_set
Error Message:
((<PersistentComponents >, <Products.GenericSetup.testing.DummySetupEnviron object at 0x7faa2aa0c390>), <InterfaceClass Products.GenericSetup.interfaces.IBody>, '')
Stack Trace:
((<PersistentComponents >, <Products.GenericSetup.testing.DummySetupEnviron object at 0x7faa2aa0c390>), <InterfaceClass Products.GenericSetup.interfaces.IBody>, '')
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/workspace/plone-5.2-python-3.7/src/Products.GenericSetup/Products/GenericSetup/testing.py", line 91, in test_body_set
adapted = getMultiAdapter((self._obj, context), IBody)
File "/home/jenkins/.buildout/eggs/cp37m/zope.component-4.5-py3.7.egg/zope/component/_api.py", line 97, in getMultiAdapter
raise ComponentLookupError(objects, interface, name)
FAILED: Products.GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests.test_remove_components
Error Message:
False is not true
Stack Trace:
False is not true
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/workspace/plone-5.2-python-3.7/src/Products.GenericSetup/Products/GenericSetup/tests/test_components.py", line 406, in test_remove_components
self.assertTrue(adapted is None)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 705, in assertTrue
raise self.failureException(msg)
FAILED: Products.GenericSetup.tests.test_tool.SetupToolTests.test_runImportStepFromProfile_dependencies
Error Message:
59 != 1
Stack Trace:
59 != 1
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/workspace/plone-5.2-python-3.7/src/Products.GenericSetup/Products/GenericSetup/tests/test_tool.py", line 299, in test_runImportStepFromProfile_dependencies
self.assertEqual(len(_before_import_events), 1)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.GenericSetup.tests.test_tool.SetupToolTests.test_runImportStepFromProfile_simple
Error Message:
62 != 1
Stack Trace:
62 != 1
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/workspace/plone-5.2-python-3.7/src/Products.GenericSetup/Products/GenericSetup/tests/test_tool.py", line 264, in test_runImportStepFromProfile_simple
self.assertEqual(len(_before_import_events), 1)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.GenericSetup.tests.test_tool.SetupToolTests.test_runImportStepFromProfile_skip_dependencies
Error Message:
63 != 1
Stack Trace:
63 != 1
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/workspace/plone-5.2-python-3.7/src/Products.GenericSetup/Products/GenericSetup/tests/test_tool.py", line 335, in test_runImportStepFromProfile_skip_dependencies
self.assertEqual(len(_before_import_events), 1)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.PluggableAuthService.plugins.tests.test_ChallengeProtocolChooser.ChallengeProtocolChooserBasicAuthTests.test_GET_authorized
Error Message:
b'HTTP/1.1 200 OK' != b'HTTP/1.1 404 Not Found'
Stack Trace:
b'HTTP/1.1 200 OK' != b'HTTP/1.1 404 Not Found'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 202, in test_GET_authorized
self.assertStatus(response, b'HTTP/1.1 200 OK')
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 170, in assertStatus
self.assertEqual(status, response.getOutput().split(b'\r\n')[0])
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.PluggableAuthService.plugins.tests.test_ChallengeProtocolChooser.ChallengeProtocolChooserBasicAuthTests.test_GET_unauthorized
Error Message:
b'HTTP/1.1 401 Unauthorized' != b'HTTP/1.1 404 Not Found'
Stack Trace:
b'HTTP/1.1 401 Unauthorized' != b'HTTP/1.1 404 Not Found'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 196, in test_GET_unauthorized
self.assertStatus(response, b'HTTP/1.1 401 Unauthorized')
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 170, in assertStatus
self.assertEqual(status, response.getOutput().split(b'\r\n')[0])
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.PluggableAuthService.plugins.tests.test_ChallengeProtocolChooser.ChallengeProtocolChooserBasicAuthTests.test_XMLRPC_authorized
Error Message:
b'HTTP/1.1 200 OK' != b'HTTP/1.1 404 Not Found'
Stack Trace:
b'HTTP/1.1 200 OK' != b'HTTP/1.1 404 Not Found'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 246, in test_XMLRPC_authorized
self.assertStatus(response, b'HTTP/1.1 200 OK')
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 170, in assertStatus
self.assertEqual(status, response.getOutput().split(b'\r\n')[0])
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.PluggableAuthService.plugins.tests.test_ChallengeProtocolChooser.ChallengeProtocolChooserBasicAuthTests.test_XMLRPC_unauthorized
Error Message:
b'HTTP/1.1 401 Unauthorized' != b'HTTP/1.1 404 Not Found'
Stack Trace:
b'HTTP/1.1 401 Unauthorized' != b'HTTP/1.1 404 Not Found'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 238, in test_XMLRPC_unauthorized
self.assertStatus(response, b'HTTP/1.1 401 Unauthorized')
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 170, in assertStatus
self.assertEqual(status, response.getOutput().split(b'\r\n')[0])
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.PluggableAuthService.plugins.tests.test_ChallengeProtocolChooser.ChallengeProtocolChooserCookieAuthTests.test_GET_unauthorized
Error Message:
b'HTTP/1.1 302 Found' != b'HTTP/1.1 404 Not Found'
Stack Trace:
b'HTTP/1.1 302 Found' != b'HTTP/1.1 404 Not Found'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 270, in test_GET_unauthorized
self.assertStatus(response, b'HTTP/1.1 302 Found')
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 170, in assertStatus
self.assertEqual(status, response.getOutput().split(b'\r\n')[0])
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.PluggableAuthService.plugins.tests.test_ChallengeProtocolChooser.ChallengeProtocolChooserCookieAuthTests.test_XMLRPC_unauthorized
Error Message:
b'HTTP/1.1 302 Found' != b'HTTP/1.1 404 Not Found'
Stack Trace:
b'HTTP/1.1 302 Found' != b'HTTP/1.1 404 Not Found'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 290, in test_XMLRPC_unauthorized
self.assertStatus(response, b'HTTP/1.1 302 Found')
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 170, in assertStatus
self.assertEqual(status, response.getOutput().split(b'\r\n')[0])
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.PluggableAuthService.plugins.tests.test_ChallengeProtocolChooser.ChallengeProtocolChooserCookieAuthTypeSnifferTests.test_GET_unauthorized
Error Message:
b'HTTP/1.1 302 Found' != b'HTTP/1.1 404 Not Found'
Stack Trace:
b'HTTP/1.1 302 Found' != b'HTTP/1.1 404 Not Found'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 324, in test_GET_unauthorized
self.assertStatus(response, b'HTTP/1.1 302 Found')
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 170, in assertStatus
self.assertEqual(status, response.getOutput().split(b'\r\n')[0])
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.PluggableAuthService.plugins.tests.test_ChallengeProtocolChooser.ChallengeProtocolChooserCookieAuthTypeSnifferTests.test_XMLRPC_unauthorized
Error Message:
b'HTTP/1.1 401 Unauthorized' != b'HTTP/1.1 404 Not Found'
Stack Trace:
b'HTTP/1.1 401 Unauthorized' != b'HTTP/1.1 404 Not Found'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 344, in test_XMLRPC_unauthorized
self.assertStatus(response, b'HTTP/1.1 401 Unauthorized')
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ChallengeProtocolChooser.py", line 170, in assertStatus
self.assertEqual(status, response.getOutput().split(b'\r\n')[0])
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.PluggableAuthService.plugins.tests.test_ZODBGroupManager.ZODBGroupManagerTests.test_addGroup_CreatedEvent
Error Message:
6 != 1
Stack Trace:
6 != 1
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/plugins/tests/test_ZODBGroupManager.py", line 98, in test_addGroup_CreatedEvent
self.assertEqual(len(zgm.events), 1)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test__doAddUser
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test__extractUserIds
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test__extractUserIds_two_extractors
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test__findUser
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test__verifyUser
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test_addPrincipalToGroupResetsCache
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test_addingRoleResetsCache
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test_getUser
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test_getUserById
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test_removePrincipalFromGroupResetsCache
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test_removingRoleResetsCache
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test_validate
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test_validate_anonymous
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test_validate_unicode_credentials
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test_validate_utf16_credentials
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: Products.PluggableAuthService.tests.test_MoreCaching.CachingTests.test_validate_utf8_credentials
Error Message:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
Stack Trace:
'RequestContainer' object has no attribute 'manage_addRAMCacheManager'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 624, in run
self.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/Testing/ZopeTestCase/base.py", line 90, in setUp
self.afterSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/Products.PluggableAuthService-2.1-py3.7.egg/Products/PluggableAuthService/tests/test_MoreCaching.py", line 27, in afterSetUp
factory.manage_addRAMCacheManager('ram_cache')
FAILED: plone.app.testing.helpers.rst
Error Message:
Failed doctest test for helpers.rst
Stack Trace:
Failed doctest test for helpers.rst
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 0
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 139, in helpers.rst
Failed example:
runner.setup_layer(options, HELPER_DEMOS_INTEGRATION_TESTING, setupLayers)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[12]>", line 1, in <module>
runner.setup_layer(options, HELPER_DEMOS_INTEGRATION_TESTING, setupLayers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 792, in setup_layer
layer.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 314, in setUp
self.setUpZCML()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 655, in setUpZCML
""", context=context)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/xmlconfig.py", line 675, in string
context.execute_actions()
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 800, in execute_actions
None, sys.exc_info()[2])
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/_compat.py", line 30, in reraise
raise value.with_traceback(tb)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 791, in execute_actions
callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/zope.security-4.3.1-py3.7-linux-x86_64.egg/zope/security/permission.py", line 51, in checkPermission
raise ValueError("Undefined permission ID", permission_id)
zope.configuration.config.ConfigurationExecutionError: File "<string>", line 6.4-6.68
Could not read source.
ValueError: ('Undefined permission ID', 'zope2.Public')
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 151, in helpers.rst
Failed example:
queryUtility(Interface, name="dummy1")
Expected:
<object object at ...>
Got nothing
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 154, in helpers.rst
Failed example:
with helpers.ploneSite() as portal:
print(portal.title)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[16]>", line 1, in <module>
with helpers.ploneSite() as portal:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.py", line 260, in ploneSite
portal = app[PLONE_SITE_ID]
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/OFS/ObjectManager.py", line 837, in __getitem__
raise KeyError(key)
KeyError: 'plone'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 162, in helpers.rst
Failed example:
with helpers.ploneSite() as portal:
print(is_installed(portal, 'plone.app.testing'))
portal.portal_setup.getLastVersionForProfile('plone.app.testing:default') == UNKNOWN
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[18]>", line 1, in <module>
with helpers.ploneSite() as portal:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.py", line 260, in ploneSite
portal = app[PLONE_SITE_ID]
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/OFS/ObjectManager.py", line 837, in __getitem__
raise KeyError(key)
KeyError: 'plone'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 174, in helpers.rst
Failed example:
HELPER_DEMOS_INTEGRATION_TESTING.testSetUp()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[23]>", line 1, in <module>
HELPER_DEMOS_INTEGRATION_TESTING.testSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.py", line 322, in testSetUp
super(PloneTestLifecycle, self).testSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 743, in testSetUp
transaction.begin()
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 243, in begin
return self.manager.begin()
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 77, in begin
_new_transaction(txn, self._synchs)
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 51, in _new_transaction
synchs.map(lambda s: s.newTransaction(txn))
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/weakset.py", line 61, in map
f(elt)
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 51, in <lambda>
synchs.map(lambda s: s.newTransaction(txn))
File "/home/jenkins/.buildout/eggs/cp37m/ZODB-5.5.1-py3.7.egg/ZODB/Connection.py", line 736, in newTransaction
self._storage.sync(sync)
AttributeError: 'NoneType' object has no attribute 'sync'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 184, in helpers.rst
Failed example:
portal = HELPER_DEMOS_INTEGRATION_TESTING['portal'] # would normally be self.layer['portal']
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[27]>", line 1, in <module>
portal = HELPER_DEMOS_INTEGRATION_TESTING['portal'] # would normally be self.layer['portal']
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/layer.py", line 30, in __getitem__
raise KeyError(key)
KeyError: 'portal'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 186, in helpers.rst
Failed example:
sorted(getSecurityManager().getUser().getRolesInContext(portal))
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[28]>", line 1, in <module>
sorted(getSecurityManager().getUser().getRolesInContext(portal))
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 189, in helpers.rst
Failed example:
getSecurityManager().getUser().getUserName() == TEST_USER_NAME
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 191, in helpers.rst
Failed example:
getSecurityManager().getUser().getId() == TEST_USER_ID
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 194, in helpers.rst
Failed example:
helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[32]>", line 1, in <module>
helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 195, in helpers.rst
Failed example:
repr(getSecurityManager()) != sm_repr
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 197, in helpers.rst
Failed example:
sorted(getSecurityManager().getUser().getRolesInContext(portal))
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[34]>", line 1, in <module>
sorted(getSecurityManager().getUser().getRolesInContext(portal))
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 204, in helpers.rst
Failed example:
helpers.login(portal, TEST_USER_NAME)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[37]>", line 1, in <module>
helpers.login(portal, TEST_USER_NAME)
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 205, in helpers.rst
Failed example:
getSecurityManager().getUser().getUserName() == TEST_USER_NAME
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 209, in helpers.rst
Failed example:
portal._setObject('folder1', Folder('folder1'))
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[40]>", line 1, in <module>
portal._setObject('folder1', Folder('folder1'))
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 214, in helpers.rst
Failed example:
HELPER_DEMOS_INTEGRATION_TESTING.testTearDown()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[41]>", line 1, in <module>
HELPER_DEMOS_INTEGRATION_TESTING.testTearDown()
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.py", line 328, in testTearDown
self.tearDownEnvironment(self['portal'])
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/layer.py", line 30, in __getitem__
raise KeyError(key)
KeyError: 'portal'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 223, in helpers.rst
Failed example:
queryUtility(Interface, name="dummy1")
Expected:
<object object at ...>
Got nothing
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 226, in helpers.rst
Failed example:
with helpers.ploneSite() as portal:
print(portal.title)
print(is_installed(portal, 'plone.app.testing'))
'folder1' in portal.objectIds()
portal.portal_setup.getLastVersionForProfile('plone.app.testing:default') == UNKNOWN
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[47]>", line 1, in <module>
with helpers.ploneSite() as portal:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.py", line 260, in ploneSite
portal = app[PLONE_SITE_ID]
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/OFS/ObjectManager.py", line 837, in __getitem__
raise KeyError(key)
KeyError: 'plone'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 240, in helpers.rst
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/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 247, in helpers.rst
Failed example:
with helpers.ploneSite() as portal:
print(portal.title)
print(is_installed(portal, 'plone.app.testing'))
portal.portal_setup.getLastVersionForProfile('plone.app.testing:default') == UNKNOWN
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[50]>", line 1, in <module>
with helpers.ploneSite() as portal:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.py", line 260, in ploneSite
portal = app[PLONE_SITE_ID]
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/OFS/ObjectManager.py", line 837, in __getitem__
raise KeyError(key)
KeyError: 'plone'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 257, in helpers.rst
Failed example:
runner.tear_down_unneeded(options, [], setupLayers)
Expected:
Tear down plone.app.testing.layers.PloneFixture in ... seconds.
Tear down plone.testing.zope.Startup in ... seconds.
Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
Tear down plone.testing.zca.LayerCleanup in 0.002 seconds.
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 352, in helpers.rst
Failed example:
runner.setup_layer(options, MY_INTEGRATION_TESTING, setupLayers)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[59]>", line 1, in <module>
runner.setup_layer(options, MY_INTEGRATION_TESTING, setupLayers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 792, in setup_layer
layer.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 314, in setUp
self.setUpZCML()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 655, in setUpZCML
""", context=context)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/xmlconfig.py", line 675, in string
context.execute_actions()
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 800, in execute_actions
None, sys.exc_info()[2])
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/_compat.py", line 30, in reraise
raise value.with_traceback(tb)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 791, in execute_actions
callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/zope.security-4.3.1-py3.7-linux-x86_64.egg/zope/security/permission.py", line 51, in checkPermission
raise ValueError("Undefined permission ID", permission_id)
zope.configuration.config.ConfigurationExecutionError: File "<string>", line 6.4-6.68
Could not read source.
ValueError: ('Undefined permission ID', 'zope2.Public')
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 361, in helpers.rst
Failed example:
queryUtility(Interface, name="dummy1")
Expected:
<object object at ...>
Got nothing
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 364, in helpers.rst
Failed example:
with helpers.ploneSite() as portal:
print(portal.title)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[61]>", line 1, in <module>
with helpers.ploneSite() as portal:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.py", line 260, in ploneSite
portal = app[PLONE_SITE_ID]
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/OFS/ObjectManager.py", line 837, in __getitem__
raise KeyError(key)
KeyError: 'plone'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 368, in helpers.rst
Failed example:
someGlobal['test']
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[62]>", line 1, in <module>
someGlobal['test']
KeyError: 'test'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 377, in helpers.rst
Failed example:
'plone.app.testing:dummy1' in _profile_registry.listProfiles()
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 381, in helpers.rst
Failed example:
'import1' in _import_step_registry.listSteps()
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 385, in helpers.rst
Failed example:
'export1' in _export_step_registry.listSteps()
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 389, in helpers.rst
Failed example:
'dummy_plugin1' in PluggableAuthService.MultiPlugins
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 393, in helpers.rst
Failed example:
len(_upgrade_registry.getUpgradeStepsForProfile('plone.app.testing:default'))
Expected:
1
Got:
0
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 400, in helpers.rst
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/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 406, in helpers.rst
Failed example:
with helpers.ploneSite() as portal:
print(portal.title)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest helpers.rst[79]>", line 1, in <module>
with helpers.ploneSite() as portal:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.py", line 260, in ploneSite
portal = app[PLONE_SITE_ID]
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/OFS/ObjectManager.py", line 837, in __getitem__
raise KeyError(key)
KeyError: 'plone'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 413, in helpers.rst
Failed example:
len(_profile_registry.listProfiles()) == numProfiles - 1
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 418, in helpers.rst
Failed example:
len(_import_step_registry.listSteps()) == numImportSteps - 1
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 423, in helpers.rst
Failed example:
len(_export_step_registry.listSteps()) == numExportSteps - 1
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 428, in helpers.rst
Failed example:
len(_upgrade_registry.keys()) == numUpgrades - 1
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.rst", line 439, in helpers.rst
Failed example:
runner.tear_down_unneeded(options, [], setupLayers)
Expected:
Tear down plone.app.testing.layers.PloneFixture in ... seconds.
Tear down plone.testing.zope.Startup in ... seconds.
Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
Tear down plone.testing.zca.LayerCleanup in 0.001 seconds.
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/srv/python3.7/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: plone.app.testing.layers.rst
Error Message:
Failed doctest test for layers.rst
Stack Trace:
Failed doctest test for layers.rst
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 0
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 47, in layers.rst
Failed example:
runner.setup_layer(options, layers.PLONE_FIXTURE, setupLayers) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[4]>", line 1, in <module>
runner.setup_layer(options, layers.PLONE_FIXTURE, setupLayers) # doctest: +ELLIPSIS
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 792, in setup_layer
layer.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.py", line 116, in setUp
self.setUpDefaultContent(app)
File "/srv/python3.7/lib/python3.7/contextlib.py", line 130, in __exit__
self.gen.throw(type, value, traceback)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 275, in zopeApp
raise inner_exception
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 257, in zopeApp
transaction.abort()
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 255, in abort
return self.manager.abort()
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 136, in abort
return self.get().abort()
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_transaction.py", line 529, in abort
reraise(t, v, tb)
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_compat.py", line 50, in reraise
raise value
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_transaction.py", line 515, in abort
rm.abort(self)
File "/home/jenkins/.buildout/eggs/cp37m/ZODB-5.5.1-py3.7.egg/ZODB/Connection.py", line 417, in abort
self._abort()
File "/home/jenkins/.buildout/eggs/cp37m/ZODB-5.5.1-py3.7.egg/ZODB/Connection.py", line 430, in _abort
assert oid is not None
AssertionError
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 62, in layers.rst
Failed example:
with zope.zopeApp() as app:
print(app['acl_users'].getUser(SITE_OWNER_NAME))
print(sorted(app['acl_users'].getUser(SITE_OWNER_NAME).getRolesInContext(app)))
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[7]>", line 1, in <module>
with zope.zopeApp() as app:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 242, in zopeApp
app = addRequestContainer(Zope2.app(connection), environ=environ)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 211, in addRequestContainer
req = makeTestRequest(environ)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 199, in makeTestRequest
setDefaultSkin(req)
File "/home/jenkins/.buildout/eggs/cp37m/zope.publisher-5.1.0-py3.7.egg/zope/publisher/skinnable.py", line 42, in setDefaultSkin
adapters = zope.component.getSiteManager().adapters
AttributeError: 'RequestContainer' object has no attribute 'adapters'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 71, in layers.rst
Failed example:
with helpers.ploneSite() as portal:
print(portal['portal_registry']['plone.app.theming.interfaces.IThemeSettings.rules'])
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[9]>", line 1, in <module>
with helpers.ploneSite() as portal:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.py", line 259, in ploneSite
with getattr(flavour, 'zopeApp')(db, connection, environ) as app:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 242, in zopeApp
app = addRequestContainer(Zope2.app(connection), environ=environ)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 211, in addRequestContainer
req = makeTestRequest(environ)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 199, in makeTestRequest
setDefaultSkin(req)
File "/home/jenkins/.buildout/eggs/cp37m/zope.publisher-5.1.0-py3.7.egg/zope/publisher/skinnable.py", line 42, in setDefaultSkin
adapters = zope.component.getSiteManager().adapters
AttributeError: 'RequestContainer' object has no attribute 'adapters'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 85, in layers.rst
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(sorted(portal['acl_users'].getUser(TEST_USER_NAME).getRolesInContext(portal)))
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[11]>", line 1, in <module>
with helpers.ploneSite() as portal:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.py", line 259, in ploneSite
with getattr(flavour, 'zopeApp')(db, connection, environ) as app:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 242, in zopeApp
app = addRequestContainer(Zope2.app(connection), environ=environ)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 211, in addRequestContainer
req = makeTestRequest(environ)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 199, in makeTestRequest
setDefaultSkin(req)
File "/home/jenkins/.buildout/eggs/cp37m/zope.publisher-5.1.0-py3.7.egg/zope/publisher/skinnable.py", line 42, in setDefaultSkin
adapters = zope.component.getSiteManager().adapters
AttributeError: 'RequestContainer' object has no attribute 'adapters'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 95, in layers.rst
Failed example:
with helpers.ploneSite() as portal:
print(portal['portal_workflow'].getDefaultChain())
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[12]>", line 1, in <module>
with helpers.ploneSite() as portal:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.py", line 259, in ploneSite
with getattr(flavour, 'zopeApp')(db, connection, environ) as app:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 242, in zopeApp
app = addRequestContainer(Zope2.app(connection), environ=environ)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 211, in addRequestContainer
req = makeTestRequest(environ)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 199, in makeTestRequest
setDefaultSkin(req)
File "/home/jenkins/.buildout/eggs/cp37m/zope.publisher-5.1.0-py3.7.egg/zope/publisher/skinnable.py", line 42, in setDefaultSkin
adapters = zope.component.getSiteManager().adapters
AttributeError: 'RequestContainer' object has no attribute 'adapters'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 101, in layers.rst
Failed example:
runner.tear_down_unneeded(options, [], setupLayers)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[13]>", line 1, in <module>
runner.tear_down_unneeded(options, [], setupLayers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 764, in tear_down_unneeded
l.tearDown()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 322, in tearDown
self.tearDownDatabase()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 522, in tearDownDatabase
self['zodbDB'].close()
File "/home/jenkins/.buildout/eggs/cp37m/ZODB-5.5.1-py3.7.egg/ZODB/DB.py", line 651, in close
@self._connectionMap
File "/home/jenkins/.buildout/eggs/cp37m/ZODB-5.5.1-py3.7.egg/ZODB/DB.py", line 518, in _connectionMap
self.pool.map(f)
File "/home/jenkins/.buildout/eggs/cp37m/ZODB-5.5.1-py3.7.egg/ZODB/DB.py", line 213, in map
self.all.map(f)
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/weakset.py", line 61, in map
f(elt)
File "/home/jenkins/.buildout/eggs/cp37m/ZODB-5.5.1-py3.7.egg/ZODB/DB.py", line 659, in _
conn._release_resources()
File "/home/jenkins/.buildout/eggs/cp37m/ZODB-5.5.1-py3.7.egg/ZODB/Connection.py", line 951, in _release_resources
c.close(False)
File "/home/jenkins/.buildout/eggs/cp37m/ZODB-5.5.1-py3.7.egg/ZODB/Connection.py", line 283, in close
raise ConnectionStateError("Cannot close a connection joined to "
ZODB.POSException.ConnectionStateError: Cannot close a connection joined to a transaction
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 122, in layers.rst
Failed example:
runner.setup_layer(options, layers.PLONE_INTEGRATION_TESTING, setupLayers)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[18]>", line 1, in <module>
runner.setup_layer(options, layers.PLONE_INTEGRATION_TESTING, setupLayers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 792, in setup_layer
layer.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 314, in setUp
self.setUpZCML()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 655, in setUpZCML
""", context=context)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/xmlconfig.py", line 675, in string
context.execute_actions()
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 800, in execute_actions
None, sys.exc_info()[2])
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/_compat.py", line 30, in reraise
raise value.with_traceback(tb)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 791, in execute_actions
callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/zope.security-4.3.1-py3.7-linux-x86_64.egg/zope/security/permission.py", line 51, in checkPermission
raise ValueError("Undefined permission ID", permission_id)
zope.configuration.config.ConfigurationExecutionError: File "<string>", line 6.4-6.68
Could not read source.
ValueError: ('Undefined permission ID', 'zope2.Public')
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 133, in layers.rst
Failed example:
layers.PLONE_INTEGRATION_TESTING.testSetUp()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[22]>", line 1, in <module>
layers.PLONE_INTEGRATION_TESTING.testSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.py", line 322, in testSetUp
super(PloneTestLifecycle, self).testSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 743, in testSetUp
transaction.begin()
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 243, in begin
return self.manager.begin()
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 77, in begin
_new_transaction(txn, self._synchs)
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 51, in _new_transaction
synchs.map(lambda s: s.newTransaction(txn))
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/weakset.py", line 61, in map
f(elt)
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 51, in <lambda>
synchs.map(lambda s: s.newTransaction(txn))
File "/home/jenkins/.buildout/eggs/cp37m/ZODB-5.5.1-py3.7.egg/ZODB/Connection.py", line 736, in newTransaction
self._storage.sync(sync)
AttributeError: 'NoneType' object has no attribute 'sync'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 137, in layers.rst
Failed example:
layers.PLONE_INTEGRATION_TESTING['portal'] # would normally be self.layer['portal']
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[23]>", line 1, in <module>
layers.PLONE_INTEGRATION_TESTING['portal'] # would normally be self.layer['portal']
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/layer.py", line 30, in __getitem__
raise KeyError(key)
KeyError: 'portal'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 143, in layers.rst
Failed example:
getSiteManager()
Expected:
<PersistentComponents /plone>
Got:
<BaseGlobalComponents test-stack-2>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 149, in layers.rst
Failed example:
getSecurityManager().getUser()
Expected:
<PloneUser 'test-user'>
Got:
<SpecialUser 'Anonymous User'>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 156, in layers.rst
Failed example:
portal = layers.PLONE_INTEGRATION_TESTING['portal'] # would normally be self.layer['portal']
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[29]>", line 1, in <module>
portal = layers.PLONE_INTEGRATION_TESTING['portal'] # would normally be self.layer['portal']
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/layer.py", line 30, in __getitem__
raise KeyError(key)
KeyError: 'portal'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 157, in layers.rst
Failed example:
helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[30]>", line 1, in <module>
helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 159, in layers.rst
Failed example:
portal._setObject('d1', SimpleItem('d1'))
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[32]>", line 1, in <module>
portal._setObject('d1', SimpleItem('d1'))
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 161, in layers.rst
Failed example:
'd1' in portal.objectIds()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[33]>", line 1, in <module>
'd1' in portal.objectIds()
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 166, in layers.rst
Failed example:
layers.PLONE_INTEGRATION_TESTING.testTearDown()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[34]>", line 1, in <module>
layers.PLONE_INTEGRATION_TESTING.testTearDown()
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.py", line 328, in testTearDown
self.tearDownEnvironment(self['portal'])
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/layer.py", line 30, in __getitem__
raise KeyError(key)
KeyError: 'portal'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 173, in layers.rst
Failed example:
with helpers.ploneSite() as portal:
'd1' in portal.objectIds()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[38]>", line 1, in <module>
with helpers.ploneSite() as portal:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.py", line 260, in ploneSite
portal = app[PLONE_SITE_ID]
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/OFS/ObjectManager.py", line 837, in __getitem__
raise KeyError(key)
KeyError: 'plone'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 189, in layers.rst
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.zope.Startup in ... seconds.
Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
Tear down plone.testing.zca.LayerCleanup in 0.001 seconds.
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 211, in layers.rst
Failed example:
runner.setup_layer(options, layers.PLONE_FUNCTIONAL_TESTING, setupLayers)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[46]>", line 1, in <module>
runner.setup_layer(options, layers.PLONE_FUNCTIONAL_TESTING, setupLayers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 792, in setup_layer
layer.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 314, in setUp
self.setUpZCML()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 655, in setUpZCML
""", context=context)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/xmlconfig.py", line 675, in string
context.execute_actions()
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 800, in execute_actions
None, sys.exc_info()[2])
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/_compat.py", line 30, in reraise
raise value.with_traceback(tb)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 791, in execute_actions
callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/zope.security-4.3.1-py3.7-linux-x86_64.egg/zope/security/permission.py", line 51, in checkPermission
raise ValueError("Undefined permission ID", permission_id)
zope.configuration.config.ConfigurationExecutionError: File "<string>", line 6.4-6.68
Could not read source.
ValueError: ('Undefined permission ID', 'zope2.Public')
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 222, in layers.rst
Failed example:
layers.PLONE_FUNCTIONAL_TESTING.testSetUp()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[50]>", line 1, in <module>
layers.PLONE_FUNCTIONAL_TESTING.testSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.py", line 322, in testSetUp
super(PloneTestLifecycle, self).testSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 845, in testSetUp
transaction.begin()
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 243, in begin
return self.manager.begin()
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 77, in begin
_new_transaction(txn, self._synchs)
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 51, in _new_transaction
synchs.map(lambda s: s.newTransaction(txn))
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/weakset.py", line 61, in map
f(elt)
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 51, in <lambda>
synchs.map(lambda s: s.newTransaction(txn))
File "/home/jenkins/.buildout/eggs/cp37m/ZODB-5.5.1-py3.7.egg/ZODB/Connection.py", line 736, in newTransaction
self._storage.sync(sync)
AttributeError: 'NoneType' object has no attribute 'sync'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 224, in layers.rst
Failed example:
layers.PLONE_FUNCTIONAL_TESTING['portal'] # would normally be self.layer['portal']
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[51]>", line 1, in <module>
layers.PLONE_FUNCTIONAL_TESTING['portal'] # would normally be self.layer['portal']
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/layer.py", line 30, in __getitem__
raise KeyError(key)
KeyError: 'portal'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 228, in layers.rst
Failed example:
getSiteManager()
Expected:
<PersistentComponents /plone>
Got:
<BaseGlobalComponents test-stack-3>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 232, in layers.rst
Failed example:
getSecurityManager().getUser()
Expected:
<PloneUser 'test-user'>
Got:
<SpecialUser 'Anonymous User'>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 238, in layers.rst
Failed example:
portal = layers.PLONE_FUNCTIONAL_TESTING['portal'] # would normally be self.layer['portal']
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[56]>", line 1, in <module>
portal = layers.PLONE_FUNCTIONAL_TESTING['portal'] # would normally be self.layer['portal']
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/layer.py", line 30, in __getitem__
raise KeyError(key)
KeyError: 'portal'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 239, in layers.rst
Failed example:
helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[57]>", line 1, in <module>
helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 240, in layers.rst
Failed example:
portal._setObject('d1', SimpleItem('d1'))
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[58]>", line 1, in <module>
portal._setObject('d1', SimpleItem('d1'))
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 243, in layers.rst
Failed example:
'd1' in portal.objectIds()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[60]>", line 1, in <module>
'd1' in portal.objectIds()
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 248, in layers.rst
Failed example:
layers.PLONE_FUNCTIONAL_TESTING.testTearDown()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[61]>", line 1, in <module>
layers.PLONE_FUNCTIONAL_TESTING.testTearDown()
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.py", line 328, in testTearDown
self.tearDownEnvironment(self['portal'])
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/layer.py", line 30, in __getitem__
raise KeyError(key)
KeyError: 'portal'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 255, in layers.rst
Failed example:
with helpers.ploneSite() as portal:
'd1' in portal.objectIds()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[65]>", line 1, in <module>
with helpers.ploneSite() as portal:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.py", line 260, in ploneSite
portal = app[PLONE_SITE_ID]
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/OFS/ObjectManager.py", line 837, in __getitem__
raise KeyError(key)
KeyError: 'plone'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 264, in layers.rst
Failed example:
getSiteManager()
Expected:
<BaseGlobalComponents test-stack-2>
Got:
<BaseGlobalComponents test-stack-3>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 269, in layers.rst
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.zope.Startup in ... seconds.
Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
Tear down plone.testing.zca.LayerCleanup in 0.001 seconds.
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 291, in layers.rst
Failed example:
runner.setup_layer(options, layers.PLONE_WSGISERVER, setupLayers)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[73]>", line 1, in <module>
runner.setup_layer(options, layers.PLONE_WSGISERVER, setupLayers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 792, in setup_layer
layer.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 314, in setUp
self.setUpZCML()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 655, in setUpZCML
""", context=context)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/xmlconfig.py", line 675, in string
context.execute_actions()
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 800, in execute_actions
None, sys.exc_info()[2])
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/_compat.py", line 30, in reraise
raise value.with_traceback(tb)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 791, in execute_actions
callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/zope.security-4.3.1-py3.7-linux-x86_64.egg/zope/security/permission.py", line 51, in checkPermission
raise ValueError("Undefined permission ID", permission_id)
zope.configuration.config.ConfigurationExecutionError: File "<string>", line 6.4-6.68
Could not read source.
ValueError: ('Undefined permission ID', 'zope2.Public')
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 302, in layers.rst
Failed example:
host
Expected:
'localhost'
Got:
'nohost'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 317, in layers.rst
Failed example:
layers.PLONE_ZSERVER.testSetUp()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[83]>", line 1, in <module>
layers.PLONE_ZSERVER.testSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.py", line 322, in testSetUp
super(PloneTestLifecycle, self).testSetUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 845, in testSetUp
transaction.begin()
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 243, in begin
return self.manager.begin()
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 77, in begin
_new_transaction(txn, self._synchs)
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 51, in _new_transaction
synchs.map(lambda s: s.newTransaction(txn))
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/weakset.py", line 61, in map
f(elt)
File "/home/jenkins/.buildout/eggs/cp37m/transaction-2.4.0-py3.7.egg/transaction/_manager.py", line 51, in <lambda>
synchs.map(lambda s: s.newTransaction(txn))
File "/home/jenkins/.buildout/eggs/cp37m/ZODB-5.5.1-py3.7.egg/ZODB/Connection.py", line 736, in newTransaction
self._storage.sync(sync)
AttributeError: 'NoneType' object has no attribute 'sync'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 325, in layers.rst
Failed example:
portal = layers.PLONE_ZSERVER['portal'] # would normally be self.layer['portal']
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[84]>", line 1, in <module>
portal = layers.PLONE_ZSERVER['portal'] # would normally be self.layer['portal']
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/layer.py", line 30, in __getitem__
raise KeyError(key)
KeyError: 'portal'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 326, in layers.rst
Failed example:
helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[85]>", line 1, in <module>
helpers.setRoles(portal, TEST_USER_ID, ['Manager'])
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 327, in layers.rst
Failed example:
portal.title = 'Fancy Portal'
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[86]>", line 1, in <module>
portal.title = 'Fancy Portal'
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 336, in layers.rst
Failed example:
portal_url = portal.absolute_url()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[88]>", line 1, in <module>
portal_url = portal.absolute_url()
NameError: name 'portal' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 337, in layers.rst
Failed example:
portal_url.split(':')[:-1]
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[89]>", line 1, in <module>
portal_url.split(':')[:-1]
NameError: name 'portal_url' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 341, in layers.rst
Failed example:
conn = urlopen(portal_url + '/Title', timeout=10)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[91]>", line 1, in <module>
conn = urlopen(portal_url + '/Title', timeout=10)
NameError: name 'portal_url' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 342, in layers.rst
Failed example:
responseBody = conn.read()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[92]>", line 1, in <module>
responseBody = conn.read()
NameError: name 'conn' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 343, in layers.rst
Failed example:
b"Fancy Portal" in responseBody
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[93]>", line 1, in <module>
b"Fancy Portal" in responseBody
NameError: name 'responseBody' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 345, in layers.rst
Failed example:
conn.close()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[94]>", line 1, in <module>
conn.close()
NameError: name 'conn' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 349, in layers.rst
Failed example:
layers.PLONE_ZSERVER.testTearDown()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[95]>", line 1, in <module>
layers.PLONE_ZSERVER.testTearDown()
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.py", line 328, in testTearDown
self.tearDownEnvironment(self['portal'])
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/layer.py", line 30, in __getitem__
raise KeyError(key)
KeyError: 'portal'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 364, in layers.rst
Failed example:
with helpers.ploneSite() as portal:
print('folder1' in portal.objectIds())
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[103]>", line 1, in <module>
with helpers.ploneSite() as portal:
File "/srv/python3.7/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/helpers.py", line 260, in ploneSite
portal = app[PLONE_SITE_ID]
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/OFS/ObjectManager.py", line 837, in __getitem__
raise KeyError(key)
KeyError: 'plone'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 370, in layers.rst
Failed example:
runner.tear_down_unneeded(options, [], setupLayers)
Expected:
Tear down plone.app.testing.layers.Plone:WSGIServer in ... seconds.
Tear down plone.testing.zope.WSGIServer in ... seconds.
Tear down plone.app.testing.layers.PloneFixture in ... seconds.
Tear down plone.testing.zope.Startup in ... seconds.
Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
Tear down plone.testing.zca.LayerCleanup in 0.002 seconds.
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.testing-6.1.3-py3.7.egg/plone/app/testing/layers.rst", line 378, in layers.rst
Failed example:
requests.get(portal_url + '/folder1') # doctest: +IGNORE_EXCEPTION_DETAIL
Expected:
Traceback (most recent call last):
...
requests.exceptions.ConnectionError: ...
Got:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest layers.rst[106]>", line 1, in <module>
requests.get(portal_url + '/folder1') # doctest: +IGNORE_EXCEPTION_DETAIL
NameError: name 'portal_url' is not defined
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/srv/python3.7/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: plone.schemaeditor.tests.choice.rst
Error Message:
Failed doctest test for choice.rst
Stack Trace:
Failed doctest test for choice.rst
File "/home/jenkins/.buildout/eggs/cp37m/plone.schemaeditor-2.1.0-py3.7.egg/plone/schemaeditor/tests/choice.rst", line 0
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.schemaeditor-2.1.0-py3.7.egg/plone/schemaeditor/tests/choice.rst", line 26, in choice.rst
Failed example:
browser.open(portal_url + '/@@schemaeditor')
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest choice.rst[7]>", line 1, in <module>
browser.open(portal_url + '/@@schemaeditor')
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 252, in open
self._processRequest(url, make_request)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 276, in _processRequest
resp = make_request(reqargs)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 250, in make_request
return self.testapp.get(url, **args)
File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.33-py3.7.egg/webtest/app.py", line 335, in get
expect_errors=expect_errors)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 95, in do_request
expect_errors)
File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.33-py3.7.egg/webtest/app.py", line 628, in do_request
res = req.get_response(app, catch_exc_info=True)
File "/home/jenkins/.buildout/eggs/cp37m/WebOb-1.8.5-py3.7.egg/webob/request.py", line 1310, in send
application, catch_exc_info=True)
File "/home/jenkins/.buildout/eggs/cp37m/WebOb-1.8.5-py3.7.egg/webob/request.py", line 1278, in call_application
app_iter = application(self.environ, start_response)
File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.33-py3.7.egg/webtest/lint.py", line 201, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/_z2_testbrowser.py", line 38, in wrapped_func
return func(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/_z2_testbrowser.py", line 65, in __call__
wsgi_result = publish(environ, start_response)
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/WSGIPublisher.py", line 337, in publish_module
response = _publish(request, new_mod_info)
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/WSGIPublisher.py", line 243, in publish
obj = request.traverse(path, validated_hook=validate_user)
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/BaseRequest.py", line 649, in traverse
response.unauthorized()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/HTTPResponse.py", line 1027, in unauthorized
raise exc
zExceptions.unauthorized.Unauthorized: You are not authorized to access this resource.
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/srv/python3.7/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: plone.schemaeditor.tests.editing.rst
Error Message:
Failed doctest test for editing.rst
Stack Trace:
Failed doctest test for editing.rst
File "/home/jenkins/.buildout/eggs/cp37m/plone.schemaeditor-2.1.0-py3.7.egg/plone/schemaeditor/tests/editing.rst", line 0
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.schemaeditor-2.1.0-py3.7.egg/plone/schemaeditor/tests/editing.rst", line 33, in editing.rst
Failed example:
browser.open(portal_url + '/@@schemaeditor')
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest editing.rst[8]>", line 1, in <module>
browser.open(portal_url + '/@@schemaeditor')
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 252, in open
self._processRequest(url, make_request)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 276, in _processRequest
resp = make_request(reqargs)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 250, in make_request
return self.testapp.get(url, **args)
File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.33-py3.7.egg/webtest/app.py", line 335, in get
expect_errors=expect_errors)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 95, in do_request
expect_errors)
File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.33-py3.7.egg/webtest/app.py", line 628, in do_request
res = req.get_response(app, catch_exc_info=True)
File "/home/jenkins/.buildout/eggs/cp37m/WebOb-1.8.5-py3.7.egg/webob/request.py", line 1310, in send
application, catch_exc_info=True)
File "/home/jenkins/.buildout/eggs/cp37m/WebOb-1.8.5-py3.7.egg/webob/request.py", line 1278, in call_application
app_iter = application(self.environ, start_response)
File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.33-py3.7.egg/webtest/lint.py", line 201, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/_z2_testbrowser.py", line 38, in wrapped_func
return func(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/_z2_testbrowser.py", line 65, in __call__
wsgi_result = publish(environ, start_response)
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/WSGIPublisher.py", line 337, in publish_module
response = _publish(request, new_mod_info)
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/WSGIPublisher.py", line 243, in publish
obj = request.traverse(path, validated_hook=validate_user)
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/BaseRequest.py", line 649, in traverse
response.unauthorized()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/HTTPResponse.py", line 1027, in unauthorized
raise exc
zExceptions.unauthorized.Unauthorized: You are not authorized to access this resource.
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/srv/python3.7/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: plone.schemaeditor.tests.extending.rst
Error Message:
Failed doctest test for extending.rst
Stack Trace:
Failed doctest test for extending.rst
File "/home/jenkins/.buildout/eggs/cp37m/plone.schemaeditor-2.1.0-py3.7.egg/plone/schemaeditor/tests/extending.rst", line 0
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.schemaeditor-2.1.0-py3.7.egg/plone/schemaeditor/tests/extending.rst", line 67, in extending.rst
Failed example:
browser.open('http://nohost/@@schemaeditor/field1')
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest extending.rst[17]>", line 1, in <module>
browser.open('http://nohost/@@schemaeditor/field1')
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 252, in open
self._processRequest(url, make_request)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 276, in _processRequest
resp = make_request(reqargs)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 250, in make_request
return self.testapp.get(url, **args)
File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.33-py3.7.egg/webtest/app.py", line 335, in get
expect_errors=expect_errors)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 95, in do_request
expect_errors)
File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.33-py3.7.egg/webtest/app.py", line 628, in do_request
res = req.get_response(app, catch_exc_info=True)
File "/home/jenkins/.buildout/eggs/cp37m/WebOb-1.8.5-py3.7.egg/webob/request.py", line 1310, in send
application, catch_exc_info=True)
File "/home/jenkins/.buildout/eggs/cp37m/WebOb-1.8.5-py3.7.egg/webob/request.py", line 1278, in call_application
app_iter = application(self.environ, start_response)
File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.33-py3.7.egg/webtest/lint.py", line 201, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/_z2_testbrowser.py", line 38, in wrapped_func
return func(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/_z2_testbrowser.py", line 65, in __call__
wsgi_result = publish(environ, start_response)
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/WSGIPublisher.py", line 337, in publish_module
response = _publish(request, new_mod_info)
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/WSGIPublisher.py", line 243, in publish
obj = request.traverse(path, validated_hook=validate_user)
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/BaseRequest.py", line 649, in traverse
response.unauthorized()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/HTTPResponse.py", line 1027, in unauthorized
raise exc
zExceptions.unauthorized.Unauthorized: You are not authorized to access this resource.
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/srv/python3.7/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: plone.schemaeditor.tests.minmax.rst
Error Message:
Failed doctest test for minmax.rst
Stack Trace:
Failed doctest test for minmax.rst
File "/home/jenkins/.buildout/eggs/cp37m/plone.schemaeditor-2.1.0-py3.7.egg/plone/schemaeditor/tests/minmax.rst", line 0
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.schemaeditor-2.1.0-py3.7.egg/plone/schemaeditor/tests/minmax.rst", line 25, in minmax.rst
Failed example:
browser.open(portal_url + '/@@schemaeditor')
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest minmax.rst[7]>", line 1, in <module>
browser.open(portal_url + '/@@schemaeditor')
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 252, in open
self._processRequest(url, make_request)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 276, in _processRequest
resp = make_request(reqargs)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 250, in make_request
return self.testapp.get(url, **args)
File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.33-py3.7.egg/webtest/app.py", line 335, in get
expect_errors=expect_errors)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.3.3-py3.7.egg/zope/testbrowser/browser.py", line 95, in do_request
expect_errors)
File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.33-py3.7.egg/webtest/app.py", line 628, in do_request
res = req.get_response(app, catch_exc_info=True)
File "/home/jenkins/.buildout/eggs/cp37m/WebOb-1.8.5-py3.7.egg/webob/request.py", line 1310, in send
application, catch_exc_info=True)
File "/home/jenkins/.buildout/eggs/cp37m/WebOb-1.8.5-py3.7.egg/webob/request.py", line 1278, in call_application
app_iter = application(self.environ, start_response)
File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.33-py3.7.egg/webtest/lint.py", line 201, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/_z2_testbrowser.py", line 38, in wrapped_func
return func(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/_z2_testbrowser.py", line 65, in __call__
wsgi_result = publish(environ, start_response)
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/WSGIPublisher.py", line 337, in publish_module
response = _publish(request, new_mod_info)
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/WSGIPublisher.py", line 243, in publish
obj = request.traverse(path, validated_hook=validate_user)
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/BaseRequest.py", line 649, in traverse
response.unauthorized()
File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.1.2-py3.7.egg/ZPublisher/HTTPResponse.py", line 1027, in unauthorized
raise exc
zExceptions.unauthorized.Unauthorized: You are not authorized to access this resource.
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/srv/python3.7/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: plone.testing.zope.rst
Error Message:
Failed doctest test for zope.rst
Stack Trace:
Failed doctest test for zope.rst
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 0
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 46, in zope.rst
Failed example:
runner.setup_layer(options, zope.STARTUP, setupLayers)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest zope.rst[10]>", line 1, in <module>
runner.setup_layer(options, zope.STARTUP, setupLayers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 792, in setup_layer
layer.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 314, in setUp
self.setUpZCML()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 655, in setUpZCML
""", context=context)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/xmlconfig.py", line 675, in string
context.execute_actions()
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 800, in execute_actions
None, sys.exc_info()[2])
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/_compat.py", line 30, in reraise
raise value.with_traceback(tb)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 791, in execute_actions
callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/zope.security-4.3.1-py3.7-linux-x86_64.egg/zope/security/permission.py", line 51, in checkPermission
raise ValueError("Undefined permission ID", permission_id)
zope.configuration.config.ConfigurationExecutionError: File "<string>", line 6.4-6.68
Could not read source.
ValueError: ('Undefined permission ID', 'zope2.Public')
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 55, in zope.rst
Failed example:
zope.STARTUP['zodbDB'].storage
Expected:
Startup
Got:
FunctionalTest
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 132, in zope.rst
Failed example:
len(list(getSiteManager().registeredAdapters())) > 1 # in fact, > a lot
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 137, in zope.rst
Failed example:
getVocabularyRegistry()
Expected:
<....Zope2VocabularyRegistry object at ...>
Got:
<zope.schema.vocabulary.VocabularyRegistry object at 0x7faa312e9290>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 155, in zope.rst
Failed example:
runner.tear_down_unneeded(options, [], setupLayers)
Expected:
Tear down plone.testing.zope.Startup in ... seconds.
Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
Tear down plone.testing.zca.LayerCleanup in 0.001 seconds.
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 160, in zope.rst
Failed example:
Zope2._began_startup
Expected:
0
Got:
1
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 162, in zope.rst
Failed example:
Zope2.DB is None
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 164, in zope.rst
Failed example:
Zope2.bobo_application is None
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 198, in zope.rst
Failed example:
runner.setup_layer(options, zope.INTEGRATION_TESTING, setupLayers)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest zope.rst[38]>", line 1, in <module>
runner.setup_layer(options, zope.INTEGRATION_TESTING, setupLayers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 792, in setup_layer
layer.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 314, in setUp
self.setUpZCML()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 655, in setUpZCML
""", context=context)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/xmlconfig.py", line 675, in string
context.execute_actions()
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 800, in execute_actions
None, sys.exc_info()[2])
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/_compat.py", line 30, in reraise
raise value.with_traceback(tb)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 791, in execute_actions
callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/zope.security-4.3.1-py3.7-linux-x86_64.egg/zope/security/permission.py", line 51, in checkPermission
raise ValueError("Undefined permission ID", permission_id)
zope.configuration.config.ConfigurationExecutionError: File "<string>", line 6.4-6.68
Could not read source.
ValueError: ('Undefined permission ID', 'zope2.Public')
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 269, in zope.rst
Failed example:
runner.tear_down_unneeded(options, [], setupLayers)
Expected:
Tear down plone.testing.zope.IntegrationTesting in ... seconds.
Tear down plone.testing.zope.Startup in ... seconds.
Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
Tear down plone.testing.zca.LayerCleanup in 0.001 seconds.
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 298, in zope.rst
Failed example:
runner.setup_layer(options, zope.FUNCTIONAL_TESTING, setupLayers)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest zope.rst[65]>", line 1, in <module>
runner.setup_layer(options, zope.FUNCTIONAL_TESTING, setupLayers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 792, in setup_layer
layer.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 314, in setUp
self.setUpZCML()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 655, in setUpZCML
""", context=context)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/xmlconfig.py", line 675, in string
context.execute_actions()
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 800, in execute_actions
None, sys.exc_info()[2])
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/_compat.py", line 30, in reraise
raise value.with_traceback(tb)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 791, in execute_actions
callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/zope.security-4.3.1-py3.7-linux-x86_64.egg/zope/security/permission.py", line 51, in checkPermission
raise ValueError("Undefined permission ID", permission_id)
zope.configuration.config.ConfigurationExecutionError: File "<string>", line 6.4-6.68
Could not read source.
ValueError: ('Undefined permission ID', 'zope2.Public')
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 339, in zope.rst
Failed example:
runner.tear_down_unneeded(options, [], setupLayers)
Expected:
Tear down plone.testing.zope.FunctionalTesting in ... seconds.
Tear down plone.testing.zope.Startup in ... seconds.
Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
Tear down plone.testing.zca.LayerCleanup in 0.001 seconds.
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 354, in zope.rst
Failed example:
runner.setup_layer(options, zope.FUNCTIONAL_TESTING, setupLayers)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest zope.rst[81]>", line 1, in <module>
runner.setup_layer(options, zope.FUNCTIONAL_TESTING, setupLayers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 792, in setup_layer
layer.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 314, in setUp
self.setUpZCML()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 655, in setUpZCML
""", context=context)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/xmlconfig.py", line 675, in string
context.execute_actions()
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 800, in execute_actions
None, sys.exc_info()[2])
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/_compat.py", line 30, in reraise
raise value.with_traceback(tb)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 791, in execute_actions
callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/zope.security-4.3.1-py3.7-linux-x86_64.egg/zope/security/permission.py", line 51, in checkPermission
raise ValueError("Undefined permission ID", permission_id)
zope.configuration.config.ConfigurationExecutionError: File "<string>", line 6.4-6.68
Could not read source.
ValueError: ('Undefined permission ID', 'zope2.Public')
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 430, in zope.rst
Failed example:
runner.tear_down_unneeded(options, [], setupLayers)
Expected:
Tear down plone.testing.zope.FunctionalTesting in ... seconds.
Tear down plone.testing.zope.Startup in ... seconds.
Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
Tear down plone.testing.zca.LayerCleanup in 0.001 seconds.
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 458, in zope.rst
Failed example:
runner.setup_layer(options, zope.WSGI_SERVER, setupLayers)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest zope.rst[114]>", line 1, in <module>
runner.setup_layer(options, zope.WSGI_SERVER, setupLayers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 787, in setup_layer
setup_layer(options, base, setup_layers)
File "/home/jenkins/.buildout/eggs/cp37m/zope.testrunner-5.0-py3.7.egg/zope/testrunner/runner.py", line 792, in setup_layer
layer.setUp()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 314, in setUp
self.setUpZCML()
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.py", line 655, in setUpZCML
""", context=context)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/xmlconfig.py", line 675, in string
context.execute_actions()
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 800, in execute_actions
None, sys.exc_info()[2])
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/_compat.py", line 30, in reraise
raise value.with_traceback(tb)
File "/home/jenkins/.buildout/eggs/cp37m/zope.configuration-4.3.1-py3.7.egg/zope/configuration/config.py", line 791, in execute_actions
callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp37m/zope.security-4.3.1-py3.7-linux-x86_64.egg/zope/security/permission.py", line 51, in checkPermission
raise ValueError("Undefined permission ID", permission_id)
zope.configuration.config.ConfigurationExecutionError: File "<string>", line 6.4-6.68
Could not read source.
ValueError: ('Undefined permission ID', 'zope2.Public')
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 467, in zope.rst
Failed example:
host
Expected:
'localhost'
Got:
'nohost'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 493, in zope.rst
Failed example:
app_url.split(':')[:-1]
Expected:
['http', '//localhost']
Got:
['http']
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 497, in zope.rst
Failed example:
conn = urlopen(app_url + '/dtml-doc-3', timeout=5)
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest zope.rst[127]>", line 1, in <module>
conn = urlopen(app_url + '/dtml-doc-3', timeout=5)
File "/srv/python3.7/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/srv/python3.7/lib/python3.7/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/srv/python3.7/lib/python3.7/urllib/request.py", line 543, in _open
'_open', req)
File "/srv/python3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/srv/python3.7/lib/python3.7/urllib/request.py", line 1345, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/srv/python3.7/lib/python3.7/urllib/request.py", line 1319, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 498, in zope.rst
Failed example:
b'This is the dtml-doc-3 Document.' in conn.read()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest zope.rst[128]>", line 1, in <module>
b'This is the dtml-doc-3 Document.' in conn.read()
AttributeError: 'Connection' object has no attribute 'read'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 520, in zope.rst
Failed example:
runner.tear_down_unneeded(options, [], setupLayers)
Expected:
Tear down plone.testing.zope.WSGIServer:Functional in ... seconds.
Tear down plone.testing.zope.WSGIServer in ... seconds.
Tear down plone.testing.zope.Startup in ... seconds.
Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
Tear down plone.testing.zca.LayerCleanup in 0.002 seconds.
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.testing-7.0.2-py3.7.egg/plone/testing/zope.rst", line 530, in zope.rst
Failed example:
try:
conn = urlopen(app_url + '/folder1', timeout=5)
except Exception as exc:
if 'Connection refused' not in str(exc) and 'Connection reset' not in str(exc):
raise exc
else:
print('urlopen should have raised exception')
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest zope.rst[137]>", line 5, in <module>
raise exc
File "<doctest zope.rst[137]>", line 2, in <module>
conn = urlopen(app_url + '/folder1', timeout=5)
File "/srv/python3.7/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/srv/python3.7/lib/python3.7/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/srv/python3.7/lib/python3.7/urllib/request.py", line 543, in _open
'_open', req)
File "/srv/python3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/srv/python3.7/lib/python3.7/urllib/request.py", line 1345, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/srv/python3.7/lib/python3.7/urllib/request.py", line 1319, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/srv/python3.7/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: plone.app.vocabularies.catalog.CatalogSource
Error Message:
Failed doctest test for plone.app.vocabularies.catalog.CatalogSource
Stack Trace:
Failed doctest test for plone.app.vocabularies.catalog.CatalogSource
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.vocabularies-4.1.1-py3.7.egg/plone/app/vocabularies/catalog.py", line 656, in CatalogSource
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.vocabularies-4.1.1-py3.7.egg/plone/app/vocabularies/catalog.py", line 690, in plone.app.vocabularies.catalog.CatalogSource
Failed example:
'asdf' in source
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest plone.app.vocabularies.catalog.CatalogSource[6]>", line 1, in <module>
'asdf' in source
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.vocabularies-4.1.1-py3.7.egg/plone/app/vocabularies/catalog.py", line 722, in __contains__
return bool(self.search_catalog(query))
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.vocabularies-4.1.1-py3.7.egg/plone/app/vocabularies/catalog.py", line 727, in search_catalog
catalog = getToolByName(getSite(), 'portal_catalog')
File "<string>", line 15, in check_getToolByName
File "/home/jenkins/workspace/plone-5.2-python-3.7/src/Products.CMFPlone/Products/CMFPlone/patches/gtbn.py", line 23, in rewrap_in_request_container
obj = aq_base(ob).__of__(obj)
AttributeError: 'DummyContext' object has no attribute '__of__'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.vocabularies-4.1.1-py3.7.egg/plone/app/vocabularies/catalog.py", line 693, in plone.app.vocabularies.catalog.CatalogSource
Failed example:
source.search_catalog({'foo': 'baz'})
Exception raised:
Traceback (most recent call last):
File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest plone.app.vocabularies.catalog.CatalogSource[7]>", line 1, in <module>
source.search_catalog({'foo': 'baz'})
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.vocabularies-4.1.1-py3.7.egg/plone/app/vocabularies/catalog.py", line 727, in search_catalog
catalog = getToolByName(getSite(), 'portal_catalog')
File "<string>", line 15, in check_getToolByName
File "/home/jenkins/workspace/plone-5.2-python-3.7/src/Products.CMFPlone/Products/CMFPlone/patches/gtbn.py", line 23, in rewrap_in_request_container
obj = aq_base(ob).__of__(obj)
AttributeError: 'DummyContext' object has no attribute '__of__'
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/srv/python3.7/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: plone.app.z3cform.tests.test_widgets.RelatedItemsWidgetTests.test_multiple_selection
Error Message:
can only join an iterable
Stack Trace:
can only join an iterable
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/.buildout/eggs/cp37m/mock-3.0.5-py3.7.egg/mock/mock.py", line 1330, in patched
return func(*args, **keywargs)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.z3cform-3.1.2-py3.7.egg/plone/app/z3cform/tests/test_widgets.py", line 1282, in test_multiple_selection
base_args = widget._base_args()
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.z3cform-3.1.2-py3.7.egg/plone/app/z3cform/widget.py", line 599, in _base_args
field_name,
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.widgets-3.0.2-py3.7.egg/plone/app/widgets/utils.py", line 159, in get_relateditems_options
options['rootPath'] = '/'.join(site.getPhysicalPath()) if site else '/'
FAILED: plone.app.z3cform.tests.test_widgets.RelatedItemsWidgetTests.test_single_selection
Error Message:
can only join an iterable
Stack Trace:
can only join an iterable
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
testMethod()
File "/home/jenkins/.buildout/eggs/cp37m/mock-3.0.5-py3.7.egg/mock/mock.py", line 1330, in patched
return func(*args, **keywargs)
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.z3cform-3.1.2-py3.7.egg/plone/app/z3cform/tests/test_widgets.py", line 1254, in test_single_selection
base_args = widget._base_args()
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.z3cform-3.1.2-py3.7.egg/plone/app/z3cform/widget.py", line 599, in _base_args
field_name,
File "/home/jenkins/.buildout/eggs/cp37m/plone.app.widgets-3.0.2-py3.7.egg/plone/app/widgets/utils.py", line 159, in get_relateditems_options
options['rootPath'] = '/'.join(site.getPhysicalPath()) if site else '/'
More information about the Testbot
mailing list