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

jenkins at plone.org jenkins at plone.org
Fri May 10 12:52:53 UTC 2019


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

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


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

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

Test Results:

9 tests failed.
FAILED:  Products.CMFPlone.tests.testWebDAV.TestPUTIndexHtml.testPUTIndexHtml

Error Message:
Got 15 payloads for message, but 1 primary fields found for <Document at /plone/Members/test_user_1_/index_html>

Stack Trace:
Got 15 payloads for message, but 1 primary fields found for <Document at /plone/Members/test_user_1_/index_html>

  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/Products.CMFPlone/Products/CMFPlone/tests/testWebDAV.py", line 298, in testPUTIndexHtml
    handle_errors=False)
  File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/Testing/ZopeTestCase/functional.py", line 43, in wrapped_func
    return func(*args, **kw)
  File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/Testing/ZopeTestCase/functional.py", line 128, in publish
    wsgi_result = publish(env, start_response)
  File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/ZPublisher/WSGIPublisher.py", line 295, in publish_module
    response = _publish(request, new_mod_info)
  File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/ZPublisher/WSGIPublisher.py", line 229, in publish
    bind=1)
  File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/ZPublisher/mapply.py", line 85, in mapply
    return debug(object, args, context)
  File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/ZPublisher/WSGIPublisher.py", line 57, in call_object
    return obj(*args)
  File "/home/jenkins/.buildout/eggs/cp27m/ZServer-4.0b3-py2.7.egg/webdav/NullResource.py", line 179, in PUT
    ob.PUT(REQUEST, RESPONSE)
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.dexterity/plone/dexterity/filerepresentation.py", line 190, in PUT
    writer.close()
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.dexterity/plone/dexterity/filerepresentation.py", line 832, in close
    self._encoding
  File "/home/jenkins/.buildout/eggs/cp27m/plone.rfc822-2.0.0-py2.7.egg/plone/rfc822/_utils.py", line 170, in initializeObjectFromSchemata
    return initializeObject(context, fields, message, defaultCharset)
  File "/home/jenkins/.buildout/eggs/cp27m/plone.rfc822-2.0.0-py2.7.egg/plone/rfc822/_utils.py", line 260, in initializeObject
    "found for %s" % (len(payloads), len(primary), repr(context))


FAILED:  Products.CMFPlone.tests.testWebDAV.TestPUTIndexHtml.testPUTIndexHtmlIntoPortal

Error Message:
Got 15 payloads for message, but 1 primary fields found for <Document at /plone/index_html>

Stack Trace:
Got 15 payloads for message, but 1 primary fields found for <Document at /plone/index_html>

  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/Products.CMFPlone/Products/CMFPlone/tests/testWebDAV.py", line 317, in testPUTIndexHtmlIntoPortal
    handle_errors=False)
  File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/Testing/ZopeTestCase/functional.py", line 43, in wrapped_func
    return func(*args, **kw)
  File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/Testing/ZopeTestCase/functional.py", line 128, in publish
    wsgi_result = publish(env, start_response)
  File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/ZPublisher/WSGIPublisher.py", line 295, in publish_module
    response = _publish(request, new_mod_info)
  File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/ZPublisher/WSGIPublisher.py", line 229, in publish
    bind=1)
  File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/ZPublisher/mapply.py", line 85, in mapply
    return debug(object, args, context)
  File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/ZPublisher/WSGIPublisher.py", line 57, in call_object
    return obj(*args)
  File "/home/jenkins/.buildout/eggs/cp27m/ZServer-4.0b3-py2.7.egg/webdav/NullResource.py", line 179, in PUT
    ob.PUT(REQUEST, RESPONSE)
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.dexterity/plone/dexterity/filerepresentation.py", line 190, in PUT
    writer.close()
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.dexterity/plone/dexterity/filerepresentation.py", line 832, in close
    self._encoding
  File "/home/jenkins/.buildout/eggs/cp27m/plone.rfc822-2.0.0-py2.7.egg/plone/rfc822/_utils.py", line 170, in initializeObjectFromSchemata
    return initializeObject(context, fields, message, defaultCharset)
  File "/home/jenkins/.buildout/eggs/cp27m/plone.rfc822-2.0.0-py2.7.egg/plone/rfc822/_utils.py", line 260, in initializeObject
    "found for %s" % (len(payloads), len(primary), repr(context))


FAILED:  Products.CMFPlone.tests.testWebDAV.TestPUTObjects.testPUTDocument

Error Message:
500 != 201

Stack Trace:
500 != 201

  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/Products.CMFPlone/Products/CMFPlone/tests/testWebDAV.py", line 51, in testPUTDocument
    self.assertEqual(response.getStatus(), 201)
  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)


FAILED:  Products.CMFPlone.tests.testWebDAV.TestPUTObjects.testPUTDocumentIntoPortal

Error Message:
500 != 201

Stack Trace:
500 != 201

  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/Products.CMFPlone/Products/CMFPlone/tests/testWebDAV.py", line 243, in testPUTDocumentIntoPortal
    self.assertEqual(response.getStatus(), 201)
  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)


FAILED:  Products.CMFPlone.tests.testWebDAV.TestPUTObjects.testPUTIndexHtmlDocument

Error Message:
500 != 201

Stack Trace:
500 != 201

  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/Products.CMFPlone/Products/CMFPlone/tests/testWebDAV.py", line 106, in testPUTIndexHtmlDocument
    self.assertEqual(response.getStatus(), 201)
  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)


FAILED:  Products.CMFPlone.tests.testWebDAV.TestPUTObjects.testPUTIndexHtmlDocumentIntoPortal

Error Message:
500 != 201

Stack Trace:
500 != 201

  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/Products.CMFPlone/Products/CMFPlone/tests/testWebDAV.py", line 258, in testPUTIndexHtmlDocumentIntoPortal
    self.assertEqual(response.getStatus(), 201)
  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)


FAILED:  Products.CMFEditions.tests.webdav_history.rst

Error Message:
Failed doctest test for webdav_history.rst

Stack Trace:
Failed doctest test for webdav_history.rst
  File "/home/jenkins/.buildout/eggs/cp27m/Products.CMFEditions-3.3.2-py2.7.egg/Products/CMFEditions/tests/webdav_history.rst", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp27m/Products.CMFEditions-3.3.2-py2.7.egg/Products/CMFEditions/tests/webdav_history.rst", line 31, in webdav_history.rst
Failed example:
    print http(r"""
    PUT /%s/some-document HTTP/1.1
    Authorization: Basic %s:%s
    Content-Type: text/plain; charset="utf-8"

    Some Content
    """ % (folder_path, TEST_USER_NAME, TEST_USER_PASSWORD))
Expected:
    HTTP/1.1 201 Created
    ...
Got:
    HTTP/1.1 500 Internal Server Error
    Accept-Ranges: none
    Connection: close
    Content-Length: 1361
    Content-Type: text/html; charset=utf-8
    Date: Fri, 10 May 2019 12:10:58 GMT
    <BLANKLINE>
    <!DOCTYPE html><html>
      <head><title>Site Error</title><meta charset="utf-8" /></head>
      <body bgcolor="#FFFFFF">
      <h2>Site Error</h2>
      <p>An error was encountered while publishing this resource.
      </p>
      <p><strong><type 'exceptions.ValueError'></strong></p>
    <BLANKLINE>
      Got 13 payloads for message, but 1 primary fields found for <Document at /plone/folder/some-document>Traceback (innermost last):
    <BLANKLINE>
      Module ZServer.ZPublisher.Publish, line 261, in publish_module_standard
    <BLANKLINE>
      Module ZServer.ZPublisher.Publish, line 144, in publish
    <BLANKLINE>
      Module ZPublisher.mapply, line 85, in mapply
    <BLANKLINE>
      Module ZServer.ZPublisher.Publish, line 44, in call_object
    <BLANKLINE>
      Module webdav.NullResource, line 179, in PUT
    <BLANKLINE>
      Module plone.dexterity.filerepresentation, line 190, in PUT
    <BLANKLINE>
      Module plone.dexterity.filerepresentation, line 832, in close
    <BLANKLINE>
      Module plone.rfc822._utils, line 170, in initializeObjectFromSchemata
    <BLANKLINE>
      Module plone.rfc822._utils, line 260, in initializeObject
    <BLANKLINE>
    ValueError: (see above)
    <BLANKLINE>
      <hr noshade="noshade"/>
    <BLANKLINE>
      <p>Troubleshooting Suggestions</p>
    <BLANKLINE>
      <ul>
      <li>The URL may be incorrect.</li>
      <li>The parameters passed to this resource may be incorrect.</li>
      <li>A resource that this resource relies on may be
          encountering an error.</li>
      </ul>
    <BLANKLINE>
      <p>If the error persists please contact the site maintainer.
      Thank you for your patience.
      </p></body></html>


  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.app.contenttypes.tests.test_webdav.WebDAVIntegrationTest.test_file_put_rfc822

Error Message:
Got 67 payloads for message, but 1 primary fields found for <File at /plone/file>

Stack Trace:
Got 67 payloads for message, but 1 primary fields found for <File at /plone/file>

  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/cp27m/plone.app.contenttypes-2.0.5-py2.7.egg/plone/app/contenttypes/tests/test_webdav.py", line 113, in test_file_put_rfc822
    self.file.PUT()
  File "/home/jenkins/.buildout/eggs/cp27m/plone.app.contenttypes-2.0.5-py2.7.egg/plone/app/contenttypes/content.py", line 115, in PUT
    return super(File, self).PUT(REQUEST=request, RESPONSE=response)
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.dexterity/plone/dexterity/filerepresentation.py", line 190, in PUT
    writer.close()
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.dexterity/plone/dexterity/filerepresentation.py", line 832, in close
    self._encoding
  File "/home/jenkins/.buildout/eggs/cp27m/plone.rfc822-2.0.0-py2.7.egg/plone/rfc822/_utils.py", line 170, in initializeObjectFromSchemata
    return initializeObject(context, fields, message, defaultCharset)
  File "/home/jenkins/.buildout/eggs/cp27m/plone.rfc822-2.0.0-py2.7.egg/plone/rfc822/_utils.py", line 260, in initializeObject
    "found for %s" % (len(payloads), len(primary), repr(context))


FAILED:  plone.app.contenttypes.tests.test_webdav.WebDAVIntegrationTest.test_image_put_rfc822

Error Message:
'utf8' codec can't decode byte 0xff in position 0: invalid start byte

Stack Trace:
'utf8' codec can't decode byte 0xff in position 0: invalid start byte

  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/cp27m/plone.app.contenttypes-2.0.5-py2.7.egg/plone/app/contenttypes/tests/test_webdav.py", line 90, in test_image_put_rfc822
    self.image.PUT()
  File "/home/jenkins/.buildout/eggs/cp27m/plone.app.contenttypes-2.0.5-py2.7.egg/plone/app/contenttypes/content.py", line 155, in PUT
    return super(Image, self).PUT(REQUEST=request, RESPONSE=response)
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.dexterity/plone/dexterity/filerepresentation.py", line 188, in PUT
    writer.write(chunk)
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.dexterity/plone/dexterity/filerepresentation.py", line 840, in write
    self._parser.feed(data.decode('utf-8'))
  File "/home/jenkins/shiningpanda/jobs/41313b8c/virtualenvs/d41d8cd9/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)


More information about the Testbot mailing list