sorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
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:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
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.appng.core.service.SiteLoadingException: Error while loading site site1
at org.appng.core.service.InitializerService.lambda$getSiteLoader$1(InitializerService.java:882)
at org.appng.core.service.InitializerService.loadSite(InitializerService.java:512)
at org.appng.core.service.InitializerService.loadSite(InitializerService.java:491)
at org.appng.core.service.InitializerService.loadSite(InitializerService.java:474)
at org.appng.core.service.InitializerService$$FastClassBySpringCGLIB$$f960133d.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
at org.appng.core.service.InitializerService$$EnhancerBySpringCGLIB$$9eec219b.loadSite(<generated>)
at org.appng.application.manager.service.ManagerService.reloadSite(ManagerService.java:1622)
... 49 more
Caused by: java.lang.NullPointerException
at org.appng.api.messaging.Messaging.isEnabled(Messaging.java:177)
at org.appng.core.service.InitializerService.lambda$getSiteLoader$1(InitializerService.java:552)
... 63 more
2022-08-19 14:04:49,675 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2
2022-08-19 14:04:50,038 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@10f229b2: startup date [Fri Aug 19 14:04:42 CEST 2022]; root of context hierarchy
2022-08-19 14:04:50,040 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.871 s - in org.appng.application.manager.business.SitesTest
[INFO] Running org.appng.application.manager.business.RepositoriesTest
2022-08-19 14:04:51,290 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:04:51,291 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@78d024f2, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6d538c82, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@47afae46, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4881600d, org.springframework.test.context.transaction.TransactionalTestExecutionListener@310f2a5b, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@40c98764]
2022-08-19 14:04:51,301 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:04:51,347 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:04:51,358 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:04:51,393 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:04:51,402 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@39ec4ae5: startup date [Fri Aug 19 14:04:51 CEST 2022]; root of context hierarchy
2022-08-19 14:04:51,445 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:04:51,445 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:04:51,446 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:04:51,447 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:04:51,447 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:04:51,447 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:04:51,447 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:04:51,447 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:04:51,450 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:04:51,682 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:04:52,615 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:04:52,974 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@39ec4ae5: startup date [Fri Aug 19 14:04:51 CEST 2022]; root of context hierarchy
2022-08-19 14:04:53,247 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:04:53,396 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:04:53,397 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:04:53,397 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:04:53,397 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:04:53,512 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Local
2022-08-19 14:04:53,922 ERROR [main] org.appng.application.manager.business.Repositories: Failed to create the repository.
org.appng.api.BusinessException: repository named Local already exists!
at org.appng.application.manager.service.ManagerService.checkUniqueRepositoryName(ManagerService.java:961)
at org.appng.application.manager.service.ManagerService.validateRepository(ManagerService.java:946)
at org.appng.application.manager.service.ManagerService.createRepository(ManagerService.java:874)
at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$4d247dde.createRepository(<generated>)
at org.appng.application.manager.business.Repositories.perform(Repositories.java:64)
at org.appng.application.manager.business.Repositories.perform(Repositories.java:44)
at org.appng.api.support.CallableAction.execute(CallableAction.java:442)
at org.appng.api.support.CallableAction.perform(CallableAction.java:336)
at org.appng.api.support.CallableAction.perform(CallableAction.java:308)
at org.appng.application.manager.business.RepositoriesTest.testCreateRepositoryNameExists(RepositoriesTest.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
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:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
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)
2022-08-19 14:04:54,209 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me
2022-08-19 14:04:54,326 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Repository Delete me
2022-08-19 14:04:54,706 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me
2022-08-19 14:04:55,494 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@39ec4ae5: startup date [Fri Aug 19 14:04:51 CEST 2022]; root of context hierarchy
2022-08-19 14:04:55,497 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.647 s - in org.appng.application.manager.business.RepositoriesTest
[INFO] Running org.appng.application.manager.business.SqlExecutorTest
2022-08-19 14:04:55,940 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:04:55,941 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@389f5e98, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@12688fe5, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@46e54a80, org.springframework.test.context.support.DirtiesContextTestExecutionListener@196c294b, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5bc5cf60, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@d84745a]
2022-08-19 14:04:55,950 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:04:55,991 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:04:56,002 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:04:56,037 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:04:56,046 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2022-08-19 14:04:56,059 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'sessions' with a different definition: replacing [Generic bean: class [org.appng.application.manager.business.Sessions]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/var/lib/jenkins/workspace/appNG_Manager/target/classes/org/appng/application/manager/business/Sessions.class]] with [Generic bean: class [org.appng.application.manager.business.SessionsTestBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test.xml]]
2022-08-19 14:04:56,060 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@1907c521: startup date [Fri Aug 19 14:04:56 CEST 2022]; root of context hierarchy
2022-08-19 14:04:56,100 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:04:56,101 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:04:56,101 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:04:56,102 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:04:56,102 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:04:56,102 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:04:56,102 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:04:56,102 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:04:56,104 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:04:56,229 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:04:57,031 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:04:57,312 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@1907c521: startup date [Fri Aug 19 14:04:56 CEST 2022]; root of context hierarchy
2022-08-19 14:04:57,613 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2022-08-19 14:04:57,622 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 9 ms.
2022-08-19 14:04:57,722 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:04:57,883 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2022-08-19 14:04:58,072 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 8.4.3 by Redgate
2022-08-19 14:04:58,073 INFO [main] org.flywaydb.core.internal.database.base.BaseDatabaseType: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2022-08-19 14:04:58,272 INFO [main] org.springframework.jdbc.datasource.SingleConnectionDataSource: Established shared JDBC Connection: org.hsqldb.jdbc.JDBCConnection@4e47d82d
2022-08-19 14:04:58,373 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@1907c521: startup date [Fri Aug 19 14:04:56 CEST 2022]; root of context hierarchy
2022-08-19 14:04:58,477 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.161 s - in org.appng.application.manager.business.SqlExecutorTest
[INFO] Running org.appng.application.manager.business.EnvironmentTest
2022-08-19 14:04:59,111 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:04:59,112 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@c54c33, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6789f753, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5bcee825, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5b5b768c, org.springframework.test.context.transaction.TransactionalTestExecutionListener@71d51d00, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@59ce5f06]
2022-08-19 14:04:59,124 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:04:59,171 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:04:59,181 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:04:59,216 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:04:59,224 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7582eced: startup date [Fri Aug 19 14:04:59 CEST 2022]; root of context hierarchy
2022-08-19 14:04:59,259 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:04:59,259 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:04:59,260 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:04:59,261 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:04:59,261 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:04:59,261 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:04:59,261 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:04:59,261 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:04:59,263 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:04:59,387 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:00,028 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:00,355 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7582eced: startup date [Fri Aug 19 14:04:59 CEST 2022]; root of context hierarchy
2022-08-19 14:05:00,702 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:00,991 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7582eced: startup date [Fri Aug 19 14:04:59 CEST 2022]; root of context hierarchy
2022-08-19 14:05:00,992 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.539 s - in org.appng.application.manager.business.EnvironmentTest
[INFO] Running org.appng.application.manager.business.LdapUsersTest
2022-08-19 14:05:01,656 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:01,656 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@29f255dc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@847f216, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@64f34c8e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@49314119, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7256a156, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@45363a48]
2022-08-19 14:05:01,669 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:01,715 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:01,727 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:01,770 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:01,780 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@78a53ea7: startup date [Fri Aug 19 14:05:01 CEST 2022]; root of context hierarchy
2022-08-19 14:05:01,818 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:01,819 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:01,819 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:01,820 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:01,820 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:01,820 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:01,821 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:01,821 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:01,823 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:01,956 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:02,794 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:03,112 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@78a53ea7: startup date [Fri Aug 19 14:05:01 CEST 2022]; root of context hierarchy
2022-08-19 14:05:03,392 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:03,545 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@78a53ea7: startup date [Fri Aug 19 14:05:01 CEST 2022]; root of context hierarchy
2022-08-19 14:05:03,547 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.611 s <<< FAILURE! - in org.appng.application.manager.business.LdapUsersTest
[ERROR] testUsers(org.appng.application.manager.business.LdapUsersTest) Time elapsed: 0.137 s <<< FAILURE!
junit.framework.AssertionFailedError:
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '2' but was '3' - comparing <datasource...> at /datasource[1] to <datasource...> at /datasource[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="ldapUsers">
<config>
<title id="ldap.users">LDAP Users</title>
<params/>
<meta-data bindClass="org.appng.application.manager.business.LdapUsers$LdapUser">
<field name="name" type="text" binding="name">
<label id="name">Name</label>
</field>
<field name="realname" type="text" binding="realname">
<label id="realname">Real name</label>
</field>
<field name="type" type="text" binding="type">
<label id="type">Type</label>
</field>
<field name="dn" type="text" displayLength="80" binding="dn">
<label id="distinguishedName">Distinguished Name</label>
</field>
</meta-data>
</config>
<messages ref="ldapUsers">
<message ref="ldapUsers" class="INVALID">LDAP Authentication is disabled. Set site property 'ldapDisabled' to 'false' to enable.</message>
</messages>
<data>
<resultset chunk="0" chunkname="ldapUsers" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '2' but was '3' - comparing <datasource...> at /datasource[1] to <datasource...> at /datasource[1]
at org.appng.application.manager.business.LdapUsersTest.testUsers(LdapUsersTest.java:40)
[INFO] Running org.appng.application.manager.business.GroupsTest
2022-08-19 14:05:04,270 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:04,270 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@48b65820, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@2fb8c8d, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@40fd003d, org.springframework.test.context.support.DirtiesContextTestExecutionListener@362193d4, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4c2caa68, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@12edc884]
2022-08-19 14:05:04,280 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:04,319 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:04,327 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:04,356 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:04,363 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@3c55ac: startup date [Fri Aug 19 14:05:04 CEST 2022]; root of context hierarchy
2022-08-19 14:05:04,394 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:04,395 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:04,395 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:04,395 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:04,396 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:04,396 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:04,396 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:04,396 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:04,397 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:04,520 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:05,138 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:05,521 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@3c55ac: startup date [Fri Aug 19 14:05:04 CEST 2022]; root of context hierarchy
2022-08-19 14:05:05,772 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:05,878 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2022-08-19 14:05:05,991 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2022-08-19 14:05:06,097 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2
2022-08-19 14:05:06,204 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost
2022-08-19 14:05:06,477 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:06,477 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:06,477 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:06,478 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:06,478 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:06,588 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admin
2022-08-19 14:05:07,511 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2022-08-19 14:05:07,760 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Group users
2022-08-19 14:05:08,130 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2022-08-19 14:05:08,238 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group Administrators
2022-08-19 14:05:08,824 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Group Administrators
2022-08-19 14:05:09,374 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@3c55ac: startup date [Fri Aug 19 14:05:04 CEST 2022]; root of context hierarchy
2022-08-19 14:05:09,376 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.715 s - in org.appng.application.manager.business.GroupsTest
[INFO] Running org.appng.application.manager.business.PlatformPropertiesTest
2022-08-19 14:05:09,993 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:09,993 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2393205b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4f2211d6, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2bffd5ab, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2be19dc1, org.springframework.test.context.transaction.TransactionalTestExecutionListener@11caf11e, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4eb9ee50]
2022-08-19 14:05:10,004 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:10,045 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:10,056 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:10,086 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:10,093 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@3c16b192: startup date [Fri Aug 19 14:05:10 CEST 2022]; root of context hierarchy
2022-08-19 14:05:10,124 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:10,124 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:10,125 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:10,126 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:10,126 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:10,126 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:10,126 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:10,127 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:10,128 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:10,252 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:10,855 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:11,160 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@3c16b192: startup date [Fri Aug 19 14:05:10 CEST 2022]; root of context hierarchy
2022-08-19 14:05:11,405 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:11,656 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:11,656 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:11,656 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:11,656 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:11,657 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:11,657 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:11,657 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:11,657 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:11,657 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:11,657 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:11,658 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:11,658 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:11,769 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.testproperty
2022-08-19 14:05:12,097 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.anotherproperty
2022-08-19 14:05:12,471 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.booleanProp
2022-08-19 14:05:12,960 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.multilineProp
2022-08-19 14:05:14,092 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.testproperty
2022-08-19 14:05:14,706 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@3c16b192: startup date [Fri Aug 19 14:05:10 CEST 2022]; root of context hierarchy
2022-08-19 14:05:14,707 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.242 s - in org.appng.application.manager.business.PlatformPropertiesTest
[INFO] Running org.appng.application.manager.business.RoleTest
2022-08-19 14:05:15,240 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:15,240 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2fdcbf8f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4419ee6a, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@26a4c024, org.springframework.test.context.support.DirtiesContextTestExecutionListener@39c54da2, org.springframework.test.context.transaction.TransactionalTestExecutionListener@73afbdd2, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@784e7773]
2022-08-19 14:05:15,254 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:15,298 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:15,308 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:15,340 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:15,348 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@6b50d74c: startup date [Fri Aug 19 14:05:15 CEST 2022]; root of context hierarchy
2022-08-19 14:05:15,377 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:15,378 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:15,378 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:15,378 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:15,378 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:15,378 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:15,379 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:15,379 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:15,380 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:15,503 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:16,455 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:16,766 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@6b50d74c: startup date [Fri Aug 19 14:05:15 CEST 2022]; root of context hierarchy
2022-08-19 14:05:17,031 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:17,137 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2022-08-19 14:05:17,249 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this
2022-08-19 14:05:17,355 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that
2022-08-19 14:05:17,568 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2022-08-19 14:05:17,731 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:17,732 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:17,732 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:17,732 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:17,732 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:17,848 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2
2022-08-19 14:05:18,261 ERROR [main] org.appng.application.manager.business.Roles: error while performing action
org.appng.api.BusinessException: a role role2 already exists for application application
at org.appng.application.manager.service.ManagerService.checkUniqueRoleName(ManagerService.java:819)
at org.appng.application.manager.service.ManagerService.createRole(ManagerService.java:793)
at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$4d247dde.createRole(<generated>)
at org.appng.application.manager.business.Roles.perform(Roles.java:57)
at org.appng.application.manager.business.Roles.perform(Roles.java:42)
at org.appng.api.support.CallableAction.execute(CallableAction.java:442)
at org.appng.api.support.CallableAction.perform(CallableAction.java:336)
at org.appng.api.support.CallableAction.perform(CallableAction.java:308)
at org.appng.application.manager.business.RoleTest.testCreateNameExists(RoleTest.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
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:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
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)
2022-08-19 14:05:18,538 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Role role2
2022-08-19 14:05:19,164 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Role role.updated
2022-08-19 14:05:19,294 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@6b50d74c: startup date [Fri Aug 19 14:05:15 CEST 2022]; root of context hierarchy
2022-08-19 14:05:19,295 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.493 s - in org.appng.application.manager.business.RoleTest
[INFO] Running org.appng.application.manager.business.PermissionsTest
2022-08-19 14:05:19,736 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:19,737 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6014382f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@19ee41c0, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@6c8f42ee, org.springframework.test.context.support.DirtiesContextTestExecutionListener@9f680b5, org.springframework.test.context.transaction.TransactionalTestExecutionListener@48e214e4, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@23e9ac79]
2022-08-19 14:05:19,746 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:19,779 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:19,787 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:19,816 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:19,822 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@829dfe9: startup date [Fri Aug 19 14:05:19 CEST 2022]; root of context hierarchy
2022-08-19 14:05:19,853 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:19,853 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:19,853 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:19,853 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:19,854 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:19,854 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:19,854 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:19,854 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:19,855 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:19,979 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:20,629 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:20,889 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@829dfe9: startup date [Fri Aug 19 14:05:19 CEST 2022]; root of context hierarchy
2022-08-19 14:05:21,138 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:21,244 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2022-08-19 14:05:21,351 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2022-08-19 14:05:21,587 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this
2022-08-19 14:05:21,692 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that
2022-08-19 14:05:21,843 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:21,844 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:21,844 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:21,845 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:21,845 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:21,955 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.something
2022-08-19 14:05:22,631 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Permission do.something
2022-08-19 14:05:23,254 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Permission do.somethingelse
2022-08-19 14:05:23,534 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@829dfe9: startup date [Fri Aug 19 14:05:19 CEST 2022]; root of context hierarchy
2022-08-19 14:05:23,535 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.236 s - in org.appng.application.manager.business.PermissionsTest
[INFO] Running org.appng.application.manager.business.webservice.LogViewerTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 s - in org.appng.application.manager.business.webservice.LogViewerTest
[INFO] Running org.appng.application.manager.business.ClusterStateTest
2022-08-19 14:05:24,077 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:24,077 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5c315271, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1beef7b7, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2a51ee3a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2e373c9c, org.springframework.test.context.transaction.TransactionalTestExecutionListener@784341f1, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@14fc4201]
2022-08-19 14:05:24,085 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:24,117 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:24,124 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:24,147 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:24,153 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@26bd57e5: startup date [Fri Aug 19 14:05:24 CEST 2022]; root of context hierarchy
2022-08-19 14:05:24,178 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:24,178 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:24,178 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:24,179 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:24,179 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:24,179 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:24,179 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:24,179 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:24,181 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:24,307 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:24,918 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:25,173 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@26bd57e5: startup date [Fri Aug 19 14:05:24 CEST 2022]; root of context hierarchy
2022-08-19 14:05:25,428 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:25,459 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@26bd57e5: startup date [Fri Aug 19 14:05:24 CEST 2022]; root of context hierarchy
2022-08-19 14:05:25,460 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.827 s - in org.appng.application.manager.business.ClusterStateTest
[INFO] Running org.appng.application.manager.business.NodePropertiesTest
2022-08-19 14:05:25,913 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:25,913 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7c254648, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@8f70a34, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4272c583, org.springframework.test.context.support.DirtiesContextTestExecutionListener@8ede4a4, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5eace4f7, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@6e3af3bc]
2022-08-19 14:05:25,921 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:25,953 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:25,963 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:25,994 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:26,004 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5d9f6613: startup date [Fri Aug 19 14:05:26 CEST 2022]; root of context hierarchy
2022-08-19 14:05:26,034 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:26,034 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:26,035 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:26,035 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:26,035 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:26,035 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:26,035 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:26,035 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:26,037 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:26,158 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:26,737 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:27,004 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@5d9f6613: startup date [Fri Aug 19 14:05:26 CEST 2022]; root of context hierarchy
2022-08-19 14:05:27,244 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:27,386 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:27,386 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:27,387 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:27,387 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:27,387 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:27,387 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:27,387 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:27,387 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:27,388 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:27,388 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:27,388 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:27,388 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:27,495 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.node.foobar.foo
2022-08-19 14:05:28,227 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.node.foobar.foo
2022-08-19 14:05:28,500 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Property platform.node.foobar.foo
2022-08-19 14:05:28,508 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@5d9f6613: startup date [Fri Aug 19 14:05:26 CEST 2022]; root of context hierarchy
2022-08-19 14:05:28,509 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.238 s - in org.appng.application.manager.business.NodePropertiesTest
[INFO] Running org.appng.application.manager.business.PlatformEventsTest
2022-08-19 14:05:29,153 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:29,153 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@500503ac, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4f0ad127, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@45a13faf, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4e0e4ae, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7c808ffd, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@651afaa3]
2022-08-19 14:05:29,161 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:29,194 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:29,201 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:29,228 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:29,235 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@2acca9e3: startup date [Fri Aug 19 14:05:29 CEST 2022]; root of context hierarchy
2022-08-19 14:05:29,270 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:29,270 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:29,271 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:29,272 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:29,272 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:29,272 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:29,272 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:29,273 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:29,275 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:29,397 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:30,059 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:30,415 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@2acca9e3: startup date [Fri Aug 19 14:05:29 CEST 2022]; root of context hierarchy
2022-08-19 14:05:30,668 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:31,227 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@2acca9e3: startup date [Fri Aug 19 14:05:29 CEST 2022]; root of context hierarchy
2022-08-19 14:05:31,228 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.516 s - in org.appng.application.manager.business.PlatformEventsTest
[INFO] Running org.appng.application.manager.business.DataBaseConnectionsTest
2022-08-19 14:05:31,671 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:31,671 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@681465bc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@11ca2bb4, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7df60129, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7d4def16, org.springframework.test.context.transaction.TransactionalTestExecutionListener@36bf5c86, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7668566e]
2022-08-19 14:05:31,680 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:31,715 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:31,724 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:31,756 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:31,763 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2022-08-19 14:05:31,769 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'sessions' with a different definition: replacing [Generic bean: class [org.appng.application.manager.business.Sessions]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/var/lib/jenkins/workspace/appNG_Manager/target/classes/org/appng/application/manager/business/Sessions.class]] with [Generic bean: class [org.appng.application.manager.business.SessionsTestBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test.xml]]
2022-08-19 14:05:31,770 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@297d93e1: startup date [Fri Aug 19 14:05:31 CEST 2022]; root of context hierarchy
2022-08-19 14:05:31,799 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:31,800 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:31,800 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:31,800 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:31,800 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:31,801 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:31,801 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:31,801 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:31,802 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:31,922 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:32,492 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:32,754 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@297d93e1: startup date [Fri Aug 19 14:05:31 CEST 2022]; root of context hierarchy
2022-08-19 14:05:33,020 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2022-08-19 14:05:33,022 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 2 ms.
2022-08-19 14:05:33,107 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:33,251 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2022-08-19 14:05:33,357 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 8.4.3 by Redgate
2022-08-19 14:05:33,358 INFO [main] org.flywaydb.core.internal.database.base.BaseDatabaseType: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2022-08-19 14:05:33,568 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2022-08-19 14:05:33,673 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 8.4.3 by Redgate
2022-08-19 14:05:33,674 INFO [main] org.flywaydb.core.internal.database.base.BaseDatabaseType: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2022-08-19 14:05:33,860 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2022-08-19 14:05:33,966 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 8.4.3 by Redgate
2022-08-19 14:05:33,967 INFO [main] org.flywaydb.core.internal.database.base.BaseDatabaseType: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2022-08-19 14:05:33,982 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:33,984 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:33,984 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:33,984 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:34,000 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@297d93e1: startup date [Fri Aug 19 14:05:31 CEST 2022]; root of context hierarchy
2022-08-19 14:05:34,103 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.915 s - in org.appng.application.manager.business.DataBaseConnectionsTest
[INFO] Running org.appng.application.manager.business.MailTest
2022-08-19 14:05:34,590 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:34,590 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5159f32, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6861a8cd, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3d58103c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@48ab46c6, org.springframework.test.context.transaction.TransactionalTestExecutionListener@616ebcee, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4ac47ce]
2022-08-19 14:05:34,598 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:34,634 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:34,643 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:34,671 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:34,678 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@6b078a06: startup date [Fri Aug 19 14:05:34 CEST 2022]; root of context hierarchy
2022-08-19 14:05:34,710 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:34,710 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:34,710 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:34,711 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:34,711 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:34,711 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:34,711 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:34,711 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:34,713 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:34,833 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:35,414 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:35,685 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@6b078a06: startup date [Fri Aug 19 14:05:34 CEST 2022]; root of context hierarchy
2022-08-19 14:05:35,930 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:35,957 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:35,958 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:35,958 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:35,958 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:35,974 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@6b078a06: startup date [Fri Aug 19 14:05:34 CEST 2022]; root of context hierarchy
2022-08-19 14:05:35,975 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.959 s - in org.appng.application.manager.business.MailTest
[INFO] Running org.appng.application.manager.business.CacheTest
2022-08-19 14:05:36,556 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:36,558 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@e92a402, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@31fe7d02, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@15cb73c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@9a877e1, org.springframework.test.context.transaction.TransactionalTestExecutionListener@12816062, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@50d5195d]
Aug 19, 2022 2:05:36 PM com.hazelcast.config.ClasspathXmlConfig
INFO: Configuring Hazelcast from 'hazelcast-test.xml'.
2022-08-19 14:05:36,990 INFO [main] com.hazelcast.system.logo : [10.102.4.103]:5702 [appNG] [5.0.2]
+ + o o o o---o o----o o o---o o o----o o--o--o
+ + + + | | / \ / | | / / \ | |
+ + + + + o----o o o o o----o | o o o o----o |
+ + + + | | / \ / | | \ / \ | |
+ + o o o o o---o o----o o----o o---o o o o----o o
2022-08-19 14:05:36,991 INFO [main] com.hazelcast.system : [10.102.4.103]:5702 [appNG] [5.0.2] Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.
2022-08-19 14:05:36,991 INFO [main] com.hazelcast.system : [10.102.4.103]:5702 [appNG] [5.0.2] Hazelcast Platform 5.0.2 (20211221 - 18eec9f) starting at [10.102.4.103]:5702
2022-08-19 14:05:36,991 INFO [main] com.hazelcast.system : [10.102.4.103]:5702 [appNG] [5.0.2] Cluster name: appNG
2022-08-19 14:05:36,991 INFO [main] com.hazelcast.system : [10.102.4.103]:5702 [appNG] [5.0.2] The Jet engine is disabled.
To enable the Jet engine on the members, please do one of the following:
- Change member config using Java API: config.getJetConfig().setEnabled(true);
- Change XML/YAML configuration property: Set hazelcast.jet.enabled to true
- Add system property: -Dhz.jet.enabled=true
- Add environment variable: HZ_JET_ENABLED=true
2022-08-19 14:05:37,800 INFO [main] com.hazelcast.system.security : [10.102.4.103]:5702 [appNG] [5.0.2] Enable DEBUG/FINE log level for log category com.hazelcast.system.security or use -Dhazelcast.security.recommendations system property to see 🔒 security recommendations and the status of current config.
2022-08-19 14:05:37,919 WARN [main] com.hazelcast.cp.CPSubsystem : [10.102.4.103]:5702 [appNG] [5.0.2] CP Subsystem is not enabled. CP data structures will operate in UNSAFE mode! Please note that UNSAFE mode will not provide strong consistency guarantees.
2022-08-19 14:05:38,339 INFO [main] com.hazelcast.internal.diagnostics.Diagnostics: [10.102.4.103]:5702 [appNG] [5.0.2] Diagnostics disabled. To enable add -Dhazelcast.diagnostics.enabled=true to the JVM arguments.
2022-08-19 14:05:38,347 INFO [main] com.hazelcast.core.LifecycleService: [10.102.4.103]:5702 [appNG] [5.0.2] [10.102.4.103]:5702 is STARTING
2022-08-19 14:05:38,383 WARN [main] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] No join method is enabled! Starting standalone.
2022-08-19 14:05:38,384 WARN [main] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] Config seed port is 5701 and cluster size is 1. Some of the ports seem occupied!
2022-08-19 14:05:38,405 INFO [main] com.hazelcast.core.LifecycleService: [10.102.4.103]:5702 [appNG] [5.0.2] [10.102.4.103]:5702 is STARTED
2022-08-19 14:05:38,435 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:38,483 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:38,492 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:38,530 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:38,539 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@4a8310c5: startup date [Fri Aug 19 14:05:38 CEST 2022]; root of context hierarchy
2022-08-19 14:05:38,576 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:38,577 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:38,577 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:38,577 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:38,577 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:38,578 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:38,578 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:38,578 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:38,580 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:38,704 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:39,339 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:39,611 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@4a8310c5: startup date [Fri Aug 19 14:05:38 CEST 2022]; root of context hierarchy
2022-08-19 14:05:39,859 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:39,869 INFO [main] com.hazelcast.internal.partition.impl.PartitionStateManager: [10.102.4.103]:5702 [appNG] [5.0.2] Initializing cluster partition table arrangement...
2022-08-19 14:05:39,915 INFO [main] com.hazelcast.cache.impl.CacheService: [10.102.4.103]:5702 [appNG] [5.0.2] Added cache config: CacheConfig{name='pageCache-localhost', managerPrefix='/hz/', inMemoryFormat=BINARY, backupCount=1, hotRestart=HotRestartConfig{enabled=false, fsync=false}, dataPersistenceConfig=DataPersistenceConfig{enabled=false, fsync=false}, wanReplicationRef=null, merkleTreeConfig=MerkleTreeConfig{enabled=null, depth=10}}
2022-08-19 14:05:39,938 INFO [main] org.appng.core.service.CacheService: Created cache 'pageCache-localhost' (ttl: 36000s, maximum entries: 20000, statistics: true)
2022-08-19 14:05:40,378 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@4a8310c5: startup date [Fri Aug 19 14:05:38 CEST 2022]; root of context hierarchy
2022-08-19 14:05:40,379 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.26 s - in org.appng.application.manager.business.CacheTest
[INFO] Running org.appng.application.manager.business.ApplicationPropertiesTest
2022-08-19 14:05:40,827 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:40,831 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7ea87fff, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@213ecd1c, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@50860320, org.springframework.test.context.support.DirtiesContextTestExecutionListener@a6bd29b, org.springframework.test.context.transaction.TransactionalTestExecutionListener@378103ae, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@60006e6f]
2022-08-19 14:05:40,845 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:40,875 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:40,883 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:40,914 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:40,923 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@54d41bd2: startup date [Fri Aug 19 14:05:40 CEST 2022]; root of context hierarchy
2022-08-19 14:05:40,963 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:40,964 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:40,964 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:40,965 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:40,965 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:40,965 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:40,965 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:40,965 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:40,967 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:41,097 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:41,670 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:41,939 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@54d41bd2: startup date [Fri Aug 19 14:05:40 CEST 2022]; root of context hierarchy
2022-08-19 14:05:42,252 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:42,358 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application manager
2022-08-19 14:05:42,643 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:42,643 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:42,643 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:42,643 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:42,644 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:42,644 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:42,644 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:42,644 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:42,644 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:42,645 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:42,645 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:42,645 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:42,758 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.testproperty
2022-08-19 14:05:43,088 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.anotherproperty
2022-08-19 14:05:43,806 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.application.manager.testproperty
2022-08-19 14:05:44,033 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@54d41bd2: startup date [Fri Aug 19 14:05:40 CEST 2022]; root of context hierarchy
2022-08-19 14:05:44,034 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.646 s - in org.appng.application.manager.business.ApplicationPropertiesTest
[INFO] Running org.appng.application.manager.business.SubjectsTest
2022-08-19 14:05:44,471 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:44,471 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@25f3e9de, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@5676a5a8, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3c751c36, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2ec1a5cf, org.springframework.test.context.transaction.TransactionalTestExecutionListener@14c614d0, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@77fea805]
2022-08-19 14:05:44,480 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:44,522 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:44,533 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:44,564 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:44,571 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@40b2b00d: startup date [Fri Aug 19 14:05:44 CEST 2022]; root of context hierarchy
2022-08-19 14:05:44,606 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:44,606 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:44,606 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:44,607 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:44,607 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:44,608 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:44,608 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:44,608 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:44,610 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:44,735 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:45,313 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:45,573 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@40b2b00d: startup date [Fri Aug 19 14:05:44 CEST 2022]; root of context hierarchy
2022-08-19 14:05:45,822 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:45,928 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admins
2022-08-19 14:05:46,034 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2022-08-19 14:05:46,279 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:46,279 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:46,279 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:46,279 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:46,280 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:46,280 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:46,280 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:46,280 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:46,281 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:46,281 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:46,281 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2022-08-19 14:05:47,236 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject admin
2022-08-19 14:05:47,261 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin
2022-08-19 14:05:48,480 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject user
2022-08-19 14:05:48,489 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject user
2022-08-19 14:05:48,880 ERROR [main] org.appng.application.manager.business.Subjects: Failed to create the user.
org.appng.api.BusinessException: subject 'admin' already exists
at org.appng.application.manager.service.ManagerService.createSubject(ManagerService.java:1330)
at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$4d247dde.createSubject(<generated>)
at org.appng.application.manager.business.Subjects.perform(Subjects.java:64)
at org.appng.application.manager.business.Subjects.perform(Subjects.java:48)
at org.appng.api.support.CallableAction.execute(CallableAction.java:442)
at org.appng.api.support.CallableAction.perform(CallableAction.java:336)
at org.appng.api.support.CallableAction.perform(CallableAction.java:308)
at org.appng.application.manager.business.SubjectsTest.testCreateNameExists(SubjectsTest.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
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:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
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)
2022-08-19 14:05:49,526 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Subject user
2022-08-19 14:05:51,328 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin
2022-08-19 14:05:52,449 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@40b2b00d: startup date [Fri Aug 19 14:05:44 CEST 2022]; root of context hierarchy
2022-08-19 14:05:52,450 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.122 s - in org.appng.application.manager.business.SubjectsTest
[INFO] Running org.appng.application.manager.business.SessionsTest
2022-08-19 14:05:53,596 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:53,597 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@19c1d153, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@79a12759, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@51b7390f, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7646ef37, org.springframework.test.context.transaction.TransactionalTestExecutionListener@611ae3e5, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@11719b70]
2022-08-19 14:05:53,604 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:53,637 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:53,644 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:53,675 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:53,684 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2022-08-19 14:05:53,692 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'sessions' with a different definition: replacing [Generic bean: class [org.appng.application.manager.business.Sessions]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/var/lib/jenkins/workspace/appNG_Manager/target/classes/org/appng/application/manager/business/Sessions.class]] with [Generic bean: class [org.appng.application.manager.business.SessionsTestBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test.xml]]
2022-08-19 14:05:53,693 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@3898d04c: startup date [Fri Aug 19 14:05:53 CEST 2022]; root of context hierarchy
2022-08-19 14:05:53,722 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:53,722 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:53,723 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:53,723 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:53,723 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:53,723 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:53,724 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:53,724 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:53,725 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:53,846 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:54,484 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:54,715 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@3898d04c: startup date [Fri Aug 19 14:05:53 CEST 2022]; root of context hierarchy
2022-08-19 14:05:54,955 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2022-08-19 14:05:54,958 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 3 ms.
2022-08-19 14:05:55,052 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:05:55,627 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@3898d04c: startup date [Fri Aug 19 14:05:53 CEST 2022]; root of context hierarchy
2022-08-19 14:05:55,729 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.04 s - in org.appng.application.manager.business.SessionsTest
[INFO] Running org.appng.application.manager.business.AbstractTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.appng.application.manager.business.AbstractTest
[INFO] Running org.appng.application.manager.job.DatabaseReportJobTest
2022-08-19 14:05:56,641 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-08-19 14:05:56,641 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@62267da5, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@525c82e0, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@6353af57, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1ae0de28, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4b7a4384, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7d078389]
2022-08-19 14:05:56,649 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 14:05:56,679 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-08-19 14:05:56,686 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-08-19 14:05:56,713 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-08-19 14:05:56,719 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@1fdd2da5: startup date [Fri Aug 19 14:05:56 CEST 2022]; root of context hierarchy
2022-08-19 14:05:56,746 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 14:05:56,746 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 14:05:56,747 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 14:05:56,747 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 14:05:56,747 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 14:05:56,747 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 14:05:56,747 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 14:05:56,748 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 14:05:56,749 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 14:05:56,873 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:57,436 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 14:05:57,695 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@1fdd2da5: startup date [Fri Aug 19 14:05:56 CEST 2022]; root of context hierarchy
2022-08-19 14:05:57,932 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 14:06:04,587 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@1fdd2da5: startup date [Fri Aug 19 14:05:56 CEST 2022]; root of context hierarchy
2022-08-19 14:06:04,588 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.647 s - in org.appng.application.manager.job.DatabaseReportJobTest
2022-08-19 14:06:05,297 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] Running shutdown hook... Current state: ACTIVE
2022-08-19 14:06:05,299 INFO [hz.ShutdownThread] com.hazelcast.core.LifecycleService: [10.102.4.103]:5702 [appNG] [5.0.2] [10.102.4.103]:5702 is SHUTTING_DOWN
2022-08-19 14:06:05,307 INFO [hz.ShutdownThread] com.hazelcast.core.LifecycleService: [10.102.4.103]:5702 [appNG] [5.0.2] [10.102.4.103]:5702 is SHUTTING_DOWN
2022-08-19 14:06:05,313 INFO [hz.test.cached.thread-2] com.hazelcast.internal.partition.impl.MigrationManager: [10.102.4.103]:5702 [appNG] [5.0.2] Shutdown request of Member [10.102.4.103]:5702 - fb9caf3e-2498-47a2-af12-7997532b7f92 this is handled
2022-08-19 14:06:05,323 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] Shutting down connection manager...
2022-08-19 14:06:05,332 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] Shutting down node engine...
2022-08-19 14:06:05,335 INFO [hz.ShutdownThread] com.hazelcast.cache.impl.CacheService: [10.102.4.103]:5702 [appNG] [5.0.2] Removed cache config: CacheConfig{name='pageCache-localhost', managerPrefix='/hz/', inMemoryFormat=BINARY, backupCount=1, hotRestart=HotRestartConfig{enabled=false, fsync=false}, dataPersistenceConfig=DataPersistenceConfig{enabled=false, fsync=false}, wanReplicationRef=null, merkleTreeConfig=MerkleTreeConfig{enabled=null, depth=10}}
2022-08-19 14:06:05,347 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.NodeExtension: [10.102.4.103]:5702 [appNG] [5.0.2] Destroying node NodeExtension.
2022-08-19 14:06:05,348 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] Hazelcast Shutdown is completed in 40 ms.
2022-08-19 14:06:05,348 INFO [hz.ShutdownThread] com.hazelcast.core.LifecycleService: [10.102.4.103]:5702 [appNG] [5.0.2] [10.102.4.103]:5702 is SHUTDOWN
2022-08-19 14:06:05,348 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] Node is already shutting down... Waiting for shutdown process to complete...
2022-08-19 14:06:05,349 INFO [hz.ShutdownThread] com.hazelcast.core.LifecycleService: [10.102.4.103]:5702 [appNG] [5.0.2] [10.102.4.103]:5702 is SHUTDOWN
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] LdapUsersTest.testUsers:40->TestBase.validate:526 XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '2' but was '3' - comparing <datasource...> at /datasource[1] to <datasource...> at /datasource[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="ldapUsers">
<config>
<title id="ldap.users">LDAP Users</title>
<params/>
<meta-data bindClass="org.appng.application.manager.business.LdapUsers$LdapUser">
<field name="name" type="text" binding="name">
<label id="name">Name</label>
</field>
<field name="realname" type="text" binding="realname">
<label id="realname">Real name</label>
</field>
<field name="type" type="text" binding="type">
<label id="type">Type</label>
</field>
<field name="dn" type="text" displayLength="80" binding="dn">
<label id="distinguishedName">Distinguished Name</label>
</field>
</meta-data>
</config>
<messages ref="ldapUsers">
<message ref="ldapUsers" class="INVALID">LDAP Authentication is disabled. Set site property 'ldapDisabled' to 'false' to enable.</message>
</messages>
<data>
<resultset chunk="0" chunkname="ldapUsers" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '2' but was '3' - comparing <datasource...> at /datasource[1] to <datasource...> at /datasource[1]
[INFO]
[ERROR] Tests run: 92, Failures: 1, Errors: 0, Skipped: 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:51 min
[INFO] Finished at: 2022-08-19T14:06:05+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project appng-manager: There are test failures.
[ERROR]
[ERROR] Please refer to /var/lib/jenkins/workspace/appNG_Manager/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException