[ 
https://issues.apache.org/jira/browse/IGNITE-21664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-21664:
------------------------------------
    Description: 
{code}

org.opentest4j.AssertionFailedError: expected: <null> but was: 
<org.apache.ignite.lang.IgniteException: IGN-COMPUTE-9 
TraceId:96f15c6b-772b-406c-a11e-3b1656b83eb7 
org.apache.ignite.compute.ComputeException: IGN-COMPUTE-9 
TraceId:96f15c6b-772b-406c-a11e-3b1656b83eb7 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:514)
        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:694)
        at 
org.apache.ignite.internal.runner.app.client.ItThinClientComputeTest$ExceptionJob.execute(ItThinClientComputeTest.java:691)
        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}

We don't wait for assignment update and the request goes to a wrong node.

> testExceptionInColocatedPojoJobPropagatesToClientWithClassAndMessageAsync 
> fails when executed separately
> --------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-21664
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21664
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 3.0.0-beta1
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Minor
>             Fix For: 3.0.0-beta2
>
>
> {code}
> org.opentest4j.AssertionFailedError: expected: <null> but was: 
> <org.apache.ignite.lang.IgniteException: IGN-COMPUTE-9 
> TraceId:96f15c6b-772b-406c-a11e-3b1656b83eb7 
> org.apache.ignite.compute.ComputeException: IGN-COMPUTE-9 
> TraceId:96f15c6b-772b-406c-a11e-3b1656b83eb7 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:514)
>       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:694)
>       at 
> org.apache.ignite.internal.runner.app.client.ItThinClientComputeTest$ExceptionJob.execute(ItThinClientComputeTest.java:691)
>       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}
> We don't wait for assignment update and the request goes to a wrong node.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to