camunda / camunda-bpm-platform

Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Quarkus, Spring, Spring Boot, CDI.
https://camunda.com/
Apache License 2.0
4.12k stars 1.56k forks source link

`CamundaAutoConfigurationIT`, `MultipleTaskExecutorsIT`, `SpinApplicationTestIT` fails on `spring-boot-starter-IT` stage #3616

Closed tasso94 closed 12 months ago

tasso94 commented 1 year ago

Acceptance Criteria (Required on creation)

CamundaAutoConfigurationIT, MultipleTaskExecutorsIT, SpinApplicationTestIT don't fail in the 7.19 main pipeline on the spring-boot-starter-IT stage anymore.

Hints

Stacktrace ``` java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:98) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) at org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener.prepareTestInstance(SpringBootDependencyInjectionTestExecutionListener.java:43) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'transactionalTestServiceImpl': Unsatisfied dependency expressed through field 'runtimeService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.camunda.bpm.engine.spring.SpringProcessEngineServicesConfiguration': Unsatisfied dependency expressed through field 'processEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean': FactoryBean threw exception on object creation; nested exception is java.lang.OutOfMemoryError: GC overhead limit exceeded at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) ... 37 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.camunda.bpm.engine.spring.SpringProcessEngineServicesConfiguration': Unsatisfied dependency expressed through field 'processEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean': FactoryBean threw exception on object creation; nested exception is java.lang.OutOfMemoryError: GC overhead limit exceeded at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:410) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657) ... 56 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean': FactoryBean threw exception on object creation; nested exception is java.lang.OutOfMemoryError: GC overhead limit exceeded at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:176) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:101) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1898) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1284) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:345) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657) ... 79 more Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOfRange(Arrays.java:3664) at java.lang.String.(String.java:207) at java.lang.StringBuilder.toString(StringBuilder.java:407) at org.apache.ibatis.parsing.GenericTokenParser.parse(GenericTokenParser.java:86) at org.apache.ibatis.parsing.PropertyParser.parse(PropertyParser.java:56) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:90) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:50) at org.apache.ibatis.builder.xml.XMLStatementBuilder.parseStatementNode(XMLStatementBuilder.java:73) at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:138) at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:131) at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:121) at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:95) ```
Stdout ``` ____ _ ____ _ _ __ / ___| __ _ _ __ ___ _ _ _ __ __| | __ _ | _ \| | __ _| |_ / _| ___ _ __ _ __ ___ | | / _` | '_ ` _ \| | | | '_ \ / _` |/ _` | | |_) | |/ _` | __| |_ / _ \| '__| '_ ` _ \ | |__| (_| | | | | | | |_| | | | | (_| | (_| | | __/| | (_| | |_| _| (_) | | | | | | | | \____/\__,_|_| |_| |_|\__,_|_| |_|\__,_|\__,_| |_| |_|\__,_|\__|_| \___/|_| |_| |_| |_| Spring-Boot: (v2.7.12) Camunda Platform: (v7.19.6-SNAPSHOT) Camunda Platform Spring Boot Starter: (v7.19.6-SNAPSHOT) 2023-07-27 14:44:04.783 INFO 885 --- [ main] o.c.b.s.b.s.m.MultipleTaskExecutorsIT : Starting MultipleTaskExecutorsIT using Java 1.8.0_181 on chrome-78-hg0m6 with PID 885 (started by camunda in /home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/spring-boot-starter/starter) 2023-07-27 14:44:04.783 INFO 885 --- [ main] o.c.b.s.b.s.m.MultipleTaskExecutorsIT : No active profile set, falling back to 1 default profile: "default" 2023-07-27 14:44:22.091 INFO 885 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2023-07-27 14:44:22.093 INFO 885 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 2 ms. Found 0 JPA repository interfaces. 2023-07-27 14:44:35.065 INFO 885 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-18 - Starting... 2023-07-27 14:44:35.067 INFO 885 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-18 - Start completed. 2023-07-27 14:44:37.068 INFO 885 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2023-07-27 14:44:37.074 INFO 885 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 2023-07-27 14:44:37.084 INFO 885 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2023-07-27 14:44:37.084 INFO 885 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2023-07-27 14:44:59.948 WARN 885 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2023-07-27 14:45:57.354 INFO 885 --- [MessageBroker-1] o.s.w.s.c.WebSocketMessageBrokerStats : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0] 2023-07-27 14:46:04.169 INFO 885 --- [ main] org.camunda.bpm.spring.boot : STARTER-SB040 Setting up jobExecutor with corePoolSize=3, maxPoolSize:10 2023-07-27 14:46:31.977 INFO 885 --- [ main] org.camunda.bpm.engine.cfg : ENGINE-12003 Plugin 'CompositeProcessEnginePlugin[genericPropertiesConfiguration, camundaProcessEngineConfiguration, camundaDatasourceConfiguration, camundaJpaConfiguration, camundaJobConfiguration, camundaHistoryConfiguration, camundaMetricsConfiguration, camundaAuthorizationConfiguration, camundaDeploymentConfiguration, failedJobConfiguration, historyLevelAutoConfiguration, eventPublisherPlugin, ConnectProcessEnginePlugin, SpringBootSpinProcessEnginePlugin]' activated on process engine 'default' 2023-07-27 14:50:47.975 WARN 885 --- [ main] s.b.s.c.i.DefaultDeploymentConfiguration : unable to determine if resource URL [jar:file:/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/.m2/org/camunda/bpm/dmn/camunda-engine-dmn/7.19.6-SNAPSHOT/camunda-engine-dmn-7.19.6-SNAPSHOT.jar!/META-INF/maven/org.camunda.bpm.dmn/] is a deployable resource 2023-07-27 14:50:47.975 WARN 885 --- [ main] s.b.s.c.i.DefaultDeploymentConfiguration : unable to determine if resource URL [jar:file:/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/.m2/org/camunda/bpm/dmn/camunda-engine-feel-api/7.19.6-SNAPSHOT/camunda-engine-feel-api-7.19.6-SNAPSHOT.jar!/META-INF/maven/org.camunda.bpm.dmn/] is a deployable resource 2023-07-27 14:50:47.976 WARN 885 --- [ main] s.b.s.c.i.DefaultDeploymentConfiguration : unable to determine if resource URL [jar:file:/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/.m2/org/camunda/bpm/dmn/camunda-engine-feel-juel/7.19.6-SNAPSHOT/camunda-engine-feel-juel-7.19.6-SNAPSHOT.jar!/META-INF/maven/org.camunda.bpm.dmn/] is a deployable resource 2023-07-27 14:50:47.976 WARN 885 --- [ main] s.b.s.c.i.DefaultDeploymentConfiguration : unable to determine if resource URL [jar:file:/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/.m2/org/camunda/bpm/dmn/camunda-engine-feel-scala/7.19.6-SNAPSHOT/camunda-engine-feel-scala-7.19.6-SNAPSHOT.jar!/META-INF/maven/org.camunda.bpm.dmn/] is a deployable resource 2023-07-27 14:50:47.976 INFO 885 --- [ main] org.camunda.bpm.spring.boot : STARTER-SB021 Auto-Deploying resources: [file [/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/spring-boot-starter/starter/target/test-classes/bpmn/eventingWithBoundary.bpmn], file [/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/spring-boot-starter/starter/target/test-classes/bpmn/eventing.bpmn], file [/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/spring-boot-starter/starter/target/test-classes/cmmn/test.cmmn], file [/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/spring-boot-starter/starter/target/test-classes/bpmn/eventingWithTaskAssignee.bpmn], file [/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/spring-boot-starter/starter/target/test-classes/bpmn/test.bpmn20.xml], file [/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/spring-boot-starter/starter/target/test-classes/bpmn/test.bpmn], file [/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/spring-boot-starter/starter/target/test-classes/bpmn/eventingWithIntermediateCatch.bpmn], file [/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/spring-boot-starter/starter/target/test-classes/cmmn/test.cmmn10.xml], file [/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/spring-boot-starter/starter/target/test-classes/dmn/check-order.dmn], file [/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/spring-boot-starter/starter/target/test-classes/bpmn/spin-java8-model.bpmn], file [/home/work/workspace/7.19_cambpm-ce_cambpm-main_7.19/spring-boot-starter/starter/target/test-classes/bpmn/async-service-task.bpmn]] 2023-07-27 14:50:47.986 WARN 885 --- [ main] HistoryLevelDeterminatorJdbcTemplateImpl : unable to fetch history level from database: StatementCallback; bad SQL grammar [SELECT VALUE_ FROM ACT_GE_PROPERTY WHERE NAME_='historyLevel']; nested exception is org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "ACT_GE_PROPERTY" not found (this database is empty); SQL statement: SELECT VALUE_ FROM ACT_GE_PROPERTY WHERE NAME_='historyLevel' [42104-214] 2023-07-27 14:50:47.986 INFO 885 --- [ main] o.c.b.s.b.s.event.EventPublisherPlugin : EVENTING-001: Initialized Camunda Spring Boot Eventing Engine Plugin. 2023-07-27 14:50:47.986 INFO 885 --- [ main] o.c.b.s.b.s.event.EventPublisherPlugin : EVENTING-003: Task events will be published as Spring Events. 2023-07-27 14:50:47.986 INFO 885 --- [ main] o.c.b.s.b.s.event.EventPublisherPlugin : EVENTING-005: Execution events will be published as Spring Events. 2023-07-27 14:50:47.986 INFO 885 --- [ main] o.c.b.s.b.s.event.EventPublisherPlugin : EVENTING-009: Listeners will not be invoked if a skipCustomListeners API parameter is set to true by user. 2023-07-27 14:50:47.986 INFO 885 --- [ main] o.c.b.s.b.s.event.EventPublisherPlugin : EVENTING-007: History events will be published as Spring events. 2023-07-27 14:50:47.987 INFO 885 --- [ main] org.camunda.bpm.connect : CNCT-01004 Discovered provider for connector id 'http-connector' and class 'org.camunda.connect.httpclient.impl.HttpConnectorImpl': 'org.camunda.connect.httpclient.impl.HttpConnectorProviderImpl' 2023-07-27 14:50:47.988 INFO 885 --- [ main] org.camunda.bpm.connect : CNCT-01004 Discovered provider for connector id 'soap-http-connector' and class 'org.camunda.connect.httpclient.soap.impl.SoapHttpConnectorImpl': 'org.camunda.connect.httpclient.soap.impl.SoapHttpConnectorProviderImpl' 2023-07-27 14:50:48.028 INFO 885 --- [ main] org.camunda.spin : SPIN-01010 Discovered Spin data format provider: org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormatProvider[name = application/json] 2023-07-27 14:50:48.030 INFO 885 --- [ main] org.camunda.spin : SPIN-01011 Discovered Spin data format configurator: class org.camunda.bpm.spring.boot.starter.spin.CamundaJacksonFormatConfiguratorJSR310[dataformat = org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormat] 2023-07-27 14:50:48.031 INFO 885 --- [ main] org.camunda.spin : SPIN-01011 Discovered Spin data format configurator: class org.camunda.bpm.spring.boot.starter.spin.CamundaJacksonFormatConfiguratorParameterNames[dataformat = org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormat] 2023-07-27 14:50:48.031 INFO 885 --- [ main] org.camunda.spin : SPIN-01011 Discovered Spin data format configurator: class org.camunda.bpm.spring.boot.starter.spin.CamundaJacksonFormatConfiguratorJdk8[dataformat = org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormat] 2023-07-27 14:50:48.031 INFO 885 --- [ main] org.camunda.spin : SPIN-01009 Discovered Spin data format: org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormat[name = application/json] 2023-07-27 14:50:48.032 INFO 885 --- [ main] org.camunda.bpm.dmn.feel.scala : FEEL/SCALA-01001 Spin value mapper detected 2023-07-27 14:50:48.033 INFO 885 --- [ main] org.camunda.feel.FeelEngine : Engine created. [value-mapper: CompositeValueMapper(List(org.camunda.feel.impl.JavaValueMapper@5e4eb85b, org.camunda.spin.plugin.impl.feel.integration.SpinValueMapper@4ea73a26)), function-provider: org.camunda.bpm.dmn.feel.impl.scala.function.CustomFunctionTransformer@6ca767af, clock: SystemClock, configuration: Configuration(false)] 2023-07-27 14:54:42.565 WARN 885 --- [-18 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-18 - Thread starvation or clock leap detected (housekeeper delta=1m1s429ms271µs806ns). 2023-07-27 14:55:09.773 WARN 885 --- [-14 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-14 - Thread starvation or clock leap detected (housekeeper delta=1m1s429ms119µs726ns). 2023-07-27 14:55:09.773 WARN 885 --- [-17 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-17 - Thread starvation or clock leap detected (housekeeper delta=1m19s906ms92µs527ns). 2023-07-27 14:55:22.268 WARN 885 --- [l-9 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-9 - Thread starvation or clock leap detected (housekeeper delta=46s208ms74µs870ns). 2023-07-27 14:55:30.865 WARN 885 --- [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=1m40s998ms489µs640ns). 2023-07-27 14:55:30.866 WARN 885 --- [l-5 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-5 - Thread starvation or clock leap detected (housekeeper delta=1m40s998ms895µs850ns). 2023-07-27 14:55:37.058 WARN 885 --- [-18 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-18 - Thread starvation or clock leap detected (housekeeper delta=1m6s287ms417µs124ns). 2023-07-27 14:55:41.149 WARN 885 --- [l-3 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Thread starvation or clock leap detected (housekeeper delta=1m19s482ms401µs545ns). 2023-07-27 14:55:41.150 WARN 885 --- [-14 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-14 - Thread starvation or clock leap detected (housekeeper delta=1m10s379ms759µs620ns). 2023-07-27 14:55:49.339 WARN 885 --- [-16 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-16 - Thread starvation or clock leap detected (housekeeper delta=1m33s773ms568µs761ns). 2023-07-27 14:58:07.548 WARN 885 --- [l-3 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Thread starvation or clock leap detected (housekeeper delta=1m19s896ms535µs513ns). 2023-07-27 14:58:09.540 WARN 885 --- [l-2 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Thread starvation or clock leap detected (housekeeper delta=1m51s283ms599µs496ns). 2023-07-27 14:58:09.539 WARN 885 --- [l-9 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-9 - Thread starvation or clock leap detected (housekeeper delta=1m41s891ms378µs907ns). 2023-07-27 14:58:42.644 WARN 885 --- [l-6 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-6 - Thread starvation or clock leap detected (housekeeper delta=3m1s493ms815µs457ns). 2023-07-27 14:58:09.539 WARN 885 --- [l-4 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-4 - Thread starvation or clock leap detected (housekeeper delta=1m37s869ms802µs166ns). 2023-07-27 14:58:40.666 WARN 885 --- [l-5 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-5 - Thread starvation or clock leap detected (housekeeper delta=2m32s800ms678µs642ns). 2023-07-27 14:58:40.666 WARN 885 --- [-15 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-15 - Thread starvation or clock leap detected (housekeeper delta=2m32s800ms579µs943ns). 2023-07-27 15:00:52.566 WARN 885 --- [-18 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-18 - Thread starvation or clock leap detected (housekeeper delta=1m36s307ms748µs348ns). 2023-07-27 14:58:40.666 WARN 885 --- [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=2m32s800ms694µs380ns). 2023-07-27 14:59:45.837 WARN 885 --- [l-9 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-9 - Thread starvation or clock leap detected (housekeeper delta=3m48s501ms708µs61ns). 2023-07-27 15:07:50.867 WARN 885 --- [l-4 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-4 - Thread starvation or clock leap detected (housekeeper delta=9m36s626ms23µs335ns). 2023-07-27 15:08:42.150 WARN 885 --- [-14 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-14 - Thread starvation or clock leap detected (housekeeper delta=4m18s830ms203µs293ns). 2023-07-27 15:06:33.562 WARN 885 --- [l-8 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-8 - Thread starvation or clock leap detected (housekeeper delta=4m20s816ms433µs865ns). 2023-07-27 15:05:24.069 WARN 885 --- [l-7 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-7 - Thread starvation or clock leap detected (housekeeper delta=2m52s294ms598µs176ns). 2023-07-27 15:05:22.051 WARN 885 --- [l-6 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-6 - Thread starvation or clock leap detected (housekeeper delta=2m49s427ms921µs120ns). 2023-07-27 15:04:50.155 WARN 885 --- [l-3 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Thread starvation or clock leap detected (housekeeper delta=5m31s975ms175µs985ns). 2023-07-27 15:04:26.534 WARN 885 --- [l-5 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-5 - Thread starvation or clock leap detected (housekeeper delta=3m1s297ms897µs794ns). 2023-07-27 15:04:12.571 WARN 885 --- [-16 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-16 - Thread starvation or clock leap detected (housekeeper delta=4m24s747ms937µs618ns). 2023-07-27 15:02:53.449 WARN 885 --- [-17 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-17 - Thread starvation or clock leap detected (housekeeper delta=2m52s1ms855µs118ns). 2023-07-27 14:59:45.837 WARN 885 --- [l-2 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Thread starvation or clock leap detected (housekeeper delta=4m4s686ms687µs950ns). 2023-07-27 15:35:22.440 WARN 885 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'camundaIntegrationDeterminator': Unsatisfied dependency expressed through field 'processEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean': FactoryBean threw exception on object creation; nested exception is java.lang.OutOfMemoryError: Java heap space 2023-07-27 15:35:22.438 WARN 885 --- [-15 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-15 - Thread starvation or clock leap detected (housekeeper delta=36m41s772ms365µs491ns). 2023-07-27 15:35:22.435 WARN 885 --- [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=36m41s768ms674µs347ns). 2023-07-27 15:35:22.433 WARN 885 --- [l-4 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-4 - Thread starvation or clock leap detected (housekeeper delta=29m52s371ms710µs587ns). 2023-07-27 15:30:04.673 WARN 885 --- [l-9 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-9 - Thread starvation or clock leap detected (housekeeper delta=30m22s736ms803µs206ns). 2023-07-27 15:26:01.538 WARN 885 --- [-18 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-18 - Thread starvation or clock leap detected (housekeeper delta=25m6s985ms854µs827ns). 2023-07-27 15:20:49.882 INFO 885 --- [MessageBroker-1] o.s.w.s.c.WebSocketMessageBrokerStats : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 2, active threads = 1, queued tasks = 0, completed tasks = 1] 2023-07-27 15:35:26.129 WARN 885 --- [-14 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-14 - Thread starvation or clock leap detected (housekeeper delta=31m37s264ms758µs798ns). 2023-07-27 15:35:22.436 ERROR 885 --- [etrics Reporter] org.camunda.bpm.engine.context : ENGINE-16004 Exception while closing command context: Java heap space java.lang.OutOfMemoryError: Java heap space at org.h2.value.Value.cache(Value.java:732) at org.h2.value.ValueBigint.get(ValueBigint.java:224) at org.h2.jdbc.JdbcPreparedStatement.setLong(JdbcPreparedStatement.java:678) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.setLong(HikariProxyPreparedStatement.java) at org.apache.ibatis.type.LongTypeHandler.setNonNullParameter(LongTypeHandler.java:31) at org.apache.ibatis.type.LongTypeHandler.setNonNullParameter(LongTypeHandler.java:26) at org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:73) at org.apache.ibatis.scripting.defaults.DefaultParameterHandler.setParameters(DefaultParameterHandler.java:87) at org.apache.ibatis.executor.statement.PreparedStatementHandler.parameterize(PreparedStatementHandler.java:94) at org.apache.ibatis.executor.statement.RoutingStatementHandler.parameterize(RoutingStatementHandler.java:64) at org.apache.ibatis.executor.BatchExecutor.doUpdate(BatchExecutor.java:65) at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:197) at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:184) at org.camunda.bpm.engine.impl.db.sql.DbSqlSession.executeInsertEntity(DbSqlSession.java:361) at org.camunda.bpm.engine.impl.db.sql.DbSqlSession.insertEntity(DbSqlSession.java:355) at org.camunda.bpm.engine.impl.db.AbstractPersistenceSession.executeDbOperation(AbstractPersistenceSession.java:44) at org.camunda.bpm.engine.impl.db.sql.BatchDbSqlSession.executeDbOperations(BatchDbSqlSession.java:61) at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperations(DbEntityManager.java:341) at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flushDbOperationManager(DbEntityManager.java:323) at org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.flush(DbEntityManager.java:295) at org.camunda.bpm.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:272) at org.camunda.bpm.engine.impl.interceptor.CommandContext.close(CommandContext.java:188) at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:119) at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.lambda$execute$0(SpringTransactionInterceptor.java:71) at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$$Lambda$1023/1960277755.doInTransaction(Unknown Source) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:71) at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) 2023-07-27 15:35:30.159 INFO 885 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2023-07-27 15:35:30.160 INFO 885 --- [ main] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2023-07-27 15:35:30.160 INFO 885 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-18 - Shutdown initiated... 2023-07-27 15:35:30.164 INFO 885 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-18 - Shutdown completed. 2023-07-27 15:35:30.234 INFO 885 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2023-07-27 15:35:35.051 ERROR 885 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'camundaIntegrationDeterminator': Unsatisfied dependency expressed through field 'processEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean': FactoryBean threw exception on object creation; nested exception is java.lang.OutOfMemoryError: Java heap space at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean': FactoryBean threw exception on object creation; nested exception is java.lang.OutOfMemoryError: Java heap space at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:176) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:101) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1898) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1284) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:267) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1616) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1573) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1354) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657) ... 55 common frames omitted Caused by: java.lang.OutOfMemoryError: Java heap space at java.lang.String.toCharArray(String.java:2899) at org.apache.ibatis.parsing.GenericTokenParser.parse(GenericTokenParser.java:42) at org.apache.ibatis.parsing.PropertyParser.parse(PropertyParser.java:56) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:90) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) 2023-07-27 15:35:38.456 ERROR 885 --- [ main] o.s.test.context.TestContextManager : Caught exception while allowing TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener@2a79d4b1] to prepare test instance [org.camunda.bpm.spring.boot.starter.multitask.MultipleTaskExecutorsIT@7220c0c8] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:98) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'camundaIntegrationDeterminator': Unsatisfied dependency expressed through field 'processEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean': FactoryBean threw exception on object creation; nested exception is java.lang.OutOfMemoryError: Java heap space at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) ... 36 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean': FactoryBean threw exception on object creation; nested exception is java.lang.OutOfMemoryError: Java heap space at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:176) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:101) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1898) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1284) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:267) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1616) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1573) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1354) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657) ... 55 common frames omitted Caused by: java.lang.OutOfMemoryError: Java heap space at java.lang.String.toCharArray(String.java:2899) at org.apache.ibatis.parsing.GenericTokenParser.parse(GenericTokenParser.java:42) at org.apache.ibatis.parsing.PropertyParser.parse(PropertyParser.java:56) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:90) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:65) at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:85) ``` * no observations for issues in spring boot IT stage in the EE main pipeline (there are executed less tests)

Links

Breakdown

### 7.19 PR
- [ ] https://github.com/camunda/camunda-bpm-platform-maintenance/pull/1095
### 7.18 PR
- [ ] https://github.com/camunda/camunda-bpm-platform-maintenance/pull/1102

Dev2QA handover

yanavasileva commented 1 year ago

The error keeps re-occurring for 7.19 and 7.18. I am able to run the IT successfully for spring boot locally (on both versions), so I assume the memory is not enough for agents.

yanavasileva commented 1 year ago

Hints:

yanavasileva commented 1 year ago

Hi @psavidis ,

Could you please look at this flaky stage according to our round-robin team agreement on flaky CI stages?

Best regards, Yana

psavidis commented 1 year ago

Investigation Description

[2023-10-19T11:06:29.076Z] [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file /home/work/workspace/19_cambpm-ce_cambpm-main_PR-1095/spring-boot-starter/starter/target/failsafe-reports/2023-10-19T12-36-59_694-jvmRun1.dumpstream

Version JDK failsafe-surefire Version Spring Boot OutOfMemory Issue Maven Version
7.17 1.8 2.16 2.6.15 No Jenkins Build Preserved to know 3.2.5
7.18 1.8 2.16 2.7.16 Yes 3.2.5
7.19 1.8 3.0.0-M3 2.7.16 Yes 3.8.6
7.20 17 3.0.0-M3 3.1.4 No 3.8.6
psavidis commented 1 year ago

Heapdump Analysis Results on 7.19 run:

Screenshot 2023-10-20 at 3 58 01 PM Screenshot 2023-10-20 at 3 58 24 PM
psavidis commented 1 year ago

Latest update :

If that's a plugin problem, why is this happening only for Spring-Boot Tests and not for the rest?

Recommendation:

psavidis commented 1 year ago

Using forkCount=0 on failsafe & surefire plugins did not resolve the issue as a workaround.

psavidis commented 1 year ago

Trying to reduce the problem of Jenkins OOME to an equivalent, easier to reproduce locally, i found out that:

Setting -Xmx650m locally and running spring-boot-starter/starter using the integration-test-spring-boot-starter profile

Both happen consistently.

Next Step to try:

Spring-boot 2.7.3 includes a fix for an OOME of Restarter during Tests.

Will try to update and monitor the behaviour of Spring-Boot Integration Tests.

psavidis commented 1 year ago

Trying to reduce the problem of Jenkins OOME to an equivalent, easier to reproduce locally, i found out that:

Setting -Xmx650m locally and running spring-boot-starter/starter using the integration-test-spring-boot-starter profile

  • Running the spring-boot ITs with 7.19.8 reaches the max of memory and starts to thrash around the threshold, sometimes producing OOME
  • Running the spring-boot ITs with master passes succesfully and there is a GC that makes the memory be close to the threshold but not thrash or produce a OOME.

Both happen consistently.

Next Step to try:

Spring-boot 2.7.3 includes a fix for an OOME of Restarter during Tests.

Will try to update and monitor the behaviour of Spring-Boot Integration Tests.

The Update did not solve the OOME problem

psavidis commented 12 months ago

Running both 7.21 master code (after the release) & 7.19.9-SNAPSHOT:

Analysing the heapdumps taken :

7.19 Leak Suspects Report of Headump 7 19_leak_suspects_report
7.20 Leak Suspects Report of Headump 7 20_leak_suspects_report d2-a461-252c4ea9f069">

Moreover, below you can find listed the histogram comparison of 7.19 to 7.21 and see the number of objects that are higher in 7.19 in descending object population order (There are other objects that are higher in 7.21 as well)

7.19 Relative Object Comparison to 7.20 Histogram Analysis Screenshot 2023-11-02 at 1 31 43 PM Screenshot 2023-11-02 at 1 31 57 PM Screenshot 2023-11-02 at 1 32 31 PM

The above investigation leads me to believe :

a) either there could be a memory leak in the combination of spring + engine that is not visible from this analysis or b) the memory of the application increased through the iterations and it was not adjusted for the tests

psavidis commented 12 months ago

Using 2g of memory for running the Spring-Boot ITs appears to consistently solve the OOME problem on 7.18 / 7.19.

Note: The k8s pod config for running the tests is currently configured to allocate 4g of memory.

yanavasileva commented 12 months ago

@psavidis please add the version labels.