Pavel Tupitsyn created IGNITE-25331:
---------------------------------------

             Summary: ClientComputeTest is flaky due to random flags in 
TestClientHandlerModule
                 Key: IGNITE-25331
                 URL: https://issues.apache.org/jira/browse/IGNITE-25331
             Project: Ignite
          Issue Type: Bug
          Components: compute ai3
            Reporter: Pavel Tupitsyn
            Assignee: Pavel Tupitsyn
             Fix For: 3.1


{code}
java.lang.AssertionError: java.util.concurrent.ExecutionException: 
org.apache.ignite.lang.IgniteException: IGN-CMN-65535 
TraceId:5f822db9-27fc-482c-a41d-916a37ca02b3 Expected Binary, but got Nil (c0)
  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:83)
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:10)
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
  at 
org.apache.ignite.client.ClientComputeTest.testExceptionInJob(ClientComputeTest.java:327)
  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)
Caused by: java.util.concurrent.ExecutionException: 
org.apache.ignite.lang.IgniteException: IGN-CMN-65535 
TraceId:5f822db9-27fc-482c-a41d-916a37ca02b3 Expected Binary, but got Nil (c0)
  at 
java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
  at 
java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
  at 
org.apache.ignite.internal.testframework.matchers.CompletableFutureMatcher.matchesSafely(CompletableFutureMatcher.java:74)
  ... 8 more
Caused by: org.apache.ignite.lang.IgniteException: IGN-CMN-65535 
TraceId:5f822db9-27fc-482c-a41d-916a37ca02b3 Expected Binary, but got Nil (c0)
  at 
[email protected]/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
  at 
app//org.apache.ignite.internal.util.ExceptionUtils$1.copy(ExceptionUtils.java:916)
  at 
app//org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:850)
  at 
app//org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:652)
  at 
app//org.apache.ignite.internal.util.ViewUtils.copyExceptionWithCauseIfPossible(ViewUtils.java:91)
  at 
app//org.apache.ignite.internal.util.ViewUtils.ensurePublicException(ViewUtils.java:71)
  at 
app//org.apache.ignite.internal.client.TcpClientChannel.lambda$send$4(TcpClientChannel.java:411)
  at 
[email protected]/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
  at 
[email protected]/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911)
  at 
[email protected]/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
  at 
[email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
  at 
[email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
  at 
[email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
  at 
[email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
  at 
[email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: org.apache.ignite.lang.IgniteException: IGN-CMN-65535 
TraceId:5f822db9-27fc-482c-a41d-916a37ca02b3 Expected Binary, but got Nil (c0)
  at 
[email protected]/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
  at 
app//org.apache.ignite.internal.util.ExceptionUtils$1.copy(ExceptionUtils.java:916)
  at 
app//org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:850)
  at 
app//org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:652)
  at 
app//org.apache.ignite.internal.client.TcpClientChannel.readError(TcpClientChannel.java:579)
  at 
app//org.apache.ignite.internal.client.TcpClientChannel.processNextMessage(TcpClientChannel.java:471)
  at 
app//org.apache.ignite.internal.client.TcpClientChannel.onMessage(TcpClientChannel.java:289)
  at 
app//org.apache.ignite.internal.client.io.netty.NettyClientConnection.onMessage(NettyClientConnection.java:117)
  at 
app//org.apache.ignite.internal.client.io.netty.NettyClientMessageHandler.channelRead(NettyClientMessageHandler.java:33)
  at 
app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
  at 
app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
  at 
app//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
  at 
app//io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
  at 
app//io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
  at 
app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
  at 
app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
  at 
app//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
  at 
app//io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357)
  at 
app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
  at 
app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
  at 
app//io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868)
  at 
app//io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
  at 
app//io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:796)
  at 
app//io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:732)
  at 
app//io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:658)
  at app//io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
  at 
app//io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:998)
  at 
app//io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
  at 
app//io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
  at [email protected]/java.lang.Thread.run(Thread.java:833)
Caused by: org.apache.ignite.lang.IgniteException: IGN-CMN-65535 
TraceId:5f822db9-27fc-482c-a41d-916a37ca02b3 
org.apache.ignite.lang.IgniteException: IGN-CMN-65535 
TraceId:de44e59f-e2b2-4ded-b022-b007a233dcbe Expected Binary, but got Nil (c0)
  at 
org.apache.ignite.internal.lang.IgniteExceptionMapperUtil.lambda$mapToPublicException$2(IgniteExceptionMapperUtil.java:88)
  at 
org.apache.ignite.internal.lang.IgniteExceptionMapperUtil.mapCheckingResultIsPublic(IgniteExceptionMapperUtil.java:141)
  at 
org.apache.ignite.internal.lang.IgniteExceptionMapperUtil.mapToPublicException(IgniteExceptionMapperUtil.java:137)
  at 
org.apache.ignite.internal.lang.IgniteExceptionMapperUtil.mapToPublicException(IgniteExceptionMapperUtil.java:88)
  at 
org.apache.ignite.client.handler.ClientInboundMessageHandler.writeErrorCore(ClientInboundMessageHandler.java:648)
  at 
org.apache.ignite.client.handler.ClientInboundMessageHandler.writeError(ClientInboundMessageHandler.java:617)
  at 
org.apache.ignite.client.handler.ClientInboundMessageHandler.processOperation(ClientInboundMessageHandler.java:733)
  at 
org.apache.ignite.client.handler.ClientInboundMessageHandler.channelRead(ClientInboundMessageHandler.java:384)
  at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
  at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
  at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
  at 
io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
  at 
org.apache.ignite.client.TestClientHandlerModule$ResponseDelayHandler.channelRead(TestClientHandlerModule.java:339)
  at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
  at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
  at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
  at 
io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
  at 
org.apache.ignite.client.TestClientHandlerModule$ConnectionDropHandler.channelRead(TestClientHandlerModule.java:310)
  at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
  at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
  at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
  at 
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
  at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
  at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
  at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
  at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
  at 
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357)
  at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
  at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
  at 
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868)
  at 
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
  at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:796)
  at 
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:732)
  at 
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:658)
  at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
  at 
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:998)
  at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
  at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
  at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.msgpack.core.MessageTypeException: Expected Binary, but got Nil 
(c0)
  at 
org.apache.ignite.internal.client.proto.ClientMessageUnpacker.unexpected(ClientMessageUnpacker.java:94)
  at 
org.apache.ignite.internal.client.proto.ClientMessageUnpacker.unpackBinaryHeader(ClientMessageUnpacker.java:453)
  at 
org.apache.ignite.internal.client.proto.ClientMessageUnpacker.readBinary(ClientMessageUnpacker.java:510)
  at 
org.apache.ignite.internal.client.proto.ClientComputeJobUnpacker.unpackJobArgumentWithoutMarshaller(ClientComputeJobUnpacker.java:65)
  at 
org.apache.ignite.internal.client.proto.ClientComputeJobUnpacker.unpackJob(ClientComputeJobUnpacker.java:78)
  at 
org.apache.ignite.client.handler.requests.compute.ClientComputeExecuteRequest.process(ClientComputeExecuteRequest.java:68)
  at 
org.apache.ignite.client.handler.ClientInboundMessageHandler.processOperation(ClientInboundMessageHandler.java:873)
  at 
org.apache.ignite.client.handler.ClientInboundMessageHandler.processOperationInternal(ClientInboundMessageHandler.java:1017)
  at 
org.apache.ignite.client.handler.ClientInboundMessageHandler.processOperation(ClientInboundMessageHandler.java:724)
  ... 32 more
  at 
app//org.apache.ignite.internal.client.TcpClientChannel.readError(TcpClientChannel.java:544)
{code}



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

Reply via email to