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

jenkins at plone.org jenkins at plone.org
Tue Mar 2 19:14:47 UTC 2021


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

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


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

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

Test Results:

17 tests failed.
FAILED:  plone.restapi.tests.test_documentation.TestDocumentation.test_documentation_users_get

Error Message:


Stack Trace:


  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 624, in run
    self.setUp()
  File "/home/jenkins/workspace/plone-5.2-python-3.7/src/plone.restapi/src/plone/restapi/tests/test_documentation.py", line 247, in setUp
    transaction.commit()
  File "/home/jenkins/.buildout/eggs/cp37m/transaction-3.0.1-py3.7.egg/transaction/_manager.py", line 257, in commit
    return self.manager.commit()
  File "/home/jenkins/.buildout/eggs/cp37m/transaction-3.0.1-py3.7.egg/transaction/_manager.py", line 134, in commit
    return self.get().commit()
  File "/home/jenkins/.buildout/eggs/cp37m/transaction-3.0.1-py3.7.egg/transaction/_transaction.py", line 267, in commit
    self._callBeforeCommitHooks()
  File "/home/jenkins/.buildout/eggs/cp37m/transaction-3.0.1-py3.7.egg/transaction/_transaction.py", line 333, in _callBeforeCommitHooks
    self._call_hooks(self._before_commit)
  File "/home/jenkins/.buildout/eggs/cp37m/transaction-3.0.1-py3.7.egg/transaction/_transaction.py", line 372, in _call_hooks
    hook(*(prefix_args + args), **kws)
  File "/home/jenkins/.buildout/eggs/cp37m/Products.CMFCore-2.5.0-py3.7.egg/Products/CMFCore/indexing.py", line 316, in before_commit
    self.queue.process()
  File "/home/jenkins/.buildout/eggs/cp37m/Products.CMFCore-2.5.0-py3.7.egg/Products/CMFCore/indexing.py", line 226, in process
    util.reindex(obj, attributes, update_metadata=metadata)
  File "/home/jenkins/.buildout/eggs/cp37m/Products.CMFCore-2.5.0-py3.7.egg/Products/CMFCore/indexing.py", line 51, in reindex
    update_metadata=update_metadata)
  File "/home/jenkins/.buildout/eggs/cp37m/Products.CMFCore-2.5.0-py3.7.egg/Products/CMFCore/CatalogTool.py", line 368, in _reindexObject
    self.catalog_object(object, uid, idxs, update_metadata)
  File "/home/jenkins/workspace/plone-5.2-python-3.7/src/Products.CMFPlone/Products/CMFPlone/CatalogTool.py", line 357, in catalog_object
    update_metadata, pghandler=pghandler)
  File "/home/jenkins/.buildout/eggs/cp37m/Products.ZCatalog-5.2-py3.7.egg/Products/ZCatalog/ZCatalog.py", line 506, in catalog_object
    update_metadata=update_metadata)
  File "/home/jenkins/.buildout/eggs/cp37m/Products.ZCatalog-5.2-py3.7.egg/Products/ZCatalog/Catalog.py", line 369, in catalogObject
    blah = x.index_object(index, object, threshold)
  File "/home/jenkins/.buildout/eggs/cp37m/Products.ZCatalog-5.2-py3.7.egg/Products/ZCTextIndex/ZCTextIndex.py", line 192, in index_object
    return self.index.index_doc(documentId, all_texts)
  File "/home/jenkins/.buildout/eggs/cp37m/Products.ZCatalog-5.2-py3.7.egg/Products/ZCTextIndex/OkapiIndex.py", line 58, in index_doc
    count = BaseIndex.index_doc(self, docid, text)
  File "/home/jenkins/.buildout/eggs/cp37m/Products.ZCatalog-5.2-py3.7.egg/Products/ZCTextIndex/BaseIndex.py", line 116, in index_doc
    self._docwords[docid] = WidCode.encode(wids)
  File "/home/jenkins/.buildout/eggs/cp37m/Products.ZCatalog-5.2-py3.7.egg/Products/ZCTextIndex/WidCode.py", line 68, in encode
    return "".join([w < n and wid2enc[w] or _encode(w) for w in wids])
  File "/home/jenkins/.buildout/eggs/cp37m/Products.ZCatalog-5.2-py3.7.egg/Products/ZCTextIndex/WidCode.py", line 68, in <listcomp>
    return "".join([w < n and wid2enc[w] or _encode(w) for w in wids])
  File "/home/jenkins/.buildout/eggs/cp37m/Products.ZCatalog-5.2-py3.7.egg/Products/ZCTextIndex/WidCode.py", line 75, in _encode
    assert 0x4000 <= w < 0x10000000


FAILED:  plone.restapi.tests.test_services_tiles.TestServicesTiles.test_get_available_tiles

Error Message:
0 != 1

Stack Trace:
0 != 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_services_tiles.py", line 81, in test_get_available_tiles
    self.assertEqual(len(response), 1)
  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_services_tiles.TestServicesTiles.test_get_tile

Error Message:
500 != 200

Stack Trace:
500 != 200

  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_services_tiles.py", line 90, in test_get_tile
    self.assertEqual(response.status_code, 200)
  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_services_vocabularies.TestVocabularyEndpoint.test_context_vocabulary

Error Message:
404 != 200

Stack Trace:
404 != 200

  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_services_vocabularies.py", line 283, in test_context_vocabulary
    self.assertEqual(response.status_code, 200)
  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_services_vocabularies.TestVocabularyEndpoint.test_get_all_vocabularies

Error Message:
Lists differ: [{'@id': 'http://localhost:43303/plone/@vo[92 chars]ry'}] != []

Stack Trace:
Lists differ: [{'@id': 'http://localhost:43303/plone/@vo[92 chars]ry'}] != []

First list contains 1 additional elements.
First extra element 0:
{'@id': 'http://localhost:43303/plone/@vocabularies/plone.restapi.tests.test_vocabulary', 'title': 'plone.restapi.tests.test_vocabulary'}

+ []
- [{'@id': 'http://localhost:43303/plone/@vocabularies/plone.restapi.tests.test_vocabulary',
-   'title': 'plone.restapi.tests.test_vocabulary'}]

  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_services_vocabularies.py", line 259, in test_get_all_vocabularies
    for x in response
  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 1058, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  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.restapi.tests.test_services_vocabularies.TestVocabularyEndpoint.test_get_vocabulary

Error Message:
200 != 404

Stack Trace:
200 != 404

  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_services_vocabularies.py", line 76, in test_get_vocabulary
    self.assertEqual(200, response.status_code)
  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_services_vocabularies.TestVocabularyEndpoint.test_get_vocabulary_batched

Error Message:
200 != 404

Stack Trace:
200 != 404

  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_services_vocabularies.py", line 100, in test_get_vocabulary_batched
    self.assertEqual(200, response.status_code)
  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_services_vocabularies.TestVocabularyEndpoint.test_get_vocabulary_filtered_by_non_ascii_title

Error Message:
200 != 404

Stack Trace:
200 != 404

  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_services_vocabularies.py", line 144, in test_get_vocabulary_filtered_by_non_ascii_title
    self.assertEqual(200, response.status_code)
  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_services_vocabularies.TestVocabularyEndpoint.test_get_vocabulary_filtered_by_title

Error Message:
200 != 404

Stack Trace:
200 != 404

  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_services_vocabularies.py", line 127, in test_get_vocabulary_filtered_by_title
    self.assertEqual(200, response.status_code)
  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_services_vocabularies.TestVocabularyEndpoint.test_get_vocabulary_filtered_by_title_and_token_returns_error

Error Message:
400 != 404

Stack Trace:
400 != 404

  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_services_vocabularies.py", line 198, in test_get_vocabulary_filtered_by_title_and_token_returns_error
    self.assertEqual(400, response.status_code)
  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_services_vocabularies.TestVocabularyEndpoint.test_get_vocabulary_filtered_by_token

Error Message:
200 != 404

Stack Trace:
200 != 404

  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_services_vocabularies.py", line 164, in test_get_vocabulary_filtered_by_token
    self.assertEqual(200, response.status_code)
  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_services_vocabularies.TestVocabularyEndpoint.test_get_vocabulary_filtered_by_token_partial_not_match

Error Message:
200 != 404

Stack Trace:
200 != 404

  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_services_vocabularies.py", line 181, in test_get_vocabulary_filtered_by_token_partial_not_match
    self.assertEqual(200, response.status_code)
  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_tus.TestTUS.test_create_with_tus_fires_proper_events

Error Message:
Lists differ: [] != ['ObjectCreatedEvent', 'ObjectWillBeAddedE[47 chars]ent']

Stack Trace:
Lists differ: [] != ['ObjectCreatedEvent', 'ObjectWillBeAddedE[47 chars]ent']

Second list contains 4 additional elements.
First extra element 0:
'ObjectCreatedEvent'

- []
+ ['ObjectCreatedEvent',
+  'ObjectWillBeAddedEvent',
+  'ObjectAddedEvent',
+  'ContainerModifiedEvent']

  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_tus.py", line 489, in test_create_with_tus_fires_proper_events
    "ContainerModifiedEvent",
  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 1058, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  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.restapi.tests.test_tus.TestTUS.test_replace_with_tus_fires_proper_events

Error Message:
Lists differ: [] != ['ObjectModifiedEvent']

Stack Trace:
Lists differ: [] != ['ObjectModifiedEvent']

Second list contains 1 additional elements.
First extra element 0:
'ObjectModifiedEvent'

- []
+ ['ObjectModifiedEvent']

  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_tus.py", line 544, in test_replace_with_tus_fires_proper_events
    self.assertEqual(fired_events, ["ObjectModifiedEvent"])
  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 1058, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  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.restapi.tests.test_tus.TestTUSUploadWithCORS.test_cors_preflight_for_head_contains_tus_headers

Error Message:
'Tus-Resumable' not found in {'Connection': 'close', 'Date': 'Tue, 02 Mar 2021 19:14:38 GMT', 'Server': 'waitress', 'Via': 'waitress', 'X-Powered-By': 'Zope (www.zope.org), Python (www.python.org)'}

Stack Trace:
'Tus-Resumable' not found in {'Connection': 'close', 'Date': 'Tue, 02 Mar 2021 19:14:38 GMT', 'Server': 'waitress', 'Via': 'waitress', 'X-Powered-By': 'Zope (www.zope.org), Python (www.python.org)'}

  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_tus.py", line 626, in test_cors_preflight_for_head_contains_tus_headers
    self.assertIn("Tus-Resumable", response.headers)
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 1119, in assertIn
    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_tus.TestTUSUploadWithCORS.test_cors_preflight_for_patch_contains_tus_headers

Error Message:
'Tus-Resumable' not found in {'Connection': 'close', 'Date': 'Tue, 02 Mar 2021 19:14:38 GMT', 'Server': 'waitress', 'Via': 'waitress', 'X-Powered-By': 'Zope (www.zope.org), Python (www.python.org)'}

Stack Trace:
'Tus-Resumable' not found in {'Connection': 'close', 'Date': 'Tue, 02 Mar 2021 19:14:38 GMT', 'Server': 'waitress', 'Via': 'waitress', 'X-Powered-By': 'Zope (www.zope.org), Python (www.python.org)'}

  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_tus.py", line 613, in test_cors_preflight_for_patch_contains_tus_headers
    self.assertIn("Tus-Resumable", response.headers)
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 1119, in assertIn
    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_tus.TestTUSUploadWithCORS.test_cors_preflight_for_post_contains_tus_headers

Error Message:
'Tus-Resumable' not found in {'Connection': 'close', 'Date': 'Tue, 02 Mar 2021 19:14:38 GMT', 'Server': 'waitress', 'Via': 'waitress', 'X-Powered-By': 'Zope (www.zope.org), Python (www.python.org)'}

Stack Trace:
'Tus-Resumable' not found in {'Connection': 'close', 'Date': 'Tue, 02 Mar 2021 19:14:38 GMT', 'Server': 'waitress', 'Via': 'waitress', 'X-Powered-By': 'Zope (www.zope.org), Python (www.python.org)'}

  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_tus.py", line 600, in test_cors_preflight_for_post_contains_tus_headers
    self.assertIn("Tus-Resumable", response.headers)
  File "/srv/python3.7/lib/python3.7/unittest/case.py", line 1119, in assertIn
    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