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

Modules Integration failure about com.liferay.document.library.search.test.DLFileEntrySearchTest

    Description

    Testray

    Jenkins

         [exec] 
         [exec] com.liferay.document.library.search.test.DLFileEntrySearchTest > testSearchTreePath STARTED
         [exec] 
         [exec] com.liferay.document.library.search.test.DLFileEntrySearchTest > testSearchTreePath FAILED
         [exec]     java.lang.AssertionError: {"from":0,"size":10000,"query":{"bool":{"must":[{"bool":{"must":[{"bool":{"should":[{"bool":{"must":[{"match":{"comments":{"query":"Document"}}}],"should":[{"match_phrase":{"comments":{"query":"Document","slop":50}}},{"match_phrase":{"comments":{"query":"Document","boost":2.0}}}]}},{"bool":{"must":[{"match":{"content":{"query":"Document"}}}],"should":[{"match_phrase":{"content":{"query":"Document","slop":50}}},{"match_phrase":{"content":{"query":"Document","boost":2.0}}}]}},{"bool":{"must":[{"match":{"description":{"query":"Document"}}}],"should":[{"match_phrase":{"description":{"query":"Document","slop":50}}},{"match_phrase":{"description":{"query":"Document","boost":2.0}}}]}},{"bool":{"must":[{"bool":{"should":[{"match":{"title":{"query":"Document"}}},{"match_phrase_prefix":{"title":{"query":"Document"}}}]}}],"should":[{"match_phrase":{"title":{"query":"Document","boost":2.0}}}]}},{"bool":{"must":[{"match":{"url":{"query":"Document"}}}],"should":[{"match_phrase":{"url":{"query":"Document","slop":50}}},{"match_phrase":{"url":{"query":"Document","boost":2.0}}}]}},{"bool":{"should":[{"match_phrase_prefix":{"userName.text":{"query":"Document"}}}]}},{"bool":{"must":[{"match":{"assetCategoryTitles_en_US":{"query":"Document"}}}],"should":[{"match_phrase":{"assetCategoryTitles_en_US":{"query":"Document","slop":50}}},{"match_phrase":{"assetCategoryTitles_en_US":{"query":"Document","boost":2.0}}}]}},{"bool":{"must":[{"bool":{"should":[{"match":{"assetTagNames_en_US":{"query":"Document"}}},{"match_phrase_prefix":{"assetTagNames_en_US":{"query":"Document"}}}]}}],"should":[{"match_phrase":{"assetTagNames_en_US":{"query":"Document","boost":2.0}}}]}},{"bool":{"must":[{"match":{"ddmContent":{"query":"Document"}}}],"should":[{"match_phrase":{"ddmContent":{"query":"Document","slop":50}}},{"match_phrase":{"ddmContent":{"query":"Document","boost":2.0}}}]}},{"bool":{"must":[{"match":{"extension":{"query":"Document"}}}],"should":[{"match_phrase":{"extension":{"query":"Document","slop":50}}},{"match_phrase":{"extension":{"query":"Document","boost":2.0}}}]}},{"bool":{"must":[{"match":{"fileEntryTypeId":{"query":"Document"}}}],"should":[{"match_phrase":{"fileEntryTypeId":{"query":"Document","slop":50}}},{"match_phrase":{"fileEntryTypeId":{"query":"Document","boost":2.0}}}]}},{"bool":{"must":[{"match":{"content_en_US":{"query":"Document"}}}],"should":[{"match_phrase":{"content_en_US":{"query":"Document","slop":50}}},{"match_phrase":{"content_en_US":{"query":"Document","boost":2.0}}}]}},{"bool":{"must":[{"bool":{"should":[{"match":{"title":{"query":"Document"}}},{"match_phrase_prefix":{"title":{"query":"Document"}}}]}}],"should":[{"match_phrase":{"title":{"query":"Document","boost":2.0}}}]}},{"match_phrase_prefix":{"fileExtension":{"query":"Document"}}},{"bool":{"must":[{"bool":{"should":[{"match":{"fileName":{"query":"Document"}}},{"match_phrase_prefix":{"fileName":{"query":"Document"}}}]}}],"should":[{"match_phrase":{"fileName":{"query":"Document"}}}]}}]}}]}}],"filter":[{"bool":{"must":[{"bool":{"must":[{"terms":{"groupId":["45400"]}},{"terms":{"scopeGroupId":["45400"]}}]}},{"bool":{"should":[{"bool":{"must":[{"term":{"entryClassName":{"value":"com.liferay.document.library.kernel.model.DLFileEntry"}}},{"term":{"hidden":{"value":"false"}}},{"term":{"hidden":{"value":"false"}}},{"terms":{"status":["0"]}},{"terms":{"status":["0"]}},{"bool":{"must":[{"bool":{"must_not":[{"exists":{"field":"ctCollectionId"}}]}}]}},{"bool":{"must":[{"bool":{"must_not":[{"exists":{"field":"ctCollectionId"}}]}}]}}]}}]}}]}}]}},"explain":false,"stored_fields":["uid","companyId","entryClassPK","entryClassName","scopeGroupId","groupId","assetTagNames","modified","title","content"],"track_scores":true,"track_total_hits":2147483647}->{docs={}, length=0, query=null] expected:<2> but was:<0>
         [exec]     	at org.junit.Assert.fail(Assert.java:89)
         [exec]     	at org.junit.Assert.failNotEquals(Assert.java:835)
         [exec]     	at org.junit.Assert.assertEquals(Assert.java:647)
         [exec]     	at com.liferay.portal.search.test.util.BaseSearchTestCase.assertBaseModelsCount(BaseSearchTestCase.java:269)
         [exec]     	at com.liferay.portal.search.test.util.BaseSearchTestCase.assertBaseModelsCount(BaseSearchTestCase.java:280)
         [exec]     	at com.liferay.document.library.search.test.DLFileEntrySearchTest.testSearchTreePath(DLFileEntrySearchTest.java:280)
         [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$3.evaluate(TestExecutorRunnable.java:353)
         [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.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [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:237)
         [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
         [exec]     	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
         [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 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:316)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
         [exec]     	at java.lang.Thread.run(Thread.java:745)
         [exec] 
    

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            yvonne.han Yvonne Han
            Reporter:
            yvonne.han Yvonne Han
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Engineering Assignee:
            Adolfo PĂ©rez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              33 weeks ago

                Packages

                Version Package
                7.4.3.5 CE GA5
                7.4.13 DXP U1
                Master