Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14747

RemovalTimeStrategyEndTest is unstable on CRDB

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • L3 - Default
    • Resolution: Unresolved
    • None
    • None
    • engine

    Description

      Acceptance Criteria (Required on creation):

      The test org.camunda.bpm.engine.test.api.history.removaltime.RemovalTimeStrategyEndTest is stable on CRDB.

      Hints (optional):

      The following tests failed on CRDB and 7.14:

      • org.camunda.bpm.engine.test.api.history.removaltime.RemovalTimeStrategyEndTest.shouldResolveHistoricActivityInstanceInConcurrentEnvironment
      • org.camunda.bpm.engine.test.api.history.removaltime.RemovalTimeStrategyEndTest.shouldResolveHistoricActivityInstanceInConcurrentEnvironment
      • org.camunda.bpm.engine.test.api.history.removaltime.RemovalTimeStrategyEndTest.shouldResolveIdentityLinkWithTimePreserved
      • org.camunda.bpm.engine.test.api.history.removaltime.RemovalTimeStrategyEndTest.shouldResolveIdentityLinkWithTimePreserved
      • org.camunda.bpm.engine.test.api.history.removaltime.RemovalTimeStrategyEndTest.shouldNotUpdateCreateTimeForIncidentRelatedToBatch

      The exception stacktrace is similar for all the tests:

      org.camunda.bpm.engine.CrdbTransactionRetryException: ENGINE-03104 Could not commit transaction. The transaction needs to be retried.
      at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.crdbTransactionRetryExceptionOnCommit(EnginePersistenceLogger.java:818)
      at org.camunda.bpm.engine.impl.interceptor.CommandContext.close(CommandContext.java:202)
      at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:119)
      at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
      at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
      at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
      at org.camunda.bpm.engine.impl.interceptor.CrdbTransactionRetryInterceptor.execute(CrdbTransactionRetryInterceptor.java:46)
      at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.executeWithVariablesInReturn(ProcessInstantiationBuilderImpl.java:166)
      at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.execute(ProcessInstantiationBuilderImpl.java:132)
      at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.execute(ProcessInstantiationBuilderImpl.java:128)
      at org.camunda.bpm.engine.impl.RuntimeServiceImpl.startProcessInstanceByKey(RuntimeServiceImpl.java:87)
      at org.camunda.bpm.engine.test.api.history.removaltime.RemovalTimeStrategyEndTest.lambda$shouldResolveHistoricActivityInstanceInConcurrentEnvironment$0(RemovalTimeStrategyEndTest.java:351)
      at java.util.stream.ForEachOps$ForEachOp$OfInt.accept(ForEachOps.java:205)
      at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:110)
      at java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693)
      at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
      at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
      at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:401)
      at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:734)
      at java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:160)
      at java.util.stream.ForEachOps$ForEachOp$OfInt.evaluateParallel(ForEachOps.java:189)
      at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
      at java.util.stream.IntPipeline.forEach(IntPipeline.java:404)
      at java.util.stream.IntPipeline$Head.forEach(IntPipeline.java:560)
      at org.camunda.bpm.engine.test.api.history.removaltime.RemovalTimeStrategyEndTest.shouldResolveHistoricActivityInstanceInConcurrentEnvironment(RemovalTimeStrategyEndTest.java:351)
      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 org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      at org.camunda.bpm.engine.test.ProcessEngineRule$1.evaluate(ProcessEngineRule.java:173)
      at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:239)
      at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
      at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
      at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
      at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      Caused by: org.camunda.bpm.engine.ProcessEngineException: An exception occurred in the persistence layer. Please check the server logs for a detailed message and the entire exception stack trace.
      at org.camunda.bpm.engine.impl.util.ExceptionUtil.wrapPersistenceException(ExceptionUtil.java:263)
      at org.camunda.bpm.engine.impl.util.ExceptionUtil.doWithExceptionWrapper(ExceptionUtil.java:257)
      at org.camunda.bpm.engine.impl.db.sql.DbSqlSession.commit(DbSqlSession.java:461)
      at org.camunda.bpm.engine.impl.cfg.standalone.StandaloneTransactionContext.commit(StandaloneTransactionContext.java:67)
      at org.camunda.bpm.engine.impl.interceptor.CommandContext.close(CommandContext.java:197)
      ... 58 more
      

      Problem solved after retriggering.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Salesforce