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

Matthias Pohl commented on FLINK-34448:
---------------------------------------

The test execution stops in the middle of nowhere and a new test 
{{CheckpointIntervalDuringBacklogITCase}} is started without the TestLogger log 
output (which can be explained by the fact that 
[CheckpointIntervalDuringBacklogITCase:65|https://github.com/apache/flink/blob/615e824195d23612d4b008e2cada92709d0a14af/flink-tests/src/test/java/org/apache/flink/test/checkpointing/CheckpointIntervalDuringBacklogITCase.java#L65]
 isn't extending the {{TestLogger}} class:

{code}
[...]
02:20:21,440 [flink-pekko.actor.default-dispatcher-8] INFO  
org.apache.flink.runtime.executiongraph.ExecutionGraph       [] - KeyedProcess 
(2/2) (d28075ab570d3483e626c635563db92e_0a448493b4782967b150582570326227_1_0) 
switched from INITIALIZING to RUNNING.
02:20:21,442 [flink-pekko.actor.default-dispatcher-8] INFO  
org.apache.flink.runtime.executiongraph.ExecutionGraph       [] - KeyedProcess 
(1/2) (d28075ab570d3483e626c635563db92e_0a448493b4782967b150582570326227_0_0) 
switched from INITIALIZING to RUNNING.
02:20:21,560 [    Checkpoint Timer] INFO  
org.apache.flink.runtime.checkpoint.CheckpointCoordinator    [] - Triggering 
checkpoint 1 (type=CheckpointType{name='Checkpoint', 
sharingFilesStrategy=FORWARD_BACKWARD}) @ 1708050021549 for job 
4f5239e2bda1b74f4b8f920dc7c8568e.
02:20:21,633 [KeyedProcess (1/2)#0] INFO  
org.apache.flink.state.changelog.ChangelogKeyedStateBackend  [] - Initialize 
Materialization. Current changelog writers last append to sequence number 1
02:20:21,636 [KeyedProcess (1/2)#0] INFO  
org.apache.flink.state.changelog.ChangelogKeyedStateBackend  [] - Starting 
materialization from 0 : 1
02:20:21,741 [KeyedProcess (2/2)#0] INFO  
org.apache.flink.state.changelog.ChangelogKeyedStateBackend  [] - snapshot of 
KeyedProcess (2/2)#0 for checkpoint 1, change range: 0..1, materialization ID 0
02:21:00,567 [                main] INFO  
org.apache.flink.runtime.testutils.PseudoRandomValueSelector [] - Randomly 
selected false for taskmanager.network.memory.buffer-debloat.enabled
02:21:00,577 [                main] INFO  
org.apache.flink.runtime.taskexecutor.TaskExecutorResourceUtils [] - The 
configuration option taskmanager.cpu.cores required for local execution is not 
set, setting it to the maximal possible value.
02:21:00,577 [                main] INFO  
org.apache.flink.runtime.taskexecutor.TaskExecutorResourceUtils [] - The 
configuration option taskmanager.memory.task.heap.size required for local 
execution is not set, setting it to the maximal possible value.
02:21:00,577 [                main] INFO  
org.apache.flink.runtime.taskexecutor.TaskExecutorResourceUtils [] - The 
configuration option taskmanager.memory.task.off-heap.size required for local 
execution is not set, setting it to the maximal possible value.
02:21:00,579 [                main] INFO  
org.apache.flink.runtime.taskexecutor.TaskExecutorResourceUtils [] - The 
configuration option taskmanager.memory.network.min required for local 
execution is not set, setting it to its default value 64 mb.
02:21:00,579 [                main] INFO  
org.apache.flink.runtime.taskexecutor.TaskExecutorResourceUtils [] - The 
configuration option taskmanager.memory.network.max required for local 
execution is not set, setting it to its default value 64 mb.
02:21:00,590 [                main] INFO  
org.apache.flink.runtime.minicluster.MiniCluster             [] - Starting 
Flink Mini Cluster
02:21:00,599 [                main] INFO  
org.apache.flink.runtime.minicluster.MiniCluster             [] - Starting 
Metrics Registry
[...]
{code}

The test that runs afterwards can be identified through the artificial error 
stacktrace in the logs:
{code}
02:21:04,987 [Source: Custom Source -> Sink: Unnamed (1/1)#0] WARN  
org.apache.flink.runtime.taskmanager.Task                    [] - Source: 
Custom Source -> Sink: Unnamed (1/1)#0 
(da1d8472a75b0152e15291de926c34a2_cbc357ccb763df2852fee8c4fc7d55f2_0_0) 
switched from RUNNING to FAIL
ED with failure cause:
java.lang.RuntimeException: Artificial Exception
        at 
org.apache.flink.test.checkpointing.CheckpointRestoreWithUidHashITCase$StatefulSource.run(CheckpointRestoreWithUidHashITCase.java:256)
 ~[test-classes/:?]
        at 
org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:113)
 ~[flink-streaming-java-1.20-SNAPSHOT.jar:1.20-SNAPSHOT]
        at 
org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:71) 
~[flink-streaming-java-1.20-SNAPSHOT.jar:1.20-SNAPSHOT]
        at 
org.apache.flink.streaming.runtime.tasks.SourceStreamTask$LegacySourceFunctionThread.run(SourceStreamTask.java:338)
 ~[flink-streaming-java-1.20-SNAPSHOT.jar:1.20-SNAPSHOT]
{code}

> ChangelogLocalRecoveryITCase#testRestartTM failed fatally with 127 exit code
> ----------------------------------------------------------------------------
>
>                 Key: FLINK-34448
>                 URL: https://issues.apache.org/jira/browse/FLINK-34448
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.20.0
>            Reporter: Matthias Pohl
>            Priority: Critical
>              Labels: test-stability
>
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=57550&view=logs&j=2c3cbe13-dee0-5837-cf47-3053da9a8a78&t=b78d9d30-509a-5cea-1fef-db7abaa325ae&l=8897
> \
> {code}
> Feb 16 02:43:47 02:43:47.142 [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:3.2.2:test (integration-tests) 
> on project flink-tests: 
> Feb 16 02:43:47 02:43:47.142 [ERROR] 
> Feb 16 02:43:47 02:43:47.142 [ERROR] Please refer to 
> /__w/1/s/flink-tests/target/surefire-reports for the individual test results.
> Feb 16 02:43:47 02:43:47.142 [ERROR] Please refer to dump files (if any 
> exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
> Feb 16 02:43:47 02:43:47.142 [ERROR] ExecutionException The forked VM 
> terminated without properly saying goodbye. VM crash or System.exit called?
> Feb 16 02:43:47 02:43:47.142 [ERROR] Command was /bin/sh -c cd 
> '/__w/1/s/flink-tests' && '/usr/lib/jvm/jdk-11.0.19+7/bin/java' 
> '-XX:+UseG1GC' '-Xms256m' '-XX:+IgnoreUnrecognizedVMOptions' 
> '--add-opens=java.base/java.util=ALL-UNNAMED' 
> '--add-opens=java.base/java.io=ALL-UNNAMED' '-Xmx1536m' '-jar' 
> '/__w/1/s/flink-tests/target/surefire/surefirebooter-20240216015747138_560.jar'
>  '/__w/1/s/flink-tests/target/surefire' '2024-02-16T01-57-43_286-jvmRun4' 
> 'surefire-20240216015747138_558tmp' 'surefire_185-20240216015747138_559tmp'
> Feb 16 02:43:47 02:43:47.142 [ERROR] Error occurred in starting fork, check 
> output in log
> Feb 16 02:43:47 02:43:47.142 [ERROR] Process Exit Code: 127
> Feb 16 02:43:47 02:43:47.142 [ERROR] Crashed tests:
> Feb 16 02:43:47 02:43:47.142 [ERROR] 
> org.apache.flink.test.checkpointing.ChangelogLocalRecoveryITCase
> Feb 16 02:43:47 02:43:47.142 [ERROR] 
> org.apache.maven.surefire.booter.SurefireBooterForkException: 
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Feb 16 02:43:47 02:43:47.142 [ERROR] Command was /bin/sh -c cd 
> '/__w/1/s/flink-tests' && '/usr/lib/jvm/jdk-11.0.19+7/bin/java' 
> '-XX:+UseG1GC' '-Xms256m' '-XX:+IgnoreUnrecognizedVMOptions' 
> '--add-opens=java.base/java.util=ALL-UNNAMED' 
> '--add-opens=java.base/java.io=ALL-UNNAMED' '-Xmx1536m' '-jar' 
> '/__w/1/s/flink-tests/target/surefire/surefirebooter-20240216015747138_560.jar'
>  '/__w/1/s/flink-tests/target/surefire' '2024-02-16T01-57-43_286-jvmRun4' 
> 'surefire-20240216015747138_558tmp' 'surefire_185-20240216015747138_559tmp'
> Feb 16 02:43:47 02:43:47.142 [ERROR] Error occurred in starting fork, check 
> output in log
> Feb 16 02:43:47 02:43:47.142 [ERROR] Process Exit Code: 127
> Feb 16 02:43:47 02:43:47.142 [ERROR] Crashed tests:
> Feb 16 02:43:47 02:43:47.142 [ERROR] 
> org.apache.flink.test.checkpointing.ChangelogLocalRecoveryITCase
> Feb 16 02:43:47 02:43:47.142 [ERROR]  at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:456)
> {code}



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

Reply via email to