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

Martijn Visser commented on FLINK-40682:
----------------------------------------

It is on release-2.3 as well, and the master run you linked had a second core 
leg that passed the
same class.

release-2.3 nightly 2026-09-16, AdaptiveScheduler, module core: 
https://github.com/apache/flink/actions/runs/35046431137/job/104650133314
release-2.3 nightly 2026-09-11, in two legs of the same build, Java 21 and 
AdaptiveScheduler, module core: 
https://github.com/apache/flink/actions/runs/34553046289

{code}
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.103 s 
<<< FAILURE! -- in 
org.apache.flink.runtime.executiongraph.ArchivedExecutionGraphTest
[ERROR] org.apache.flink.runtime.executiongraph.ArchivedExecutionGraphTest -- 
Time elapsed: 0.103 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.executiongraph.ArchivedExecutionGraphTest.setupExecutionGraph(ArchivedExecutionGraphTest.java:130)
{code}

Three runs in the eight days to 2026-09-16, on two branches, three profiles and 
two JDKs, so it is
not tied to a commit. Elapsed is 0.06 to 0.14 s. In run 34798011374 the 
AdaptiveScheduler core leg
ran the same class green (6 tests, 0.080 s) while the Hadoop 3.4.3 core leg 
failed, so it is a race
rather than anything profile-specific.

The test file has not changed since a34faaed072 (2025-10-13) and is identical 
on master,
release-2.3 and release-2.2. FLINK-38536 hit the same {{checkState}} message in
{{FinalizeOnMasterTest}}, but with a different assertion.

Proposing Critical rather than Major on three runs in eight days.

> 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: Major
>              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)

Reply via email to