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

Intermittent unable to apply contributor SynonymSetIndexCreationIndexContributor error

    Details

      Description

      Integration test incidences:

      Functional test incidences:

      Date Test Name Location Full Console
      4/15/2020  PortalSmokeUpgrade#ViewPortalSmokeArchive621021 Dev master PR  liferay log 

      Example stacktrace:

           [exec]     java.lang.AssertionError: {level=ERROR, loggerName=com.liferay.portal.search.elasticsearch6.internal.index.CompanyIndexFactory, message=Unable to apply contributor com.liferay.portal.search.tuning.synonyms.web.internal.ind[email protected]457e575a when creating index liferay-79067
           [exec]     	at com.liferay.portal.test.rule.LogAssertionAppender.append(LogAssertionAppender.java:60)
           [exec]     	at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
           [exec]     	at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
           [exec]     	at org.apache.log4j.Category.callAppenders(Category.java:206)
           [exec]     	at org.apache.log4j.Category.forcedLog(Category.java:391)
           [exec]     	at org.apache.log4j.Category.log(Category.java:856)
           [exec]     	at com.liferay.portal.log.Log4jLogImpl.error(Log4jLogImpl.java:54)
           [exec]     	at com.liferay.portal.kernel.log.LogWrapper.error(LogWrapper.java:69)
           [exec]     	at com.liferay.portal.search.elasticsearch6.internal.index.CompanyIndexFactory.executeIndexContributorAfterCreate(CompanyIndexFactory.java:188)
           [exec]     	at com.liferay.portal.search.elasticsearch6.internal.index.CompanyIndexFactory.executeIndexContributorsAfterCreate(CompanyIndexFactory.java:213)
           [exec]     	at com.liferay.portal.search.elasticsearch6.internal.index.CompanyIndexFactory.createIndex(CompanyIndexFactory.java:178)
           [exec]     	at com.liferay.portal.search.elasticsearch6.internal.index.CompanyIndexFactory.createIndices(CompanyIndexFactory.java:85)
           [exec]     	at com.liferay.portal.search.elasticsearch6.internal.ElasticsearchSearchEngine.initialize(ElasticsearchSearchEngine.java:112)
           [exec]     	at com.liferay.portal.kernel.search.SearchEngineProxyWrapper.initialize(SearchEngineProxyWrapper.java:59)
           [exec]     	at com.liferay.portal.search.internal.SearchEngineHelperImpl.initialize(SearchEngineHelperImpl.java:213)
           [exec]     	at com.liferay.portal.kernel.search.SearchEngineHelperUtil.initialize(SearchEngineHelperUtil.java:83)
           [exec]     	at com.liferay.portal.service.impl.CompanyLocalServiceImpl.preregisterCompany(CompanyLocalServiceImpl.java:1302)
           [exec]     	at com.liferay.portal.service.impl.CompanyLocalServiceImpl._checkCompany(CompanyLocalServiceImpl.java:1794)
           [exec]     	at com.liferay.portal.service.impl.CompanyLocalServiceImpl.addCompany(CompanyLocalServiceImpl.java:243)
           [exec]     	at sun.reflect.GeneratedMethodAccessor1076.invoke(Unknown Source)
           [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
           [exec]     	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
           [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           [exec]     	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
           [exec]     	at com.sun.proxy.$Proxy30.addCompany(Unknown Source)
           [exec]     	at com.liferay.portal.kernel.service.CompanyLocalServiceUtil.addCompany(CompanyLocalServiceUtil.java:69)
           [exec]     	at com.liferay.portal.kernel.test.util.CompanyTestUtil.addCompany(CompanyTestUtil.java:48)
           [exec]     	at com.liferay.portal.kernel.test.util.CompanyTestUtil.addCompany(CompanyTestUtil.java:42)
           [exec]     	at com.liferay.site.navigation.service.test.SiteNavigationMenuServiceTest.setUp(SiteNavigationMenuServiceTest.java:78)
           [exec]     	at sun.reflect.GeneratedMethodAccessor1165.invoke(Unknown Source)
           [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]     	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
           [exec]     	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
           [exec]     	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
           [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
           [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 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 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]     Caused by: java.lang.RuntimeException: org.elasticsearch.index.IndexNotFoundException: [liferay-79067] IndexNotFoundException[no such index]
           [exec]     	at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.indexNotFoundException(IndexNameExpressionResolver.java:720)
           [exec]     	at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.innerResolve(IndexNameExpressionResolver.java:672)
           [exec]     	at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.resolve(IndexNameExpressionResolver.java:628)
           [exec]     	at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:164)
           [exec]     	at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndexNames(IndexNameExpressionResolver.java:143)
           [exec]     	at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndexNames(IndexNameExpressionResolver.java:76)
           [exec]     	at org.elasticsearch.action.admin.indices.close.TransportCloseIndexAction.checkBlock(TransportCloseIndexAction.java:94)
           [exec]     	at org.elasticsearch.action.admin.indices.close.TransportCloseIndexAction.checkBlock(TransportCloseIndexAction.java:48)
           [exec]     	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.doStart(TransportMasterNodeAction.java:157)
           [exec]     	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.start(TransportMasterNodeAction.java:148)
           [exec]     	at org.elasticsearch.action.support.master.TransportMasterNodeAction.doExecute(TransportMasterNodeAction.java:125)
           [exec]     	at org.elasticsearch.action.admin.indices.close.TransportCloseIndexAction.doExecute(TransportCloseIndexAction.java:89)
           [exec]     	at org.elasticsearch.action.admin.indices.close.TransportCloseIndexAction.doExecute(TransportCloseIndexAction.java:48)
           [exec]     	at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:167)
           [exec]     	at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:139)
           [exec]     	at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:81)
           [exec]     	at org.elasticsearch.client.node.NodeClient.executeLocally(NodeClient.java:87)
           [exec]     	at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:76)
           [exec]     	at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:395)
           [exec]     	at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:384)
           [exec]     	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:46)
           [exec]     	at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:53)
           [exec]     	at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.index.CloseIndexRequestExecutorImpl.execute(CloseIndexRequestExecutorImpl.java:43)
           [exec]     	at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.index.ElasticsearchIndexRequestExecutor.executeIndexRequest(ElasticsearchIndexRequestExecutor.java:68)
           [exec]     	at com.liferay.portal.search.engine.adapter.index.CloseIndexRequest.accept(CloseIndexRequest.java:33)
           [exec]     	at com.liferay.portal.search.engine.adapter.index.CloseIndexRequest.accept(CloseIndexRequest.java:22)
           [exec]     	at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.ElasticsearchSearchEngineAdapterImpl.execute(ElasticsearchSearchEngineAdapterImpl.java:85)
           [exec]     	at com.liferay.portal.search.tuning.synonyms.web.internal.filter.SynonymSetFilterWriterImpl.closeIndex(SynonymSetFilterWriterImpl.java:74)
           [exec]     	at com.liferay.portal.search.tuning.synonyms.web.internal.filter.SynonymSetFilterWriterImpl.updateSynonymSets(SynonymSetFilterWriterImpl.java:37)
           [exec]     	at com.liferay.portal.search.tuning.synonyms.web.internal.synchronizer.IndexToFilterSynchronizerImpl.updateFilters(IndexToFilterSynchronizerImpl.java:63)
           [exec]     	at com.liferay.portal.search.tuning.synonyms.web.internal.synchronizer.IndexToFilterSynchronizerImpl.copyToFilter(IndexToFilterSynchronizerImpl.java:39)
           [exec]     	at com.liferay.portal.search.tuning.synonyms.web.internal.index.creation.contributor.SynonymSetIndexCreationIndexContributor.onAfterCreate(SynonymSetIndexCreationIndexContributor.java:50)
           [exec]     	at com.liferay.portal.search.elasticsearch6.internal.index.CompanyIndexFactory.executeIndexContributorAfterCreate(CompanyIndexFactory.java:185)
      

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            michael.eguina Michael Eguina (Inactive)
            Participants of an Issue:
            Recent user:
            Tibor Lipusz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 8 weeks, 3 days ago
              Development End Date:

                Packages

                Version Package