[
https://issues.apache.org/jira/browse/FLINK-30644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18121877#comment-18121877
]
Martijn Visser commented on FLINK-30644:
----------------------------------------
Another occurrence, nightly 2026-10-02 on release-1.20 (test_cron_jdk11 tests,
JDK 11):
https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=79677&view=logs&j=2c3cbe13-dee0-5837-cf47-3053da9a8a78
{code}
[ERROR]
org.apache.flink.test.state.ChangelogCompatibilityITCase.testRestore[startWithChangelog=true,
restoreWithChangelog=false, restoreFrom=NATIVE_SAVEPOINT, allowStore=true,
allowRestore=true] -- Time elapsed: 2.007 s <<< ERROR!
java.util.concurrent.ExecutionException:
org.apache.flink.runtime.checkpoint.CheckpointException: CheckpointCoordinator
shutdown.
at
org.apache.flink.test.state.ChangelogCompatibilityITCase.tryCheckpointAndStop(ChangelogCompatibilityITCase.java:180)
at
org.apache.flink.test.state.ChangelogCompatibilityITCase.runAndStoreIfAllowed(ChangelogCompatibilityITCase.java:124)
at
org.apache.flink.test.state.ChangelogCompatibilityITCase.testRestore(ChangelogCompatibilityITCase.java:118)
{code}
This time the job failed half a second after the stop-with-savepoint was
triggered, because the Netty server ran out of direct memory:
{code}
02:45:40,246 [Flink Netty Server (0) Thread 0] ERROR
org.apache.flink.runtime.io.network.netty.PartitionRequestQueue [] -
Encountered error while consuming partitions (connection to /127.0.0.1:46242)
java.lang.OutOfMemoryError: Direct buffer memory
02:45:40,260 [GlobalWindows (1/1)#0] WARN
org.apache.flink.runtime.taskmanager.Task [] - GlobalWindows
(1/1)#0 (379082f94f4f62178a78d49cf495ae60_0a448493b4782967b150582570326227_0_0)
switched from RUNNING to FAILED with failure cause:
org.apache.flink.runtime.io.network.netty.exception.RemoteTransportException:
Fatal error at remote task manager 'localhost/127.0.0.1:46001 [
b01f5524-b9f8-49fa-ab34-a678ce8eb7d4 ] '.
Caused by: java.lang.OutOfMemoryError: Direct buffer memory. The direct
out-of-memory error has occurred. ...
{code}
> ChangelogCompatibilityITCase.testRestore fails due to CheckpointCoordinator
> being shutdown
> ------------------------------------------------------------------------------------------
>
> Key: FLINK-30644
> URL: https://issues.apache.org/jira/browse/FLINK-30644
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination, Runtime / State Backends
> Affects Versions: 1.17.0, 1.19.1, 2.0-preview
> Reporter: Matthias Pohl
> Priority: Major
> Labels: auto-deprioritized-critical, test-stability
>
> We observe a build failure in {{ChangelogCompatibilityITCase.testRestore}}
> due to the {{CheckpointCoordinator}} being shut down:
> {code:java}
> [...]
> Caused by: org.apache.flink.runtime.checkpoint.CheckpointException:
> CheckpointCoordinator shutdown.
> Jan 12 02:37:37 at
> org.apache.flink.runtime.checkpoint.PendingCheckpoint.abort(PendingCheckpoint.java:544)
> Jan 12 02:37:37 at
> org.apache.flink.runtime.checkpoint.CheckpointCoordinator.abortPendingCheckpoint(CheckpointCoordinator.java:2140)
> Jan 12 02:37:37 at
> org.apache.flink.runtime.checkpoint.CheckpointCoordinator.abortPendingCheckpoint(CheckpointCoordinator.java:2127)
> Jan 12 02:37:37 at
> org.apache.flink.runtime.checkpoint.CheckpointCoordinator.abortPendingCheckpoints(CheckpointCoordinator.java:2004)
> Jan 12 02:37:37 at
> org.apache.flink.runtime.checkpoint.CheckpointCoordinator.abortPendingCheckpoints(CheckpointCoordinator.java:1987)
> Jan 12 02:37:37 at
> org.apache.flink.runtime.checkpoint.CheckpointCoordinator.abortPendingAndQueuedCheckpoints(CheckpointCoordinator.java:2183)
> Jan 12 02:37:37 at
> org.apache.flink.runtime.checkpoint.CheckpointCoordinator.shutdown(CheckpointCoordinator.java:426)
> Jan 12 02:37:37 at
> org.apache.flink.runtime.executiongraph.DefaultExecutionGraph.onTerminalState(DefaultExecutionGraph.java:1329)
> [...]{code}
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=44731&view=logs&j=2c3cbe13-dee0-5837-cf47-3053da9a8a78&t=b78d9d30-509a-5cea-1fef-db7abaa325ae&l=9255
--
This message was sent by Atlassian Jira
(v8.20.10#820010)