[
https://issues.apache.org/jira/browse/FLINK-40682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18118785#comment-18118785
]
Martijn Visser commented on FLINK-40682:
----------------------------------------
Three more in the last week, again on master and release-2.3:
https://github.com/apache/flink/actions/runs/35299936102/job/105461658119
(master push, 2026-09-18)
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=79225&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33
(release-2.3 nightly, 2026-09-18)
https://github.com/apache/flink/actions/runs/35677983844 (release-2.3 nightly,
2026-09-22, in both the Hadoop 3.1.3 and the Java 21 core leg)
CachedShuffleDescriptorsTest hit the same message on release-2.2:
https://github.com/apache/flink/actions/runs/35767837856/job/106905457791
{code}
[ERROR]
org.apache.flink.runtime.deployment.CachedShuffleDescriptorsTest.testCreateAndGet
-- Time elapsed: 0.037 s <<< ERROR!
java.lang.IllegalStateException: BUG: trying to schedule a region
which is not in CREATED state
at
org.apache.flink.runtime.scheduler.strategy.PipelinedRegionSchedulingStrategy.scheduleRegion(PipelinedRegionSchedulingStrategy.java:283)
at
org.apache.flink.runtime.scheduler.SchedulerBase.startScheduling(SchedulerBase.java:681)
at
org.apache.flink.runtime.deployment.CachedShuffleDescriptorsTest.buildExecutionGraph(CachedShuffleDescriptorsTest.java:214)
at
org.apache.flink.runtime.deployment.CachedShuffleDescriptorsTest.testCreateAndGet(CachedShuffleDescriptorsTest.java:67)
{code}
It builds its scheduler with {{forMainThread()}} and
{{TestingUtils.defaultExecutorExtension()}}, the same combination your PR
replaces in ArchivedExecutionGraphTest, so it would make sense to cover it
there too.
> ArchivedExecutionGraphTest fails in setup with "BUG: trying to schedule a
> region which is not in CREATED state"
> ---------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-40682
> URL: https://issues.apache.org/jira/browse/FLINK-40682
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Affects Versions: 2.2.0, 2.3.0, 2.4.0
> Reporter: sepuri sai krishna
> Priority: Critical
> Labels: pull-request-available, test-stability
>
> https://github.com/apache/flink/actions/runs/34798011374/job/103837838488
> (Nightly, core, hadoop313, JDK 17)
> {code}
> [ERROR] org.apache.flink.runtime.executiongraph.ArchivedExecutionGraphTest --
> Time elapsed: 0.072 s <<< ERROR!
> java.lang.IllegalStateException: BUG: trying to schedule a region which is
> not in CREATED state
> at
> org.apache.flink.util.Preconditions.checkState(Preconditions.java:193)
> at
> org.apache.flink.runtime.scheduler.strategy.PipelinedRegionSchedulingStrategy.scheduleRegion(PipelinedRegionSchedulingStrategy.java:283)
> at
> org.apache.flink.runtime.scheduler.strategy.PipelinedRegionSchedulingStrategy.maybeScheduleRegions(PipelinedRegionSchedulingStrategy.java:233)
> at
> org.apache.flink.runtime.scheduler.strategy.PipelinedRegionSchedulingStrategy.startScheduling(PipelinedRegionSchedulingStrategy.java:187)
> at
> org.apache.flink.runtime.scheduler.DefaultScheduler.startSchedulingInternal(DefaultScheduler.java:254)
> at
> org.apache.flink.runtime.scheduler.SchedulerBase.startScheduling(SchedulerBase.java:681)
> at
> org.apache.flink.runtime.executiongraph.ArchivedExecutionGraphTest.setupExecutionGraph(ArchivedExecutionGraphTest.java:130)
> {code}
> The whole class errors because the failure is in @BeforeAll
--
This message was sent by Atlassian Jira
(v8.20.10#820010)