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

AssertionError in ExportImportMultiLanguageSearchTest

    Details

      Description

      Testray

      [exec] com.liferay.exportimport.internal.search.test.ExportImportMultiLanguageSearchTest > testJapaneseName FAILED
           [exec]     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":{"description":{"query":"??????"}}}],"should":[{"match_phrase":{"description":{"query":"??????","slop":50}}},{"match_phrase":{"description":{"query":"??????","boost":2.0}}}]}},{"bool":{"must":[{"match":{"exportImportConfigurationId":{"query":"??????"}}}],"should":[{"match_phrase":{"exportImportConfigurationId":{"query":"??????","slop":50}}},{"match_phrase":{"exportImportConfigurationId":{"query":"??????","boost":2.0}}}]}},{"bool":{"should":[{"wildcard":{"name":{"wildcard":"*??????*"}}}]}}]}}]}}],"filter":[{"bool":{"must":[{"bool":{"should":[{"bool":{"must":[{"term":{"entryClassName":{"value":"com.liferay.exportimport.kernel.model.ExportImportConfiguration"}}},{"term":{"companyId":{"value":"20101"}}},{"term":{"groupId":{"value":"48292"}}},{"term":{"companyId":{"value":"20101"}}},{"term":{"groupId":{"value":"48292"}}},{"terms":{"status":["0"]}},{"terms":{"status":["0"]}}]}}]}}]}}]}},"explain":false,"stored_fields":"*","track_scores":true,"track_total_hits":2147483647}->[] expected:<1> 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.HitsAssert.assertOnlyOne(HitsAssert.java:61)
           [exec]     	at com.liferay.portal.search.test.util.IndexerFixture.searchOnlyOne(IndexerFixture.java:157)
           [exec]     	at com.liferay.portal.search.test.util.IndexerFixture.searchOnlyOne(IndexerFixture.java:177)
           [exec]     	at com.liferay.exportimport.internal.search.test.ExportImportMultiLanguageSearchTest.assertFieldValues(ExportImportMultiLanguageSearchTest.java:106)
           [exec]     	at com.liferay.exportimport.internal.search.test.ExportImportMultiLanguageSearchTest._testKeywordsLocale(ExportImportMultiLanguageSearchTest.java:168)
           [exec]     	at com.liferay.exportimport.internal.search.test.ExportImportMultiLanguageSearchTest.testJapaneseName(ExportImportMultiLanguageSearchTest.java:96)
           [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 org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           [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 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)
      

      Full console log:
      https://testray.liferay.com/reports/production/logs/test-1-7/1613797655745/test-portal-testsuite-upstream(master)/541/modules-integration-mysql57-jdk8/0/0/jenkins-console.txt.gz

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              joyce.wang Joyce Wang
              Participants of an Issue:
              Recent user:
              Gábor Lovas
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  Master