[ 
https://issues.apache.org/jira/browse/FLINK-38536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn Visser reopened FLINK-38536:
------------------------------------

Reopening for the release branches. Both fixes for this went to master only 
(31fb173d9cb and cbd7792ee9b), and release-2.3 and release-2.2 still hit both 
tests:

https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=79302&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33
 (release-2.3 nightly, 2026-09-21, ExecutionGraphFinishTest)
https://github.com/apache/flink/actions/runs/35767837856/job/106905457791 
(release-2.2 push, 2026-09-22, ExecutionGraphFinishTest)
https://github.com/apache/flink/actions/runs/35220466360/job/105212946620 
(release-2.2 push, 2026-09-17, FinalizeOnMasterTest)

{code}
[ERROR] 
org.apache.flink.runtime.executiongraph.ExecutionGraphFinishTest.testJobFinishes
 -- Time elapsed: 0.318 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.executiongraph.ExecutionGraphFinishTest.testJobFinishes(ExecutionGraphFinishTest.java:65)
{code}

{code}
[ERROR] 
org.apache.flink.runtime.executiongraph.FinalizeOnMasterTest.testFinalizeIsNotCalledUponFailure
 -- Time elapsed: 0.292 s <<< FAILURE!
org.opentest4j.AssertionFailedError:
expected: RUNNING
 but was: FAILED                                                                
                                                                                
                             at 
org.apache.flink.runtime.executiongraph.FinalizeOnMasterTest.testFinalizeIsNotCalledUponFailure(FinalizeOnMasterTest.java:108)
{code}

Neither test failed in 50 master runs over the same week. Both commits are 
test-only; we should backport them to release-2.3 and release-2.2.

> FinalizeOnMasterTest failed in test_cron_hadoop313 core
> -------------------------------------------------------
>
>                 Key: FLINK-38536
>                 URL: https://issues.apache.org/jira/browse/FLINK-38536
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 2.2.0
>            Reporter: Ruan Hang
>            Assignee: Martijn Visser
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.4.0
>
>
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=70334&view=logs&j=d89de3df-4600-5585-dadc-9bbc9a5e661c&t=d0a8f428-a6bd-5382-3317-923776675ef0
> {noformat}
> Oct 19 01:45:54 01:45:54.121 [ERROR] Tests run: 2, Failures: 1, Errors: 0, 
> Skipped: 0, Time elapsed: 0.440 s <<< FAILURE! -- in 
> org.apache.flink.runtime.executiongraph.FinalizeOnMasterTest
> Oct 19 01:45:54 01:45:54.121 [ERROR] 
> org.apache.flink.runtime.executiongraph.FinalizeOnMasterTest.testFinalizeIsCalledUponSuccess
>  -- Time elapsed: 0.038 s <<< FAILURE!
> Oct 19 01:45:54 org.opentest4j.AssertionFailedError: 
> Oct 19 01:45:54 
> Oct 19 01:45:54 expected: RUNNING
> Oct 19 01:45:54  but was: FAILING
> Oct 19 01:45:54       at 
> org.apache.flink.runtime.executiongraph.FinalizeOnMasterTest.testFinalizeIsCalledUponSuccess(FinalizeOnMasterTest.java:72)
> Oct 19 01:45:54       at 
> java.base/java.lang.reflect.Method.invoke(Method.java:568)
> Oct 19 01:45:54       at 
> java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
> Oct 19 01:45:54       at 
> java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
> Oct 19 01:45:54       at 
> java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
> Oct 19 01:45:54       at 
> java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
> Oct 19 01:45:54       at 
> java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to