[
https://issues.apache.org/jira/browse/IGNITE-23456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-23456:
------------------------------------
Fix Version/s: 3.1
> testNoResponseFromServerWithinConnectTimeoutThrowsException is flaky
> --------------------------------------------------------------------
>
> Key: IGNITE-23456
> URL: https://issues.apache.org/jira/browse/IGNITE-23456
> Project: Ignite
> Issue Type: Bug
> Components: thin client
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Major
> Labels: ignite-3
> Fix For: 3.1
>
>
> https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/8554366?hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandBuildDeploymentsSection=false&expandCode+Inspection=true&expandBuildProblemsSection=true&expandBuildTestsSection=true&expandBuildChangesSection=true
> {code}
> java.lang.AssertionError: Exception has not been thrown.
> at
> org.apache.ignite.internal.testframework.IgniteTestUtils.assertThrowsWithCause(IgniteTestUtils.java:360)
> at
> org.apache.ignite.internal.testframework.IgniteTestUtils.assertThrowsWithCause(IgniteTestUtils.java:334)
> at
> org.apache.ignite.client.ConnectionTest.testNoResponseFromServerWithinConnectTimeoutThrowsException(ConnectionTest.java:107)
> 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)
> ------- Stdout: -------
> [2024-10-15T14:43:35,143][INFO ][Test worker][ConnectionTest] >>> Starting
> test:
> ConnectionTest#testNoResponseFromServerWithinConnectTimeoutThrowsException,
> displayName: testNoResponseFromServerWithinConnectTimeoutThrowsException()
> [2024-10-15T14:43:35,698][INFO
> ][%127.0.0.133363%TcpClientChannel-timeout-worker][TcpClientChannel] The
> timeout worker was interrupted, probably the worker is stopping.
> [2024-10-15T14:43:35,704][INFO ][Test worker][ConnectionTest] >>> Stopping
> test:
> ConnectionTest#testNoResponseFromServerWithinConnectTimeoutThrowsException,
> displayName: testNoResponseFromServerWithinConnectTimeoutThrowsException(),
> cost: 560ms.
> ------- Stderr: -------
> [2024-10-15T14:43:35,698][WARN
> ][nioEventLoopGroup-226-1][DefaultChannelPipeline] An exceptionCaught() event
> was fired, and it reached at the tail of the pipeline. It usually means the
> last handler in the pipeline did not handle the exception.
> java.io.IOException: Connection reset by peer
> at java.base/sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:?]
> at java.base/sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
> ~[?:?]
> at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:276) ~[?:?]
> at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:233) ~[?:?]
> at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:223) ~[?:?]
> at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:358)
> ~[?:?]
> at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:255)
> ~[netty-buffer-4.1.114.Final.jar:4.1.114.Final]
> at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
> ~[netty-buffer-4.1.114.Final.jar:4.1.114.Final]
> at io.netty.buffer.WrappedByteBuf.writeBytes(WrappedByteBuf.java:821)
> ~[netty-buffer-4.1.114.Final.jar:4.1.114.Final]
> at
> io.netty.buffer.AdvancedLeakAwareByteBuf.writeBytes(AdvancedLeakAwareByteBuf.java:636)
> ~[netty-buffer-4.1.114.Final.jar:4.1.114.Final]
> at
> io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:356)
> ~[netty-transport-4.1.114.Final.jar:4.1.114.Final]
> at
> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
> [netty-transport-4.1.114.Final.jar:4.1.114.Final]
> at
> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
> [netty-transport-4.1.114.Final.jar:4.1.114.Final]
> at
> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
> [netty-transport-4.1.114.Final.jar:4.1.114.Final]
> at
> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
> [netty-transport-4.1.114.Final.jar:4.1.114.Final]
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
> [netty-transport-4.1.114.Final.jar:4.1.114.Final]
> at
> io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
> [netty-common-4.1.114.Final.jar:4.1.114.Final]
> at
> io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> [netty-common-4.1.114.Final.jar:4.1.114.Final]
> at
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> [netty-common-4.1.114.Final.jar:4.1.114.Final]
> at java.base/java.lang.Thread.run(Thread.java:834) [?:?]
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)