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

AssertionError in NodeWorkflowMetricsIndexerTest

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Workflow
    • Labels:

      Description

      NodeWorkflowMetricsIndexerTest#testReindex failing in master with

           [exec] 09:52:30,905 ERROR [com.liferay.portal.workflow.metrics.internal.petra.executor.WorkflowMetricsPortalExecutor-2][WorkflowMetricsPortalExecutor:56] java.lang.RuntimeException: org.elasticsearch.index.engine.DocumentMissingException: [workflow-metrics-processes/pE_zOQAUQtKedxr-XkCADQ][[workflow-metrics-processes][0]] DocumentMissingException[[WorkflowMetricsProcessType][WorkflowMetricsProcess_PORTLET_3c5bfdf682a029767decafad24d48ebb8311e5190b20c4bd967537baa2b48f9a]: document missing]
           [exec] java.lang.RuntimeException: org.elasticsearch.index.engine.DocumentMissingException: [workflow-metrics-processes/pE_zOQAUQtKedxr-XkCADQ][[workflow-metrics-processes][0]] DocumentMissingException[[WorkflowMetricsProcessType][WorkflowMetricsProcess_PORTLET_3c5bfdf682a029767decafad24d48ebb8311e5190b20c4bd967537baa2b48f9a]: document missing]
           [exec] 	at org.elasticsearch.action.update.UpdateHelper.prepareUpsert(UpdateHelper.java:131)
           [exec] 	at org.elasticsearch.action.update.UpdateHelper.prepare(UpdateHelper.java:87)
           [exec] 	at org.elasticsearch.action.update.UpdateHelper.prepare(UpdateHelper.java:76)
           [exec] 	at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:174)
           [exec] 	at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:167)
           [exec] 	at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:67)
           [exec] 	at org.elasticsearch.action.support.single.instance.TransportInstanceSingleOperationAction$ShardTransportHandler.messageReceived(TransportInstanceSingleOperationAction.java:242)
           [exec] 	at org.elasticsearch.action.support.single.instance.TransportInstanceSingleOperationAction$ShardTransportHandler.messageReceived(TransportInstanceSingleOperationAction.java:238)
           [exec] 	at org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:30)
           [exec] 	at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:66)
           [exec] 	at org.elasticsearch.transport.TransportService$7.doRun(TransportService.java:717)
           [exec] 	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:723)
           [exec] 	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec] com.liferay.portal.workflow.metrics.service.internal.search.index.test.NodeWorkflowMetricsIndexerTest > testReindex FAILED
           [exec]     java.lang.AssertionError: Thread Thread[com.liferay.portal.workflow.metrics.internal.petra.executor.WorkflowMetricsPortalExecutor-2,5,main] caught concurrent failure: java.lang.AssertionError: {level=ERROR, loggerName=com.liferay.portal.workflow.metrics.internal.petra.executor.WorkflowMetricsPortalExecutor, message=java.lang.RuntimeException: org.elasticsearch.index.engine.DocumentMissingException: [workflow-metrics-processes/pE_zOQAUQtKedxr-XkCADQ][[workflow-metrics-processes][0]] DocumentMissingException[[WorkflowMetricsProcessType][WorkflowMetricsProcess_PORTLET_3c5bfdf682a029767decafad24d48ebb8311e5190b20c4bd967537baa2b48f9a]: document missing]
           [exec]     java.lang.AssertionError: {level=ERROR, loggerName=com.liferay.portal.workflow.metrics.internal.petra.executor.WorkflowMetricsPortalExecutor, message=java.lang.RuntimeException: org.elasticsearch.index.engine.DocumentMissingException: [workflow-metrics-processes/pE_zOQAUQtKedxr-XkCADQ][[workflow-metrics-processes][0]] DocumentMissingException[[WorkflowMetricsProcessType][WorkflowMetricsProcess_PORTLET_3c5bfdf682a029767decafad24d48ebb8311e5190b20c4bd967537baa2b48f9a]: document missing]
           [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.workflow.metrics.internal.petra.executor.WorkflowMetricsPortalExecutor.lambda$null$0(WorkflowMetricsPortalExecutor.java:56)
           [exec]     	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           [exec]     	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec]     	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec]     	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec]     	at java.lang.Thread.run(Thread.java:745)
           [exec]     Caused by: java.lang.RuntimeException: org.elasticsearch.index.engine.DocumentMissingException: [workflow-metrics-processes/pE_zOQAUQtKedxr-XkCADQ][[workflow-metrics-processes][0]] DocumentMissingException[[WorkflowMetricsProcessType][WorkflowMetricsProcess_PORTLET_3c5bfdf682a029767decafad24d48ebb8311e5190b20c4bd967537baa2b48f9a]: document missing]
           [exec]     	at org.elasticsearch.action.update.UpdateHelper.prepareUpsert(UpdateHelper.java:131)
           [exec]     	at org.elasticsearch.action.update.UpdateHelper.prepare(UpdateHelper.java:87)
           [exec]     	at org.elasticsearch.action.update.UpdateHelper.prepare(UpdateHelper.java:76)
           [exec]     	at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:174)
           [exec]     	at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:167)
           [exec]     	at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:67)
           [exec]     	at org.elasticsearch.action.support.single.instance.TransportInstanceSingleOperationAction$ShardTransportHandler.messageReceived(TransportInstanceSingleOperationAction.java:242)
           [exec]     	at org.elasticsearch.action.support.single.instance.TransportInstanceSingleOperationAction$ShardTransportHandler.messageReceived(TransportInstanceSingleOperationAction.java:238)
           [exec]     	at org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:30)
           [exec]     	at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:66)
           [exec]     	at org.elasticsearch.transport.TransportService$7.doRun(TransportService.java:717)
           [exec]     	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:723)
           [exec]     	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
           [exec]     	... 3 more
           [exec] 
           [exec]     	at org.junit.Assert.fail(Assert.java:88)
           [exec]     	at com.liferay.portal.test.rule.LogAssertionTestRule.endAssert(LogAssertionTestRule.java:122)
           [exec]     	at com.liferay.portal.test.rule.LogAssertionTestRule.afterClass(LogAssertionTestRule.java:180)
           [exec]     	at com.liferay.portal.test.rule.LogAssertionTestRule.afterMethod(LogAssertionTestRule.java:188)
           [exec]     	at com.liferay.portal.test.rule.LogAssertionTestRule.afterMethod(LogAssertionTestRule.java:43)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:106)
           [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)
      

       

      Full Jenkins log - https://testray.liferay.com/reports/production/logs/test-1-1/1576133971959/test-portal-acceptance-upstream-dxp(master)/71/modules-integration-oracle122-jdk8/35/jenkins-console.txt.gz

       

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package