Xintong Song created FLINK-24047:
------------------------------------
Summary:
SavepointITCase.testStopWithSavepointWithDrainCallsFinishBeforeSnapshotState
fails due to 'Service temporarily unavailable due to an ongoing leader
election.'
Key: FLINK-24047
URL: https://issues.apache.org/jira/browse/FLINK-24047
Project: Flink
Issue Type: Bug
Components: Runtime / Coordination
Affects Versions: 1.14.0, 1.15.0
Reporter: Xintong Song
Fix For: 1.14.0, 1.15.0
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=23043&view=logs&j=8fd9202e-fd17-5b26-353c-ac1ff76c8f28&t=ea7cf968-e585-52cb-e0fc-f48de023a7ca&l=4857
{code}
Aug 29 22:12:23 [ERROR] Tests run: 15, Failures: 0, Errors: 1, Skipped: 0, Time
elapsed: 50.922 s <<< FAILURE! - in
org.apache.flink.test.checkpointing.SavepointITCase
Aug 29 22:12:23 [ERROR]
testStopWithSavepointWithDrainCallsFinishBeforeSnapshotState Time elapsed:
1.854 s <<< ERROR!
Aug 29 22:12:23 java.util.concurrent.ExecutionException:
org.apache.flink.runtime.rest.util.RestClientException: [Service temporarily
unavailable due to an ongoing leader election. Please refresh.]
Aug 29 22:12:23 at
java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
Aug 29 22:12:23 at
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
Aug 29 22:12:23 at
org.apache.flink.test.checkpointing.SavepointITCase.lambda$waitUntilAllTasksAreRunning$5(SavepointITCase.java:919)
Aug 29 22:12:23 at
org.apache.flink.runtime.testutils.CommonTestUtils.waitUntilCondition(CommonTestUtils.java:152)
Aug 29 22:12:23 at
org.apache.flink.runtime.testutils.CommonTestUtils.waitUntilCondition(CommonTestUtils.java:136)
Aug 29 22:12:23 at
org.apache.flink.runtime.testutils.CommonTestUtils.waitUntilCondition(CommonTestUtils.java:128)
Aug 29 22:12:23 at
org.apache.flink.test.checkpointing.SavepointITCase.waitUntilAllTasksAreRunning(SavepointITCase.java:909)
Aug 29 22:12:23 at
org.apache.flink.test.checkpointing.SavepointITCase.testStopWithSavepointWithDrainCallsFinishBeforeSnapshotState(SavepointITCase.java:246)
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)