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

jenkins at plone.org jenkins at plone.org
Thu Nov 2 17:14:14 UTC 2017


Plone 5.2 - Python 2.7 - Archetypes - Build # 94 - Still Failing:

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

Changes:

[Maurits van Rees] [fc] Repository: plone.app.contenttypes







Test Results:

4 tests failed.
FAILED:  Products.CMFFormController.tests.testRedirectTo.TestRedirectToFunctional.test_attacker_redirect

Error Message:
'Application'

Stack Trace:
'Application'

  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.CMFFormController/Products/CMFFormController/tests/testRedirectTo.py", line 97, in test_attacker_redirect
    handle_errors=False,
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Zope/src/Testing/ZopeTestCase/functional.py", line 43, in wrapped_func
    return func(*args, **kw)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Zope/src/Testing/ZopeTestCase/functional.py", line 127, in publish
    wsgi_result = publish(env, start_response)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Zope/src/ZPublisher/WSGIPublisher.py", line 254, in publish_module
    with load_app(module_info) as new_mod_info:
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Zope/src/Testing/ZopeTestCase/sandbox.py", line 73, in load_app
    with ZPublisher.WSGIPublisher.__old_load_app__(module_info) as ret:
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Zope/src/ZPublisher/WSGIPublisher.py", line 220, in load_app
    app = app_wrapper()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Zope/src/App/ZApplication.py", line 78, in __call__
    return connection.root()[self._name]
  File "/home/jenkins/shiningpanda/jobs/2fa08faf/virtualenvs/d41d8cd9/lib/python2.7/UserDict.py", line 40, in __getitem__
    raise KeyError(key)


FAILED:  Products.CMFFormController.tests.testRedirectTo.TestRedirectToFunctional.test_regression

Error Message:
'Application'

Stack Trace:
'Application'

  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.CMFFormController/Products/CMFFormController/tests/testRedirectTo.py", line 71, in test_regression
    handle_errors=False,
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Zope/src/Testing/ZopeTestCase/functional.py", line 43, in wrapped_func
    return func(*args, **kw)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Zope/src/Testing/ZopeTestCase/functional.py", line 127, in publish
    wsgi_result = publish(env, start_response)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Zope/src/ZPublisher/WSGIPublisher.py", line 254, in publish_module
    with load_app(module_info) as new_mod_info:
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Zope/src/Testing/ZopeTestCase/sandbox.py", line 73, in load_app
    with ZPublisher.WSGIPublisher.__old_load_app__(module_info) as ret:
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Zope/src/ZPublisher/WSGIPublisher.py", line 220, in load_app
    app = app_wrapper()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Zope/src/App/ZApplication.py", line 78, in __call__
    return connection.root()[self._name]
  File "/home/jenkins/shiningpanda/jobs/2fa08faf/virtualenvs/d41d8cd9/lib/python2.7/UserDict.py", line 40, in __getitem__
    raise KeyError(key)


FAILED:  Products.ATContentTypes.tests.traversal.txt

Error Message:
Failed doctest test for traversal.txt

Stack Trace:
Failed doctest test for traversal.txt
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 0

----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 252, in traversal.txt
Failed example:
    print http(r"""
    PUT /%s/simple_folder/index_html HTTP/1.1
    Authorization: Basic %s:%s
    Content-Type: text/plain; charset="utf-8"
    Depth: 0

    Simple Folder Index
    """ % (portal_name, default_user, default_password))
Differences (ndiff with -expected +actual):
    - HTTP/1.1 201 Created
    - ...
    + HTTP/1.1 405 Method Not Allowed
    + Date: Thu, 02 Nov 2017 17:06:42 GMT
    + X-Powered-By: Zope (www.zope.org), Python (www.python.org)
    + Accept-Ranges: none
    + Content-Type: application/json
    + Content-Length: 34
    +
    + {"error_type": "MethodNotAllowed"}


  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()))


FAILED:  plone.app.blob.tests.test_integration.IntegrationTests.testIconLookupForUnknownMimeType

Error Message:
False is not true

Stack Trace:
False is not true

  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.app.blob/src/plone/app/blob/tests/test_integration.py", line 183, in testIconLookupForUnknownMimeType
    self.assertTrue(self.folder.blob.getIcon().endswith('file_icon.gif'))
  File "/usr/lib/python2.7/unittest/case.py", line 422, in assertTrue
    raise self.failureException(msg)


More information about the Testbot mailing list