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

jenkins at plone.org jenkins at plone.org
Sat Jan 27 12:58:02 UTC 2018


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

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

Changes:

[Maurits van Rees] Use GenericSetup master branch and 1.10.0 release







Test Results:

1 tests failed.
FAILED:  plone.app.dexterity.tests.editing.txt

Error Message:
Failed doctest test for editing.txt

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

----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/tests/editing.txt", line 475, in editing.txt
Failed example:
    browser.getControl('Export Type Profiles').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[181]>", line 1, in <module>
        browser.getControl('Export Type Profiles').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 778, in click
        self.browser._clickSubmit(self._form, self._control)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 275, in _clickSubmit
        self._processRequest(url, make_request)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 286, in _processRequest
        resp = self.testapp.get(url, **reqargs)
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.28-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.28-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.7.3-py2.7.egg/webob/request.py", line 1312, in send
        application, catch_exc_info=True)
      File "/home/jenkins/.buildout/eggs/WebOb-1.7.3-py2.7.egg/webob/request.py", line 1280, in call_application
        app_iter = application(self.environ, start_response)
      File "/home/jenkins/.buildout/eggs/WebTest-2.0.28-py2.7.egg/webtest/lint.py", line 199, 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 36, 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 63, in __call__
        wsgi_result = publish(environ, start_response)
      File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Zope/src/ZPublisher/WSGIPublisher.py", line 256, in publish_module
        response = _publish(request, new_mod_info)
      File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Zope/src/ZPublisher/WSGIPublisher.py", line 209, in publish
        bind=1)
      File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Zope/src/ZPublisher/mapply.py", line 85, in mapply
        return debug(object, args, context)
      File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Zope/src/ZPublisher/WSGIPublisher.py", line 56, in call_object
        return obj(*args)
      File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/browser/export.py", line 73, in __call__
        handler(context)
      File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Products.CMFCore/Products/CMFCore/exportimport/typeinfo.py", line 234, in exportTypesTool
        exportObjects(tool, '', context)
      File "/home/jenkins/.buildout/eggs/Products.GenericSetup-1.10.0-py2.7.egg/Products/GenericSetup/utils.py", line 840, in exportObjects
        exportObjects(sub, path + '/', context)
      File "/home/jenkins/.buildout/eggs/Products.GenericSetup-1.10.0-py2.7.egg/Products/GenericSetup/utils.py", line 834, in exportObjects
        body = exporter.body
      File "/home/jenkins/.buildout/eggs/Products.GenericSetup-1.10.0-py2.7.egg/Products/GenericSetup/utils.py", line 497, in _exportBody
        self._doc.appendChild(self._exportNode())
      File "/home/jenkins/workspace/plone-5.2-python-2.7/src/Products.CMFCore/Products/CMFCore/exportimport/typeinfo.py", line 45, in _exportNode
        node.appendChild(self._extractProperties())
      File "/home/jenkins/.buildout/eggs/Products.GenericSetup-1.10.0-py2.7.egg/Products/GenericSetup/utils.py", line 680, in _extractProperties
        prop = prop.decode(self._encoding)
    AttributeError: 'NoneType' object has no attribute 'decode'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/tests/editing.txt", line 476, in editing.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/dexterity-types/@@types-export?selected=plonista2%2Cplonista-folder'
Got:
    'http://nohost/plone/dexterity-types'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/tests/editing.txt", line 479, in editing.txt
Failed example:
    browser.headers['content-type']
Expected:
    'application/zip'
Got:
    'text/html;charset=utf-8'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/tests/editing.txt", line 482, in editing.txt
Failed example:
    browser.headers['content-disposition']
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[184]>", line 1, in <module>
        browser.headers['content-disposition']
      File "/usr/lib/python2.7/rfc822.py", line 393, in __getitem__
        return self.dict[name.lower()]
    KeyError: 'content-disposition'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/tests/editing.txt", line 487, in editing.txt
Failed example:
    archive = zipfile.ZipFile(fd, mode='r')
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[187]>", line 1, in <module>
        archive = zipfile.ZipFile(fd, mode='r')
      File "/usr/lib/python2.7/zipfile.py", line 770, in __init__
        self._RealGetContents()
      File "/usr/lib/python2.7/zipfile.py", line 811, in _RealGetContents
        raise BadZipfile, "File is not a zip file"
    BadZipfile: File is not a zip file
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/tests/editing.txt", line 488, in editing.txt
Failed example:
    archive.namelist()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[188]>", line 1, in <module>
        archive.namelist()
    NameError: name 'archive' is not defined
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/tests/editing.txt", line 491, in editing.txt
Failed example:
    types_xml = archive.read('types.xml')
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[189]>", line 1, in <module>
        types_xml = archive.read('types.xml')
    NameError: name 'archive' is not defined
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/tests/editing.txt", line 492, in editing.txt
Failed example:
    '<object name="plonista2" meta_type="Dexterity FTI"/>' in types_xml
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[190]>", line 1, in <module>
        '<object name="plonista2" meta_type="Dexterity FTI"/>' in types_xml
    NameError: name 'types_xml' is not defined
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/tests/editing.txt", line 494, in editing.txt
Failed example:
    '<object name="plonista-folder" meta_type="Dexterity FTI"/>' in types_xml
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[191]>", line 1, in <module>
        '<object name="plonista-folder" meta_type="Dexterity FTI"/>' in types_xml
    NameError: name 'types_xml' is not defined


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


More information about the Testbot mailing list