Matthias Pohl created FLINK-31341:
-------------------------------------

             Summary: OutOfMemoryError in Kafka e2e tests
                 Key: FLINK-31341
                 URL: https://issues.apache.org/jira/browse/FLINK-31341
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Kafka
    Affects Versions: 1.17.0
            Reporter: Matthias Pohl


We experience a OOM in Kafka e2e tests:
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=46820&view=logs&j=fb37c667-81b7-5c22-dd91-846535e99a97&t=39a035c3-c65e-573c-fb66-104c66c28912&l=11726

{code}
ar 06 06:22:30 [ERROR] Exception: java.lang.OutOfMemoryError thrown from the 
UncaughtExceptionHandler in thread "ForkJoinPool-1-worker-0"
Exception in thread "ForkJoinPool-1-worker-0" Mar 06 06:27:30 [ERROR] Tests 
run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1,094.139 s <<< 
FAILURE! - in JUnit Jupiter
Mar 06 06:27:30 [ERROR] JUnit Jupiter.JUnit Jupiter  Time elapsed: 947.463 s  
<<< ERROR!
Mar 06 06:27:30 org.junit.platform.commons.JUnitException: TestEngine with ID 
'junit-jupiter' failed to execute tests
Mar 06 06:27:30         at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:153)
Mar 06 06:27:30         at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127)
Mar 06 06:27:30         at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90)
Mar 06 06:27:30         at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55)
Mar 06 06:27:30         at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102)
Mar 06 06:27:30         at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54)
Mar 06 06:27:30         at 
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
Mar 06 06:27:30         at 
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
Mar 06 06:27:30         at 
org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
Mar 06 06:27:30         at 
org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
Mar 06 06:27:30         at 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
Mar 06 06:27:30         at 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
Mar 06 06:27:30         at 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
Mar 06 06:27:30         at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
Mar 06 06:27:30         at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
Mar 06 06:27:30         at 
org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
Mar 06 06:27:30         at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Mar 06 06:27:30 Caused by: org.junit.platform.commons.JUnitException: Error 
executing tests for engine junit-jupiter
Mar 06 06:27:30         at 
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:57)
Mar 06 06:27:30         at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147)
Mar 06 06:27:30         ... 16 more
Mar 06 06:27:30 Caused by: java.util.concurrent.ExecutionException: 
java.lang.OutOfMemoryError
Mar 06 06:27:30         at 
java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1006)
Mar 06 06:27:30         at 
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
Mar 06 06:27:30         ... 17 more
Mar 06 06:27:30 Caused by: java.lang.OutOfMemoryError
Mar 06 06:27:30         at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Mar 06 06:27:30         at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
Mar 06 06:27:30         at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
Mar 06 06:27:30         at 
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
Mar 06 06:27:30         at 
java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:598)
Mar 06 06:27:30         at 
java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1005)
Mar 06 06:27:30         ... 18 more
Mar 06 06:27:30 Caused by: java.lang.OutOfMemoryError: Java heap space
{code}



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

Reply via email to