[
https://issues.apache.org/jira/browse/FLINK-40664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18124950#comment-18124950
]
Martijn Visser commented on FLINK-40664:
----------------------------------------
Again on master, nightly 2026-10-07 (Java 11):
https://github.com/apache/flink/actions/runs/37560828844/job/112601161253
{code}
[ERROR]
org.apache.flink.test.misc.JobIDLoggingITCase.testJobIDLogging(ClusterClient)
-- Time elapsed: 0.201 s <<< FAILURE!
java.lang.AssertionError:
[events with a wrong value]
Expecting empty but was:
[Logger=org.apache.flink.runtime.taskexecutor.TaskExecutor Level=DEBUG
Message=Freeing inactive slots for job 031b127b17b9be16ab23461e4e9a4c04.]
at
org.apache.flink.util.JobIDLoggingUtil.assertKeyPresent(JobIDLoggingUtil.java:93)
at
org.apache.flink.util.JobIDLoggingUtil.assertKeyPresent(JobIDLoggingUtil.java:119)
at
org.apache.flink.test.misc.JobIDLoggingITCase.testJobIDLogging(JobIDLoggingITCase.java:157)
{code}
Job 031b127b17b9be16ab23461e4e9a4c04 is the one testEnrichedMdcLogging
submitted on the same MiniCluster right before.
> JobIDLoggingITCase.testJobIDLogging fails on a "Freeing inactive slots" log
> line without the job id
> ---------------------------------------------------------------------------------------------------
>
> Key: FLINK-40664
> URL: https://issues.apache.org/jira/browse/FLINK-40664
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Affects Versions: 2.4.0
> Reporter: Martijn Visser
> Priority: Critical
> Labels: pull-request-available
>
> {code}
> [ERROR]
> org.apache.flink.test.misc.JobIDLoggingITCase.testJobIDLogging(ClusterClient)
> -- Time elapsed: 0.217 s <<< FAILURE!
> java.lang.AssertionError:
> [events with a wrong value]
> Expecting empty but was:
> [Logger=org.apache.flink.runtime.taskexecutor.TaskExecutor Level=DEBUG
> Message=Freeing inactive slots for job a045ed747c88e9eb94af95d0019adbad.]
> at
> org.apache.flink.util.JobIDLoggingUtil.assertKeyPresent(JobIDLoggingUtil.java:93)
> at
> org.apache.flink.test.misc.JobIDLoggingITCase.testJobIDLogging(JobIDLoggingITCase.java:157)
> {code}
> https://github.com/apache/flink/actions/runs/34919682596 (nightly 2026-09-15,
> Java 21, module tests)
> One occurrence so far. FLINK-34643, FLINK-34994, FLINK-36099 and FLINK-36710
> are the same test on other log messages and are all closed; this is the
> {{Freeing inactive slots}} message, which none of them covers.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)