[Testbot] Plone 5.2 - Python 2.7 - Build # 1949 - Still Failing!

jenkins at plone.org jenkins at plone.org
Fri Oct 5 03:20:50 UTC 2018


Plone 5.2 - Python 2.7 - Build # 1949 - Still Failing:

Check console output at https://jenkins.plone.org/job/plone-5.2-python-2.7/1949/ to view the results.

Changes:

[David Glick] use Zope branch







Test Results:

7 tests failed.
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-5.2-python-2.7/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 0

----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 382, in csrf.txt
Failed example:
    browser.getLink('Advanced...').click()
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest csrf.txt[170]>", line 1, in <module>
        browser.getLink('Advanced...').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 611, in click
        self.browser.open(self.url)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 256, in open
        self._processRequest(url, make_request)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 280, in _processRequest
        resp = make_request(reqargs)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 254, in make_request
        return self.testapp.get(url, **args)
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/app.py", line 331, in get
        expect_errors=expect_errors)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 94, in do_request
        expect_errors)
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/app.py", line 625, in do_request
        res = req.get_response(app, catch_exc_info=True)
      File "/home/jenkins/.buildout/eggs/WebOb-1.8.2-py2.7.egg/webob/request.py", line 1309, in send
        application, catch_exc_info=True)
      File "/home/jenkins/.buildout/eggs/WebOb-1.8.2-py2.7.egg/webob/request.py", line 1277, in call_application
        app_iter = application(self.environ, start_response)
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/lint.py", line 200, in lint_app
        iterator = application(environ, start_response_wrapper)
      File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 65, in __call__
        wsgi_result = publish(environ, start_response)
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/ZPublisher/WSGIPublisher.py", line 270, in publish_module
        response = _publish(request, new_mod_info)
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/ZPublisher/WSGIPublisher.py", line 210, in publish
        bind=1)
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/ZPublisher/mapply.py", line 85, in mapply
        return debug(object, args, context)
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/ZPublisher/WSGIPublisher.py", line 57, in call_object
        return obj(*args)
      File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.content/plone/app/content/browser/content_status_history.py", line 108, in __call__
        return self.template()
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.__func__(__self__, *args, **kw)
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 60, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/jenkins/.buildout/eggs/zope.pagetemplate-4.3.0-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 134, in pt_render
        strictinsert=0, sourceAnnotations=sourceAnnotations
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/Products/PageTemplates/engine.py", line 85, in __call__
        return self.template.render(**kwargs)
      File "/home/jenkins/.buildout/eggs/z3c.pt-3.1.0-py2.7.egg/z3c/pt/pagetemplate.py", line 158, in render
        return base_renderer(**context)
      File "/home/jenkins/.buildout/eggs/Chameleon-3.2-py2.7.egg/chameleon/zpt/template.py", line 297, in render
        return super(PageTemplate, self).render(**_kw)
      File "/home/jenkins/.buildout/eggs/Chameleon-3.2-py2.7.egg/chameleon/template.py", line 191, in render
        raise_with_traceback(exc, tb)
      File "/home/jenkins/.buildout/eggs/Chameleon-3.2-py2.7.egg/chameleon/template.py", line 171, in render
        self._render(stream, econtext, rcontext)
      File "805e19d7dd4595df0ecf493df911aa42.py", line 2925, in render
      File "f28a6194bedb7a068f17a06df50fd575.py", line 1065, in render_master
      File "f28a6194bedb7a068f17a06df50fd575.py", line 419, in render_content
      File "805e19d7dd4595df0ecf493df911aa42.py", line 1518, in __fill_main
    AttributeError: 'RequestContainer' object has no attribute 'isExpired'

     - Expression: "provider:plone.abovecontent"
     - Filename:   ... one/Products/CMFPlone/browser/templates/main_template.pt
     - Location:   (line 67: col 59)
     - Source:     ... 
                                           ^
     - Expression: "context/main_template/macros/master"
     - Filename:   ... /app/content/browser/templates/content_status_history.pt
     - Location:   (line 6: col 23)
     - Source:     ... etal:use-macro="context/main_template/macros/master"
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     - Arguments:  repeat: {...} (0)
                   template: <ViewPageTemplateFile - at 0x7f2104acead0>
                   views: <ViewMapper - at 0x7f20fb8e8a90>
                   modules: <_SecureModuleImporter - at 0x7f210cf8c6d0>
                   args: <tuple - at 0x7f2117453050>
                   here: <ImplicitAcquisitionWrapper another-folder at 0x7f2103496230>
                   user: <ImplicitAcquisitionWrapper - at 0x7f20fad7fcd0>
                   loop: {...} (1)
                   nothing: <NoneType - at 0x7cf030>
                   root: <ImplicitAcquisitionWrapper  at 0x7f21034968c0>
                   container: <ImplicitAcquisitionWrapper another-folder at 0x7f2103496230>
                   request: <WSGIRequest - at 0x7f21049dc3d0>
                   wrapped_repeat: <SafeMapping - at 0x7f210058c320>
                   traverse_subpath: <list - at 0x7f20ff2decf8>
                   default: <object - at 0x7f2117429400>
                   context: <ImplicitAcquisitionWrapper another-folder at 0x7f2103496230>
                   view: <ContentStatusHistoryView content_status_history at 0x7f20f9d1b1d0>
                   translate: <function translate at 0x7f21008aea28>
                   macroname: master
                   options: {...} (0)
                   target_language: <NoneType - at 0x7cf030>
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 383, in csrf.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/another-folder/content_status_history'
Got:
    'http://nohost/plone/another-folder/'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 385, in csrf.txt
Failed example:
    browser.getControl('Publish').selected = True
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest csrf.txt[172]>", line 1, in <module>
        browser.getControl('Publish').selected = True
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 391, in getControl
        available)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 1331, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Publish'
    available items:
      <SelectControl(path=[*, ambiguous])>
      <Item name='/plone/another-folder' id='searchbox_currentfolder_only' name='path' type='checkbox' id='searchbox_currentfolder_only' value='/plone/another-folder'>
      <TextControl(SearchableText=)>
      <SubmitControl(<None>=Search)>
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 386, in csrf.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest csrf.txt[173]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 391, in getControl
        available)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 1331, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Save'
    available items:
      <SelectControl(path=[*, ambiguous])>
      <Item name='/plone/another-folder' id='searchbox_currentfolder_only' name='path' type='checkbox' id='searchbox_currentfolder_only' value='/plone/another-folder'>
      <TextControl(SearchableText=)>
      <SubmitControl(<None>=Search)>
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 387, in csrf.txt
Failed example:
    browser.contents
Expected:
    '...Info...Item state 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>another folder \xe2\x80\x94 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++2018-10-04T19:52:24.323360/default.css" data-bundle="production" /><link rel="stylesheet" href="http://nohost/plone/++plone++production/++unique++2018-10-04T19:52:24.323360/logged-in.css" data-bundle="production" /><link rel="stylesheet" href="http://nohost/plone//++theme++barceloneta/less/barceloneta-compiled.css" data-bundle="diazo" /><link rel="author" href="http://nohost/plone/author/admin" title="Author information" /><link rel="canonical" href="http://nohost/plone/another-folder" /><link rel="search" href="http://nohost/plone/@@search" title="Search this site" /><script>PORTAL_URL = \'http://nohost/plone\';</script><script src="http://nohost/plone/++plone++production/++unique++2018-10-04T19:52:24.323360/default.js" data-bundle="production"></script><script src="http://nohost/plone/++plone++production/++unique++2018-10-04T19:52:24.323360/logged-in.js" data-bundle="production"></script></head>\n  <body id="visual-portal-wrapper" class="frontend icons-on pat-markspeciallinks plone-toolbar-expanded plone-toolbar-left plone-toolbar-left-expanded portaltype-folder section-another-folder site-plone template-listing_view thumbs-on userrole-authenticated userrole-manager userrole-owner viewpermission-view" dir="ltr" data-i18ncatalogurl="http://nohost/plone/plonejsi18n" data-pat-plone-modal="{"actionOptions": {"displayInModal": false}}" data-pat-markspeciallinks="{"external_links_open_new_window": false, "mark_special_links": true}" data-view-url="http://nohost/plone/another-folder" data-portal-url="http://nohost/plone" data-pat-pickadate="{"date": {"selectYears": 200}, "time": {"interval": 5 } }" data-base-url="http://nohost/plone/another-folder"><section id="edit-bar" role="toolbar">\n  <div id="edit-zone" role="toolbar" class="pat-toolbar" data-pat-toolbar="{"desktop_width": "768px", "submenu_width": "180px", "toolbar_width": "120px"}">\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  \n    \n  \n    <li id="contentview-folderContents" class="">\n      \n        <a href="http://nohost/plone/another-folder/folder_contents?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" class="">\n          <span class="icon-folderContents  toolbar-menu-icon" aria-hidden="true">\n          </span>\n          <span>Contents</span>\n        </a>\n      \n    </li>\n    \n  \n    <li id="contentview-edit" class="">\n      \n        <a href="http://nohost/plone/another-folder/edit?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" class="">\n          <span class="icon-edit  toolbar-menu-icon" aria-hidden="true">\n          </span>\n          <span>Edit</span>\n        </a>\n      \n    </li>\n    \n  \n    <li id="contentview-view" class="">\n      \n        <a href="http://nohost/plone/another-folder?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" class="">\n          <span class="icon-view  toolbar-menu-icon" aria-hidden="true">\n          </span>\n          <span>View</span>\n        </a>\n      \n    </li>\n    \n  \n\n\n  \n  \n    \n  \n    <li id="plone-contentmenu-factories">\n      <a href="http://nohost/plone/another-folder/folder_factories?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="Add new items inside this item" class="label-">\n        \n        <span aria-hidden="true" class="icon-plone-contentmenu-factories toolbar-menu-icon"></span>\n        \n          <span class="plone-toolbar-title">Add new\xe2\x80\xa6</span>\n        <span class="plone-toolbar-short-title">Add new\xe2\x80\xa6</span>\n          \n        \n        <span class="plone-toolbar-caret"></span>\n      </a>\n      <ul aria-hidden="true">\n        <li class="plone-toolbar-submenu-header">\n          \n            <span>Add new\xe2\x80\xa6</span>\n            \n          \n        </li>\n        <li class="plonetoolbar-contenttype ">\n          <a href="http://nohost/plone/another-folder/++add++Collection" title="" id="collection" class="contenttype-collection">\n            Collection\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-contenttype ">\n          <a href="http://nohost/plone/another-folder/++add++Event" title="Events can be shown in calendars." id="event" class="contenttype-event">\n            Event\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-contenttype ">\n          <a href="http://nohost/plone/another-folder/++add++File" title="Lets you upload a file to the site." id="file" class="contenttype-file">\n            File\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-contenttype ">\n          <a href="http://nohost/plone/another-folder/++add++Folder" title="" id="folder" class="contenttype-folder">\n            Folder\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-contenttype ">\n          <a href="http://nohost/plone/another-folder/++add++Image" title="Images can be referenced in pages or displayed in an album." id="image" class="contenttype-image">\n            Image\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-contenttype ">\n          <a href="http://nohost/plone/another-folder/++add++Link" title="" id="link" class="contenttype-link">\n            Link\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-contenttype ">\n          <a href="http://nohost/plone/another-folder/++add++News Item" title="" id="news-item" class="contenttype-news-item">\n            News Item\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-contenttype ">\n          <a href="http://nohost/plone/another-folder/++add++Document" title="" id="document" class="contenttype-document">\n            Page\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-contenttype ">\n          <a href="http://nohost/plone/another-folder/folder_constraintypes_form" title="Configure which content types can be added here" id="plone-contentmenu-settings" class="">\n            Restrictions\xe2\x80\xa6\n          </a>\n          \n        </li>\n      </ul>\n    </li>\n  \n    <li id="plone-contentmenu-workflow">\n      <a href="http://nohost/plone/another-folder/content_status_history" title="Change the state of this item" class="label-state-private">\n        <span aria-hidden="true" class="icon-plone-contentmenu-workflow state-private toolbar-menu-icon"></span>\n        \n        <span>\n          <span class="plone-toolbar-title">State:</span>\n        <span class="plone-toolbar-short-title">State</span>\n          <span class="plone-toolbar-state-title">Private</span>\n        </span>\n        <span class="plone-toolbar-caret"></span>\n      </a>\n      <ul aria-hidden="true">\n        <li class="plone-toolbar-submenu-header">\n          <span>\n            <span>State:</span>\n            <span class="state-private">Private</span>\n          </span>\n        </li>\n        <li class="plonetoolbar-workfow-transition ">\n          <a href="http://nohost/plone/another-folder/content_status_modify?workflow_action=publish&_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="Publishing the item makes it visible to other users." id="workflow-transition-publish" class="">\n            Publish\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-workfow-transition ">\n          <a href="http://nohost/plone/another-folder/content_status_modify?workflow_action=submit&_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="Puts your item in a review queue, so it can be published on the site." id="workflow-transition-submit" class="">\n            Submit for publication\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-workfow-transition actionSeparator">\n          <a href="http://nohost/plone/another-folder/content_status_history" title="" id="workflow-transition-advanced" class="pat-plone-modal">\n            Advanced...\n          </a>\n          \n        </li>\n      </ul>\n    </li>\n  \n    <li id="plone-contentmenu-actions">\n      <a href="http://nohost/plone/another-folder/folder_contents" title="Actions for the current content item" class="label-">\n        \n        <span aria-hidden="true" class="icon-plone-contentmenu-actions toolbar-menu-icon"></span>\n        \n          <span class="plone-toolbar-title">Actions</span>\n        <span class="plone-toolbar-short-title">Actions</span>\n          \n        \n        <span class="plone-toolbar-caret"></span>\n      </a>\n      <ul aria-hidden="true">\n        <li class="plone-toolbar-submenu-header">\n          \n            <span>Actions</span>\n            \n          \n        </li>\n        <li class="plonetoolbar-content-action ">\n          <a href="http://nohost/plone/another-folder/object_cut?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="" id="plone-contentmenu-actions-cut" class="actionicon-object_buttons-cut">\n            Cut\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-content-action ">\n          <a href="http://nohost/plone/another-folder/object_copy?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="" id="plone-contentmenu-actions-copy" class="actionicon-object_buttons-copy">\n            Copy\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-content-action ">\n          <a href="http://nohost/plone/another-folder/delete_confirmation?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="" id="plone-contentmenu-actions-delete" class="actionicon-object_buttons-delete pat-plone-modal" data-pat-plone-modal="{"actionOptions": {"disableAjaxFormSubmit":true, "redirectOnResponse":true}}">\n            Delete\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-content-action ">\n          <a href="http://nohost/plone/another-folder/object_rename?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="" id="plone-contentmenu-actions-rename" class="actionicon-object_buttons-rename pat-plone-modal" data-pat-plone-modal="{}">\n            Rename\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-content-action ">\n          <a href="http://nohost/plone/another-folder/@@ical_import_settings/enable?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="" id="plone-contentmenu-actions-ical_import_enable" class="actionicon-object_buttons-ical_import_enable">\n            Enable icalendar import\n          </a>\n          \n        </li>\n      </ul>\n    </li>\n  \n    <li id="plone-contentmenu-display">\n      <a href="http://nohost/plone/another-folder/select_default_view" title="Select the view mode for this folder, or set a content item as its default view." class="label-">\n        \n        <span aria-hidden="true" class="icon-plone-contentmenu-display toolbar-menu-icon"></span>\n        \n          <span class="plone-toolbar-title">Display</span>\n        <span class="plone-toolbar-short-title">Display</span>\n          \n        \n        <span class="plone-toolbar-caret"></span>\n      </a>\n      <ul aria-hidden="true">\n        <li class="plone-toolbar-submenu-header">\n          \n            <span>Display</span>\n            \n          \n        </li>\n        <li class="plonetoolbar-display-view ">\n          <a href="http://nohost/plone/another-folder/selectViewTemplate?templateId=listing_view&_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="" id="plone-contentmenu-display-listing_view" class="actionMenuSelected">\n            Standard view\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-display-view ">\n          <a href="http://nohost/plone/another-folder/selectViewTemplate?templateId=album_view&_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="" id="plone-contentmenu-display-album_view" class="">\n            Album view\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-display-view ">\n          <a href="http://nohost/plone/another-folder/selectViewTemplate?templateId=event_listing&_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="" id="plone-contentmenu-display-event_listing" class="">\n            event_listing\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-display-view ">\n          <a href="http://nohost/plone/another-folder/selectViewTemplate?templateId=full_view&_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="" id="plone-contentmenu-display-full_view" class="">\n            All content\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-display-view ">\n          <a href="http://nohost/plone/another-folder/selectViewTemplate?templateId=summary_view&_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="" id="plone-contentmenu-display-summary_view" class="">\n            Summary view\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-display-view ">\n          <a href="http://nohost/plone/another-folder/selectViewTemplate?templateId=tabular_view&_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="" id="plone-contentmenu-display-tabular_view" class="">\n            Tabular view\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-display-view ">\n          <a href="http://nohost/plone/another-folder/select_default_page?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="Select an item to be used as default view in this folder..." id="contextSetDefaultPage" class="pat-plone-modal">\n            Select a content item\nas default view...\n          </a>\n          \n        </li>\n      </ul>\n    </li>\n  \n    <li id="plone-contentmenu-portletmanager">\n      <a href="http://nohost/plone/another-folder/manage-portlets" title="Change the portlets of this item" class="label-">\n        \n        <span aria-hidden="true" class="icon-plone-contentmenu-portletmanager toolbar-menu-icon"></span>\n        \n          <span class="plone-toolbar-title">Manage portlets</span>\n        <span class="plone-toolbar-short-title">Manage portlets</span>\n          \n        \n        <span class="plone-toolbar-caret"></span>\n      </a>\n      <ul aria-hidden="true">\n        <li class="plone-toolbar-submenu-header">\n          \n            <span>Manage portlets</span>\n            \n          \n        </li>\n        <li class="plonetoolbar-portlet-manager ">\n          <a href="http://nohost/plone/another-folder/manage-portlets?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="Manage all portlets" id="portlet-manager-all">\n            All\xe2\x80\xa6\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-portlet-manager ">\n          <a href="http://nohost/plone/another-folder/@@topbar-manage-portlets/plone.footerportlets?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="Footer" id="portlet-manager-plone.footerportlets">\n            Footer\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-portlet-manager ">\n          <a href="http://nohost/plone/another-folder/@@topbar-manage-portlets/plone.leftcolumn?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="Left column" id="portlet-manager-plone.leftcolumn">\n            Left column\n          </a>\n          \n        </li>\n        <li class="plonetoolbar-portlet-manager ">\n          <a href="http://nohost/plone/another-folder/@@topbar-manage-portlets/plone.rightcolumn?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" title="Right column" id="portlet-manager-plone.rightcolumn">\n            Right column\n          </a>\n          \n        </li>\n      </ul>\n    </li>\n  \n\n\n  \n  \n    \n  \n    \n    <li id="contentview-history" class="">\n      \n        <a href="http://nohost/plone/another-folder/@@historyview?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" class="">\n          <span class="icon-history" aria-hidden="true">\n          </span>\n          <span class="pat-moment" data-pat-moment="format:relative;">2018-10-04T19:58:02-07:00</span>\n        </a>\n      \n    </li>\n  \n    <li id="contentview-local_roles" class="">\n      \n        <a href="http://nohost/plone/another-folder/@@sharing?_authenticator=82c1a8ec4909d2448f71bd8bd0a90598d428f307" class="">\n          <span class="icon-local_roles  toolbar-menu-icon" aria-hidden="true">\n          </span>\n          <span>Sharing</span>\n        </a>\n      \n    </li>\n    \n  \n\n\n  \n\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 href="http://nohost/plone/@@personal-preferences" id="personaltools-preferences" title="Preferences">\n                  Preferences\n                  \n                </a>\n              </li>\n              <li class="user-action">\n                <a href="http://nohost/plone/dashboard" id="personaltools-dashboard" title="Dashboard">\n                  Dashboard\n                  \n                </a>\n              </li>\n              <li class="user-action">\n                <a href="http://nohost/plone/@@overview-controlpanel" id="personaltools-plone_setup" title="Site Setup">\n                  Site Setup\n                  \n                </a>\n              </li>\n              <li class="user-action">\n                <a href="http://nohost/plone/logout" id="personaltools-logout" title="Log out">\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/another-folder" />\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\xe2\x80\xa6</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  <p class="hiddenStructure">Navigation</p>\n  <nav class="plone-navbar" 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            \n              <li id="portaltab-index_html">\n                  <a href="http://nohost/plone" title="">Home</a>\n              </li>\n            \n              <li id="portaltab-another-folder" class="selected">\n                  <a href="http://nohost/plone/another-folder" title="">another folder</a>\n              </li>\n            \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      <li id="breadcrumbs-1">\n        \n          \n          <span id="breadcrumbs-current">another folder</span>\n        \n      </li>\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          <div id="column1-container">\n          </div>\n          \n\n    \n\n    <div class="col-xs-12 col-sm-12">\n      <div class="row">\n        <div class="col-xs-12 col-sm-12">\n          <article id="content">\n\n          \n\n          <header>\n            <div id="viewlet-above-content-title"><span id="social-tags-body" style="display: none" itemscope="" itemtype="http://schema.org/WebPage">\n  \n</span>\n</div>\n            \n                <h1 class="documentFirstHeading">another folder</h1>\n            \n            <div id="viewlet-below-content-title"><div class="documentByLine" id="plone-document-byline">\n  \n  \n    <span class="documentAuthor">\n      by <a href="http://nohost/plone/author/admin">John Doe</a>\n         \xe2\x80\x94\n    </span>\n  \n  \n\n  \n  \n\n  <span class="documentModified">\n    <span>last modified</span>\n    <span class="pat-moment" data-pat-moment="format:relative;">2018-10-04T19:58:02-07:00</span>\n  </span>\n  \n\n  \n\n  \n\n  \n\n</div>\n\n</div>\n\n            \n                \n            \n          </header>\n\n          <div id="viewlet-above-content-body"></div>\n          <div id="content-core">\n            \n\n\n  \n\n  \n    \n      \n\n      \n        <p class="discreet">There are currently no items in this folder.</p>\n      \n\n    \n  \n\n\n\n          </div>\n          <div id="viewlet-below-content-body">\n\n\n\n    <div class="visualClear"><!-- --></div>\n\n    <div class="documentActions">\n        \n\n        \n\n    </div>\n\n</div>\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\n\n\n\n</div>\n        </div>\n      </footer>\n    </div>\n  \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="row">\n\t<div class="col-xs-12">\n\t\t\n<div class="portletWrapper" id="portletwrapper-706c6f6e652e666f6f746572706f72746c6574730a636f6e746578740a2f706c6f6e650a666f6f746572" data-portlethash="706c6f6e652e666f6f746572706f72746c6574730a636f6e746578740a2f706c6f6e650a666f6f746572">\n\n  \n\n  \n    \n\n  <aside class="portlet portletClassic" id="portal-footer-signature">\n    <div class="portletContent">\n      The \n           <a href="http://plone.com">Plone<sup>\xc2\xae</sup> Open Source CMS/WCM</a>\n       is <abbr title="Copyright">\xc2\xa9</abbr> 2000-2018 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>\n  </aside>\n\n\n  \n\n</div>\n\n<div class="portletWrapper" id="portletwrapper-706c6f6e652e666f6f746572706f72746c6574730a636f6e746578740a2f706c6f6e650a616374696f6e73" data-portlethash="706c6f6e652e666f6f746572706f72746c6574730a636f6e746578740a2f706c6f6e650a616374696f6e73">\n\n<aside class="portlet portletActions">\n\n  \n  <div class="portletContent">\n    <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>\n  </div>\n</aside>\n\n</div>\n\n<div class="portletWrapper" id="portletwrapper-706c6f6e652e666f6f746572706f72746c6574730a636f6e746578740a2f706c6f6e650a636f6c6f70686f6e" data-portlethash="706c6f6e652e666f6f746572706f72746c6574730a636f6e746578740a2f706c6f6e650a636f6c6f70686f6e">\n\n  \n\n  \n    \n\n  <aside class="portlet portletClassic" id="portal-colophon">\n    <div class="portletContent">\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>\n  </aside>\n\n\n  \n\n</div>\n\n\n\t</div>\n</div>\n\n\n    </div>\n    </footer><script src="http://nohost/plone/++resource++protect.js" type="application/javascript" id="protect-script" data-token="bc8bd5b7d850f28185fbb82706bf5f6b5878d929" data-site-url="http://nohost/plone"></script></body>\n</html>'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 390, in csrf.txt
Failed example:
    browser.getLink('Advanced...').click()
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest csrf.txt[175]>", line 1, in <module>
        browser.getLink('Advanced...').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 611, in click
        self.browser.open(self.url)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 256, in open
        self._processRequest(url, make_request)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 280, in _processRequest
        resp = make_request(reqargs)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 254, in make_request
        return self.testapp.get(url, **args)
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/app.py", line 331, in get
        expect_errors=expect_errors)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 94, in do_request
        expect_errors)
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/app.py", line 625, in do_request
        res = req.get_response(app, catch_exc_info=True)
      File "/home/jenkins/.buildout/eggs/WebOb-1.8.2-py2.7.egg/webob/request.py", line 1309, in send
        application, catch_exc_info=True)
      File "/home/jenkins/.buildout/eggs/WebOb-1.8.2-py2.7.egg/webob/request.py", line 1277, in call_application
        app_iter = application(self.environ, start_response)
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/lint.py", line 200, in lint_app
        iterator = application(environ, start_response_wrapper)
      File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 65, in __call__
        wsgi_result = publish(environ, start_response)
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/ZPublisher/WSGIPublisher.py", line 270, in publish_module
        response = _publish(request, new_mod_info)
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/ZPublisher/WSGIPublisher.py", line 210, in publish
        bind=1)
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/ZPublisher/mapply.py", line 85, in mapply
        return debug(object, args, context)
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/ZPublisher/WSGIPublisher.py", line 57, in call_object
        return obj(*args)
      File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.content/plone/app/content/browser/content_status_history.py", line 108, in __call__
        return self.template()
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.__func__(__self__, *args, **kw)
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 60, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/jenkins/.buildout/eggs/zope.pagetemplate-4.3.0-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 134, in pt_render
        strictinsert=0, sourceAnnotations=sourceAnnotations
      File "/home/jenkins/.buildout/eggs/Zope-4.0b5-py2.7.egg/Products/PageTemplates/engine.py", line 85, in __call__
        return self.template.render(**kwargs)
      File "/home/jenkins/.buildout/eggs/z3c.pt-3.1.0-py2.7.egg/z3c/pt/pagetemplate.py", line 158, in render
        return base_renderer(**context)
      File "/home/jenkins/.buildout/eggs/Chameleon-3.2-py2.7.egg/chameleon/zpt/template.py", line 297, in render
        return super(PageTemplate, self).render(**_kw)
      File "/home/jenkins/.buildout/eggs/Chameleon-3.2-py2.7.egg/chameleon/template.py", line 191, in render
        raise_with_traceback(exc, tb)
      File "/home/jenkins/.buildout/eggs/Chameleon-3.2-py2.7.egg/chameleon/template.py", line 171, in render
        self._render(stream, econtext, rcontext)
      File "805e19d7dd4595df0ecf493df911aa42.py", line 2925, in render
      File "f28a6194bedb7a068f17a06df50fd575.py", line 1065, in render_master
      File "f28a6194bedb7a068f17a06df50fd575.py", line 419, in render_content
      File "805e19d7dd4595df0ecf493df911aa42.py", line 1518, in __fill_main
    AttributeError: 'RequestContainer' object has no attribute 'isExpired'

     - Expression: "provider:plone.abovecontent"
     - Filename:   ... one/Products/CMFPlone/browser/templates/main_template.pt
     - Location:   (line 67: col 59)
     - Source:     ... 
                                           ^
     - Expression: "context/main_template/macros/master"
     - Filename:   ... /app/content/browser/templates/content_status_history.pt
     - Location:   (line 6: col 23)
     - Source:     ... etal:use-macro="context/main_template/macros/master"
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     - Arguments:  repeat: {...} (0)
                   template: <ViewPageTemplateFile - at 0x7f2104acead0>
                   views: <ViewMapper - at 0x7f21005f0810>
                   modules: <_SecureModuleImporter - at 0x7f210cf8c6d0>
                   args: <tuple - at 0x7f2117453050>
                   here: <ImplicitAcquisitionWrapper another-folder at 0x7f210365daa0>
                   user: <ImplicitAcquisitionWrapper - at 0x7f2100beb5f0>
                   loop: {...} (1)
                   nothing: <NoneType - at 0x7cf030>
                   root: <ImplicitAcquisitionWrapper  at 0x7f210365daf0>
                   container: <ImplicitAcquisitionWrapper another-folder at 0x7f210365daa0>
                   request: <WSGIRequest - at 0x7f20fb444e90>
                   wrapped_repeat: <SafeMapping - at 0x7f20fcfda908>
                   traverse_subpath: <list - at 0x7f2100ee8c20>
                   default: <object - at 0x7f2117429400>
                   context: <ImplicitAcquisitionWrapper another-folder at 0x7f210365daa0>
                   view: <ContentStatusHistoryView content_status_history at 0x7f20fb986950>
                   translate: <function translate at 0x7f2103737140>
                   macroname: master
                   options: {...} (0)
                   target_language: <NoneType - at 0x7cf030>
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 391, in csrf.txt
Failed example:
    browser.getControl(name='_authenticator', index=0).value = 'invalid!'
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest csrf.txt[176]>", line 1, in <module>
        browser.getControl(name='_authenticator', index=0).value = 'invalid!'
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 391, in getControl
        available)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 1331, in disambiguate
        raise LookupError(msg)
    LookupError: name '_authenticator'
    available items:
      <SelectControl(path=[*, ambiguous])>
      <TextControl(SearchableText=)>
      <SubmitControl(<None>=Search)>
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 392, in csrf.txt
Failed example:
    browser.getControl('Retract').selected = True
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest csrf.txt[177]>", line 1, in <module>
        browser.getControl('Retract').selected = True
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 391, in getControl
        available)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 1331, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Retract'
    available items:
      <SelectControl(path=[*, ambiguous])>
      <Item name='/plone/another-folder' id='searchbox_currentfolder_only' name='path' type='checkbox' id='searchbox_currentfolder_only' value='/plone/another-folder'>
      <TextControl(SearchableText=)>
      <SubmitControl(<None>=Search)>
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Products.CMFPlone/Products/CMFPlone/tests/csrf.txt", line 393, in csrf.txt
Failed example:
    browser.getControl('Save').click()
Expected:
    Traceback (most recent call last):
    ...
    Forbidden: Form authenticator is invalid.
Got:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest csrf.txt[178]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 391, in getControl
        available)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 1331, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Save'
    available items:
      <SelectControl(path=[*, ambiguous])>
      <Item name='/plone/another-folder' id='searchbox_currentfolder_only' name='path' type='checkbox' id='searchbox_currentfolder_only' value='/plone/another-folder'>
      <TextControl(SearchableText=)>
      <SubmitControl(<None>=Search)>


  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/srv/python2.7/lib/python2.7/doctest.py", line 2226, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))


FAILED:  plone.app.contentrules.tests.multipublish.txt

Error Message:
Failed doctest test for multipublish.txt

Stack Trace:
Failed doctest test for multipublish.txt
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.contentrules/plone/app/contentrules/tests/multipublish.txt", line 0

----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.contentrules/plone/app/contentrules/tests/multipublish.txt", line 94, in multipublish.txt
Failed example:
    browser.open('http://nohost/plone/content_status_history?paths:list=my-news-item&paths:list=second-news-item')
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest multipublish.txt[53]>", line 1, in <module>
        browser.open('http://nohost/plone/content_status_history?paths:list=my-news-item&paths:list=second-news-item')
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 256, in open
        self._processRequest(url, make_request)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 289, in _processRequest
        self._checkStatus()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 297, in _checkStatus
        raise HTTPError(self.url, code, msg, [], None)
    HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.contentrules/plone/app/contentrules/tests/multipublish.txt", line 95, in multipublish.txt
Failed example:
    browser.getControl('Publish').click()
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest multipublish.txt[54]>", line 1, in <module>
        browser.getControl('Publish').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 387, in getControl
        label, name, self._getAllResponseForms(),
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 397, in _getAllResponseForms
        respforms = self._response.forms
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/response.py", line 43, in forms
        self._parse_forms()
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/response.py", line 77, in _parse_forms
        form_texts = [text_type(f) for f in self.html('form')]
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/response.py", line 428, in html
        % self.content_type)
    AttributeError: Not an HTML response body (content-type: application/json)


  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/srv/python2.7/lib/python2.7/doctest.py", line 2226, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))


FAILED:  plone.app.contentrules.tests.simplepublish.txt

Error Message:
Failed doctest test for simplepublish.txt

Stack Trace:
Failed doctest test for simplepublish.txt
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.contentrules/plone/app/contentrules/tests/simplepublish.txt", line 0

----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.contentrules/plone/app/contentrules/tests/simplepublish.txt", line 80, in simplepublish.txt
Failed example:
    browser.getLink('State:').click()
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest simplepublish.txt[45]>", line 1, in <module>
        browser.getLink('State:').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 611, in click
        self.browser.open(self.url)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 256, in open
        self._processRequest(url, make_request)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 289, in _processRequest
        self._checkStatus()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 297, in _checkStatus
        raise HTTPError(self.url, code, msg, [], None)
    HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.contentrules/plone/app/contentrules/tests/simplepublish.txt", line 81, in simplepublish.txt
Failed example:
    ctrl = browser.getControl(name='workflow_action') # XXX fix label
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest simplepublish.txt[46]>", line 1, in <module>
        ctrl = browser.getControl(name='workflow_action') # XXX fix label
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 387, in getControl
        label, name, self._getAllResponseForms(),
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 397, in _getAllResponseForms
        respforms = self._response.forms
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/response.py", line 43, in forms
        self._parse_forms()
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/response.py", line 77, in _parse_forms
        form_texts = [text_type(f) for f in self.html('form')]
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/response.py", line 428, in html
        % self.content_type)
    AttributeError: Not an HTML response body (content-type: application/json)
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.contentrules/plone/app/contentrules/tests/simplepublish.txt", line 82, in simplepublish.txt
Failed example:
    ctrl.value = ['publish']
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest simplepublish.txt[47]>", line 1, in <module>
        ctrl.value = ['publish']
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 126, in __setattr__
        object.__setattr__(self, name, value)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 708, in value
        raise interfaces.ExpiredError
    ExpiredError
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.contentrules/plone/app/contentrules/tests/simplepublish.txt", line 83, in simplepublish.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest simplepublish.txt[48]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 391, in getControl
        available)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 1331, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Save'
    (there are no form items in the HTML)
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.contentrules/plone/app/contentrules/tests/simplepublish.txt", line 87, in simplepublish.txt
Failed example:
    'my-news-item' in portal.news
Differences (ndiff with -expected +actual):
    - True
    + False


  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/srv/python2.7/lib/python2.7/doctest.py", line 2226, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))


FAILED:  plone.app.iterate.tests.browser.rst

Error Message:
Failed doctest test for browser.rst

Stack Trace:
Failed doctest test for browser.rst
  File "/home/jenkins/.buildout/eggs/plone.app.iterate-3.3.9-py2.7.egg/plone/app/iterate/tests/browser.rst", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.iterate-3.3.9-py2.7.egg/plone/app/iterate/tests/browser.rst", line 124, in browser.rst
Failed example:
    browser.getLink("Published").click()
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.rst[53]>", line 1, in <module>
        browser.getLink("Published").click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 611, in click
        self.browser.open(self.url)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 256, in open
        self._processRequest(url, make_request)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 289, in _processRequest
        self._checkStatus()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 297, in _checkStatus
        raise HTTPError(self.url, code, msg, [], None)
    HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.iterate-3.3.9-py2.7.egg/plone/app/iterate/tests/browser.rst", line 125, in browser.rst
Failed example:
    browser.getControl("Retract").click()
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.rst[54]>", line 1, in <module>
        browser.getControl("Retract").click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 387, in getControl
        label, name, self._getAllResponseForms(),
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 397, in _getAllResponseForms
        respforms = self._response.forms
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/response.py", line 43, in forms
        self._parse_forms()
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/response.py", line 77, in _parse_forms
        form_texts = [text_type(f) for f in self.html('form')]
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.29-py2.7.egg/webtest/response.py", line 428, in html
        % self.content_type)
    AttributeError: Not an HTML response body (content-type: application/json)
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.iterate-3.3.9-py2.7.egg/plone/app/iterate/tests/browser.rst", line 126, in browser.rst
Failed example:
    browser.getControl("Save").click()
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.rst[55]>", line 1, in <module>
        browser.getControl("Save").click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 391, in getControl
        available)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 1331, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Save'
    (there are no form items in the HTML)
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.iterate-3.3.9-py2.7.egg/plone/app/iterate/tests/browser.rst", line 131, in browser.rst
Failed example:
    browser.getLink("Check in").click()
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.rst[60]>", line 1, in <module>
        browser.getLink("Check in").click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 336, in getLink
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.iterate-3.3.9-py2.7.egg/plone/app/iterate/tests/browser.rst", line 132, in browser.rst
Failed example:
    browser.getControl("Check in").click()
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.rst[61]>", line 1, in <module>
        browser.getControl("Check in").click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 391, in getControl
        available)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 1331, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Check in'
    available items:
      <SelectControl(path=[*, ambiguous])>
      <Item name='/plone/Members/editor' id='searchbox_currentfolder_only' name='path' type='checkbox' id='searchbox_currentfolder_only' value='/plone/Members/editor'>
      <TextControl(SearchableText=)>
      <SubmitControl(<None>=Search)>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.iterate-3.3.9-py2.7.egg/plone/app/iterate/tests/browser.rst", line 133, in browser.rst
Failed example:
    "Checked in" in browser.contents
Expected:
    True
Got:
    False


  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/srv/python2.7/lib/python2.7/doctest.py", line 2226, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))


FAILED:  plone.app.content.tests.test_reviewlist.ReviewListTestCase.test_authenticated

Error Message:
HTTP Error 500: Internal Server Error

Stack Trace:
HTTP Error 500: Internal Server Error

  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.content/plone/app/content/tests/test_reviewlist.py", line 57, in test_authenticated
    self.browser.open('http://nohost/plone/full_review_list')
  File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 256, in open
    self._processRequest(url, make_request)
  File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 289, in _processRequest
    self._checkStatus()
  File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 297, in _checkStatus
    raise HTTPError(self.url, code, msg, [], None)


FAILED:  plone.app.content.tests.test_reviewlist.ReviewListTestCase.test_with_content

Error Message:
HTTP Error 500: Internal Server Error

Stack Trace:
HTTP Error 500: Internal Server Error

  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.content/plone/app/content/tests/test_reviewlist.py", line 72, in test_with_content
    self.browser.open('http://nohost/plone/full_review_list')
  File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 256, in open
    self._processRequest(url, make_request)
  File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 289, in _processRequest
    self._checkStatus()
  File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 297, in _checkStatus
    raise HTTPError(self.url, code, msg, [], None)


FAILED:  plone.app.workflow.tests.test_plone_workflow.TestDefaultWorkflow.testMyWorklist

Error Message:
'RequestContainer' object has no attribute 'my_worklist'

Stack Trace:
'RequestContainer' object has no attribute 'my_worklist'

  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.workflow/plone/app/workflow/tests/test_plone_workflow.py", line 485, in testMyWorklist
    worklist = self.portal.my_worklist()


More information about the Testbot mailing list