Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-116812

SearchCTTest comparison failure with Solr

    Details

    • Branch Version/s:
      7.3.x, 7.2.x, 7.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      4
    • Sprint:
      Search|S03Sprint 22|9.21-10.30

      Description

      SearchCTTest.testCollectionVersusProduction and SearchCTTest.testPublishAndUndo are failing in master with Solr search engine.

      Stacktrace:

           [exec] com.liferay.change.tracking.internal.search.test.SearchCTTest > testCollectionVersusProduction STARTED
           [exec] 
           [exec] com.liferay.change.tracking.internal.search.test.SearchCTTest > testCollectionVersusProduction FAILED
           [exec]     org.junit.ComparisonFailure: fq=%2BcompanyId:20099+%2B(%2BgroupId:(42110)+%2BscopeGroupId:(42110))+%2B((%2BentryClassName:com.liferay.journal.model.JournalArticle+%2Bhead:true+%2Bstatus:(0)+-(*:*+%2BctCollectionId:[\*+TO+\*])))&q=*:*&fl=content_zh_CN,entryClassPK,groupId,description_hu_HU,description_ca_ES,description_ar_SA,description_pt_BR,title_ja_JP,content_sv_SE,scopeGroupId,description_es_ES,content_fr_FR,modified,title_fi_FI,description_nl_NL,content_en_US,content_de_DE,defaultLanguageId,content_es_ES,content_ar_SA,version,companyId,content_nl_NL,title_sv_SE,description_en_US,description_sv_SE,title_de_DE,title_en_US,title_es_ES,description_ja_JP,content_fi_FI,description_fr_FR,description,description_de_DE,title_ar_SA,title,title_nl_NL,content,uid,title_pt_BR,assetTagNames,title_ca_ES,entryClassName,content_ca_ES,content_hu_HU,articleId,description_fi_FI,content_pt_BR,title_zh_CN,description_zh_CN,content_ja_JP,title_hu_HU,title_fr_FR&rows=10000&start=0->{title_es_ES=sX4F5SFQ, entryClassPK=42124, entryClassName=com.liferay.journal.model.JournalArticle, content_de_DE=WhviJlS9, groupId=42110, articleId=42122, content_es_ES=WhviJlS9, defaultLanguageId=en_US, description_de_DE=sX4F5SFQ, version=1.0, uid=com.liferay.journal.model.JournalArticle_PORTLET_42123, companyId=20099, scopeGroupId=42110, description_es_ES=sX4F5SFQ, modified=20200708170711, description_en_US=sX4F5SFQ, title_en_US=sX4F5SFQ, title_de_DE=sX4F5SFQ, content_en_US=WhviJlS9},{title_es_ES=fG13K1on, entryClassPK=42148, entryClassName=com.liferay.journal.model.JournalArticle, content_de_DE=sr8xn8dH, groupId=42110, articleId=42146, content_es_ES=sr8xn8dH, defaultLanguageId=en_US, description_de_DE=fG13K1on, version=1.0, uid=com.liferay.journal.model.JournalArticle_PORTLET_42147, companyId=20099, scopeGroupId=42110, description_es_ES=fG13K1on, modified=20200708170713, description_en_US=fG13K1on, title_en_US=fG13K1on, title_de_DE=fG13K1on, content_en_US=sr8xn8dH},{title_es_ES=UCKZLMSE, entryClassPK=42179, entryClassName=com.liferay.journal.model.JournalArticle, content_de_DE=HE50oUyf, groupId=42110, articleId=42177, content_es_ES=HE50oUyf, defaultLanguageId=en_US, description_de_DE=UCKZLMSE, version=1.0, uid=com.liferay.journal.model.JournalArticle_PORTLET_42178_FIELD_1, companyId=20099, scopeGroupId=42110, description_es_ES=UCKZLMSE, modified=20200708170717, description_en_US=UCKZLMSE, title_en_US=UCKZLMSE, title_de_DE=UCKZLMSE, content_en_US=HE50oUyf},{title_es_ES=fG13K1on, entryClassPK=42148, entryClassName=com.liferay.journal.model.JournalArticle, content_de_DE=sr8xn8dH, groupId=42110, articleId=42146, content_es_ES=sr8xn8dH, defaultLanguageId=en_US, description_de_DE=fG13K1on, version=1.0, uid=com.liferay.journal.model.JournalArticle_PORTLET_42147_FIELD_1, companyId=20099, scopeGroupId=42110, description_es_ES=fG13K1on, modified=20200708170717, description_en_US=fG13K1on, title_en_US=fG13K1on, title_de_DE=fG13K1on, content_en_US=sr8xn8dH}->[com.liferay.journal.model.JournalArticle_PORTLET_42123, com.liferay.journal.model.JournalArticle_PORTLET_42147, com.liferay.journal.model.JournalArticle_PORTLET_42178_FIELD_1, com.liferay.journal.model.JournalArticle_PORTLET_42147_FIELD_1] expected:<...rticle_PORTLET_42147[]]> but was:<...rticle_PORTLET_42147[, com.liferay.journal.model.JournalArticle_PORTLET_42147_FIELD_1, com.liferay.journal.model.JournalArticle_PORTLET_42178_FIELD_1]]>
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:115)
           [exec]     	at com.liferay.portal.search.test.util.DocumentsAssert.assertValuesIgnoreRelevance(DocumentsAssert.java:102)
           [exec]     	at com.liferay.change.tracking.internal.search.test.SearchCTTest.assertHits(SearchCTTest.java:284)
           [exec]     	at com.liferay.change.tracking.internal.search.test.SearchCTTest.assertCollectionHits(SearchCTTest.java:236)
           [exec]     	at com.liferay.change.tracking.internal.search.test.SearchCTTest.testCollectionVersusProduction(SearchCTTest.java:126)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234)
           [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]     	at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec] com.liferay.change.tracking.internal.search.test.SearchCTTest > testPublishAndUndo STARTED
           [exec] 
           [exec] com.liferay.change.tracking.internal.search.test.SearchCTTest > testPublishAndUndo FAILED
           [exec]     org.junit.ComparisonFailure: fq=%2BcompanyId:20099+%2B(%2BgroupId:(42219)+%2BscopeGroupId:(42219))+%2B((%2BentryClassName:com.liferay.portal.kernel.model.Layout+%2Btype:(portlet)+%2Btype:(portlet)+-(*:*+%2BctCollectionId:[\*+TO+\*])+-(*:*+%2BctCollectionId:[\*+TO+\*])))&q=*:*&fl=uid,companyId,entryClassPK,entryClassName,scopeGroupId,groupId,modified,defaultLanguageId,title_en_US,title,content,content_en_US&rows=10000&start=0->{uid=com.liferay.portal.kernel.model.Layout_PORTLET_18, entryClassPK=18, companyId=20099, entryClassName=com.liferay.portal.kernel.model.Layout, scopeGroupId=42219, groupId=42219, modified=20200708170721, defaultLanguageId=en_US, title_en_US=gnrNWOB5},{uid=com.liferay.portal.kernel.model.Layout_PORTLET_19, entryClassPK=19, companyId=20099, entryClassName=com.liferay.portal.kernel.model.Layout, scopeGroupId=42219, groupId=42219, modified=20200708170722, defaultLanguageId=en_US, title_en_US=UTeP40Bp},{uid=com.liferay.portal.kernel.model.Layout_PORTLET_20_FIELD_2, entryClassPK=20, companyId=20099, entryClassName=com.liferay.portal.kernel.model.Layout, scopeGroupId=42219, groupId=42219, modified=20200708170722, defaultLanguageId=en_US, title_en_US=0VopD0OS},{uid=com.liferay.portal.kernel.model.Layout_PORTLET_19_FIELD_2, entryClassPK=19, companyId=20099, entryClassName=com.liferay.portal.kernel.model.Layout, scopeGroupId=42219, groupId=42219, modified=20200708170722, defaultLanguageId=en_US, title_en_US=UTeP40Bp}->[com.liferay.portal.kernel.model.Layout_PORTLET_18, com.liferay.portal.kernel.model.Layout_PORTLET_19, com.liferay.portal.kernel.model.Layout_PORTLET_20_FIELD_2, com.liferay.portal.kernel.model.Layout_PORTLET_19_FIELD_2] expected:<...el.Layout_PORTLET_19[]]> but was:<...el.Layout_PORTLET_19[, com.liferay.portal.kernel.model.Layout_PORTLET_19_FIELD_2, com.liferay.portal.kernel.model.Layout_PORTLET_20_FIELD_2]]>
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:115)
           [exec]     	at com.liferay.portal.search.test.util.DocumentsAssert.assertValuesIgnoreRelevance(DocumentsAssert.java:102)
           [exec]     	at com.liferay.change.tracking.internal.search.test.SearchCTTest.assertHits(SearchCTTest.java:284)
           [exec]     	at com.liferay.change.tracking.internal.search.test.SearchCTTest.assertCollectionHits(SearchCTTest.java:236)
           [exec]     	at com.liferay.change.tracking.internal.search.test.SearchCTTest.testPublishAndUndo(SearchCTTest.java:180)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234)
           [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]     	at java.lang.Thread.run(Thread.java:745)

      Failed on GIT ID: 3994ec2ec702175c32939899392b6159acc423f3

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.lee Brian Lee
              Reporter:
              brooke.dalton Brooke Dalton
              Participants of an Issue:
              Recent user:
              Tibor Lipusz
              Engineering Assignee:
              Wade Cao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                46 weeks, 6 days ago
                Development End Date:
                Development Start Date:

                  Packages

                  Version Package
                  7.1.X
                  7.2.X
                  7.3.6 CE GA7
                  7.3.X