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

LayoutIndexerIndexedFieldsTest#testIndexedFields is Failing

    Description

    Testray: https://testray.liferay.com/home/-/testray/subtasks/1161976968

    Jenkins: https://testray.liferay.com/reports/production/logs/test-1-1/1589448690157/test-portal-acceptance-upstream-dxp(master)/604/modules-integration-sqlserver2017-jdk8/21/jenkins-console.txt.gz

    App Log: https://testray.liferay.com/reports/production/logs/test-1-1/1589448690157/test-portal-acceptance-upstream-dxp(master)/604/modules-integration-sqlserver2017-jdk8/21/liferay-log.txt.gz

    Error: 

    java.lang.AssertionError: {"from":0,"size":10000,"query":{"bool":{"must":[{"bool":{"must":[{"bool":{"should":[{"bool":{"must":[{"match":{"comments":{"query":"???"}}}],"should":[{"match_phrase":{"comments":{"query":"???","slop":50}}},{"match_phrase":{"comments":{"query":"???","boost":2.0}}}]}},{"bool":{"must":[{"match":{"content":{"query":"???"}}}],"should":[{"match_phrase":{"content":{"query":"???","slop":50}}},{"match_phrase":{"content":{"query":"???","boost":2.0}}}]}},{"bool":{"must":[{"match":{"description":{"query":"???"}}}],"should":[{"match_phrase":{"description":{"query":"???","slop":50}}},{"match_phrase":{"description":{"query":"???","boost":2.0}}}]}},{"bool":{"should":[{"wildcard":{"properties":{"wildcard":"*???*"}}}]}},{"bool":{"must":[{"bool":{"should":[{"match":{"title":{"query":"???"}}},{"match_phrase_prefix":{"title":{"query":"???"}}}]}}],"should":[{"match_phrase":{"title":{"query":"???","boost":2.0}}}]}},{"bool":{"should":[{"match_phrase":{"url":{"query":"???"}}},{"bool":{"should":[{"wildcard":{"url":{"wildcard":"*???*"}}}]}},{"match_phrase_prefix":{"url":{"query":"???","max_expansions":300}}}]}},{"bool":{"should":[{"wildcard":{"userName":{"wildcard":"*???*"}}}]}},{"bool":{"must":[{"match":{"assetCategoryTitles_ja_JP":{"query":"???"}}}],"should":[{"match_phrase":{"assetCategoryTitles_ja_JP":{"query":"???","slop":50}}},{"match_phrase":{"assetCategoryTitles_ja_JP":{"query":"???","boost":2.0}}}]}},{"bool":{"must":[{"bool":{"should":[{"match":{"assetTagNames_ja_JP":{"query":"???"}}},{"match_phrase_prefix":{"assetTagNames_ja_JP":{"query":"???"}}}]}}],"should":[{"match_phrase":{"assetTagNames_ja_JP":{"query":"???","boost":2.0}}}]}},{"bool":{"must":[{"match":{"content_ja_JP":{"query":"???"}}}],"should":[{"match_phrase":{"content_ja_JP":{"query":"???","slop":50}}},{"match_phrase":{"content_ja_JP":{"query":"???","boost":2.0}}}]}},{"bool":{"must":[{"bool":{"should":[{"match":{"title_ja_JP":{"query":"???"}}},{"match_phrase_prefix":{"title_ja_JP":{"query":"???"}}}]}}],"should":[{"match_phrase":{"title_ja_JP":{"query":"???","boost":2.0}}}]}}]}}]}}],"filter":[{"bool":{"must":[{"bool":{"should":[{"bool":{"must":[{"term":{"entryClassName":{"value":"com.liferay.portal.kernel.model.Layout"}}},{"terms":{"type":["content"]}},{"terms":{"type":["content"]}}]}}]}}]}}]}},"explain":false,"stored_fields":"*","track_scores":true}->[] expected:<1> but was:<0>  at org.junit.Assert.fail(Assert.java:88)  at org.junit.Assert.failNotEquals(Assert.java:834)  at org.junit.Assert.assertEquals(Assert.java:645)  at com.liferay.portal.search.test.util.HitsAssert.assertOnlyOne(HitsAssert.java:46)  at com.liferay.portal.search.test.util.IndexerFixture.searchOnlyOne(IndexerFixture.java:159)  at com.liferay.portal.search.test.util.IndexerFixture.searchOnlyOne(IndexerFixture.java:179)  at com.liferay.portal.search.test.util.IndexerFixture.searchOnlyOne(IndexerFixture.java:172)  at com.liferay.layout.search.test.LayoutIndexerIndexedFieldsTest.testIndexedFields(LayoutIndexerIndexedFieldsTest.java:95)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.lang.reflect.Method.invoke(Method.java:498)  at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234)  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)  at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)  at org.junit.rules.RunRules.evaluate(RunRules.java:20)  at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)  at org.junit.rules.RunRules.evaluate(RunRules.java:20)  at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)  at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)  at java.lang.Thread.run(Thread.java:745)  

     

      Attachments

        Activity

          People

          Assignee:
          brian.lee Brian Lee
          Reporter:
          jacob.cerda Jacob Cerda (Inactive)
          Participants of an Issue:
          Recent user:
          Brian Lee
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved:
            Days since last comment:
            1 year, 38 weeks, 1 day ago

              Packages

              Version Package
              Master