[ https://issues.apache.org/jira/browse/IGNITE-21654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Tupitsyn updated IGNITE-21654: ------------------------------------ Ignite Flags: (was: Docs Required,Release Notes Required) > testExceptionInColocatedPojoJobPropagatesToClientWithClassAndMessageAsync is > flaky > ---------------------------------------------------------------------------------- > > Key: IGNITE-21654 > URL: https://issues.apache.org/jira/browse/IGNITE-21654 > Project: Ignite > Issue Type: Improvement > Components: compute, thin client > Affects Versions: 3.0.0-beta1 > Reporter: Pavel Tupitsyn > Assignee: Pavel Tupitsyn > Priority: Major > Labels: ignite-3 > Fix For: 3.0.0-beta2 > > > Failures on TC: > https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/7890104?hideProblemsFromDependencies=false&expandBuildDeploymentsSection=false&hideTestsFromDependencies=false&expandCode+Inspection=true&expandBuildProblemsSection=true&expandBuildChangesSection=true&expandBuildTestsSection=true > https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/7901977?expandBuildDeploymentsSection=false&hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandBuildTestsSection=true&expandCode+Inspection=true&expandBuildProblemsSection=true&expandBuildChangesSection=true > {code} > java.lang.AssertionError: java.util.concurrent.ExecutionException: > java.lang.AssertionError: Unpacker is closed > at > org.apache.ignite.internal.testframework.matchers.CompletableFutureMatcher.matchesSafely(CompletableFutureMatcher.java:78) > at > org.apache.ignite.internal.testframework.matchers.CompletableFutureMatcher.matchesSafely(CompletableFutureMatcher.java:35) > at org.hamcrest.TypeSafeMatcher.matches(TypeSafeMatcher.java:67) > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:10) > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6) > at > org.apache.ignite.internal.runner.app.client.ItThinClientComputeTest.getExceptionInJobExecutionAsync(ItThinClientComputeTest.java:466) > at > org.apache.ignite.internal.runner.app.client.ItThinClientComputeTest.testExceptionInColocatedPojoJobPropagatesToClientWithClassAndMessageAsync(ItThinClientComputeTest.java:415) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) > at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) > Caused by: java.util.concurrent.ExecutionException: java.lang.AssertionError: > Unpacker is closed > at > java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) > at > java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2022) > at > org.apache.ignite.internal.testframework.matchers.CompletableFutureMatcher.matchesSafely(CompletableFutureMatcher.java:74) > ... 9 more > Caused by: java.lang.AssertionError: Unpacker is closed > at > org.apache.ignite.internal.client.proto.ClientMessageUnpacker.unpackUuid(ClientMessageUnpacker.java:658) > at > org.apache.ignite.internal.client.compute.ClientJobExecution.lambda$new$0(ClientJobExecution.java:54) > at > java.base/java.util.concurrent.CompletableFuture.uniApplyNow(CompletableFuture.java:680) > at > java.base/java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:658) > at > java.base/java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:2094) > at > org.apache.ignite.internal.client.compute.ClientJobExecution.<init>(ClientJobExecution.java:54) > at > org.apache.ignite.internal.client.compute.ClientCompute.executeColocatedAsync(ClientCompute.java:159) > at > org.apache.ignite.compute.IgniteCompute.executeColocatedAsync(IgniteCompute.java:205) > at > org.apache.ignite.internal.runner.app.client.ItThinClientComputeTest.testExceptionInColocatedPojoJobPropagatesToClientWithClassAndMessageAsync(ItThinClientComputeTest.java:416) > ... 3 more > {code} > Also fails when executed individually from the IDE: > {code} > org.opentest4j.AssertionFailedError: expected: <null> but was: > <org.apache.ignite.lang.IgniteException: IGN-COMPUTE-9 > TraceId:b111f8e0-1274-47fb-aa2d-efd1b082a054 > org.apache.ignite.compute.ComputeException: IGN-COMPUTE-9 > TraceId:b111f8e0-1274-47fb-aa2d-efd1b082a054 Job execution failed: > java.lang.ArithmeticException: math err > at > org.apache.ignite.internal.compute.ComputeUtils.mapToComputeException(ComputeUtils.java:247) > at > org.apache.ignite.internal.compute.ComputeUtils.lambda$convertToComputeFuture$1(ComputeUtils.java:236) > at > java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934) > at > java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911) > at > java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) > at > java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2162) > at > org.apache.ignite.internal.compute.FailSafeJobExecution.lambda$registerCompleteHook$1(FailSafeJobExecution.java:100) > at > java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863) > at > java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841) > at > java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) > at > java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147) > at > org.apache.ignite.internal.network.DefaultMessagingService.onInvokeResponse(DefaultMessagingService.java:516) > at > org.apache.ignite.internal.network.DefaultMessagingService.handleInvokeResponse(DefaultMessagingService.java:419) > at > org.apache.ignite.internal.network.DefaultMessagingService.lambda$handleMessageFromNetwork$4(DefaultMessagingService.java:365) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > at java.base/java.lang.Thread.run(Thread.java:833) > Caused by: java.lang.ArithmeticException: math err > at > org.apache.ignite.internal.runner.app.client.ItThinClientComputeTest$ExceptionJob.execute(ItThinClientComputeTest.java:695) > at > org.apache.ignite.internal.runner.app.client.ItThinClientComputeTest$ExceptionJob.execute(ItThinClientComputeTest.java:692) > at > org.apache.ignite.internal.compute.executor.ComputeExecutorImpl.lambda$executeJob$0(ComputeExecutorImpl.java:78) > at > org.apache.ignite.internal.compute.queue.QueueExecutionImpl.lambda$run$0(QueueExecutionImpl.java:155) > at > org.apache.ignite.internal.compute.queue.QueueEntry.run(QueueEntry.java:76) > ... 3 more > > > at > org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) > at > org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) > at org.junit.jupiter.api.AssertNull.failNotNull(AssertNull.java:50) > at org.junit.jupiter.api.AssertNull.assertNull(AssertNull.java:35) > at org.junit.jupiter.api.AssertNull.assertNull(AssertNull.java:30) > at org.junit.jupiter.api.Assertions.assertNull(Assertions.java:279) > at > org.apache.ignite.internal.runner.app.client.ItThinClientComputeTest.assertComputeExceptionWithClassAndMessage(ItThinClientComputeTest.java:481) > at > org.apache.ignite.internal.runner.app.client.ItThinClientComputeTest.testExceptionInColocatedPojoJobPropagatesToClientWithClassAndMessageAsync(ItThinClientComputeTest.java:419) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) > at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)