[
https://issues.apache.org/jira/browse/FLINK-40596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser reopened FLINK-40596:
------------------------------------
Reopening, the slowMetricTeardownStarvesTheNextJob test added here failed four
more times in the last seven days, on master and release-2.3:
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=80089&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33
(release-2.3, nightly 2026-10-13, test_cron_azure core)
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=80126&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33
(master, nightly 2026-10-14, test_cron_azure core)
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=80128&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33
(release-2.3, nightly 2026-10-14, test_cron_azure core)
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=80280&view=logs&j=0da23115-68bb-5dcd-192c-bd4c8adebde1
(master, push 2026-10-19, test_ci core)
{code}
[ERROR]
org.apache.flink.runtime.minicluster.MiniClusterITCase.slowMetricTeardownStarvesTheNextJob
-- Time elapsed: 2.624 s <<< FAILURE!
java.lang.AssertionError:
Expecting code not to raise a throwable but caught
"org.apache.flink.runtime.client.JobExecutionException: Job execution failed.
at
org.apache.flink.runtime.minicluster.MiniClusterITCase.lambda$slowMetricTeardownStarvesTheNextJob$2(MiniClusterITCase.java:242)
Caused by:
org.apache.flink.runtime.jobmanager.scheduler.NoResourceAvailableException:
Could not acquire the minimum required resources.
{code}
The fork log of the last one shows the same order as the two in my previous
comment: the second job's slot request is failed before the first job's slot is
freed, well inside the 4 s timeout.
{code}
03:52:47,322 WARN FineGrainedSlotManager [] - Could not fulfill resource
requirements of job 6bcb9aecfc679eb01f1c4cf3de316107.
03:52:47,323 WARN DeclarativeSlotPoolBridge [] - Could not acquire the minimum
required resources, failing slot requests.
03:52:47,327 INFO TaskSlotTableImpl [] - Free slot TaskSlot(index:1,
state:ACTIVE, ...
{code}
That is four in seven days, so I'd make this Critical.
> Closing metric might lead to a number of test failure
> -----------------------------------------------------
>
> Key: FLINK-40596
> URL: https://issues.apache.org/jira/browse/FLINK-40596
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Metrics, Tests
> Reporter: Sergey Nuyanzin
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.2.2, 2.3.1, 2.4.0
>
>
> It seems after FLINK-40549
> there are multiple test failures like
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=78823&view=logs&j=9fbca54a-b970-564d-a715-d51ed99846a0&t=ef3de944-6b04-571b-ac5e-393836decdf7
> https://github.com/apache/flink/actions/runs/34110236852/job/101732744496#step:13:13840
--
This message was sent by Atlassian Jira
(v8.20.10#820010)