Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9325

Unstable KIE-SERVER SpringBoot tests

XMLWordPrintable

    • 2020 Week 37-39 (from Sep 7)

      • org.kie.server.springboot.samples.KieServerTest.testProcessStartAndWorkOnUserTask
      • org.kie.server.springboot.samples.KieServerMigrationTest.testProcessStartAndAbort

      fails due not successful test init phase?

      org.kie.server.springboot.samples.KieServerMigrationTest.testProcessStartAndAbort

       Error Details
      
      Unexpected HTTP response code when requesting URI 'http://localhost:33820/rest/server/containers/evaluation2/processes/instances/4'! Error code: 404, message: "Could not find process instance with id "4""
      
      Stack Trace
      
      org.kie.server.api.exception.KieServicesHttpException: Unexpected HTTP response code when requesting URI 'http://localhost:33820/rest/server/containers/evaluation2/processes/instances/4'! Error code: 404, message: "Could not find process instance with id "4""
       at org.kie.server.client.impl.AbstractKieServicesClientImpl.createExceptionForUnexpectedResponseCode(AbstractKieServicesClientImpl.java:623)
       at org.kie.server.client.impl.AbstractKieServicesClientImpl.makeHttpDeleteRequestAndCreateCustomResponse(AbstractKieServicesClientImpl.java:428)
       at org.kie.server.client.impl.ProcessServicesClientImpl.abortProcessInstance(ProcessServicesClientImpl.java:451)
       at org.kie.server.springboot.samples.KieServerMigrationTest.testProcessStartAndAbort(KieServerMigrationTest.java:155)
       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.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74)
       at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84)
       at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
       at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
       at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
       at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
       at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
       at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
       at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251)
       at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
       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.RunBefores.evaluate(RunBefores.java:26)
       at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
       at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
       at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
       at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
       at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
       at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
       at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
       at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:40)
       at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
       at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
       at java.util.Iterator.forEachRemaining(Iterator.java:116)
       at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
       at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
       at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
       at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
       at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
       at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
       at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
       at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
       at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:71)
       at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
       at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
       at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
       at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
       at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
       at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142)
       at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117)
       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)
      
      Standard Output
      
      2020-09-03 18:11:02,995 [http-nio-127.0.0.1-auto-3-exec-5] INFO PerProcessInstanceRuntimeManager is created for evaluation2
      2020-09-03 18:11:03,034 [http-nio-127.0.0.1-auto-3-exec-5] INFO Container evaluation2 (for release id org.jbpm.test:evaluation:1.0.0) successfully started
      2020-09-03 18:11:03,158 [http-nio-127.0.0.1-auto-3-exec-6] ERROR Continuing without setting parameter.
      2020-09-03 18:11:03,158 [http-nio-127.0.0.1-auto-3-exec-6] ERROR Continuing without setting parameter.
      2020-09-03 18:11:03,158 [http-nio-127.0.0.1-auto-3-exec-6] ERROR Continuing without setting parameter.
      2020-09-03 18:11:03,160 [http-nio-127.0.0.1-auto-3-exec-6] ERROR Continuing without setting parameter.
      2020-09-03 18:11:03,161 [http-nio-127.0.0.1-auto-3-exec-6] ERROR Continuing without setting parameter.
      2020-09-03 18:11:03,161 [http-nio-127.0.0.1-auto-3-exec-6] ERROR Continuing without setting parameter.
      2020-09-03 18:11:03,161 [http-nio-127.0.0.1-auto-3-exec-6] ERROR Continuing without setting parameter.
      2020-09-03 18:11:03,163 [http-nio-127.0.0.1-auto-3-exec-6] ERROR Continuing without setting parameter.
      2020-09-03 18:11:03,315 [pool-26-thread-2] WARN An error was produced during solution recovering. Next attempt will be in a period of PT1S, error: No available endpoints found
      2020-09-03 18:11:03,433 [http-nio-127.0.0.1-auto-3-exec-8] ERROR Source (org.jbpm.runtime.manager.impl.SingletonRuntimeManager) and target (org.jbpm.runtime.manager.impl.PerProcessInstanceRuntimeManager) deployments are of different type (they represent different runtime strategies)
      2020-09-03 18:11:03,651 [http-nio-127.0.0.1-auto-3-exec-9] WARN Dispose of container evaluation failed, putting it back to started state by recreating container on [Server Default Extension, Drools KIE Server extension]
      2020-09-03 18:11:03,763 [http-nio-127.0.0.1-auto-3-exec-9] INFO Container evaluation (for release id org.jbpm.test:evaluation:1.0.0) STARTED after failed dispose
      2020-09-03 18:11:03,862 [http-nio-127.0.0.1-auto-3-exec-1] INFO Container evaluation2 (for release id org.jbpm.test:evaluation:1.0.0) successfully stopped
      

      org.kie.server.springboot.samples.KieServerTest.testProcessStartAndWorkOnUserTask

      Error Details
      
      expected:<1> but was:<0>
      
      Stack Trace
      
      java.lang.AssertionError: expected:<1> but was:<0>
       at org.junit.Assert.fail(Assert.java:88)
       at org.junit.Assert.failNotEquals(Assert.java:834)
       at org.junit.Assert.assertEquals(Assert.java:645)
       at org.junit.Assert.assertEquals(Assert.java:631)
       at org.kie.server.springboot.samples.KieServerTest.testProcessStartAndWorkOnUserTask(KieServerTest.java:194)
       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.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74)
       at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84)
       at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
       at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
       at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
       at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
       at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
       at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
       at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251)
       at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
       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.RunBefores.evaluate(RunBefores.java:26)
       at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
       at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
       at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
       at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
       at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
       at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
       at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
       at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:40)
       at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
       at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
       at java.util.Iterator.forEachRemaining(Iterator.java:116)
       at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
       at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
       at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
       at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
       at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
       at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
       at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
       at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
       at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:71)
       at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
       at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
       at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
       at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
       at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
       at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142)
       at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117)
       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)
      
      Standard Output
      
      2020-09-03 18:11:00,312 [pool-26-thread-2] WARN An error was produced during solution recovering. Next attempt will be in a period of PT1S, error: No available endpoints found
      2020-09-03 18:11:00,440 [http-nio-127.0.0.1-auto-3-exec-9] INFO SingletonRuntimeManager is created for evaluation
      2020-09-03 18:11:00,464 [http-nio-127.0.0.1-auto-3-exec-9] INFO Container evaluation (for release id org.jbpm.test:evaluation:1.0.0) successfully started
      2020-09-03 18:11:00,784 [http-nio-127.0.0.1-auto-3-exec-3] ERROR Continuing without setting parameter.
      2020-09-03 18:11:00,784 [http-nio-127.0.0.1-auto-3-exec-3] ERROR Continuing without setting parameter.
      2020-09-03 18:11:00,784 [http-nio-127.0.0.1-auto-3-exec-3] ERROR Continuing without setting parameter.
      2020-09-03 18:11:00,786 [http-nio-127.0.0.1-auto-3-exec-3] ERROR Continuing without setting parameter.
      2020-09-03 18:11:00,786 [http-nio-127.0.0.1-auto-3-exec-3] ERROR Continuing without setting parameter.
      2020-09-03 18:11:00,786 [http-nio-127.0.0.1-auto-3-exec-3] ERROR Continuing without setting parameter.
      2020-09-03 18:11:00,787 [http-nio-127.0.0.1-auto-3-exec-3] ERROR Continuing without setting parameter.
      2020-09-03 18:11:00,788 [http-nio-127.0.0.1-auto-3-exec-3] ERROR Continuing without setting parameter.
      2020-09-03 18:11:01,068 [http-nio-127.0.0.1-auto-3-exec-5] WARN Dispose of container evaluation failed, putting it back to started state by recreating container on [Server Default Extension, Drools KIE Server extension]
      2020-09-03 18:11:01,198 [http-nio-127.0.0.1-auto-3-exec-5] INFO Container evaluation (for release id org.jbpm.test:evaluation:1.0.0) STARTED after failed dispose
      
      1.2 sec
      

       

              ftirados Francisco Javier Tirado Sarti
              mnovotny@redhat.com Marek Novotny
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: