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

jenkins at plone.org jenkins at plone.org
Thu Apr 26 23:24:35 UTC 2018


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

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

Changes:

[Maurits van Rees] [fc] Repository: Products.ATContentTypes







Test Results:

7 tests failed.
FAILED:  Products.GenericSetup.PluginIndexes.tests.test_exportimport.DateIndexNodeAdapterTests.test_node_get

Error Message:
'<index name="foo_date" meta_type="DateIndex">\n <property name="index_naive_time_as_local">True</property>\n <property name="precision">1</property>\n</index>\n' != '<index name="foo_date" meta_type="DateIndex">\n <property name="index_naive_time_as_local">True</property>\n</index>\n'

Stack Trace:
'<index name="foo_date" meta_type="DateIndex">\n <property name="index_naive_time_as_local">True</property>\n <property name="precision">1</property>\n</index>\n' != '<index name="foo_date" meta_type="DateIndex">\n <property name="index_naive_time_as_local">True</property>\n</index>\n'

  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.GenericSetup/Products/GenericSetup/testing.py", line 117, in test_node_get
    self.assertEqual(adapted.node.toprettyxml(' '), self._XML)
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.GenericSetup.PluginIndexes.tests.test_exportimport.DateIndexNodeAdapterTests.test_node_set

Error Message:
'<index name="foo_date" meta_type="DateIndex">\n <property name="index_naive_time_as_local">True</property>\n <property name="precision">0</property>\n</index>\n' != '<index name="foo_date" meta_type="DateIndex">\n <property name="index_naive_time_as_local">True</property>\n</index>\n'

Stack Trace:
'<index name="foo_date" meta_type="DateIndex">\n <property name="index_naive_time_as_local">True</property>\n <property name="precision">0</property>\n</index>\n' != '<index name="foo_date" meta_type="DateIndex">\n <property name="index_naive_time_as_local">True</property>\n</index>\n'

  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.GenericSetup/Products/GenericSetup/testing.py", line 124, in test_node_set
    self.assertEqual(adapted.node.toprettyxml(' '), self._XML)
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.GenericSetup.PluginIndexes.tests.test_exportimport.UnchangedTests.test_DateIndex

Error Message:
Don't clear me!

Stack Trace:
Don't clear me!

  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.GenericSetup/Products/GenericSetup/PluginIndexes/tests/test_exportimport.py", line 252, in test_DateIndex
    adapted.node = parseString(_DATE_XML).documentElement # no raise
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.GenericSetup/Products/GenericSetup/PluginIndexes/exportimport.py", line 93, in _importNode
    self.context.clear()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.GenericSetup/Products/GenericSetup/PluginIndexes/tests/test_exportimport.py", line 247, in _no_clear
    raise AssertionError("Don't clear me!")


FAILED:  Products.GenericSetup.ZCatalog.tests.test_exportimport.ZCatalogXMLAdapterTests.test_body_get

Error Message:
'<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n  <property name="precision">1</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n' != '<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n'

Stack Trace:
'<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n  <property name="precision">1</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n' != '<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n'

  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.GenericSetup/Products/GenericSetup/testing.py", line 84, in test_body_get
    self.assertEqual(adapted.body, self._BODY)
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.GenericSetup.ZCatalog.tests.test_exportimport.ZCatalogXMLAdapterTests.test_body_get_special

Error Message:
'<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <object name="old_plexicon" meta_type="ZCTextIndex Lexicon"/>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n  <property name="precision">1</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_text" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_text"/>\n  <extra name="index_type" value="Cosine Measure"/>\n  <extra name="lexicon_id" value="old_plexicon"/>\n </index>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="bacon"/>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n' != '<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <object name="old_plexicon" meta_type="ZCTextIndex Lexicon"/>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_text" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_text"/>\n  <extra name="index_type" value="Cosine Measure"/>\n  <extra name="lexicon_id" value="old_plexicon"/>\n </index>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="bacon"/>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n'

Stack Trace:
'<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <object name="old_plexicon" meta_type="ZCTextIndex Lexicon"/>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n  <property name="precision">1</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_text" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_text"/>\n  <extra name="index_type" value="Cosine Measure"/>\n  <extra name="lexicon_id" value="old_plexicon"/>\n </index>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="bacon"/>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n' != '<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <object name="old_plexicon" meta_type="ZCTextIndex Lexicon"/>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_text" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_text"/>\n  <extra name="index_type" value="Cosine Measure"/>\n  <extra name="lexicon_id" value="old_plexicon"/>\n </index>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="bacon"/>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n'

  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.GenericSetup/Products/GenericSetup/ZCatalog/tests/test_exportimport.py", line 194, in test_body_get_special
    _CATALOG_BODY % (_LEXICON_XML, _TEXT_XML, _COLUMN_XML))
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.GenericSetup.ZCatalog.tests.test_exportimport.ZCatalogXMLAdapterTests.test_body_set

Error Message:
'<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n  <property name="precision">0</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n' != '<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n'

Stack Trace:
'<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n  <property name="precision">0</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n' != '<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n'

  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.GenericSetup/Products/GenericSetup/testing.py", line 92, in test_body_set
    self.assertEqual(adapted.body, self._BODY)
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.GenericSetup.ZCatalog.tests.test_exportimport.ZCatalogXMLAdapterTests.test_body_set_update

Error Message:
'<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n  <property name="precision">1</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_text" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_text"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n' != '<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_text" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_text"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n'

Stack Trace:
'<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n  <property name="precision">1</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_text" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_text"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n' != '<?xml version="1.0"?>\n<object name="foo_catalog" meta_type="ZCatalog">\n <property name="title"></property>\n <object name="foo_plexicon" meta_type="ZCTextIndex Lexicon">\n  <element name="Whitespace splitter" group="Word Splitter"/>\n  <element name="Case Normalizer" group="Case Normalizer"/>\n  <element name="Remove listed stop words only" group="Stop Words"/>\n </object>\n <index name="foo_date" meta_type="DateIndex">\n  <property name="index_naive_time_as_local">True</property>\n </index>\n <index name="foo_daterange" meta_type="DateRangeIndex" since_field="bar"\n    until_field="baz"/>\n <index name="foo_field" meta_type="FieldIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_keyword" meta_type="KeywordIndex">\n  <indexed_attr value="bar"/>\n </index>\n <index name="foo_path" meta_type="PathIndex"/>\n <index name="foo_text" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_text"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <index name="foo_topic" meta_type="TopicIndex">\n  <filtered_set name="bar" meta_type="PythonFilteredSet" expression="True"/>\n  <filtered_set name="baz" meta_type="PythonFilteredSet" expression="False"/>\n </index>\n <index name="foo_zctext" meta_type="ZCTextIndex">\n  <indexed_attr value="foo_zctext"/>\n  <extra name="index_type" value="Okapi BM25 Rank"/>\n  <extra name="lexicon_id" value="foo_plexicon"/>\n </index>\n <column value="eggs"/>\n <column value="spam"/>\n</object>\n'

  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.GenericSetup/Products/GenericSetup/ZCatalog/tests/test_exportimport.py", line 203, in test_body_set_update
    self.assertEqual(adapted.body, _CATALOG_BODY % ('', _ZCTEXT_XML, ''))
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
    raise self.failureException(msg)


More information about the Testbot mailing list