[Testbot] Plone 5.0 - Python 2.7 - Build # 2446 - Still Failing!
jenkins at plone.org
jenkins at plone.org
Thu Sep 10 13:46:43 UTC 2015
Plone 5.0 - Python 2.7 - Build # 2446 - Still Failing:
Check console output at http://jenkins.plone.org/job/plone-5.0-python-2.7/2446/ to view the results.
Changes:
[Maurits van Rees] Removed pdbpp from test eggs in release.cfg.
[Maurits van Rees] Checkout Products.ExternalEditor from new branch 1.1.x.
[Maurits van Rees] Products.ExternalEditor 1.1.1
[Eric Steele] [fc] Repository: plone.app.upgrade
[Eric Steele] [fc] Repository: Products.CMFPlone
Test Results:
6 tests failed.
FAILED: Products.CMFPlone.tests.testRegistrationTool.TestRegistrationTool.testRegisteredNotify
Error Message:
email_from_name
Stack Trace:
email_from_name
- Expression: "python:here.email_from_name"
- Filename: ... etTool/skins/PasswordReset/registered_notify_template.pt
- Location: (line 35: col 19)
- Source: <span tal:replace="python:here.email_from_name" />
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Arguments:
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/tests/testRegistrationTool.py", line 131, in testRegisteredNotify
self.registration.registeredNotify(member_id)
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/RegistrationTool.py", line 431, in registeredNotify
charset=encoding)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 322, in __call__
return self._bindAndExec(args, kw, None)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/jenkins/.buildout/eggs/Products.CMFCore-2.2.8-py2.7.egg/Products/CMFCore/FSPageTemplate.py", line 237, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/jenkins/.buildout/eggs/Products.CMFCore-2.2.8-py2.7.egg/Products/CMFCore/FSPageTemplate.py", line 177, in pt_render
self, source, extra_context
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
showtal=showtal)
File "/home/jenkins/.buildout/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations
File "/home/jenkins/.buildout/eggs/five.pt-2.2.3-py2.7.egg/five/pt/engine.py", line 93, in __call__
return self.template.render(**kwargs)
File "/home/jenkins/.buildout/eggs/z3c.pt-3.0.0a1-py2.7.egg/z3c/pt/pagetemplate.py", line 163, in render
return base_renderer(**context)
File "/home/jenkins/.buildout/eggs/Chameleon-2.22-py2.7.egg/chameleon/zpt/template.py", line 258, in render
return super(PageTemplate, self).render(**vars)
File "/home/jenkins/.buildout/eggs/Chameleon-2.22-py2.7.egg/chameleon/template.py", line 191, in render
raise_with_traceback(exc, tb)
File "/home/jenkins/.buildout/eggs/Chameleon-2.22-py2.7.egg/chameleon/template.py", line 171, in render
self._render(stream, econtext, rcontext)
File "0c761dd2aa5cd56579e6c109385c8840.py", line 401, in render
FAILED: Products.CMFPlone.tests.testRegistrationTool.TestRegistrationTool.testRegisteredNotifyEncoding
Error Message:
email_from_name
Stack Trace:
email_from_name
- Expression: "python:here.email_from_name"
- Filename: ... etTool/skins/PasswordReset/registered_notify_template.pt
- Location: (line 35: col 19)
- Source: <span tal:replace="python:here.email_from_name" />
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Arguments:
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/tests/testRegistrationTool.py", line 163, in testRegisteredNotifyEncoding
self.registration.registeredNotify(member_id)
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/RegistrationTool.py", line 431, in registeredNotify
charset=encoding)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 322, in __call__
return self._bindAndExec(args, kw, None)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/jenkins/.buildout/eggs/Products.CMFCore-2.2.8-py2.7.egg/Products/CMFCore/FSPageTemplate.py", line 237, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/jenkins/.buildout/eggs/Products.CMFCore-2.2.8-py2.7.egg/Products/CMFCore/FSPageTemplate.py", line 177, in pt_render
self, source, extra_context
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
showtal=showtal)
File "/home/jenkins/.buildout/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations
File "/home/jenkins/.buildout/eggs/five.pt-2.2.3-py2.7.egg/five/pt/engine.py", line 93, in __call__
return self.template.render(**kwargs)
File "/home/jenkins/.buildout/eggs/z3c.pt-3.0.0a1-py2.7.egg/z3c/pt/pagetemplate.py", line 163, in render
return base_renderer(**context)
File "/home/jenkins/.buildout/eggs/Chameleon-2.22-py2.7.egg/chameleon/zpt/template.py", line 258, in render
return super(PageTemplate, self).render(**vars)
File "/home/jenkins/.buildout/eggs/Chameleon-2.22-py2.7.egg/chameleon/template.py", line 191, in render
raise_with_traceback(exc, tb)
File "/home/jenkins/.buildout/eggs/Chameleon-2.22-py2.7.egg/chameleon/template.py", line 171, in render
self._render(stream, econtext, rcontext)
File "0c761dd2aa5cd56579e6c109385c8840.py", line 401, in render
FAILED: Products.CMFPlone.tests.mails.txt
Error Message:
Failed doctest test for mails.txt
Stack Trace:
Failed doctest test for mails.txt
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/tests/mails.txt", line 0
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/tests/mails.txt", line 39, in mails.txt
Failed example:
form.getControl(name='form.buttons.send').click()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[16]>", line 1, in <module>
form.getControl(name='form.buttons.send').click()
File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
label=label, coord=coord)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
return self.open(self.click(*args, **kwds))
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
return self._mech_open(url, data, timeout=timeout)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 255, in _mech_open
raise response
HTTPError: HTTP Error 503: Service Unavailable
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/tests/mails.txt", line 46, in mails.txt
Failed example:
'A mail has now been sent' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/tests/mails.txt", line 53, in mails.txt
Failed example:
len(mailhost.messages)
Expected:
1
Got:
0
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/tests/mails.txt", line 55, in mails.txt
Failed example:
msg = mailhost.messages[0]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[20]>", line 1, in <module>
msg = mailhost.messages[0]
File "/usr/lib/python2.7/UserList.py", line 31, in __getitem__
def __getitem__(self, i): return self.data[i]
IndexError: list index out of range
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/tests/mails.txt", line 59, in mails.txt
Failed example:
'To: mail at plone.test' in msg
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[21]>", line 1, in <module>
'To: mail at plone.test' in msg
NameError: name 'msg' is not defined
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/tests/mails.txt", line 62, in mails.txt
Failed example:
'From: mail at plone.test' in msg
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[22]>", line 1, in <module>
'From: mail at plone.test' in msg
NameError: name 'msg' is not defined
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/tests/mails.txt", line 67, in mails.txt
Failed example:
'Subject: =?utf-8?q?Some_t=C3=A4st_subject=2E?=' in msg
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[23]>", line 1, in <module>
'Subject: =?utf-8?q?Some_t=C3=A4st_subject=2E?=' in msg
NameError: name 'msg' is not defined
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/tests/mails.txt", line 75, in mails.txt
Failed example:
msg.replace('=\n', '').replace('\n', ' ')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[24]>", line 1, in <module>
msg.replace('=\n', '').replace('\n', ' ')
NameError: name 'msg' is not defined
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/Products.CMFPlone/Products/CMFPlone/tests/mails.txt", line 82, in mails.txt
Failed example:
quopri.decodestring(msg).replace('\n', ' ')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[26]>", line 1, in <module>
quopri.decodestring(msg).replace('\n', ' ')
NameError: name 'msg' is not defined
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: Products.PasswordResetTool.tests.browser.txt
Error Message:
Failed doctest test for browser.txt
Stack Trace:
Failed doctest test for browser.txt
File "/home/jenkins/.buildout/eggs/Products.PasswordResetTool-2.2.0-py2.7.egg/Products/PasswordResetTool/tests/browser.txt", line 0
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/Products.PasswordResetTool-2.2.0-py2.7.egg/Products/PasswordResetTool/tests/browser.txt", line 389, in browser.txt
Failed example:
len(mailhost.messages)
Expected:
3
Got:
2
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: plone.app.users.tests.registration_forms.rst
Error Message:
Failed doctest test for registration_forms.rst
Stack Trace:
Failed doctest test for registration_forms.rst
File "/home/jenkins/.buildout/eggs/plone.app.users-2.3.1-py2.7.egg/plone/app/users/tests/registration_forms.rst", line 0
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.users-2.3.1-py2.7.egg/plone/app/users/tests/registration_forms.rst", line 87, in registration_forms.rst
Failed example:
'Failed to create your account' not in browser.contents
Expected:
True
Got:
False
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
FAILED: plone.app.portlets.tests.testViewName.rst
Error Message:
Failed doctest test for testViewName.rst
Stack Trace:
Failed doctest test for testViewName.rst
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.portlets/plone/app/portlets/tests/testViewName.rst", line 0
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.portlets/plone/app/portlets/tests/testViewName.rst", line 108, in testViewName.rst
Failed example:
browser.getLink('Edit').click()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest testViewName.rst[21]>", line 1, in <module>
browser.getLink('Edit').click()
File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 445, in click
self.browser.mech_browser.follow_link(self.mech_link)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 569, in follow_link
return self.open(self.click_link(link, **kwds))
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
return self._mech_open(url, data, timeout=timeout)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
response = UserAgentBase.open(self, request, data)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
response = urlopen(self, req, data)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
'_open', req)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
result = func(*args)
File "/home/jenkins/.buildout/eggs/plone.testing-4.0.15-py2.7.egg/plone/testing/_z2_testbrowser.py", line 66, in http_open
return self.do_open(connectionFactory, req)
File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
self.response = self.caller(request_string, handle_errors)
File "/home/jenkins/.buildout/eggs/plone.testing-4.0.15-py2.7.egg/plone/testing/_z2_testbrowser.py", line 124, in wrapped_func
return func(*args, **kw)
File "/home/jenkins/.buildout/eggs/plone.testing-4.0.15-py2.7.egg/plone/testing/_z2_testbrowser.py", line 220, in __call__
debug=not handle_errors,
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/ZPublisher/Test.py", line 202, in publish_module
response = publish(request, module_name, after_list, debug=debug)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/ZPublisher/Publish.py", line 138, in publish
request, bind=1)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/ZPublisher/Publish.py", line 48, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/home/jenkins/.buildout/eggs/five.customerize-1.1-py2.7.egg/five/customerize/zpt.py", line 83, in __call__
return template._exec(bound_names, args, kwargs)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/PageTemplates/ZopePageTemplate.py", line 338, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/PageTemplates/ZopePageTemplate.py", line 435, in pt_render
result = PageTemplate.pt_render(self, source, extra_context)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
showtal=showtal)
File "/home/jenkins/.buildout/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations
File "/home/jenkins/.buildout/eggs/five.pt-2.2.3-py2.7.egg/five/pt/engine.py", line 93, in __call__
return self.template.render(**kwargs)
File "/home/jenkins/.buildout/eggs/z3c.pt-3.0.0a1-py2.7.egg/z3c/pt/pagetemplate.py", line 163, in render
return base_renderer(**context)
File "/home/jenkins/.buildout/eggs/Chameleon-2.22-py2.7.egg/chameleon/zpt/template.py", line 258, in render
return super(PageTemplate, self).render(**vars)
File "/home/jenkins/.buildout/eggs/Chameleon-2.22-py2.7.egg/chameleon/template.py", line 191, in render
raise_with_traceback(exc, tb)
File "/home/jenkins/.buildout/eggs/Chameleon-2.22-py2.7.egg/chameleon/template.py", line 171, in render
self._render(stream, econtext, rcontext)
File "b6bebc7f360aa1a8c2baf03fe8035e09.py", line 612, in render
File "734c910f1d297764d57433ce210f0c20.py", line 971, in render_master
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.layout/plone/app/layout/globals/layout.py", line 184, in bodyClass
if not getattr(view, '__ac_permissions__'):
AttributeError: 'TTWView' object has no attribute '__ac_permissions__'
- Expression: "python:plone_layout.bodyClass(template, view)"
- Filename: ... one/Products/CMFPlone/browser/templates/main_template.pt
- Location: (line 45: col 28)
- Source: ... e="isRTL portal_state/is_rtl;
^
- Arguments: repeat: {...} (0)
template: <ImplicitAcquisitionWrapper plone.app.layout.navigation.interfaces.inavigationroot-manage-dashboard at 0x7f216aae74b0>
modules: <instance - at 0x7f21782ef5f0>
here: <ImplicitAcquisitionWrapper plone at 0x7f216ebd80a0>
user: <ImplicitAcquisitionWrapper - at 0x7f216aae7320>
loop: {...} (0)
nothing: <NoneType - at 0x91a870>
target_language: <NoneType - at 0x91a870>
container: <ImplicitAcquisitionWrapper portal_view_customizations at 0x7f216ffa94b0>
default: <object - at 0x7f217f94d400>
request: <instance - at 0x7f216b0c5638>
wrapped_repeat: <SafeMapping - at 0x7f216b40cd60>
context: <ImplicitAcquisitionWrapper plone at 0x7f216ebd80a0>
translate: <function translate at 0x7f216a3d3410>
root: <Application Zope at 0x7f216a9e5500>
options: {...} (1)
view: <TTWView None at 0x7f216b790290>
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.portlets/plone/app/portlets/tests/testViewName.rst", line 109, in testViewName.rst
Failed example:
browser.getControl(name=':action',index=0).value = ['/++dashboard++plone.dashboard1+app/+/portlets.Search']
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest testViewName.rst[22]>", line 1, in <module>
browser.getControl(name=':action',index=0).value = ['/++dashboard++plone.dashboard1+app/+/portlets.Search']
File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
label, name, self.mech_browser.forms(), include_subcontrols=True)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
if not self.viewing_html():
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
raise BrowserStateError("not viewing any document")
BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.portlets/plone/app/portlets/tests/testViewName.rst", line 110, in testViewName.rst
Failed example:
browser.getForm(index=1).submit()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest testViewName.rst[23]>", line 1, in <module>
browser.getForm(index=1).submit()
File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 389, in getForm
for form in self.mech_browser.forms():
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
if not self.viewing_html():
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
raise BrowserStateError("not viewing any document")
BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.portlets/plone/app/portlets/tests/testViewName.rst", line 111, in testViewName.rst
Failed example:
browser.getControl('Save').click() # This submits the now shown add form.
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest testViewName.rst[24]>", line 1, in <module>
browser.getControl('Save').click() # This submits the now shown add form.
File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
label, name, self.mech_browser.forms(), include_subcontrols=True)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
if not self.viewing_html():
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
raise BrowserStateError("not viewing any document")
BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.portlets/plone/app/portlets/tests/testViewName.rst", line 112, in testViewName.rst
Failed example:
browser.open(portal.absolute_url()+'/@@manage-dashboard')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest testViewName.rst[25]>", line 1, in <module>
browser.open(portal.absolute_url()+'/@@manage-dashboard')
File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 240, in open
self.mech_browser.open(url, data)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
return self._mech_open(url, data, timeout=timeout)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
response = UserAgentBase.open(self, request, data)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
response = urlopen(self, req, data)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
'_open', req)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
result = func(*args)
File "/home/jenkins/.buildout/eggs/plone.testing-4.0.15-py2.7.egg/plone/testing/_z2_testbrowser.py", line 66, in http_open
return self.do_open(connectionFactory, req)
File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
self.response = self.caller(request_string, handle_errors)
File "/home/jenkins/.buildout/eggs/plone.testing-4.0.15-py2.7.egg/plone/testing/_z2_testbrowser.py", line 124, in wrapped_func
return func(*args, **kw)
File "/home/jenkins/.buildout/eggs/plone.testing-4.0.15-py2.7.egg/plone/testing/_z2_testbrowser.py", line 220, in __call__
debug=not handle_errors,
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/ZPublisher/Test.py", line 202, in publish_module
response = publish(request, module_name, after_list, debug=debug)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/ZPublisher/Publish.py", line 138, in publish
request, bind=1)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/ZPublisher/Publish.py", line 48, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/home/jenkins/.buildout/eggs/five.customerize-1.1-py2.7.egg/five/customerize/zpt.py", line 83, in __call__
return template._exec(bound_names, args, kwargs)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/PageTemplates/ZopePageTemplate.py", line 338, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/PageTemplates/ZopePageTemplate.py", line 435, in pt_render
result = PageTemplate.pt_render(self, source, extra_context)
File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
showtal=showtal)
File "/home/jenkins/.buildout/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations
File "/home/jenkins/.buildout/eggs/five.pt-2.2.3-py2.7.egg/five/pt/engine.py", line 93, in __call__
return self.template.render(**kwargs)
File "/home/jenkins/.buildout/eggs/z3c.pt-3.0.0a1-py2.7.egg/z3c/pt/pagetemplate.py", line 163, in render
return base_renderer(**context)
File "/home/jenkins/.buildout/eggs/Chameleon-2.22-py2.7.egg/chameleon/zpt/template.py", line 258, in render
return super(PageTemplate, self).render(**vars)
File "/home/jenkins/.buildout/eggs/Chameleon-2.22-py2.7.egg/chameleon/template.py", line 191, in render
raise_with_traceback(exc, tb)
File "/home/jenkins/.buildout/eggs/Chameleon-2.22-py2.7.egg/chameleon/template.py", line 171, in render
self._render(stream, econtext, rcontext)
File "b6bebc7f360aa1a8c2baf03fe8035e09.py", line 612, in render
File "734c910f1d297764d57433ce210f0c20.py", line 971, in render_master
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.layout/plone/app/layout/globals/layout.py", line 184, in bodyClass
if not getattr(view, '__ac_permissions__'):
AttributeError: 'TTWView' object has no attribute '__ac_permissions__'
- Expression: "python:plone_layout.bodyClass(template, view)"
- Filename: ... one/Products/CMFPlone/browser/templates/main_template.pt
- Location: (line 45: col 28)
- Source: ... e="isRTL portal_state/is_rtl;
^
- Arguments: repeat: {...} (0)
template: <ImplicitAcquisitionWrapper plone.app.layout.navigation.interfaces.inavigationroot-manage-dashboard at 0x7f2169cd75a0>
modules: <instance - at 0x7f21782ef5f0>
here: <ImplicitAcquisitionWrapper plone at 0x7f2169cd7d20>
user: <ImplicitAcquisitionWrapper - at 0x7f2169cd7960>
loop: {...} (0)
nothing: <NoneType - at 0x91a870>
target_language: <NoneType - at 0x91a870>
container: <ImplicitAcquisitionWrapper portal_view_customizations at 0x7f216ffa94b0>
default: <object - at 0x7f217f94d400>
request: <instance - at 0x7f2169b55f80>
wrapped_repeat: <SafeMapping - at 0x7f216b3f9cb0>
context: <ImplicitAcquisitionWrapper plone at 0x7f2169cd7d20>
translate: <function translate at 0x7f216a40e140>
root: <Application Zope at 0x7f216a9e5500>
options: {...} (1)
view: <TTWView None at 0x7f2169c84ed0>
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.portlets/plone/app/portlets/tests/testViewName.rst", line 113, in testViewName.rst
Failed example:
'/search/edit' in browser.contents
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest testViewName.rst[26]>", line 1, in <module>
'/search/edit' in browser.contents
TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.portlets/plone/app/portlets/tests/testViewName.rst", line 115, in testViewName.rst
Failed example:
browser.getControl(name="search-remove").click()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest testViewName.rst[27]>", line 1, in <module>
browser.getControl(name="search-remove").click()
File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
label, name, self.mech_browser.forms(), include_subcontrols=True)
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
if not self.viewing_html():
File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
raise BrowserStateError("not viewing any document")
BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.portlets/plone/app/portlets/tests/testViewName.rst", line 116, in testViewName.rst
Failed example:
'/search/edit' in browser.contents
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest testViewName.rst[28]>", line 1, in <module>
'/search/edit' in browser.contents
TypeError: argument of type 'NoneType' is not iterable
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
More information about the Testbot
mailing list