[Testbot] Plone 6.0 - Python 3.7 - Build # 39 - Still Failing!

jenkins at plone.org jenkins at plone.org
Wed Feb 19 13:03:45 UTC 2020


Plone 6.0 - Python 3.7 - Build # 39 - Still Failing:

Check console output at https://jenkins.plone.org/job/plone-6.0-python-3.7/39/ to view the results.


Plone 6.0 - Python 3.7 - Build # 39 - Still Failing:

Check console output at https://jenkins.plone.org/job/plone-6.0-python-3.7/39/ to view the results.

Test Results:

8 tests failed.
FAILED:  Products.CMFPlone.tests.testMigrationTool.TestMigrationTool.testListSetupUpgradeSteps

Error Message:
1 != 0

Stack Trace:
1 != 0

  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
    testMethod()
  File "/home/jenkins/workspace/plone-6.0-python-3.7/src/Products.CMFPlone/Products/CMFPlone/tests/testMigrationTool.py", line 34, in testListSetupUpgradeSteps
    self.assertEqual(len(upgrades), 0)
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.CMFPlone.tests.testMigrationTool.TestMigrationWithExtraUpgrades.testListUpgradeStepsNotTooNew

Error Message:
'<' not supported between instances of 'str' and 'int'

Stack Trace:
'<' not supported between instances of 'str' and 'int'

  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
    testMethod()
  File "/home/jenkins/workspace/plone-6.0-python-3.7/src/Products.CMFPlone/Products/CMFPlone/tests/testMigrationTool.py", line 126, in testListUpgradeStepsNotTooNew
    upgrades = self.setup.listUpgrades(_DEFAULT_PROFILE)
  File "/home/jenkins/workspace/plone-6.0-python-3.7/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 1005, in listUpgrades
    upgrades = listUpgradeSteps(self, profile_id, source)
  File "/home/jenkins/workspace/plone-6.0-python-3.7/src/Products.GenericSetup/Products/GenericSetup/upgrade.py", line 270, in listUpgradeSteps
    res.sort(key=lambda x: x[0])


FAILED:  Products.CMFPlone.tests.testMigrationTool.TestMigrationWithExtraUpgrades.testUpgrade

Error Message:
'<' not supported between instances of 'str' and 'int'

Stack Trace:
'<' not supported between instances of 'str' and 'int'

  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
    testMethod()
  File "/home/jenkins/workspace/plone-6.0-python-3.7/src/Products.CMFPlone/Products/CMFPlone/tests/testMigrationTool.py", line 135, in testUpgrade
    self.migration.upgrade()
  File "<string>", line 3, in upgrade
  File "/home/jenkins/.buildout/eggs/cp37m/AccessControl-4.1-py3.7-linux-x86_64.egg/AccessControl/requestmethod.py", line 88, in _curried
    return callable(*args, **kw)
  File "/home/jenkins/workspace/plone-6.0-python-3.7/src/Products.CMFPlone/Products/CMFPlone/MigrationTool.py", line 269, in upgrade
    upgrades = self.listUpgrades()
  File "/home/jenkins/workspace/plone-6.0-python-3.7/src/Products.CMFPlone/Products/CMFPlone/MigrationTool.py", line 243, in listUpgrades
    steps = setup.listUpgrades(_DEFAULT_PROFILE)
  File "/home/jenkins/workspace/plone-6.0-python-3.7/src/Products.GenericSetup/Products/GenericSetup/tool.py", line 1005, in listUpgrades
    upgrades = listUpgradeSteps(self, profile_id, source)
  File "/home/jenkins/workspace/plone-6.0-python-3.7/src/Products.GenericSetup/Products/GenericSetup/upgrade.py", line 270, in listUpgradeSteps
    res.sort(key=lambda x: x[0])


FAILED:  plone.app.upgrade.tests.test_upgrade.TestUpgrade.testDoUpgrades

Error Message:
Tuples differ: ('5209',) != ('5208',)

Stack Trace:
Tuples differ: ('5209',) != ('5208',)

First differing element 0:
'5209'
'5208'

- ('5209',)
?      ^

+ ('5208',)
?      ^


  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
    testMethod()
  File "/home/jenkins/workspace/plone-6.0-python-3.7/src/plone.app.upgrade/plone/app/upgrade/tests/test_upgrade.py", line 64, in testDoUpgrades
    self.assertEqual(last, current)
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 1069, in assertTupleEqual
    self.assertSequenceEqual(tuple1, tuple2, msg, seq_type=tuple)
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 1040, in assertSequenceEqual
    self.fail(msg)
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 693, in fail
    raise self.failureException(msg)


FAILED:  plone.app.upgrade.tests.test_upgrade.TestUpgrade.testListUpgradeSteps

Error Message:
1 != 0

Stack Trace:
1 != 0

  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
    testMethod()
  File "/home/jenkins/workspace/plone-6.0-python-3.7/src/plone.app.upgrade/plone/app/upgrade/tests/test_upgrade.py", line 18, in testListUpgradeSteps
    self.assertEqual(len(upgrades), 0)
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 852, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 845, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.PlonePAS.utils.scale_image

Error Message:
Failed doctest test for Products.PlonePAS.utils.scale_image

Stack Trace:
Failed doctest test for Products.PlonePAS.utils.scale_image
  File "/home/jenkins/.buildout/eggs/cp37m/Products.PlonePAS-6.0.5-py3.7.egg/Products/PlonePAS/utils.py", line 41, in scale_image

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/Products.PlonePAS-6.0.5-py3.7.egg/Products/PlonePAS/utils.py", line 69, in Products.PlonePAS.utils.scale_image
Failed example:
    scale_image(invalid, (50, 50))
Expected:
    Traceback (most recent call last):
    ...
    OSError: cannot identify image file...
Got:
    Traceback (most recent call last):
      File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
        compileflags, 1), test.globs)
      File "<doctest Products.PlonePAS.utils.scale_image[13]>", line 1, in <module>
        scale_image(invalid, (50, 50))
      File "/home/jenkins/.buildout/eggs/cp37m/Products.PlonePAS-6.0.5-py3.7.egg/Products/PlonePAS/utils.py", line 142, in scale_image
        image = Image.open(image_file)
      File "/home/jenkins/.buildout/eggs/cp37m/Pillow-7.0.0-py3.7-linux-x86_64.egg/PIL/Image.py", line 2797, in open
        "StringIO cannot be used to open an image. "
    ValueError: StringIO cannot be used to open an image. Binary data must be used instead.
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/Products.PlonePAS-6.0.5-py3.7.egg/Products/PlonePAS/utils.py", line 73, in Products.PlonePAS.utils.scale_image
Failed example:
    scale_image(sneaky, (50, 50))
Expected:
    Traceback (most recent call last):
    ...
    OSError: cannot identify image file...
Got:
    Traceback (most recent call last):
      File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
        compileflags, 1), test.globs)
      File "<doctest Products.PlonePAS.utils.scale_image[14]>", line 1, in <module>
        scale_image(sneaky, (50, 50))
      File "/home/jenkins/.buildout/eggs/cp37m/Products.PlonePAS-6.0.5-py3.7.egg/Products/PlonePAS/utils.py", line 142, in scale_image
        image = Image.open(image_file)
      File "/home/jenkins/.buildout/eggs/cp37m/Pillow-7.0.0-py3.7-linux-x86_64.egg/PIL/Image.py", line 2797, in open
        "StringIO cannot be used to open an image. "
    ValueError: StringIO cannot be used to open an image. Binary data must be used instead.


  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
    testMethod()
  File "/srv/python3.7/lib/python3.7/doctest.py", line 2196, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))


FAILED:  plone.formwidget.namedfile.widget.rst

Error Message:
Failed doctest test for widget.rst

Stack Trace:
Failed doctest test for widget.rst
  File "/home/jenkins/.buildout/eggs/cp37m/plone.formwidget.namedfile-2.0.10-py3.7.egg/plone/formwidget/namedfile/widget.rst", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp37m/plone.formwidget.namedfile-2.0.10-py3.7.egg/plone/formwidget/namedfile/widget.rst", line 755, in widget.rst
Failed example:
    PIL.Image.open(six.BytesIO(content.image_field))
Expected:
    Traceback (most recent call last):
    ...
    OSError: cannot identify image file...
Got:
    Traceback (most recent call last):
      File "/srv/python3.7/lib/python3.7/doctest.py", line 1329, in __run
        compileflags, 1), test.globs)
      File "<doctest widget.rst[264]>", line 1, in <module>
        PIL.Image.open(six.BytesIO(content.image_field))
      File "/home/jenkins/.buildout/eggs/cp37m/Pillow-7.0.0-py3.7-linux-x86_64.egg/PIL/Image.py", line 2862, in open
        "cannot identify image file %r" % (filename if filename else fp)
    PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7fb801872290>


  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
    testMethod()
  File "/srv/python3.7/lib/python3.7/doctest.py", line 2196, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))


FAILED:  Products.CMFQuickInstallerTool.tests.test_browser.QIBrowserTest.test_installProducts_post

Error Message:
Request must be POST

Stack Trace:
Request must be POST

  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 628, in run
    testMethod()
  File "/home/jenkins/workspace/plone-6.0-python-3.7/src/Products.CMFQuickInstallerTool/Products/CMFQuickInstallerTool/tests/test_browser.py", line 103, in test_installProducts_post
    product, csrf_token))
  File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.5.1-py3.7.egg/zope/testbrowser/browser.py", line 262, in post
    return self.open(url, data)
  File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.5.1-py3.7.egg/zope/testbrowser/browser.py", line 256, in open
    self._processRequest(url, make_request)
  File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.5.1-py3.7.egg/zope/testbrowser/browser.py", line 290, in _processRequest
    resp = self.testapp.get(url, **reqargs)
  File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.34-py3.7.egg/webtest/app.py", line 328, in get
    expect_errors=expect_errors)
  File "/home/jenkins/.buildout/eggs/cp37m/zope.testbrowser-5.5.1-py3.7.egg/zope/testbrowser/browser.py", line 94, in do_request
    expect_errors)
  File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.34-py3.7.egg/webtest/app.py", line 623, in do_request
    res = req.get_response(app, catch_exc_info=True)
  File "/home/jenkins/.buildout/eggs/cp37m/WebOb-1.8.6-py3.7.egg/webob/request.py", line 1310, in send
    application, catch_exc_info=True)
  File "/home/jenkins/.buildout/eggs/cp37m/WebOb-1.8.6-py3.7.egg/webob/request.py", line 1278, in call_application
    app_iter = application(self.environ, start_response)
  File "/home/jenkins/.buildout/eggs/cp37m/WebTest-2.0.34-py3.7.egg/webtest/lint.py", line 201, in lint_app
    iterator = application(environ, start_response_wrapper)
  File "/home/jenkins/workspace/plone-6.0-python-3.7/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 38, in wrapped_func
    return func(*args, **kw)
  File "/home/jenkins/workspace/plone-6.0-python-3.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/cp37m/Zope-4.2.1-py3.7.egg/ZPublisher/WSGIPublisher.py", line 338, in publish_module
    response = _publish(request, new_mod_info)
  File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.2.1-py3.7.egg/ZPublisher/WSGIPublisher.py", line 256, in publish
    bind=1)
  File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.2.1-py3.7.egg/ZPublisher/mapply.py", line 85, in mapply
    return debug(object, args, context)
  File "/home/jenkins/.buildout/eggs/cp37m/Zope-4.2.1-py3.7.egg/ZPublisher/WSGIPublisher.py", line 62, in call_object
    return obj(*args)
  File "<string>", line 3, in installProducts
  File "/home/jenkins/.buildout/eggs/cp37m/AccessControl-4.1-py3.7-linux-x86_64.egg/AccessControl/requestmethod.py", line 77, in _curried
    raise Forbidden('Request must be %s' % methodsstr)


More information about the Testbot mailing list