[Testbot] Plone 5.2 - Python 2.7 - Build # 1353 - Failure!

jenkins at plone.org jenkins at plone.org
Mon Mar 22 13:43:34 UTC 2021


Plone 5.2 - Python 2.7 - Build # 1353 - Failure:

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


Plone 5.2 - Python 2.7 - Build # 1353 - Failure:

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

Test Results:

2 tests failed.
FAILED:  .schemaeditor.txt

Error Message:
Failed doctest test for schemaeditor.txt

Stack Trace:
Failed doctest test for schemaeditor.txt
  File "/home/jenkins/.buildout/eggs/cp27m/plone.app.relationfield-2.0.3-py2.7.egg/plone/app/relationfield/tests/../schemaeditor.txt", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp27m/plone.app.relationfield-2.0.3-py2.7.egg/plone/app/relationfield/tests/../schemaeditor.txt", line 144, in schemaeditor.txt
Failed example:
    browser.getControl(name='form.widgets.portal_type:list').value
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 schemaeditor.txt[62]>", line 1, in <module>
        browser.getControl(name='form.widgets.portal_type:list').value
      File "/home/jenkins/.buildout/eggs/cp27m/zope.testbrowser-5.5.1-py2.7.egg/zope/testbrowser/browser.py", line 397, in getControl
        available)
      File "/home/jenkins/.buildout/eggs/cp27m/zope.testbrowser-5.5.1-py2.7.egg/zope/testbrowser/browser.py", line 1357, in disambiguate
        raise LookupError(msg)
    LookupError: name 'form.widgets.portal_type:list'
    available items:
      <SelectControl(path=[*, ambiguous])>
      <TextControl(SearchableText=)>
      <SubmitControl(<None>=Search)>
      <HiddenControl(form.submitted:boolean=True) (readonly)>
      <HiddenControl(old_type_id=) (readonly)>
      <SelectControl(type_id=[*, ambiguous])>
      <SubmitControl(form.button.SelectContentType=Change)>
      <SelectControl(new_workflow=[*, ambiguous])>
      <SubmitControl(form.button.SelectWorkflow=Change)>
      <HiddenControl(form.workflow.submitted:boolean=True) (readonly)>
      <SubmitControl(form.button.Save=Save)>
      <SubmitControl(form.button.Cancel=Cancel)>
      <HiddenControl(_authenticator=7cfabfc9ac32d8067f10746860834a6a615f5b7a) (readonly)>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp27m/plone.app.relationfield-2.0.3-py2.7.egg/plone/app/relationfield/tests/../schemaeditor.txt", line 150, in schemaeditor.txt
Failed example:
    browser.contents
Expected:
    '...My Relation List...'
Got:
    '<!DOCTYPE html>\n<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">\n  <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <title>Plone site</title>\n    <link rel="shortcut icon" type="image/x-icon" href="/plone/++theme++barceloneta/barceloneta-favicon.ico" />\n    <link rel="apple-touch-icon" href="/plone/++theme++barceloneta/barceloneta-apple-touch-icon.png" />\n    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/plone/++theme++barceloneta/barceloneta-apple-touch-icon-144x144-precomposed.png" />\n    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/plone/++theme++barceloneta/barceloneta-apple-touch-icon-114x114-precomposed.png" />\n    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/plone/++theme++barceloneta/barceloneta-apple-touch-icon-72x72-precomposed.png" />\n    <link rel="apple-touch-icon-precomposed" sizes="57x57" href="/plone/++theme++barceloneta/barceloneta-apple-touch-icon-57x57-precomposed.png" />\n    <link rel="apple-touch-icon-precomposed" href="/plone/++theme++barceloneta/barceloneta-apple-touch-icon-precomposed.png" />\n  <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Plone - http://plone.com" /><link rel="stylesheet" href="http://nohost/plone/++plone++production/++unique++2021-03-22T13:12:53.296625/default.css" data-bundle="production" /><link rel="stylesheet" href="http://nohost/plone/++plone++production/++unique++2021-03-22T13:12:53.296625/logged-in.css" data-bundle="production" /><link rel="stylesheet" href="http://nohost/plone//++theme++barceloneta/less/barceloneta-compiled.css" data-bundle="diazo" /><link rel="alternate" href="http://nohost/plone/RSS" title="Plone site - RSS 1.0" type="application/rss+xml" /><link rel="alternate" href="http://nohost/plone/rss.xml" title="Plone site - RSS 2.0" type="application/rss+xml" /><link rel="alternate" href="http://nohost/plone/atom.xml" title="Plone site - Atom" type="application/rss+xml" /><link rel="author" href="http://nohost/plone/author/" title="Author information" /><link rel="canonical" href="http://nohost/plone" /><link rel="search" href="http://nohost/plone/@@search" title="Search this site" /><script>PORTAL_URL = \'http://nohost/plone\';</script><script type="text/javascript" src="http://nohost/plone/++plone++production/++unique++2021-03-22T13:12:53.296625/default.js" data-bundle="production"></script><script type="text/javascript" src="http://nohost/plone/++plone++production/++unique++2021-03-22T13:12:53.296625/logged-in.js" data-bundle="production"></script></head>\n  <body id="visual-portal-wrapper" class="icons-on plone-toolbar-expanded plone-toolbar-left plone-toolbar-left-expanded portaltype-plone-site site-plone template-test_type1 thumbs-on userrole-authenticated userrole-manager userrole-owner viewpermission-add-portal-content" dir="ltr" data-i18ncatalogurl="http://nohost/plone/plonejsi18n" data-view-url="http://nohost/plone" data-pat-plone-modal="{"actionOptions": {"displayInModal": false}}" data-portal-url="http://nohost/plone" data-pat-pickadate="{"date": {"selectYears": 200}, "time": {"interval": 5 } }" data-base-url="http://nohost/plone"><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        </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>admin</span>\n              <span class="plone-toolbar-caret"></span>\n            </a>\n            <ul>\n              <li class="plone-toolbar-submenu-header">\n                <span>admin</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" />\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  <nav class="plone-navbar pat-navigationmarker" id="portal-globalnav-wrapper">\n    <div class="container">\n      <div class="plone-navbar-header">\n        <button type="button" class="plone-navbar-toggle" data-toggle="collapse" data-target="#portal-globalnav-collapse">\n          <span class="sr-only">Toggle navigation</span>\n          <span class="icon-bar"></span>\n          <span class="icon-bar"></span>\n          <span class="icon-bar"></span>\n        </button>\n      </div>\n\n      <div class="plone-collapse plone-navbar-collapse" id="portal-globalnav-collapse">\n        <ul class="plone-nav plone-navbar-nav" id="portal-globalnav">\n          <li class="index_html"><a href="http://nohost/plone" class="state-None">Home</a></li>\n        </ul>\n      </div>\n    </div>\n  </nav>\n\n\n</div>\n      </div>\n      \n      <div id="above-content-wrapper">\n          <div id="viewlet-above-content"><nav id="portal-breadcrumbs" class="plone-breadcrumb">\n  <div class="container">\n    <span id="breadcrumbs-you-are-here" class="hiddenStructure">You are here:</span>\n    <ol aria-labelledby="breadcrumbs-you-are-here">\n      <li id="breadcrumbs-home">\n        <a href="http://nohost/plone">Home</a>\n      </li>\n      \n    </ol>\n  </div>\n</nav>\n</div>\n      </div>\n      <div class="container">\n        <div class="row">\n          <aside id="global_statusmessage">\n      \n\n      <div>\n      </div>\n    </aside>\n        </div>\n        <main id="main-container" class="row row-offcanvas row-offcanvas-right">\n          \n\n    \n\n    <div class="col-xs-12 col-sm-12 col-md-12">\n      <div class="row">\n        <div class="col-xs-12 col-sm-12">\n          <article id="content">\n\n          \n        \n            <h1 class="documentFirstHeading">Add test type1</h1>\n            <div id="content-core">\n\n                \n\n                \n\n                \n                  \n                \n\n                <form data-pat-autotoc="levels: legend; section: fieldset; className: autotabs" class="rowlike pat-formunloadalert enableFormTabbing pat-autotoc  kssattr-formname-++add++test_type1 view-name-add-test_type1" action="http://nohost/plone/++add++test_type1" method="post" enctype="multipart/form-data" id="form">\n\n                    \n\n                    \n                      \n\n                      <!-- Default fieldset -->\n                      \n\n                          <fieldset id="fieldset-default">\n\n                              <legend id="fieldsetlegend-default">Default</legend>\n\n                              \n                                  \n                                      \n                                          \n                                              <div data-pat-inlinevalidation="{"type":"z3c.form"}" class="field pat-inlinevalidation kssattr-fieldname-form.widgets.IDublinCore.title empty None" data-fieldname="form.widgets.IDublinCore.title" id="formfield-form-widgets-IDublinCore-title">\n    <label for="form-widgets-IDublinCore-title" class="horizontal">\n        Title\n\n        <span class="required horizontal" title="Required">\xc2\xa0</span>\n\n        \n    </label>\n\n    <div class="fieldErrorBox"></div>\n\n    \n    <input id="form-widgets-IDublinCore-title" name="form.widgets.IDublinCore.title" class="text-widget required textline-field" value="" type="text" />\n\n\n</div>\n\n                                          \n                                      \n                                  \n                                      \n                                          \n                                              <div data-pat-inlinevalidation="{"type":"z3c.form"}" class="field pat-inlinevalidation kssattr-fieldname-form.widgets.IDublinCore.description empty None" data-fieldname="form.widgets.IDublinCore.description" id="formfield-form-widgets-IDublinCore-description">\n    <label for="form-widgets-IDublinCore-description" class="horizontal">\n        Summary\n\n        \n\n        <span class="formHelp">Used in item listings and search results.</span>\n    </label>\n\n    <div class="fieldErrorBox"></div>\n\n    \n<textarea id="form-widgets-IDublinCore-description" name="form.widgets.IDublinCore.description" class="textarea-widget text-field"></textarea>\n\n\n</div>\n\n                                          \n                                      \n                                  \n                              \n                          </fieldset>\n\n                          <!-- Secondary fieldsets -->\n                          \n                              <fieldset id="fieldset-categorization" class="kssattr-fieldset-categorization" data-fieldset="categorization">\n\n                                      <legend id="fieldsetlegend-categorization">Categorization</legend>\n\n                                      \n\n                                      \n\n                                      \n                                          \n                                  \n                                      \n                                          \n                                              <div data-pat-inlinevalidation="{"type":"z3c.form"}" class="field pat-inlinevalidation kssattr-fieldname-form.widgets.IDublinCore.subjects empty None" data-fieldname="form.widgets.IDublinCore.subjects" id="formfield-form-widgets-IDublinCore-subjects">\n    <label for="form-widgets-IDublinCore-subjects" class="horizontal">\n        Tags\n\n        \n\n        <span class="formHelp">Tags are commonly used for ad-hoc organization of content.</span>\n    </label>\n\n    <div class="fieldErrorBox"></div>\n\n    <input class="pat-select2 text-widget tuple-field" type="text" name="form.widgets.IDublinCore.subjects" value="" data-pat-select2="{"allowNewItems": "true", "orderable": true, "vocabularyUrl": "http://nohost/plone/++add++test_type1/@@getVocabulary?name=plone.app.vocabularies.Keywords&field=subjects", "separator": ";"}" />\n</div>\n\n                                          \n                                      \n                                  \n                                      \n                                          \n                                              <div data-pat-inlinevalidation="{"type":"z3c.form"}" class="field pat-inlinevalidation kssattr-fieldname-form.widgets.IDublinCore.language None" data-fieldname="form.widgets.IDublinCore.language" id="formfield-form-widgets-IDublinCore-language">\n    <label for="form-widgets-IDublinCore-language" class="horizontal">\n        Language\n\n        \n\n        \n    </label>\n\n    <div class="fieldErrorBox"></div>\n\n    <select class="pat-select2 select-widget choice-field" name="form.widgets.IDublinCore.language" data-pat-select2="{"allowClear": true}"><option value=""></option><option value="en" selected="selected">English</option></select>\n</div>\n\n                                          \n                                      \n                                  \n                              \n                                      \n\n                              </fieldset>\n                          \n                              <fieldset id="fieldset-dates" class="kssattr-fieldset-dates" data-fieldset="dates">\n\n                                      <legend id="fieldsetlegend-dates">Dates</legend>\n\n                                      \n\n                                      \n\n                                      \n                                          \n                                  \n                                      \n                                          \n                                              <div data-pat-inlinevalidation="{"type":"z3c.form"}" class="field pat-inlinevalidation kssattr-fieldname-form.widgets.IDublinCore.effective empty None" data-fieldname="form.widgets.IDublinCore.effective" id="formfield-form-widgets-IDublinCore-effective">\n    <label for="form-widgets-IDublinCore-effective" class="horizontal">\n        Publishing Date\n\n        \n\n        <span class="formHelp">If this date is in the future, the content will not show up in listings and searches until this date.</span>\n    </label>\n\n    <div class="fieldErrorBox"></div>\n\n    <input class="pat-pickadate" type="text" name="form.widgets.IDublinCore.effective" value="" data-pat-pickadate="{"date": {"format": "mmmm d, yyyy", "selectYears": 200, "min": [1921, 1, 1], "monthsFull": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], "weekdaysShort": ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], "weekdaysFull": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "firstDay": 0, "max": [2041, 1, 1], "placeholder": "Enter date...", "monthsShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]}, "clear": "Clear", "today": "Today", "time": {"placeholder": "Enter time...", "format": "h:i a"}}" />\n</div>\n\n                                          \n                                      \n                                  \n                                      \n                                          \n                                              <div data-pat-inlinevalidation="{"type":"z3c.form"}" class="field pat-inlinevalidation kssattr-fieldname-form.widgets.IDublinCore.expires empty None" data-fieldname="form.widgets.IDublinCore.expires" id="formfield-form-widgets-IDublinCore-expires">\n    <label for="form-widgets-IDublinCore-expires" class="horizontal">\n        Expiration Date\n\n        \n\n        <span class="formHelp">When this date is reached, the content will no longer be visible in listings and searches.</span>\n    </label>\n\n    <div class="fieldErrorBox"></div>\n\n    <input class="pat-pickadate" type="text" name="form.widgets.IDublinCore.expires" value="" data-pat-pickadate="{"date": {"format": "mmmm d, yyyy", "selectYears": 200, "min": [1921, 1, 1], "monthsFull": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], "weekdaysShort": ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], "weekdaysFull": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "firstDay": 0, "max": [2041, 1, 1], "placeholder": "Enter date...", "monthsShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]}, "clear": "Clear", "today": "Today", "time": {"placeholder": "Enter time...", "format": "h:i a"}}" />\n</div>\n\n                                          \n                                      \n                                  \n                              \n                                      \n\n                              </fieldset>\n                          \n                              <fieldset id="fieldset-ownership" class="kssattr-fieldset-ownership" data-fieldset="ownership">\n\n                                      <legend id="fieldsetlegend-ownership">Ownership</legend>\n\n                                      \n\n                                      \n\n                                      \n                                          \n                                  \n                                      \n                                          \n                                              <div data-pat-inlinevalidation="{"type":"z3c.form"}" class="field pat-inlinevalidation kssattr-fieldname-form.widgets.IDublinCore.creators None" data-fieldname="form.widgets.IDublinCore.creators" id="formfield-form-widgets-IDublinCore-creators">\n    <label for="form-widgets-IDublinCore-creators" class="horizontal">\n        Creators\n\n        \n\n        <span class="formHelp">Persons responsible for creating the content of this item. Please enter a list of user names, one per line. The principal creator should come first.</span>\n    </label>\n\n    <div class="fieldErrorBox"></div>\n\n    <input class="pat-select2 text-widget tuple-field" type="text" name="form.widgets.IDublinCore.creators" value="admin" data-pat-select2="{"orderable": true, "vocabularyUrl": "http://nohost/plone/++add++test_type1/@@getVocabulary?name=plone.app.vocabularies.Users&field=creators", "initialValues": {"admin": "admin"}, "separator": ";"}" />\n</div>\n\n                                          \n                                      \n                                  \n                                      \n                                          \n                                              <div data-pat-inlinevalidation="{"type":"z3c.form"}" class="field pat-inlinevalidation kssattr-fieldname-form.widgets.IDublinCore.contributors empty None" data-fieldname="form.widgets.IDublinCore.contributors" id="formfield-form-widgets-IDublinCore-contributors">\n    <label for="form-widgets-IDublinCore-contributors" class="horizontal">\n        Contributors\n\n        \n\n        <span class="formHelp">The names of people that have contributed to this item. Each contributor should be on a separate line.</span>\n    </label>\n\n    <div class="fieldErrorBox"></div>\n\n    <input class="pat-select2 text-widget tuple-field" type="text" name="form.widgets.IDublinCore.contributors" value="" data-pat-select2="{"orderable": true, "vocabularyUrl": "http://nohost/plone/++add++test_type1/@@getVocabulary?name=plone.app.vocabularies.Users&field=contributors", "separator": ";"}" />\n</div>\n\n                                          \n                                      \n                                  \n                                      \n                                          \n                                              <div data-pat-inlinevalidation="{"type":"z3c.form"}" class="field pat-inlinevalidation kssattr-fieldname-form.widgets.IDublinCore.rights empty None" data-fieldname="form.widgets.IDublinCore.rights" id="formfield-form-widgets-IDublinCore-rights">\n    <label for="form-widgets-IDublinCore-rights" class="horizontal">\n        Rights\n\n        \n\n        <span class="formHelp">Copyright statement or other rights information on this item.</span>\n    </label>\n\n    <div class="fieldErrorBox"></div>\n\n    \n<textarea id="form-widgets-IDublinCore-rights" name="form.widgets.IDublinCore.rights" class="textarea-widget text-field"></textarea>\n\n\n</div>\n\n                                          \n                                      \n                                  \n                              \n                                      \n\n                              </fieldset>\n                          \n\n                      \n                    \n\n                    \n\n                    \n                        \n                            <div class="formControls">\n                                \n                                    \n<input id="form-buttons-save" name="form.buttons.save" class="submit-widget button-field context" value="Save" type="submit" />\n\n\n                                \n                                    \n<input id="form-buttons-cancel" name="form.buttons.cancel" class="submit-widget button-field standalone" value="Cancel" type="submit" />\n\n\n                                \n                            </div>\n                        \n                    \n\n                    \n                    \n\n                <input name="_authenticator" type="hidden" value="1b0e014fb60e27660f65d515438feebb1450bf02" /></form>\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</div>\n        </div>\n      </footer>\n    </div>\n  \n          <div id="column1-container">\n          </div>\n          <div id="column2-container">\n          </div>\n        </main><!--/row-->\n      </div><!--/container-->\n    </div><!--/outer-wrapper --><footer id="portal-footer-wrapper">\n        <div class="container" id="portal-footer">\n          <div class="doormat row">\n    \n    \n  </div>\n          <div class="copyright row"><div class="col-xs-12">\n      The \n           <a href="http://plone.com">Plone<sup>\xc2\xae</sup> Open Source CMS/WCM</a>\n       is <abbr title="Copyright">\xc2\xa9</abbr> 2000-2021 by the \n           <a href="http://plone.org/foundation">Plone Foundation</a> and friends.\n\n      Distributed under the \n                <a href="http://creativecommons.org/licenses/GPL/2.0/">GNU GPL license</a>.\n    </div></div>\n          <div class="colophon row"><div class="col-xs-12">\n      <a href="http://plone.com" target="_blank" title="This site was built using the Plone Open Source CMS/WCM.">Powered by Plone & Python</a>\n    </div></div>\n          <div class="site-actions row"><div class="col-xs-12"><ul class="actions-site_actions">\n      \n        <li class="portletItem">\n          <a href="http://nohost/plone/sitemap">\n\n            <span>Site Map</span>\n\n            \n\n          </a>\n        </li>\n      \n        <li class="portletItem">\n          <a href="http://nohost/plone/accessibility-info">\n\n            <span>Accessibility</span>\n\n            \n\n          </a>\n        </li>\n      \n        <li class="portletItem">\n          <a href="http://nohost/plone/contact-info" class="pat-plone-modal" data-pat-plone-modal="{}">\n\n            <span>Contact</span>\n\n            \n\n          </a>\n        </li>\n      \n    </ul></div></div>\n        </div>\n      </footer><script src="http://nohost/plone/++resource++protect.js" type="application/javascript" id="protect-script" data-token="1b0e014fb60e27660f65d515438feebb1450bf02" data-site-url="http://nohost/plone"></script></body>\n</html>'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp27m/plone.app.relationfield-2.0.3-py2.7.egg/plone/app/relationfield/tests/../schemaeditor.txt", line 166, in schemaeditor.txt
Failed example:
    my_field = schema['my_relation_list']
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 schemaeditor.txt[71]>", line 1, in <module>
        my_field = schema['my_relation_list']
      File "/home/jenkins/.buildout/eggs/cp27m/zope.interface-5.2.0-py2.7-linux-x86_64.egg/zope/interface/interface.py", line 865, in getDescriptionFor
        raise KeyError(name)
    KeyError: 'my_relation_list'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp27m/plone.app.relationfield-2.0.3-py2.7.egg/plone/app/relationfield/tests/../schemaeditor.txt", line 167, in schemaeditor.txt
Failed example:
    my_field
Expected:
    <z3c.relationfield.schema.RelationList object at ...>
Got:
    <z3c.relationfield.schema.RelationChoice object at 0x7f2a1c373b50 plone.dexterity.schema.generated.plone_5_1616419555_2_23_0_test_type.my_relation_choice>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp27m/plone.app.relationfield-2.0.3-py2.7.egg/plone/app/relationfield/tests/../schemaeditor.txt", line 172, in schemaeditor.txt
Failed example:
    my_field.value_type.source
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 schemaeditor.txt[73]>", line 1, in <module>
        my_field.value_type.source
    AttributeError: 'RelationChoice' object has no attribute 'value_type'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp27m/plone.app.relationfield-2.0.3-py2.7.egg/plone/app/relationfield/tests/../schemaeditor.txt", line 177, in schemaeditor.txt
Failed example:
    sorted(my_field.value_type.source.query.get('portal_type'))
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 schemaeditor.txt[74]>", line 1, in <module>
        sorted(my_field.value_type.source.query.get('portal_type'))
    AttributeError: 'RelationChoice' object has no attribute 'value_type'


  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 2224, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))


FAILED:  plone.restapi.tests.test_services_types.TestServicesTypes.test_types_document_get_field

Error Message:
'Author email' != None

Stack Trace:
'Author email' != None

  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.restapi/src/plone/restapi/tests/test_services_types.py", line 131, in test_types_document_get_field
    self.assertEqual("Author email", response.json().get("title"))  # noqa
  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
    raise self.failureException(msg)


More information about the Testbot mailing list