You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "JiangHua Zhu (Jira)" <ji...@apache.org> on 2025/05/27 09:39:00 UTC

[jira] [Updated] (RATIS-2261) Intermittent failure in TestRaftSnapshotWithGrpc.testInstallSnapshotDuringBootstrap

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

JiangHua Zhu updated RATIS-2261:
--------------------------------
    Attachment: testInstallSnapshotDuringBootstrap.log

> Intermittent failure in TestRaftSnapshotWithGrpc.testInstallSnapshotDuringBootstrap
> -----------------------------------------------------------------------------------
>
>                 Key: RATIS-2261
>                 URL: https://issues.apache.org/jira/browse/RATIS-2261
>             Project: Ratis
>          Issue Type: Bug
>          Components: gRPC, test
>            Reporter: Attila Doroszlai
>            Priority: Major
>         Attachments: org.apache.ratis.grpc.TestRaftSnapshotWithGrpc-output.txt, testInstallSnapshotDuringBootstrap.log
>
>
> {code}
> Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 114.816 s <<< FAILURE! - in org.apache.ratis.grpc.TestRaftSnapshotWithGrpc
> org.apache.ratis.grpc.TestRaftSnapshotWithGrpc.testInstallSnapshotDuringBootstrap  Time elapsed: 101.468 s  <<< ERROR!
> java.util.concurrent.TimeoutException: testInstallSnapshotDuringBootstrap() timed out after 100 seconds
> 	at java.util.ArrayList.forEach(ArrayList.java:1259)
> 	at java.util.ArrayList.forEach(ArrayList.java:1259)
> 	Suppressed: java.io.InterruptedIOException: retry policy=RetryForeverWithSleep(sleepTime = 100ms)
> 		at org.apache.ratis.client.impl.BlockingImpl.sendRequestWithRetry(BlockingImpl.java:138)
> 		at org.apache.ratis.client.impl.AdminImpl.setConfiguration(AdminImpl.java:46)
> 		at org.apache.ratis.client.api.AdminApi.setConfiguration(AdminApi.java:51)
> 		at org.apache.ratis.client.api.AdminApi.setConfiguration(AdminApi.java:45)
> 		at org.apache.ratis.server.impl.MiniRaftCluster.setConfiguration(MiniRaftCluster.java:836)
> 		at org.apache.ratis.statemachine.RaftSnapshotBaseTest.lambda$testInstallSnapshotDuringBootstrap$6(RaftSnapshotBaseTest.java:309)
> 		at org.apache.ratis.server.impl.RaftServerTestUtil.runWithMinorityPeers(RaftServerTestUtil.java:231)
> 		at org.apache.ratis.statemachine.RaftSnapshotBaseTest.testInstallSnapshotDuringBootstrap(RaftSnapshotBaseTest.java:308)
> {code}
> Faeild in 2/100 runs:
> https://github.com/adoroszlai/ratis/actions/runs/13901407901



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