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

Intermittent IllegalStateException: Future got interrupted error with Elasticsearch6 SmokeUpgrade tests

    Details

      Description

      The functional steps of the test completed successfully, and the tests only failed due to the errors in the log.

      Incidences:

      Date Test Name Branch Location Full Console
      2/29/2020 PortalSmokeUpgrade#ViewPortalSmokeArchive7210 Master Development Acceptance  02292020
      3/6/2020 PortalSmokeUpgrade#ViewPortalSmokeArchive7210 Master EE Pull Request 03062020
      3/10/2020 PortalSmokeUpgrade#ViewPortalSmokeArchive7210 Master EE Pull Request 03102020
      3/16/2020 PortalSmokeUpgrade#ViewPortalSmokeArchive7210  Master EE Pull Request 03162020-1
      3/16/2020 PortalSmokeUpgrade#ViewPortalSmokeArchive7210 Master EE Pull Request 03162020-2(jboss) & 03162020-2(mysql)
      3/23/2020 PortalSmokeUpgrade#ViewPortalSmokeArchive7210 Master EE Pull Request 03232020
      4/07/2020 PortalSmokeUpgrade#ViewPortalSmokeArchive7210 Master Stable 04072020
      4/07/2020 PortalSmokeUpgrade#ViewPortalSmokeArchive7210 Master Stable 04072020-1
        [java] 2020-03-23 17:46:30.274 ERROR [liferay/background_task-2][BackgroundTaskMessageListener:182] Unable to execute background task
           [java] java.lang.IllegalStateException: Future got interrupted
           [java] 	at org.elasticsearch.common.util.concurrent.FutureUtils.get(FutureUtils.java:60)
           [java] 	at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:34)
           [java] 	at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:53)
           [java] 	at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.index.CreateIndexRequestExecutorImpl.execute(CreateIndexRequestExecutorImpl.java:41)
           [java] 	at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.index.ElasticsearchIndexRequestExecutor.executeIndexRequest(ElasticsearchIndexRequestExecutor.java:75)
           [java] 	at com.liferay.portal.search.engine.adapter.index.CreateIndexRequest.accept(CreateIndexRequest.java:33)
           [java] 	at com.liferay.portal.search.engine.adapter.index.CreateIndexRequest.accept(CreateIndexRequest.java:22)
           [java] 	at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.ElasticsearchSearchEngineAdapterImpl.execute(ElasticsearchSearchEngineAdapterImpl.java:85)
           [java] 	at com.liferay.portal.search.tuning.rankings.web.internal.index.RankingIndexCreatorImpl.create(RankingIndexCreatorImpl.java:43)
           [java] 	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
           [java] 	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
           [java] 	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
           [java] 	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
           [java] 	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
           [java] 	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
           [java] 	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
           [java] 	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
           [java] 	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
           [java] 	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
           [java] 	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
           [java] 	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
           [java] 	at com.liferay.portal.search.tuning.rankings.web.internal.index.importer.SingleIndexToMultipleIndexImporterImpl.createRankingIndices(SingleIndexToMultipleIndexImporterImpl.java:109)
           [java] 	at com.liferay.portal.search.tuning.rankings.web.internal.index.importer.SingleIndexToMultipleIndexImporterImpl.importRankings(SingleIndexToMultipleIndexImporterImpl.java:54)
           [java] 	at com.liferay.portal.search.tuning.rankings.web.internal.background.task.RankingIndexCreationBackgroundTaskExecutor.execute(RankingIndexCreationBackgroundTaskExecutor.java:61)
           [java] 	at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41)
           [java] 	at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72)
           [java] 	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:136)
           [java] 	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
           [java] 	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
           [java] 	at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56)
           [java] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [java] 	at java.lang.Thread.run(Thread.java:745)
           [java] Caused by: java.lang.InterruptedException
           [java] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:998)
           [java] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
           [java] 	at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:251)
           [java] 	at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:94)
           [java] 	at org.elasticsearch.common.util.concurrent.FutureUtils.get(FutureUtils.java:57)
           [java] 	... 32 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              brooke.dalton Brooke Dalton
              Participants of an Issue:
              Recent user:
              Brian Lee
              Engineering Assignee:
              Bryan Engler
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                1 year, 13 weeks, 5 days ago
                Development Start Date:

                  Packages

                  Version Package
                  Master