[Testbot] Plone 6.0 - Python 3.8 - Build # 4 - Still Failing!
jenkins at plone.org
jenkins at plone.org
Sat Dec 14 03:43:14 UTC 2019
Plone 6.0 - Python 3.8 - Build # 4 - Still Failing:
Check console output at https://jenkins.plone.org/job/plone-6.0-python-3.8/4/ to view the results.
Plone 6.0 - Python 3.8 - Build # 4 - Still Failing:
Check console output at https://jenkins.plone.org/job/plone-6.0-python-3.8/4/ to view the results.
Test Results:
19 tests failed.
FAILED: Products.CMFPlone.tests.testCSRFProtection.AuthenticatorTestCase.test_MembershipTool_setPassword
Error Message:
500 != 204
Stack Trace:
500 != 204
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/testCSRFProtection.py", line 67, in test_MembershipTool_setPassword
self.checkAuthenticator(
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/testCSRFProtection.py", line 35, in checkAuthenticator
self.assertEqual(response.getStatus(), status)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 912, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 905, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.CMFPlone.tests.testCSRFProtection.AuthenticatorTestCase.test_RegistrationTool_editMember
Error Message:
500 != 200
Stack Trace:
500 != 200
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/testCSRFProtection.py", line 61, in test_RegistrationTool_editMember
self.checkAuthenticator(
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/testCSRFProtection.py", line 35, in checkAuthenticator
self.assertEqual(response.getStatus(), status)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 912, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 905, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.CMFPlone.tests.testCSRFProtection.AuthenticatorTestCase.test_userFolderEditUser
Error Message:
500 != 200
Stack Trace:
500 != 200
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/testCSRFProtection.py", line 89, in test_userFolderEditUser
self.checkAuthenticator(
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/testCSRFProtection.py", line 35, in checkAuthenticator
self.assertEqual(response.getStatus(), status)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 912, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 905, in _baseAssertEqual
raise self.failureException(msg)
FAILED: Products.PlonePAS.tests.test_basic_ops.BasicOpsTestCase.test_edit
Error Message:
updateCredentials() takes 5 positional arguments but 6 were given
Stack Trace:
updateCredentials() takes 5 positional arguments but 6 were given
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/tests/test_basic_ops.py", line 63, in test_edit
self.acl_users.userFolderEditUser(
File "<string>", line 8, in _doChangeUser
File "/home/jenkins/.buildout/eggs/cp38/plone.protect-4.1.3-py3.8.egg/plone/protect/utils.py", line 78, in _curried
return callable(*args, **kw)
File "<string>", line 8, in _doChangeUser
File "/home/jenkins/.buildout/eggs/cp38/AccessControl-4.1-py3.8-linux-x86_64.egg/AccessControl/requestmethod.py", line 88, in _curried
return callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 146, in _doChangeUser
self.userSetPassword(principal_id, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 335, in userSetPassword
manager.doChangeUser(userid, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/plugins/user.py", line 90, in doChangeUser
notify(CredentialsUpdated(self.getUserById(principal_id), password))
File "/home/jenkins/.buildout/eggs/cp38/zope.event-4.4-py3.8.egg/zope/event/__init__.py", line 32, in notify
subscriber(event)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/event.py", line 27, in dispatch
component_subscribers(event, None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 94, in PASEventNotify
adapters = subscribers((event.principal, event), None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 83, in userCredentialsUpdatedHandler
pas.updateCredentials(
FAILED: Products.PlonePAS.tests.test_basic_ops.BasicOpsTestCase.test_edit_userDefinedRole
Error Message:
updateCredentials() takes 5 positional arguments but 6 were given
Stack Trace:
updateCredentials() takes 5 positional arguments but 6 were given
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/tests/test_basic_ops.py", line 83, in test_edit_userDefinedRole
self.acl_users.userFolderEditUser(
File "<string>", line 8, in _doChangeUser
File "/home/jenkins/.buildout/eggs/cp38/plone.protect-4.1.3-py3.8.egg/plone/protect/utils.py", line 78, in _curried
return callable(*args, **kw)
File "<string>", line 8, in _doChangeUser
File "/home/jenkins/.buildout/eggs/cp38/AccessControl-4.1-py3.8-linux-x86_64.egg/AccessControl/requestmethod.py", line 88, in _curried
return callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 146, in _doChangeUser
self.userSetPassword(principal_id, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 335, in userSetPassword
manager.doChangeUser(userid, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/plugins/user.py", line 90, in doChangeUser
notify(CredentialsUpdated(self.getUserById(principal_id), password))
File "/home/jenkins/.buildout/eggs/cp38/zope.event-4.4-py3.8.egg/zope/event/__init__.py", line 32, in notify
subscriber(event)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/event.py", line 27, in dispatch
component_subscribers(event, None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 94, in PASEventNotify
adapters = subscribers((event.principal, event), None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 83, in userCredentialsUpdatedHandler
pas.updateCredentials(
FAILED: Products.PlonePAS.tests.test_basic_ops.BasicOpsTestCase.test_setpw
Error Message:
updateCredentials() takes 5 positional arguments but 6 were given
Stack Trace:
updateCredentials() takes 5 positional arguments but 6 were given
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/tests/test_basic_ops.py", line 129, in test_setpw
uf.userSetPassword('created_user', new_secret)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 335, in userSetPassword
manager.doChangeUser(userid, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/plugins/user.py", line 90, in doChangeUser
notify(CredentialsUpdated(self.getUserById(principal_id), password))
File "/home/jenkins/.buildout/eggs/cp38/zope.event-4.4-py3.8.egg/zope/event/__init__.py", line 32, in notify
subscriber(event)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/event.py", line 27, in dispatch
component_subscribers(event, None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 94, in PASEventNotify
adapters = subscribers((event.principal, event), None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 83, in userCredentialsUpdatedHandler
pas.updateCredentials(
FAILED: Products.PlonePAS.tests.test_membershiptool.TestMembershipTool.testSetPassword
Error Message:
updateCredentials() takes 5 positional arguments but 6 were given
Stack Trace:
updateCredentials() takes 5 positional arguments but 6 were given
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/tests/test_membershiptool.py", line 426, in testSetPassword
self.membership.setPassword('geheim')
File "<string>", line 4, in setPassword
File "/home/jenkins/.buildout/eggs/cp38/plone.protect-4.1.3-py3.8.egg/plone/protect/utils.py", line 78, in _curried
return callable(*args, **kw)
File "<string>", line 4, in setPassword
File "/home/jenkins/.buildout/eggs/cp38/AccessControl-4.1-py3.8-linux-x86_64.egg/AccessControl/requestmethod.py", line 88, in _curried
return callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/tools/membership.py", line 612, in setPassword
acl_users._doChangeUser(member.getUserId(), password,
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 146, in _doChangeUser
self.userSetPassword(principal_id, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 335, in userSetPassword
manager.doChangeUser(userid, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/plugins/user.py", line 90, in doChangeUser
notify(CredentialsUpdated(self.getUserById(principal_id), password))
File "/home/jenkins/.buildout/eggs/cp38/zope.event-4.4-py3.8.egg/zope/event/__init__.py", line 32, in notify
subscriber(event)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/event.py", line 27, in dispatch
component_subscribers(event, None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 94, in PASEventNotify
adapters = subscribers((event.principal, event), None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 83, in userCredentialsUpdatedHandler
pas.updateCredentials(
FAILED: Products.PlonePAS.tests.test_membershiptool.TestMembershipTool.testSetPasswordAndKeepGroups
Error Message:
updateCredentials() takes 5 positional arguments but 6 were given
Stack Trace:
updateCredentials() takes 5 positional arguments but 6 were given
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/tests/test_membershiptool.py", line 453, in testSetPasswordAndKeepGroups
self.membership.setPassword('geheim')
File "<string>", line 4, in setPassword
File "/home/jenkins/.buildout/eggs/cp38/plone.protect-4.1.3-py3.8.egg/plone/protect/utils.py", line 78, in _curried
return callable(*args, **kw)
File "<string>", line 4, in setPassword
File "/home/jenkins/.buildout/eggs/cp38/AccessControl-4.1-py3.8-linux-x86_64.egg/AccessControl/requestmethod.py", line 88, in _curried
return callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/tools/membership.py", line 612, in setPassword
acl_users._doChangeUser(member.getUserId(), password,
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 146, in _doChangeUser
self.userSetPassword(principal_id, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 335, in userSetPassword
manager.doChangeUser(userid, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/plugins/user.py", line 90, in doChangeUser
notify(CredentialsUpdated(self.getUserById(principal_id), password))
File "/home/jenkins/.buildout/eggs/cp38/zope.event-4.4-py3.8.egg/zope/event/__init__.py", line 32, in notify
subscriber(event)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/event.py", line 27, in dispatch
component_subscribers(event, None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 94, in PASEventNotify
adapters = subscribers((event.principal, event), None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 83, in userCredentialsUpdatedHandler
pas.updateCredentials(
FAILED: Products.PlonePAS.tests.test_membershiptool.TestMembershipTool.test_credentials_updated_event
Error Message:
updateCredentials() takes 5 positional arguments but 6 were given
Stack Trace:
updateCredentials() takes 5 positional arguments but 6 were given
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/tests/test_membershiptool.py", line 720, in test_credentials_updated_event
self.membership.setPassword('guessagain')
File "<string>", line 4, in setPassword
File "/home/jenkins/.buildout/eggs/cp38/plone.protect-4.1.3-py3.8.egg/plone/protect/utils.py", line 78, in _curried
return callable(*args, **kw)
File "<string>", line 4, in setPassword
File "/home/jenkins/.buildout/eggs/cp38/AccessControl-4.1-py3.8-linux-x86_64.egg/AccessControl/requestmethod.py", line 88, in _curried
return callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/tools/membership.py", line 612, in setPassword
acl_users._doChangeUser(member.getUserId(), password,
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 146, in _doChangeUser
self.userSetPassword(principal_id, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 335, in userSetPassword
manager.doChangeUser(userid, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/plugins/user.py", line 90, in doChangeUser
notify(CredentialsUpdated(self.getUserById(principal_id), password))
File "/home/jenkins/.buildout/eggs/cp38/zope.event-4.4-py3.8.egg/zope/event/__init__.py", line 32, in notify
subscriber(event)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/event.py", line 27, in dispatch
component_subscribers(event, None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 94, in PASEventNotify
adapters = subscribers((event.principal, event), None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 83, in userCredentialsUpdatedHandler
pas.updateCredentials(
FAILED: Products.CMFPlone.tests.csrf.txt
Error Message:
Failed doctest test for csrf.txt
Stack Trace:
Failed doctest test for csrf.txt
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 0
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 151, in csrf.txt
Failed example:
browser.getControl('Change Password').click()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest csrf.txt[60]>", line 1, in <module>
browser.getControl('Change Password').click()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 775, in click
self.browser._clickSubmit(self._form, self._control)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 271, in _clickSubmit
self._processRequest(url, make_request)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 276, in _processRequest
resp = make_request(reqargs)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 265, in make_request
return self._submit(
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 309, in _submit
return form.response.goto(url, method=form.method,
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/response.py", line 300, in goto
return method(href, **args)
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/app.py", line 378, in post
return self._gen_request('POST', url, params=params, headers=headers,
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/app.py", line 757, in _gen_request
return self.do_request(req, status=status,
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 94, in do_request
response = super(TestbrowserApp, self).do_request(req, status,
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/app.py", line 628, in do_request
res = req.get_response(app, catch_exc_info=True)
File "/home/jenkins/.buildout/eggs/cp38/WebOb-1.8.5-py3.8.egg/webob/request.py", line 1309, in send
status, headers, app_iter, exc_info = self.call_application(
File "/home/jenkins/.buildout/eggs/cp38/WebOb-1.8.5-py3.8.egg/webob/request.py", line 1278, in call_application
app_iter = application(self.environ, start_response)
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/lint.py", line 201, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/jenkins/.buildout/eggs/cp38/plone.testing-7.0.3-py3.8.egg/plone/testing/_z2_testbrowser.py", line 38, in wrapped_func
return func(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp38/plone.testing-7.0.3-py3.8.egg/plone/testing/_z2_testbrowser.py", line 65, in __call__
wsgi_result = publish(environ, start_response)
File "/home/jenkins/.buildout/eggs/cp38/Zope-4.1.2-py3.8.egg/ZPublisher/WSGIPublisher.py", line 337, in publish_module
response = _publish(request, new_mod_info)
File "/home/jenkins/.buildout/eggs/cp38/Zope-4.1.2-py3.8.egg/ZPublisher/WSGIPublisher.py", line 247, in publish
result = mapply(obj,
File "/home/jenkins/.buildout/eggs/cp38/Zope-4.1.2-py3.8.egg/ZPublisher/mapply.py", line 85, in mapply
return debug(object, args, context)
File "/home/jenkins/.buildout/eggs/cp38/Zope-4.1.2-py3.8.egg/ZPublisher/WSGIPublisher.py", line 61, in call_object
return obj(*args)
File "/home/jenkins/.buildout/eggs/cp38/Products.CMFCore-2.4.1-py3.8.egg/Products/CMFCore/FSPythonScript.py", line 132, in __call__
return Script.__call__(self, *args, **kw)
File "/home/jenkins/.buildout/eggs/cp38/Zope-4.1.2-py3.8.egg/Shared/DC/Scripts/Bindings.py", line 335, in __call__
return self._bindAndExec(args, kw, None)
File "/home/jenkins/.buildout/eggs/cp38/Zope-4.1.2-py3.8.egg/Shared/DC/Scripts/Bindings.py", line 372, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/jenkins/.buildout/eggs/cp38/Products.PythonScripts-4.8-py3.8.egg/Products/PythonScripts/PythonScript.py", line 346, in _exec
result = function(*args, **kw)
File "Script (Python)", line 29, in plone_change_password
- Line 29
File "<string>", line 4, in setPassword
File "/home/jenkins/.buildout/eggs/cp38/plone.protect-4.1.3-py3.8.egg/plone/protect/utils.py", line 78, in _curried
return callable(*args, **kw)
File "<string>", line 4, in setPassword
File "/home/jenkins/.buildout/eggs/cp38/AccessControl-4.1-py3.8-linux-x86_64.egg/AccessControl/requestmethod.py", line 88, in _curried
return callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/tools/membership.py", line 612, in setPassword
acl_users._doChangeUser(member.getUserId(), password,
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 146, in _doChangeUser
self.userSetPassword(principal_id, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 335, in userSetPassword
manager.doChangeUser(userid, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/plugins/user.py", line 90, in doChangeUser
notify(CredentialsUpdated(self.getUserById(principal_id), password))
File "/home/jenkins/.buildout/eggs/cp38/zope.event-4.4-py3.8.egg/zope/event/__init__.py", line 32, in notify
subscriber(event)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/event.py", line 27, in dispatch
component_subscribers(event, None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 94, in PASEventNotify
adapters = subscribers((event.principal, event), None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 83, in userCredentialsUpdatedHandler
pas.updateCredentials(
TypeError: updateCredentials() takes 5 positional arguments but 6 were given
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 153, in csrf.txt
Failed example:
browser.contents
Expected:
'...Info...Password changed...'
Got:
'<!DOCTYPE html>\n<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">\n <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n <title>Plone site</title>\n <link rel="shortcut icon" type="image/x-icon" href="/plone/++theme++barceloneta/barceloneta-favicon.ico" />\n <link rel="apple-touch-icon" href="/plone/++theme++barceloneta/barceloneta-apple-touch-icon.png" />\n <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/plone/++theme++barceloneta/barceloneta-apple-touch-icon-144x144-precomposed.png" />\n <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/plone/++theme++barceloneta/barceloneta-apple-touch-icon-114x114-precomposed.png" />\n <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/plone/++theme++barceloneta/barceloneta-apple-touch-icon-72x72-precomposed.png" />\n <link rel="apple-touch-icon-precomposed" sizes="57x57" href="/plone/++theme++barceloneta/barceloneta-apple-touch-icon-57x57-precomposed.png" />\n <link rel="apple-touch-icon-precomposed" href="/plone/++theme++barceloneta/barceloneta-apple-touch-icon-precomposed.png" />\n <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Plone - http://plone.com" /><link rel="stylesheet" href="http://nohost/plone/++plone++production/++unique++2019-12-13T19:23:56.513631/default.css" data-bundle="production" /><link rel="stylesheet" href="http://nohost/plone/++plone++production/++unique++2019-12-13T19:23:56.513631/logged-in.css" data-bundle="production" /><link rel="stylesheet" href="http://nohost/plone//++theme++barceloneta/less/barceloneta-compiled.css" data-bundle="diazo" /><link rel="alternate" href="http://nohost/plone/RSS" title="Plone site - b\'RSS 1.0\'" type="application/rss+xml" /><link rel="alternate" href="http://nohost/plone/rss.xml" title="Plone site - b\'RSS 2.0\'" type="application/rss+xml" /><link rel="alternate" href="http://nohost/plone/atom.xml" title="Plone site - b\'Atom\'" type="application/rss+xml" /><link rel="author" href="http://nohost/plone/author/" title="Author information" /><link rel="canonical" href="http://nohost/plone" /><link rel="search" href="http://nohost/plone/@@search" title="Search this site" /><script>PORTAL_URL = \'http://nohost/plone\';</script><script type="text/javascript" src="http://nohost/plone/++plone++production/++unique++2019-12-13T19:23:56.513631/default.js" data-bundle="production"></script><script type="text/javascript" src="http://nohost/plone/++plone++production/++unique++2019-12-13T19:23:56.513631/logged-in.js" data-bundle="production"></script></head>\n <body id="visual-portal-wrapper" class="frontend icons-on plone-toolbar-expanded plone-toolbar-left plone-toolbar-left-expanded portaltype-plone-site site-plone template-password_form thumbs-on userrole-authenticated userrole-member viewpermission-none" dir="ltr" data-base-url="http://nohost/plone" data-view-url="http://nohost/plone" data-portal-url="http://nohost/plone" data-i18ncatalogurl="http://nohost/plone/plonejsi18n" data-pat-pickadate="{"date": {"selectYears": 200}, "time": {"interval": 5 } }" data-pat-plone-modal="{"actionOptions": {"displayInModal": false}}"><section id="edit-bar" role="toolbar">\n <div id="edit-zone" role="toolbar" class="pat-toolbar" data-pat-toolbar="{"toolbar_width": "120px", "submenu_width": "180px", "desktop_width": "768px"}">\n <div class="plone-toolbar-container">\n <a class="plone-toolbar-logo">\n <img alt="Plone Toolbar" src="http://nohost/plone/++plone++static/plone-toolbarlogo.svg" />\n </a>\n \n <nav>\n <ul class="plone-toolbar-main">\n \n\n </ul>\n <ul id="personal-bar-container">\n <li id="portal-personaltools" class="plone-toolbar-separator">\n <a href="http://nohost/plone/useractions">\n <span class="icon-user" aria-hidden="true"></span>\n <span>John Doe</span>\n <span class="plone-toolbar-caret"></span>\n </a>\n <ul>\n <li class="plone-toolbar-submenu-header">\n <span>John Doe</span>\n </li>\n <li class="user-action">\n <a title="Preferences" href="http://nohost/plone/@@personal-preferences" id="personaltools-preferences">\n Preferences\n \n </a>\n </li>\n <li class="user-action">\n <a title="Dashboard" href="http://nohost/plone/dashboard" id="personaltools-dashboard">\n Dashboard\n \n </a>\n </li>\n <li class="user-action">\n <a title="Log out" href="http://nohost/plone/logout" id="personaltools-logout">\n Log out\n \n <span class="icon-logout"></span>\n \n </a>\n </li>\n </ul>\n </li>\n </ul>\n </nav>\n </div>\n </div>\n</section><div class="outer-wrapper">\n <header id="content-header">\n <div class="container">\n \n <div id="portal-header">\n <a id="portal-logo" title="Plone site" href="http://nohost/plone">\n <img src="http://nohost/plone/logo.png" alt="Plone site" title="Plone site" /></a>\n\n<div id="portal-searchbox">\n\n <form id="searchGadget_form" action="http://nohost/plone/@@search" role="search" data-pat-livesearch="ajaxUrl:http://nohost/plone/@@ajax-search" class="pat-livesearch">\n\n <div class="LSBox">\n <label class="hiddenStructure" for="searchGadget">Search Site</label>\n \n <div class="searchSection">\n <input id="searchbox_currentfolder_only" class="noborder" type="checkbox" name="path" value="/plone" />\n <label for="searchbox_currentfolder_only" style="cursor: pointer">only in current section</label>\n </div>\n \n <input name="SearchableText" type="text" size="18" id="searchGadget" title="Search Site" placeholder="Search Site" class="searchField" />\n\n <input class="searchButton" type="submit" value="Search" />\n\n </div>\n </form>\n\n <div id="portal-advanced-search" class="hiddenStructure">\n <a href="http://nohost/plone/@@search">Advanced Search…</a>\n </div>\n\n</div>\n\n\n\n\n\n\n\n</div>\n\n \n <div id="anonymous-actions">\n </div>\n </div>\n </header>\n <div id="mainnavigation-wrapper">\n <div id="mainnavigation">\n\n <nav class="plone-navbar pat-navigationmarker" id="portal-globalnav-wrapper">\n <div class="container">\n <div class="plone-navbar-header">\n <button type="button" class="plone-navbar-toggle" data-toggle="collapse" data-target="#portal-globalnav-collapse">\n <span class="sr-only">Toggle navigation</span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n </button>\n </div>\n\n <div class="plone-collapse plone-navbar-collapse" id="portal-globalnav-collapse">\n <ul class="plone-nav plone-navbar-nav" id="portal-globalnav">\n <li class="index_html"><a href="http://nohost/plone" class="state-None">Home</a></li>\n </ul>\n </div>\n </div>\n </nav>\n\n\n</div>\n </div>\n \n <div id="above-content-wrapper">\n <div id="viewlet-above-content"><nav id="portal-breadcrumbs" class="plone-breadcrumb">\n <div class="container">\n <span id="breadcrumbs-you-are-here" class="hiddenStructure">You are here:</span>\n <ol aria-labelledby="breadcrumbs-you-are-here">\n <li id="breadcrumbs-home">\n <a href="http://nohost/plone">Home</a>\n </li>\n \n </ol>\n </div>\n</nav>\n</div>\n </div>\n <div class="container">\n <div class="row">\n <aside id="global_statusmessage">\n \n\n <div>\n </div>\n </aside>\n </div>\n <main id="main-container" class="row row-offcanvas row-offcanvas-right">\n \n\n \n\n <div class="col-xs-12 col-sm-12 col-md-12">\n <div class="row">\n <div class="col-xs-12 col-sm-12">\n <article id="content">\n\n \n \n\n <h1 class="documentFirstHeading">Change password for test-user</h1>\n\n <div id="content-core">\n <a href="http://nohost/plone/dashboard" class="link-parent">Up to my dashboard</a>\n <form action="plone_change_password" class="pat-formautofocus pat-formunloadalert" name="change_password" method="post" id="change_password">\n\n <fieldset>\n <legend>Password Details</legend>\n\n <div class="field">\n <label for="current">Current password</label>\n\n <div class="formHelp">Enter your current password.</div>\n\n <input type="password" id="current" name="current" size="10" />\n </div>\n\n <div class="field">\n <label for="password">New password</label>\n\n <div class="formHelp">Enter your new password.</div>\n\n <input type="password" id="password" name="password" size="10" />\n </div>\n\n <div class="field">\n <label for="password_confirm">Confirm password</label>\n\n <div class="formHelp">Re-enter the password. Make sure the passwords are identical.</div>\n\n <input type="password" id="password_confirm" name="password_confirm" size="10" />\n </div>\n\n <div class="formControls">\n <input class="context" type="submit" value="Change Password" />\n <input class="standalone" type="submit" name="cancel" value="Cancel" />\n </div>\n\n <input type="hidden" name="_authenticator" value="cbbc9d86b48b20157c64d712af5918fbcfa89d7f" />\n\n </fieldset>\n </form>\n </div>\n\n\n \n </article>\n </div>\n </div>\n <footer class="row">\n <div class="col-xs-12 col-sm-12">\n <div id="viewlet-below-content">\n</div>\n </div>\n </footer>\n </div>\n \n <div id="column1-container">\n </div>\n <div id="column2-container">\n </div>\n </main><!--/row-->\n </div><!--/container-->\n </div><!--/outer-wrapper --><footer id="portal-footer-wrapper">\n <div class="container" id="portal-footer">\n <div class="doormat row">\n \n \n </div>\n <div class="copyright row"><div class="col-xs-12">\n The \n <a href="http://plone.com">Plone<sup>®</sup> Open Source CMS/WCM</a>\n is <abbr title="Copyright">©</abbr> 2000-2019 by the \n <a href="http://plone.org/foundation">Plone Foundation</a> and friends.\n\n Distributed under the \n <a href="http://creativecommons.org/licenses/GPL/2.0/">GNU GPL license</a>.\n </div></div>\n <div class="colophon row"><div class="col-xs-12">\n <a href="http://plone.com" target="_blank" title="This site was built using the Plone Open Source CMS/WCM.">Powered by Plone & Python</a>\n </div></div>\n <div class="site-actions row"><div class="col-xs-12"><ul class="actions-site_actions">\n \n <li class="portletItem">\n <a href="http://nohost/plone/sitemap">\n\n <span>Site Map</span>\n\n \n\n </a>\n </li>\n \n <li class="portletItem">\n <a href="http://nohost/plone/accessibility-info">\n\n <span>Accessibility</span>\n\n \n\n </a>\n </li>\n \n <li class="portletItem">\n <a href="http://nohost/plone/contact-info" class="pat-plone-modal" data-pat-plone-modal="{}">\n\n <span>Contact</span>\n\n \n\n </a>\n </li>\n \n </ul></div></div>\n </div>\n </footer><script type="application/javascript" src="http://nohost/plone/++resource++protect.js" data-site-url="http://nohost/plone" data-token="db6ee1b0e074b83ac61663975e7f4032891f7cc9" id="protect-script"></script></body>\n</html>'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 161, in csrf.txt
Failed example:
browser.getControl('Change Password').click()
Expected:
Traceback (most recent call last):
...
zExceptions.Forbidden: Form authenticator is invalid.
Got nothing
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/srv/python3.8/lib/python3.8/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: Products.CMFPlone.tests.emaillogin.rst
Error Message:
Failed doctest test for emaillogin.rst
Stack Trace:
Failed doctest test for emaillogin.rst
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/emaillogin.rst", line 0
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/emaillogin.rst", line 246, in emaillogin.rst
Failed example:
form.submit()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest emaillogin.rst[108]>", line 1, in <module>
form.submit()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 1290, in submit
self.browser._clickSubmit(form)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 271, in _clickSubmit
self._processRequest(url, make_request)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 285, in _processRequest
self._checkStatus()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 293, in _checkStatus
raise HTTPError(self.url, code, msg, [], None)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/emaillogin.rst", line 247, in emaillogin.rst
Failed example:
"Password reset successful, you are logged in now!" in browser.contents
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest emaillogin.rst[109]>", line 1, in <module>
"Password reset successful, you are logged in now!" in browser.contents
TypeError: a bytes-like object is required, not 'str'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/emaillogin.rst", line 286, in emaillogin.rst
Failed example:
form.submit()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest emaillogin.rst[128]>", line 1, in <module>
form.submit()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 1290, in submit
self.browser._clickSubmit(form)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 271, in _clickSubmit
self._processRequest(url, make_request)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 285, in _processRequest
self._checkStatus()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 293, in _checkStatus
raise HTTPError(self.url, code, msg, [], None)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/emaillogin.rst", line 287, in emaillogin.rst
Failed example:
"Password reset successful, you are logged in now!" in browser.contents
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest emaillogin.rst[129]>", line 1, in <module>
"Password reset successful, you are logged in now!" in browser.contents
TypeError: a bytes-like object is required, not 'str'
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/srv/python3.8/lib/python3.8/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: Products.CMFPlone.tests.pwreset_browser.rst
Error Message:
Failed doctest test for pwreset_browser.rst
Stack Trace:
Failed doctest test for pwreset_browser.rst
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 0
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 223, in pwreset_browser.rst
Failed example:
form.submit()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[78]>", line 1, in <module>
form.submit()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 1290, in submit
self.browser._clickSubmit(form)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 271, in _clickSubmit
self._processRequest(url, make_request)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 285, in _processRequest
self._checkStatus()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 293, in _checkStatus
raise HTTPError(self.url, code, msg, [], None)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 227, in pwreset_browser.rst
Failed example:
"Password reset successful, you are logged in now!" in browser.contents
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[79]>", line 1, in <module>
"Password reset successful, you are logged in now!" in browser.contents
TypeError: a bytes-like object is required, not 'str'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 232, in pwreset_browser.rst
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[80]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 319, in getLink
html = self._html
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 550, in _html
self.__html = self._response.html
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/response.py", line 429, in html
raise AttributeError(
AttributeError: Not an HTML response body (content-type: application/json)
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 233, in pwreset_browser.rst
Failed example:
"You are now logged out" in browser.contents
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[81]>", line 1, in <module>
"You are now logged out" in browser.contents
TypeError: a bytes-like object is required, not 'str'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 304, in pwreset_browser.rst
Failed example:
browser.getControl(name="form.button.Modify").click()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[114]>", line 1, in <module>
browser.getControl(name="form.button.Modify").click()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 775, in click
self.browser._clickSubmit(self._form, self._control)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 271, in _clickSubmit
self._processRequest(url, make_request)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 285, in _processRequest
self._checkStatus()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 293, in _checkStatus
raise HTTPError(self.url, code, msg, [], None)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 305, in pwreset_browser.rst
Failed example:
"Changes applied." in browser.contents
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[115]>", line 1, in <module>
"Changes applied." in browser.contents
TypeError: a bytes-like object is required, not 'str'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 307, in pwreset_browser.rst
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[116]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 319, in getLink
html = self._html
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 550, in _html
self.__html = self._response.html
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/response.py", line 429, in html
raise AttributeError(
AttributeError: Not an HTML response body (content-type: application/json)
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 308, in pwreset_browser.rst
Failed example:
"You are now logged out" in browser.contents
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[117]>", line 1, in <module>
"You are now logged out" in browser.contents
TypeError: a bytes-like object is required, not 'str'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 320, in pwreset_browser.rst
Failed example:
"Login failed" in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 326, in pwreset_browser.rst
Failed example:
len(mailhost.messages)
Expected:
2
Got:
1
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 330, in pwreset_browser.rst
Failed example:
b"The site administrator asks you to reset your password for 'wsmith' userid" in msg
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 335, in pwreset_browser.rst
Failed example:
b"If you didn't expect to receive this email" in msg
Expected:
False
Got:
True
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 401, in pwreset_browser.rst
Failed example:
len(mailhost.messages)
Expected:
3
Got:
2
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 431, in pwreset_browser.rst
Failed example:
browser.getControl("Set my password").click()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[172]>", line 1, in <module>
browser.getControl("Set my password").click()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 775, in click
self.browser._clickSubmit(self._form, self._control)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 271, in _clickSubmit
self._processRequest(url, make_request)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 285, in _processRequest
self._checkStatus()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 293, in _checkStatus
raise HTTPError(self.url, code, msg, [], None)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 432, in pwreset_browser.rst
Failed example:
"Password reset successful, you are logged in now!" in browser.contents
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[173]>", line 1, in <module>
"Password reset successful, you are logged in now!" in browser.contents
TypeError: a bytes-like object is required, not 'str'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 437, in pwreset_browser.rst
Failed example:
len(events_fired) == 1
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 439, in pwreset_browser.rst
Failed example:
events_fired[0].principal
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[175]>", line 1, in <module>
events_fired[0].principal
IndexError: list index out of range
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 444, in pwreset_browser.rst
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[176]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 319, in getLink
html = self._html
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 550, in _html
self.__html = self._response.html
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/response.py", line 429, in html
raise AttributeError(
AttributeError: Not an HTML response body (content-type: application/json)
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 445, in pwreset_browser.rst
Failed example:
"You are now logged out" in browser.contents
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[177]>", line 1, in <module>
"You are now logged out" in browser.contents
TypeError: a bytes-like object is required, not 'str'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 494, in pwreset_browser.rst
Failed example:
len(mailhost.messages)
Expected:
4
Got:
3
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 517, in pwreset_browser.rst
Failed example:
browser.getControl("Set my password").click()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[210]>", line 1, in <module>
browser.getControl("Set my password").click()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 775, in click
self.browser._clickSubmit(self._form, self._control)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 271, in _clickSubmit
self._processRequest(url, make_request)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 285, in _processRequest
self._checkStatus()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 293, in _checkStatus
raise HTTPError(self.url, code, msg, [], None)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 518, in pwreset_browser.rst
Failed example:
"Password reset successful, you are logged in now!" in browser.contents
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[211]>", line 1, in <module>
"Password reset successful, you are logged in now!" in browser.contents
TypeError: a bytes-like object is required, not 'str'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/tests/pwreset_browser.rst", line 523, in pwreset_browser.rst
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest pwreset_browser.rst[212]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 319, in getLink
html = self._html
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 550, in _html
self.__html = self._response.html
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/response.py", line 429, in html
raise AttributeError(
AttributeError: Not an HTML response body (content-type: application/json)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/srv/python3.8/lib/python3.8/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: plone.app.users.tests.password.rst
Error Message:
Failed doctest test for password.rst
Stack Trace:
Failed doctest test for password.rst
File "/home/jenkins/.buildout/eggs/cp38/plone.app.users-2.6.2-py3.8.egg/plone/app/users/tests/password.rst", line 0
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp38/plone.app.users-2.6.2-py3.8.egg/plone/app/users/tests/password.rst", line 54, in password.rst
Failed example:
browser.getControl('Change Password').click()
Exception raised:
Traceback (most recent call last):
File "/srv/python3.8/lib/python3.8/doctest.py", line 1328, in __run
exec(compile(example.source, filename, "single",
File "<doctest password.rst[21]>", line 1, in <module>
browser.getControl('Change Password').click()
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 775, in click
self.browser._clickSubmit(self._form, self._control)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 271, in _clickSubmit
self._processRequest(url, make_request)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 276, in _processRequest
resp = make_request(reqargs)
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 265, in make_request
return self._submit(
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 309, in _submit
return form.response.goto(url, method=form.method,
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/response.py", line 300, in goto
return method(href, **args)
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/app.py", line 378, in post
return self._gen_request('POST', url, params=params, headers=headers,
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/app.py", line 757, in _gen_request
return self.do_request(req, status=status,
File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.3.3-py3.8.egg/zope/testbrowser/browser.py", line 94, in do_request
response = super(TestbrowserApp, self).do_request(req, status,
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/app.py", line 628, in do_request
res = req.get_response(app, catch_exc_info=True)
File "/home/jenkins/.buildout/eggs/cp38/WebOb-1.8.5-py3.8.egg/webob/request.py", line 1309, in send
status, headers, app_iter, exc_info = self.call_application(
File "/home/jenkins/.buildout/eggs/cp38/WebOb-1.8.5-py3.8.egg/webob/request.py", line 1278, in call_application
app_iter = application(self.environ, start_response)
File "/home/jenkins/.buildout/eggs/cp38/WebTest-2.0.33-py3.8.egg/webtest/lint.py", line 201, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/jenkins/.buildout/eggs/cp38/plone.testing-7.0.3-py3.8.egg/plone/testing/_z2_testbrowser.py", line 38, in wrapped_func
return func(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp38/plone.testing-7.0.3-py3.8.egg/plone/testing/_z2_testbrowser.py", line 65, in __call__
wsgi_result = publish(environ, start_response)
File "/home/jenkins/.buildout/eggs/cp38/Zope-4.1.2-py3.8.egg/ZPublisher/WSGIPublisher.py", line 337, in publish_module
response = _publish(request, new_mod_info)
File "/home/jenkins/.buildout/eggs/cp38/Zope-4.1.2-py3.8.egg/ZPublisher/WSGIPublisher.py", line 247, in publish
result = mapply(obj,
File "/home/jenkins/.buildout/eggs/cp38/Zope-4.1.2-py3.8.egg/ZPublisher/mapply.py", line 85, in mapply
return debug(object, args, context)
File "/home/jenkins/.buildout/eggs/cp38/Zope-4.1.2-py3.8.egg/ZPublisher/WSGIPublisher.py", line 61, in call_object
return obj(*args)
File "/home/jenkins/.buildout/eggs/cp38/z3c.form-3.7.0-py3.8.egg/z3c/form/form.py", line 233, in __call__
self.update()
File "/home/jenkins/.buildout/eggs/cp38/plone.z3cform-1.1.1-py3.8.egg/plone/z3cform/fieldsets/extensible.py", line 65, in update
super(ExtensibleForm, self).update()
File "/home/jenkins/.buildout/eggs/cp38/plone.z3cform-1.1.1-py3.8.egg/plone/z3cform/patch.py", line 30, in GroupForm_update
_original_GroupForm_update(self)
File "/home/jenkins/.buildout/eggs/cp38/z3c.form-3.7.0-py3.8.egg/z3c/form/group.py", line 145, in update
self.actions.execute()
File "/home/jenkins/.buildout/eggs/cp38/plone.app.z3cform-3.1.3-py3.8.egg/plone/app/z3cform/csrf.py", line 22, in execute
super(AuthenticatedButtonActions, self).execute()
File "/home/jenkins/.buildout/eggs/cp38/z3c.form-3.7.0-py3.8.egg/z3c/form/action.py", line 98, in execute
result = handler()
File "/home/jenkins/.buildout/eggs/cp38/z3c.form-3.7.0-py3.8.egg/z3c/form/button.py", line 315, in __call__
return handler(self.form, self.action)
File "/home/jenkins/.buildout/eggs/cp38/z3c.form-3.7.0-py3.8.egg/z3c/form/button.py", line 170, in __call__
return self.func(form, action)
File "/home/jenkins/.buildout/eggs/cp38/plone.app.users-2.6.2-py3.8.egg/plone/app/users/browser/passwordpanel.py", line 132, in action_reset_passwd
membertool.setPassword(password, None, REQUEST=self.request)
File "<string>", line 4, in setPassword
File "/home/jenkins/.buildout/eggs/cp38/plone.protect-4.1.3-py3.8.egg/plone/protect/utils.py", line 78, in _curried
return callable(*args, **kw)
File "<string>", line 4, in setPassword
File "/home/jenkins/.buildout/eggs/cp38/AccessControl-4.1-py3.8-linux-x86_64.egg/AccessControl/requestmethod.py", line 88, in _curried
return callable(*args, **kw)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/tools/membership.py", line 612, in setPassword
acl_users._doChangeUser(member.getUserId(), password,
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 146, in _doChangeUser
self.userSetPassword(principal_id, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/pas.py", line 335, in userSetPassword
manager.doChangeUser(userid, password)
File "/home/jenkins/.buildout/eggs/cp38/Products.PlonePAS-6.0.5-py3.8.egg/Products/PlonePAS/plugins/user.py", line 90, in doChangeUser
notify(CredentialsUpdated(self.getUserById(principal_id), password))
File "/home/jenkins/.buildout/eggs/cp38/zope.event-4.4-py3.8.egg/zope/event/__init__.py", line 32, in notify
subscriber(event)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/event.py", line 27, in dispatch
component_subscribers(event, None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 94, in PASEventNotify
adapters = subscribers((event.principal, event), None)
File "/home/jenkins/.buildout/eggs/cp38/zope.component-4.5-py3.8.egg/zope/component/_api.py", line 124, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/jenkins/.buildout/eggs/cp38/zope.interface-4.6.0-py3.8-linux-x86_64.egg/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/home/jenkins/.buildout/eggs/cp38/Products.PluggableAuthService-2.1-py3.8.egg/Products/PluggableAuthService/events.py", line 83, in userCredentialsUpdatedHandler
pas.updateCredentials(
TypeError: updateCredentials() takes 5 positional arguments but 6 were given
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/srv/python3.8/lib/python3.8/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: plone.restapi.tests.test_services_users.TestUsersEndpoint.test_reset_and_login_email_using_mail
Error Message:
500 != 200
Stack Trace:
500 != 200
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/.buildout/eggs/cp38/plone.restapi-5.0.2-py3.8.egg/plone/restapi/tests/test_services_users.py", line 699, in test_reset_and_login_email_using_mail
self.assertEqual(response.status_code, 200)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 912, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 905, in _baseAssertEqual
raise self.failureException(msg)
FAILED: plone.restapi.tests.test_services_users.TestUsersEndpoint.test_reset_with_token
Error Message:
500 != 200
Stack Trace:
500 != 200
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/.buildout/eggs/cp38/plone.restapi-5.0.2-py3.8.egg/plone/restapi/tests/test_services_users.py", line 611, in test_reset_with_token
self.assertEqual(response.status_code, 200)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 912, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 905, in _baseAssertEqual
raise self.failureException(msg)
FAILED: plone.restapi.tests.test_services_users.TestUsersEndpoint.test_reset_with_uuid_as_userid_and_login_email_using_id
Error Message:
500 != 200
Stack Trace:
500 != 200
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/.buildout/eggs/cp38/plone.restapi-5.0.2-py3.8.egg/plone/restapi/tests/test_services_users.py", line 642, in test_reset_with_uuid_as_userid_and_login_email_using_id
self.assertEqual(response.status_code, 200)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 912, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 905, in _baseAssertEqual
raise self.failureException(msg)
FAILED: plone.restapi.tests.test_services_users.TestUsersEndpoint.test_reset_with_uuid_as_userid_and_login_email_using_mail
Error Message:
500 != 200
Stack Trace:
500 != 200
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/.buildout/eggs/cp38/plone.restapi-5.0.2-py3.8.egg/plone/restapi/tests/test_services_users.py", line 671, in test_reset_with_uuid_as_userid_and_login_email_using_mail
self.assertEqual(response.status_code, 200)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 912, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 905, in _baseAssertEqual
raise self.failureException(msg)
FAILED: plone.restapi.tests.test_services_users.TestUsersEndpoint.test_update_user_password
Error Message:
500 != 204
Stack Trace:
500 != 204
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/.buildout/eggs/cp38/plone.restapi-5.0.2-py3.8.egg/plone/restapi/tests/test_services_users.py", line 434, in test_update_user_password
self.assertEqual(response.status_code, 204)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 912, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 905, in _baseAssertEqual
raise self.failureException(msg)
FAILED: plone.restapi.tests.test_services_users.TestUsersEndpoint.test_user_can_set_her_own_password
Error Message:
500 != 200
Stack Trace:
500 != 200
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/home/jenkins/.buildout/eggs/cp38/plone.restapi-5.0.2-py3.8.egg/plone/restapi/tests/test_services_users.py", line 541, in test_user_can_set_her_own_password
self.assertEqual(response.status_code, 200)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 912, in assertEqual
assertion_func(first, second, msg=msg)
File "/srv/python3.8/lib/python3.8/unittest/case.py", line 905, in _baseAssertEqual
raise self.failureException(msg)
More information about the Testbot
mailing list