[ 
https://issues.apache.org/jira/browse/RATIS-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17843864#comment-17843864
 ] 

Attila Doroszlai commented on RATIS-2074:
-----------------------------------------

Test is waiting for leader to stop, leader is waiting for connection to peers 
to close.

{code}
"main" 
   java.lang.Thread.State: WAITING
        ...
        at 
java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1947)
        at 
org.apache.ratis.RaftBasicTests.runTestBasicAppendEntries(RaftBasicTests.java:167)
        ...
        at 
org.apache.ratis.RaftBasicTests.testBasicAppendEntriesKillLeader(RaftBasicTests.java:93)

"Thread-955" 
   java.lang.Thread.State: WAITING
        ...
        at 
java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1947)
        at org.apache.ratis.util.PeerProxyMap.close(PeerProxyMap.java:182)
        ...
        at 
org.apache.ratis.server.impl.RaftServerProxy.close(RaftServerProxy.java:416)
        at 
org.apache.ratis.server.impl.MiniRaftCluster.killServer(MiniRaftCluster.java:536)
        at 
org.apache.ratis.RaftBasicTests.lambda$killAndRestartServer$2(RaftBasicTests.java:103)

"Thread-1027"  (same in "Thread-1024")
   java.lang.Thread.State: WAITING
        ...
        at 
org.apache.ratis.thirdparty.io.netty.channel.DefaultChannelPromise.syncUninterruptibly(DefaultChannelPromise.java:30)
        ...
        at org.apache.ratis.netty.NettyClient.close(NettyClient.java:60)
        at 
org.apache.ratis.netty.NettyRpcProxy$Connection.close(NettyRpcProxy.java:155)
        at org.apache.ratis.netty.NettyRpcProxy.close(NettyRpcProxy.java:176)
        at org.apache.ratis.util.PeerProxyMap.closeProxy(PeerProxyMap.java:198)
        ...
{code}


> Intermittent fork timeout in TestRaftWithNetty
> ----------------------------------------------
>
>                 Key: RATIS-2074
>                 URL: https://issues.apache.org/jira/browse/RATIS-2074
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Attila Doroszlai
>            Priority: Major
>         Attachments: 2024-05-06T19-36-53_144-jvmRun1.dump, 
> org.apache.ratis.netty.TestRaftWithNetty-output.txt.xz
>
>
> {code:title=https://github.com/apache/ratis/actions/runs/8254797423/job/22579770502#step:6:706}
> Tue, 12 Mar 2024 19:43:11 GMT
> [INFO] Running org.apache.ratis.netty.TestRaftWithNetty
> Wed, 13 Mar 2024 01:40:25 GMT
> Error: The operation was canceled.
> {code}
> Test logs are not collected due to workflow timeout (see RATIS-2073).
> (Probably also happened in [this 
> run|https://github.com/apache/ratis/actions/runs/7763331723], but workflow 
> log is no longer available.)



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

Reply via email to