[
https://issues.apache.org/jira/browse/FLINK-40663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123276#comment-18123276
]
Martijn Visser commented on FLINK-40663:
----------------------------------------
Ten more failed jobs on three release-1.20 nightlies:
2026-10-03 (Java 21):
https://github.com/apache/flink/actions/runs/37088405360/job/111110770820
2026-10-03 (Java 8):
https://github.com/apache/flink/actions/runs/37088405360/job/111111033423
2026-10-03 (AdaptiveScheduler):
https://github.com/apache/flink/actions/runs/37088405360/job/111112019965
2026-10-04 (Java 17):
https://github.com/apache/flink/actions/runs/37171533149/job/111350551118
2026-10-04 (Java 21):
https://github.com/apache/flink/actions/runs/37171533149/job/111351964190
2026-10-04 (Java 8):
https://github.com/apache/flink/actions/runs/37171533149/job/111352233078
2026-10-04 (Java 11):
https://github.com/apache/flink/actions/runs/37171533149/job/111352497879
2026-10-04 (AdaptiveScheduler):
https://github.com/apache/flink/actions/runs/37171533149/job/111352544602
2026-10-05 (Java 11):
https://github.com/apache/flink/actions/runs/37254544980/job/111597606204
2026-10-05 (Hadoop 3.1.3):
https://github.com/apache/flink/actions/runs/37254544980/job/111598104940
{code}
[ERROR]
org.apache.flink.table.planner.runtime.stream.sql.WindowDistinctAggregateStressITCase.testCumulateWindowRollupUnderBackpressure
-- Time elapsed: 620.7 s <<< ERROR!
java.util.concurrent.ExecutionException:
org.apache.flink.table.api.TableException: Failed to wait job finish
at
org.apache.flink.table.planner.runtime.stream.sql.WindowDistinctAggregateStressITCase.runQuery(WindowDistinctAggregateStressITCase.java:191)
at
org.apache.flink.table.planner.runtime.stream.sql.WindowDistinctAggregateStressITCase.testCumulateWindowRollupUnderBackpressure(WindowDistinctAggregateStressITCase.java:149)
...
Caused by: org.apache.flink.util.FlinkRuntimeException: Exceeded checkpoint
tolerable failure threshold. The latest checkpoint failed due to Checkpoint
expired before completing., view the Checkpoint History tab or the Job Manager
log to find out why continuous checkpoints failed.
{code}
All ten fork logs show the same "Attempt to reference unknown state" while
processing a checkpoint acknowledgement, and that checkpoint expiring ten
minutes later. On 2026-10-04 five of the six table jobs failed. Four of the
seven GitHub Actions nightlies on release-1.20 in the last week hit it. The
five Azure nightlies did not, and on 2026-10-03 and 2026-10-04 the test passed
in all seven Azure table jobs. release-1.20 still does not have the FLINK-38574
fix.
> WindowDistinctAggregateStressITCase.testCumulateWindowRollupUnderBackpressure
> times out after 600s
> ---------------------------------------------------------------------------------------------------
>
> Key: FLINK-40663
> URL: https://issues.apache.org/jira/browse/FLINK-40663
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Runtime
> Affects Versions: 1.20.6
> Reporter: Martijn Visser
> Priority: Critical
> Labels: test-stability
>
> {code}
> [ERROR]
> org.apache.flink.table.planner.runtime.stream.sql.WindowDistinctAggregateStressITCase.testCumulateWindowRollupUnderBackpressure
> -- Time elapsed: 617.2 s <<< ERROR!
> java.util.concurrent.ExecutionException:
> org.apache.flink.table.api.TableException: Failed to wait job finish
> at
> java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
> at
> org.apache.flink.table.api.internal.TableResultImpl.awaitInternal(TableResultImpl.java:122)
> at
> org.apache.flink.table.planner.runtime.stream.sql.WindowDistinctAggregateStressITCase.runQuery(WindowDistinctAggregateStressITCase.java:191)
> at
> org.apache.flink.table.planner.runtime.stream.sql.WindowDistinctAggregateStressITCase.testCumulateWindowRollupUnderBackpressure(WindowDistinctAggregateStressITCase.java:149)
> Caused by: org.apache.flink.table.api.TableException: Failed to wait job
> finish
> at
> org.apache.flink.table.api.internal.InsertResultProvider.hasNext(InsertResultProvider.java:85)
> {code}
> Three occurrences in the window, on two different profiles and on both a
> nightly and a push run:
> https://github.com/apache/flink/actions/runs/34919682822 (nightly 2026-09-15,
> Java 11)
> https://github.com/apache/flink/actions/runs/34798014224 (nightly 2026-09-14,
> Java 17)
> https://github.com/apache/flink/actions/runs/34861606726 (push 2026-09-14,
> Java 8)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)