[Testbot] Plone 5.2 - Python 3.7 - Build # 729 - Failure!

jenkins at plone.org jenkins at plone.org
Thu Apr 30 22:26:11 UTC 2020


Plone 5.2 - Python 3.7 - Build # 729 - Failure:

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


Plone 5.2 - Python 3.7 - Build # 729 - Failure:

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

Test Results:

5 tests failed.
FAILED:  Products.GenericSetup.tests.test_context.DirectoryExportContextTests.test_writeDataFile_overwrite

Error Message:
[Errno 2] No such file or directory: 'subdir'

Stack Trace:
[Errno 2] No such file or directory: 'subdir'

  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 631, in run
    self.tearDown()
  File "/home/jenkins/workspace/plone-5.2-python-3.7/src/Zope/src/Testing/ZopeTestCase/base.py", line 100, in tearDown
    self.beforeTearDown()
  File "/home/jenkins/.buildout/eggs/cp37m/Products.GenericSetup-2.0.2-py3.7.egg/Products/GenericSetup/tests/common.py", line 118, in beforeTearDown
    _clearTestDirectory(self._PROFILE_PATH)
  File "/home/jenkins/.buildout/eggs/cp37m/Products.GenericSetup-2.0.2-py3.7.egg/Products/GenericSetup/tests/common.py", line 89, in _clearTestDirectory
    shutil.rmtree(root_path)
  File "/home/jenkins/shiningpanda/jobs/b0708514/virtualenvs/d41d8cd9/lib/python3.7/shutil.py", line 494, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File "/home/jenkins/shiningpanda/jobs/b0708514/virtualenvs/d41d8cd9/lib/python3.7/shutil.py", line 436, in _rmtree_safe_fd
    onerror(os.rmdir, fullname, sys.exc_info())
  File "/home/jenkins/shiningpanda/jobs/b0708514/virtualenvs/d41d8cd9/lib/python3.7/shutil.py", line 434, in _rmtree_safe_fd
    os.rmdir(entry.name, dir_fd=topfd)


FAILED:  plone.app.event.tests.test_portlet_calendar.RendererTest.test_long_event

Error Message:
0 != 3

Stack Trace:
0 != 3

  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/.buildout/eggs/cp37m/plone.app.event-3.2.7-py3.7.egg/plone/app/event/tests/test_portlet_calendar.py", line 194, in test_long_event
    self.assertEqual(rd.count('e1'), 3)
  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:  plone.restapi.tests.test_dxfield_serializer.TestDexterityFieldSerializing.test_namedblobimage_field_serialization_returns_dict

Error Message:
{'fil[116 chars]id_1.png', 'width': 1024, 'height': 768, 'scal[695 chars]76}}} != {'fil[116 chars]id_1.gif', 'width': 1024, 'height': 768, 'scal[695 chars]12}}}

Stack Trace:
{'fil[116 chars]id_1.png', 'width': 1024, 'height': 768, 'scal[695 chars]76}}} != {'fil[116 chars]id_1.gif', 'width': 1024, 'height': 768, 'scal[695 chars]12}}}
  {'content-type': 'image/gif',
-  'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
?                                                        --

+  'download': 'http://nohost/plone/doc1/@@images/uuid_1.gif',
?                                                         ++

   'filename': '1024x768.gif',
   'height': 768,
   'scales': {'icon': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                       'height': 24,
                       'width': 32},
              'large': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                        'height': 576,
                        'width': 768},
              'listing': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                          'height': 12,
                          'width': 16},
              'mini': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                       'height': 150,
                       'width': 200},
              'preview': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                          'height': 300,
                          'width': 400},
              'thumb': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                        'height': 96,
                        'width': 128},
              'tile': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                       'height': 48,
                       'width': 64}},
   'size': 1514,
   'width': 1024}

  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-5.2-python-3.7/src/plone.restapi/src/plone/restapi/tests/test_dxfield_serializer.py", line 365, in test_namedblobimage_field_serialization_returns_dict
    value,
  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 1151, in assertDictEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 693, in fail
    raise self.failureException(msg)


FAILED:  plone.restapi.tests.test_dxfield_serializer.TestDexterityFieldSerializing.test_namedimage_field_serialization_doesnt_choke_on_corrupt_image

Error Message:
{'content-type': 'image/gif', 'download': N[80 chars]: -1} != {'filename': '1024x768.gif', 'content-type'[122 chars]: {}}

Stack Trace:
{'content-type': 'image/gif', 'download': N[80 chars]: -1} != {'filename': '1024x768.gif', 'content-type'[122 chars]: {}}
  {'content-type': 'image/gif',
-  'download': None,
+  'download': 'http://nohost/plone/doc1/@@images/uuid_1.gif',
   'filename': '1024x768.gif',
   'height': -1,
   'scales': {},
   'size': 18,
   'width': -1}

  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-5.2-python-3.7/src/plone.restapi/src/plone/restapi/tests/test_dxfield_serializer.py", line 302, in test_namedimage_field_serialization_doesnt_choke_on_corrupt_image
    value,
  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 1151, in assertDictEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 693, in fail
    raise self.failureException(msg)


FAILED:  plone.restapi.tests.test_dxfield_serializer.TestDexterityFieldSerializing.test_namedimage_field_serialization_returns_dict

Error Message:
{'fil[116 chars]id_1.png', 'width': 1024, 'height': 768, 'scal[695 chars]76}}} != {'fil[116 chars]id_1.gif', 'width': 1024, 'height': 768, 'scal[695 chars]12}}}

Stack Trace:
{'fil[116 chars]id_1.png', 'width': 1024, 'height': 768, 'scal[695 chars]76}}} != {'fil[116 chars]id_1.gif', 'width': 1024, 'height': 768, 'scal[695 chars]12}}}
  {'content-type': 'image/gif',
-  'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
?                                                        --

+  'download': 'http://nohost/plone/doc1/@@images/uuid_1.gif',
?                                                         ++

   'filename': '1024x768.gif',
   'height': 768,
   'scales': {'icon': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                       'height': 24,
                       'width': 32},
              'large': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                        'height': 576,
                        'width': 768},
              'listing': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                          'height': 12,
                          'width': 16},
              'mini': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                       'height': 150,
                       'width': 200},
              'preview': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                          'height': 300,
                          'width': 400},
              'thumb': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                        'height': 96,
                        'width': 128},
              'tile': {'download': 'http://nohost/plone/doc1/@@images/uuid_1.png',
                       'height': 48,
                       'width': 64}},
   'size': 1514,
   'width': 1024}

  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-5.2-python-3.7/src/plone.restapi/src/plone/restapi/tests/test_dxfield_serializer.py", line 279, in test_namedimage_field_serialization_returns_dict
    value,
  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 1151, in assertDictEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 693, in fail
    raise self.failureException(msg)


More information about the Testbot mailing list