Piotr Nowojski created FLINK-24531: -------------------------------------- Summary: CheckpointingTimeBenchmark can fail with connection timed out Key: FLINK-24531 URL: https://issues.apache.org/jira/browse/FLINK-24531 Project: Flink Issue Type: Bug Components: Benchmarks Affects Versions: 1.15.0 Reporter: Piotr Nowojski Assignee: Piotr Nowojski
There is a race condition between obtaining REST API port and actually starting up the REST API server. If REST API server start is delayed, the {{CheckpointingTimeBenchmark}} can fail with {noformat} java.util.concurrent.ExecutionException: org.apache.flink.shaded.netty4.io.netty.channel.ConnectTimeoutException: connection timed out: localhost/127.0.0.1:60503 at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895) at org.apache.flink.benchmark.CheckpointingTimeBenchmark$CheckpointEnvironmentContext.waitForBackpressure(CheckpointingTimeBenchmark.java:251) at org.apache.flink.benchmark.CheckpointingTimeBenchmark$CheckpointEnvironmentContext.setUp(CheckpointingTimeBenchmark.java:216) at org.apache.flink.benchmark.generated.CheckpointingTimeBenchmark_checkpointSingleInput_jmhTest._jmh_tryInit_f_checkpointenvironmentcont {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)