You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "sepuri sai krishna (Jira)" <ji...@apache.org> on 2026/09/29 13:51:00 UTC

[jira] [Commented] (FLINK-40682) ArchivedExecutionGraphTest and CachedShuffleDescriptorsTest fail with "BUG: trying to schedule a region which is not in CREATED state"

    [ https://issues.apache.org/jira/browse/FLINK-40682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18120776#comment-18120776 ] 

sepuri sai krishna commented on FLINK-40682:
--------------------------------------------

That run is pre-fix master (the 2026-09-28 push). Both tests in the class build their graph in buildExecutionGraph, which is where the executor reaches the scheduler, so the class-level change in 0780548 covers testCreateAndGet too. Backports: #29336 for release-2.3, #29337 for release-2.2.

> ArchivedExecutionGraphTest and CachedShuffleDescriptorsTest fail 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
>            Assignee: sepuri sai krishna
>            Priority: Critical
>              Labels: pull-request-available, test-stability
>             Fix For: 2.2.2, 2.3.1, 2.4.0
>
>
> 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)