pl.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:1620)
... 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 15:16:41,644 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2
2022-08-19 15:16:41,977 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@67d8057d: startup date [Fri Aug 19 15:16:35 CEST 2022]; root of context hierarchy
2022-08-19 15:16:41,980 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: 6.953 s - in org.appng.application.manager.business.SitesTest
[INFO] Running org.appng.application.manager.business.RepositoriesTest
2022-08-19 15:16:42,443 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 15:16:42,443 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@587ef1d1, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@32aa2181, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@18b1261f, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7dd6144b, org.springframework.test.context.transaction.TransactionalTestExecutionListener@52899259, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@314c07a0]
2022-08-19 15:16:42,454 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:16:42,501 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 15:16:42,514 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 15:16:42,554 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 15:16:42,568 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@6d656254: startup date [Fri Aug 19 15:16:42 CEST 2022]; root of context hierarchy
2022-08-19 15:16:42,616 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:16:42,616 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:16:42,616 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:16:42,618 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:16:42,618 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:16:42,618 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:16:42,618 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:16:42,618 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:16:42,621 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:16:42,751 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:16:43,467 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:16:43,998 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@6d656254: startup date [Fri Aug 19 15:16:42 CEST 2022]; root of context hierarchy
2022-08-19 15:16:44,276 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:16:44,432 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 15:16:44,432 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 15:16:44,432 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 15:16:44,432 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 15:16:44,548 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Local
2022-08-19 15:16:44,947 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:959)
at org.appng.application.manager.service.ManagerService.validateRepository(ManagerService.java:944)
at org.appng.application.manager.service.ManagerService.createRepository(ManagerService.java:872)
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 15:16:45,221 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me
2022-08-19 15:16:45,332 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Repository Delete me
2022-08-19 15:16:45,696 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me
2022-08-19 15:16:46,446 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@6d656254: startup date [Fri Aug 19 15:16:42 CEST 2022]; root of context hierarchy
2022-08-19 15:16:46,448 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.432 s - in org.appng.application.manager.business.RepositoriesTest
[INFO] Running org.appng.application.manager.business.SqlExecutorTest
2022-08-19 15:16:46,891 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 15:16:46,891 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@518e5615, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@2f3c9c57, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@64bd5a02, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2bb9a24f, org.springframework.test.context.transaction.TransactionalTestExecutionListener@8a477d3, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@43b19cb4]
2022-08-19 15:16:46,900 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:16:46,939 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 15:16:46,949 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 15:16:46,982 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 15:16:46,991 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2022-08-19 15:16:47,002 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 15:16:47,002 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@2b1fcba5: startup date [Fri Aug 19 15:16:47 CEST 2022]; root of context hierarchy
2022-08-19 15:16:47,035 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:16:47,036 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:16:47,036 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:16:47,037 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:16:47,037 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:16:47,037 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:16:47,038 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:16:47,038 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:16:47,039 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:16:47,163 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:16:47,859 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:16:48,186 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@2b1fcba5: startup date [Fri Aug 19 15:16:47 CEST 2022]; root of context hierarchy
2022-08-19 15:16:48,482 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2022-08-19 15:16:48,485 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 3 ms.
2022-08-19 15:16:48,663 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:16:48,827 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2022-08-19 15:16:49,030 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 8.4.3 by Redgate
2022-08-19 15:16:49,031 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 15:16:49,217 INFO [main] org.springframework.jdbc.datasource.SingleConnectionDataSource: Established shared JDBC Connection: org.hsqldb.jdbc.JDBCConnection@61bc2e49
2022-08-19 15:16:49,309 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@2b1fcba5: startup date [Fri Aug 19 15:16:47 CEST 2022]; root of context hierarchy
2022-08-19 15:16:49,413 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: 2.958 s - in org.appng.application.manager.business.SqlExecutorTest
[INFO] Running org.appng.application.manager.business.EnvironmentTest
2022-08-19 15:16:49,860 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 15:16:49,860 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@271318f8, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3190aae, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@25171e47, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4252bdb8, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7d39b9d2, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@363e90a1]
2022-08-19 15:16:49,869 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:16:49,906 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 15:16:49,916 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 15:16:49,949 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 15:16:49,957 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7cae92ba: startup date [Fri Aug 19 15:16:49 CEST 2022]; root of context hierarchy
2022-08-19 15:16:49,990 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:16:49,991 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:16:49,991 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:16:49,992 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:16:49,992 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:16:49,992 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:16:49,992 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:16:49,992 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:16:49,994 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:16:50,116 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:16:50,765 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:16:51,093 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7cae92ba: startup date [Fri Aug 19 15:16:49 CEST 2022]; root of context hierarchy
2022-08-19 15:16:51,365 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:16:51,654 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7cae92ba: startup date [Fri Aug 19 15:16:49 CEST 2022]; root of context hierarchy
2022-08-19 15:16:51,656 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.316 s - in org.appng.application.manager.business.EnvironmentTest
[INFO] Running org.appng.application.manager.business.LdapUsersTest
2022-08-19 15:16:52,181 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 15:16:52,181 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5e1b86f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@5cfce937, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7c489d8c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2e749544, org.springframework.test.context.transaction.TransactionalTestExecutionListener@265e6225, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1dd09288]
2022-08-19 15:16:52,195 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:16:52,234 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 15:16:52,250 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 15:16:52,301 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 15:16:52,313 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@2f98a71b: startup date [Fri Aug 19 15:16:52 CEST 2022]; root of context hierarchy
2022-08-19 15:16:52,352 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:16:52,353 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:16:52,353 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:16:52,354 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:16:52,354 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:16:52,354 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:16:52,354 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:16:52,354 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:16:52,356 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:16:52,486 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:16:53,249 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:16:53,565 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@2f98a71b: startup date [Fri Aug 19 15:16:52 CEST 2022]; root of context hierarchy
2022-08-19 15:16:53,820 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:16:53,908 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@2f98a71b: startup date [Fri Aug 19 15:16:52 CEST 2022]; root of context hierarchy
2022-08-19 15:16:53,910 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.532 s <<< FAILURE! - in org.appng.application.manager.business.LdapUsersTest
[ERROR] testUsers(org.appng.application.manager.business.LdapUsersTest) Time elapsed: 0.072 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 15:16:54,720 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 15:16:54,721 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7a4c3e77, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6c1f3028, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5ef2984, org.springframework.test.context.support.DirtiesContextTestExecutionListener@44456f3d, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5fe15e44, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4a6abbe0]
2022-08-19 15:16:54,740 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:16:54,774 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 15:16:54,782 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 15:16:54,811 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 15:16:54,818 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@59e6a54c: startup date [Fri Aug 19 15:16:54 CEST 2022]; root of context hierarchy
2022-08-19 15:16:54,848 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:16:54,848 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:16:54,848 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:16:54,849 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:16:54,849 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:16:54,849 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:16:54,850 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:16:54,850 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:16:54,852 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:16:54,973 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:16:55,642 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:16:55,909 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@59e6a54c: startup date [Fri Aug 19 15:16:54 CEST 2022]; root of context hierarchy
2022-08-19 15:16:56,152 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:16:56,258 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2022-08-19 15:16:56,369 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2022-08-19 15:16:56,475 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2
2022-08-19 15:16:56,594 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost
2022-08-19 15:16:56,871 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 15:16:56,871 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 15:16:56,871 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 15:16:56,871 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 15:16:56,872 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 15:16:56,982 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admin
2022-08-19 15:16:57,824 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2022-08-19 15:16:57,942 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Group users
2022-08-19 15:16:58,303 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2022-08-19 15:16:58,409 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group Administrators
2022-08-19 15:16:59,011 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Group Administrators
2022-08-19 15:16:59,685 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@59e6a54c: startup date [Fri Aug 19 15:16:54 CEST 2022]; root of context hierarchy
2022-08-19 15:16:59,686 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.682 s - in org.appng.application.manager.business.GroupsTest
[INFO] Running org.appng.application.manager.business.PlatformPropertiesTest
2022-08-19 15:17:00,402 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 15:17:00,402 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@28804b51, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@57129d40, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@37521eee, org.springframework.test.context.support.DirtiesContextTestExecutionListener@773ea40d, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5dceb378, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1e75dd1c]
2022-08-19 15:17:00,412 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:17:00,454 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 15:17:00,464 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 15:17:00,493 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 15:17:00,500 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@3b6bc0ad: startup date [Fri Aug 19 15:17:00 CEST 2022]; root of context hierarchy
2022-08-19 15:17:00,533 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:17:00,534 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:17:00,534 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:17:00,535 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:17:00,535 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:17:00,535 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:17:00,536 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:17:00,536 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:17:00,538 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:17:00,663 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:01,326 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:01,678 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@3b6bc0ad: startup date [Fri Aug 19 15:17:00 CEST 2022]; root of context hierarchy
2022-08-19 15:17:02,061 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:17:02,223 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 15:17:02,224 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 15:17:02,224 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 15:17:02,224 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 15:17:02,225 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 15:17:02,225 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 15:17:02,225 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 15:17:02,225 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 15:17:02,226 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 15:17:02,226 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 15:17:02,226 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 15:17:02,226 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 15:17:02,339 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.testproperty
2022-08-19 15:17:02,667 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.anotherproperty
2022-08-19 15:17:03,046 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.booleanProp
2022-08-19 15:17:03,621 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.multilineProp
2022-08-19 15:17:04,758 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.testproperty
2022-08-19 15:17:05,359 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@3b6bc0ad: startup date [Fri Aug 19 15:17:00 CEST 2022]; root of context hierarchy
2022-08-19 15:17:05,362 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.44 s - in org.appng.application.manager.business.PlatformPropertiesTest
[INFO] Running org.appng.application.manager.business.RoleTest
2022-08-19 15:17:05,843 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 15:17:05,844 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1e14d8de, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3507e787, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@65f8ce68, org.springframework.test.context.support.DirtiesContextTestExecutionListener@19e49e74, org.springframework.test.context.transaction.TransactionalTestExecutionListener@218e67be, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2b3f97d7]
2022-08-19 15:17:05,853 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:17:05,885 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 15:17:05,894 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 15:17:05,923 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 15:17:05,930 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@353daf1e: startup date [Fri Aug 19 15:17:05 CEST 2022]; root of context hierarchy
2022-08-19 15:17:05,962 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:17:05,962 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:17:05,962 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:17:05,963 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:17:05,963 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:17:05,963 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:17:05,963 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:17:05,963 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:17:05,964 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:17:06,090 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:07,090 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:07,415 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@353daf1e: startup date [Fri Aug 19 15:17:05 CEST 2022]; root of context hierarchy
2022-08-19 15:17:07,677 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:17:07,784 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2022-08-19 15:17:07,895 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this
2022-08-19 15:17:08,002 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that
2022-08-19 15:17:08,108 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2022-08-19 15:17:08,263 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 15:17:08,264 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 15:17:08,264 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 15:17:08,264 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 15:17:08,264 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 15:17:08,378 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2
2022-08-19 15:17:08,782 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:817)
at org.appng.application.manager.service.ManagerService.createRole(ManagerService.java:791)
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 15:17:09,081 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Role role2
2022-08-19 15:17:09,722 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Role role.updated
2022-08-19 15:17:09,858 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@353daf1e: startup date [Fri Aug 19 15:17:05 CEST 2022]; root of context hierarchy
2022-08-19 15:17:09,859 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.456 s - in org.appng.application.manager.business.RoleTest
[INFO] Running org.appng.application.manager.business.PermissionsTest
2022-08-19 15:17:10,304 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 15:17:10,305 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@23b8fb41, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@78b6281f, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@674df0df, org.springframework.test.context.support.DirtiesContextTestExecutionListener@65556451, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1d3f949, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@486ccfbc]
2022-08-19 15:17:10,313 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:17:10,344 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 15:17:10,351 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 15:17:10,379 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 15:17:10,386 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@e1696ce: startup date [Fri Aug 19 15:17:10 CEST 2022]; root of context hierarchy
2022-08-19 15:17:10,415 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:17:10,415 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:17:10,415 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:17:10,416 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:17:10,416 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:17:10,416 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:17:10,416 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:17:10,416 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:17:10,418 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:17:10,539 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:11,144 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:11,399 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@e1696ce: startup date [Fri Aug 19 15:17:10 CEST 2022]; root of context hierarchy
2022-08-19 15:17:11,648 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:17:11,754 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2022-08-19 15:17:11,861 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2022-08-19 15:17:11,967 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this
2022-08-19 15:17:12,073 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that
2022-08-19 15:17:12,217 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 15:17:12,217 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 15:17:12,218 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 15:17:12,218 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 15:17:12,218 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 15:17:12,327 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.something
2022-08-19 15:17:13,020 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Permission do.something
2022-08-19 15:17:13,649 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Permission do.somethingelse
2022-08-19 15:17:13,769 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@e1696ce: startup date [Fri Aug 19 15:17:10 CEST 2022]; root of context hierarchy
2022-08-19 15:17:13,770 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: 3.903 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.027 s - in org.appng.application.manager.business.webservice.LogViewerTest
[INFO] Running org.appng.application.manager.business.ClusterStateTest
2022-08-19 15:17:14,245 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 15:17:14,245 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@51c0e39f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@35538f40, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@650442a2, org.springframework.test.context.support.DirtiesContextTestExecutionListener@61781f73, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3772d4d8, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1ef264f9]
2022-08-19 15:17:14,254 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:17:14,299 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 15:17:14,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 15:17:14,337 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 15:17:14,344 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@78862b17: startup date [Fri Aug 19 15:17:14 CEST 2022]; root of context hierarchy
2022-08-19 15:17:14,379 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:17:14,379 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:17:14,379 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:17:14,380 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:17:14,380 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:17:14,380 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:17:14,381 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:17:14,381 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:17:14,382 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:17:14,503 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:15,186 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:15,472 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@78862b17: startup date [Fri Aug 19 15:17:14 CEST 2022]; root of context hierarchy
2022-08-19 15:17:15,722 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:17:15,755 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@78862b17: startup date [Fri Aug 19 15:17:14 CEST 2022]; root of context hierarchy
2022-08-19 15:17:15,756 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.952 s - in org.appng.application.manager.business.ClusterStateTest
[INFO] Running org.appng.application.manager.business.NodePropertiesTest
2022-08-19 15:17:16,197 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 15:17:16,198 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2045027d, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4bb029f1, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@81f299a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1ae285fc, org.springframework.test.context.transaction.TransactionalTestExecutionListener@12bc2a37, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@58096630]
2022-08-19 15:17:16,205 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:17:16,235 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 15:17:16,242 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 15:17:16,271 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 15:17:16,277 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@27686aee: startup date [Fri Aug 19 15:17:16 CEST 2022]; root of context hierarchy
2022-08-19 15:17:16,306 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:17:16,306 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:17:16,306 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:17:16,307 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:17:16,307 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:17:16,307 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:17:16,307 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:17:16,307 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:17:16,309 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:17:16,429 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:17,138 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:17,425 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@27686aee: startup date [Fri Aug 19 15:17:16 CEST 2022]; root of context hierarchy
2022-08-19 15:17:17,659 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:17:17,802 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 15:17:17,802 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 15:17:17,802 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 15:17:17,803 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 15:17:17,803 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 15:17:17,803 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 15:17:17,803 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 15:17:17,803 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 15:17:17,803 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 15:17:17,803 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 15:17:17,803 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 15:17:17,803 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 15:17:17,911 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.node.foobar.foo
2022-08-19 15:17:18,648 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.node.foobar.foo
2022-08-19 15:17:18,918 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Property platform.node.foobar.foo
2022-08-19 15:17:18,925 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@27686aee: startup date [Fri Aug 19 15:17:16 CEST 2022]; root of context hierarchy
2022-08-19 15:17:18,926 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.6 s - in org.appng.application.manager.business.NodePropertiesTest
[INFO] Running org.appng.application.manager.business.PlatformEventsTest
2022-08-19 15:17:19,806 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 15:17:19,806 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4193410f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3c6cc26a, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@6ff8244b, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3cf3795c, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6733ccf4, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@3d163dea]
2022-08-19 15:17:19,815 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:17:19,845 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 15:17:19,854 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 15:17:19,882 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 15:17:19,888 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@347c2ed6: startup date [Fri Aug 19 15:17:19 CEST 2022]; root of context hierarchy
2022-08-19 15:17:19,918 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:17:19,919 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:17:19,919 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:17:19,919 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:17:19,920 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:17:19,920 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:17:19,920 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:17:19,921 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:17:19,923 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:17:20,044 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:20,632 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:20,984 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@347c2ed6: startup date [Fri Aug 19 15:17:19 CEST 2022]; root of context hierarchy
2022-08-19 15:17:21,237 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:17:21,794 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@347c2ed6: startup date [Fri Aug 19 15:17:19 CEST 2022]; root of context hierarchy
2022-08-19 15:17:21,795 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.679 s - in org.appng.application.manager.business.PlatformEventsTest
[INFO] Running org.appng.application.manager.business.DataBaseConnectionsTest
2022-08-19 15:17:22,490 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 15:17:22,491 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@3a35af1b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4cf41e76, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@65115837, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6efc96ab, org.springframework.test.context.transaction.TransactionalTestExecutionListener@79a6b118, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@154d07f4]
2022-08-19 15:17:22,501 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:17:22,540 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 15:17:22,548 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 15:17:22,576 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 15:17:22,583 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2022-08-19 15:17:22,589 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 15:17:22,590 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7031ada1: startup date [Fri Aug 19 15:17:22 CEST 2022]; root of context hierarchy
2022-08-19 15:17:22,620 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:17:22,620 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:17:22,620 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:17:22,621 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:17:22,621 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:17:22,621 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:17:22,621 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:17:22,621 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:17:22,622 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:17:22,743 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:23,324 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:23,615 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7031ada1: startup date [Fri Aug 19 15:17:22 CEST 2022]; root of context hierarchy
2022-08-19 15:17:23,884 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2022-08-19 15:17:23,887 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 2 ms.
2022-08-19 15:17:23,978 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:17:24,129 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2022-08-19 15:17:24,237 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 8.4.3 by Redgate
2022-08-19 15:17:24,238 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 15:17:24,462 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2022-08-19 15:17:24,568 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 8.4.3 by Redgate
2022-08-19 15:17:24,569 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 15:17:24,759 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2022-08-19 15:17:24,865 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 8.4.3 by Redgate
2022-08-19 15:17:24,866 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 15:17:24,882 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 15:17:24,884 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 15:17:24,884 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 15:17:24,884 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 15:17:24,896 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7031ada1: startup date [Fri Aug 19 15:17:22 CEST 2022]; root of context hierarchy
2022-08-19 15:17:24,999 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.946 s - in org.appng.application.manager.business.DataBaseConnectionsTest
[INFO] Running org.appng.application.manager.business.MailTest
2022-08-19 15:17:25,442 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 15:17:25,443 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@37505345, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@13f7ca9a, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4907a009, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2c1fd825, org.springframework.test.context.transaction.TransactionalTestExecutionListener@19e06c98, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@34eed624]
2022-08-19 15:17:25,452 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:17:25,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 15:17:25,490 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 15:17:25,519 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 15:17:25,525 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@1211098e: startup date [Fri Aug 19 15:17:25 CEST 2022]; root of context hierarchy
2022-08-19 15:17:25,556 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:17:25,557 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:17:25,557 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:17:25,557 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:17:25,557 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:17:25,558 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:17:25,558 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:17:25,558 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:17:25,559 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:17:25,679 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:26,283 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:26,537 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@1211098e: startup date [Fri Aug 19 15:17:25 CEST 2022]; root of context hierarchy
2022-08-19 15:17:26,769 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:17:26,796 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 15:17:26,797 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 15:17:26,797 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 15:17:26,797 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 15:17:26,823 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@1211098e: startup date [Fri Aug 19 15:17:25 CEST 2022]; root of context hierarchy
2022-08-19 15:17:26,824 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.974 s - in org.appng.application.manager.business.MailTest
[INFO] Running org.appng.application.manager.business.CacheTest
2022-08-19 15:17:27,420 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 15:17:27,422 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@33202d4e, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6d60f69a, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1523a0ae, org.springframework.test.context.support.DirtiesContextTestExecutionListener@293b3bdd, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1bc329e9, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@717dc82d]
Aug 19, 2022 3:17:27 PM com.hazelcast.config.ClasspathXmlConfig
INFO: Configuring Hazelcast from 'hazelcast-test.xml'.
2022-08-19 15:17:27,875 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 15:17:27,876 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 15:17:27,876 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 15:17:27,876 INFO [main] com.hazelcast.system : [10.102.4.103]:5702 [appNG] [5.0.2] Cluster name: appNG
2022-08-19 15:17:27,876 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 15:17:28,669 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 15:17:28,774 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 15:17:29,138 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 15:17:29,149 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 15:17:29,182 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 15:17:29,183 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 15:17:29,203 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 15:17:29,232 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:17:29,267 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 15:17:29,276 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 15:17:29,305 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 15:17:29,321 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@351e6453: startup date [Fri Aug 19 15:17:29 CEST 2022]; root of context hierarchy
2022-08-19 15:17:29,353 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:17:29,353 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:17:29,354 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:17:29,354 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:17:29,354 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:17:29,354 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:17:29,355 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:17:29,355 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:17:29,356 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:17:29,482 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:30,174 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:30,458 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@351e6453: startup date [Fri Aug 19 15:17:29 CEST 2022]; root of context hierarchy
2022-08-19 15:17:30,723 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:17:30,732 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 15:17:30,773 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 15:17:30,797 INFO [main] org.appng.core.service.CacheService: Created cache 'pageCache-localhost' (ttl: 36000s, maximum entries: 20000, statistics: true)
2022-08-19 15:17:31,267 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@351e6453: startup date [Fri Aug 19 15:17:29 CEST 2022]; root of context hierarchy
2022-08-19 15:17:31,268 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.286 s - in org.appng.application.manager.business.CacheTest
[INFO] Running org.appng.application.manager.business.ApplicationPropertiesTest
2022-08-19 15:17:31,710 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 15:17:31,711 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@3e798492, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@466a98fb, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3cfd7b2e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5d66489c, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2f490ab6, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@3d76e2e4]
2022-08-19 15:17:31,724 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:17:31,755 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 15:17:31,763 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 15:17:31,788 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 15:17:31,795 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5484d1b: startup date [Fri Aug 19 15:17:31 CEST 2022]; root of context hierarchy
2022-08-19 15:17:31,825 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:17:31,825 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:17:31,825 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:17:31,826 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:17:31,826 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:17:31,826 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:17:31,826 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:17:31,826 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:17:31,828 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:17:31,948 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:32,517 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:32,783 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@5484d1b: startup date [Fri Aug 19 15:17:31 CEST 2022]; root of context hierarchy
2022-08-19 15:17:33,058 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:17:33,164 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application manager
2022-08-19 15:17:33,311 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 15:17:33,312 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 15:17:33,312 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 15:17:33,312 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 15:17:33,312 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 15:17:33,313 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 15:17:33,313 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 15:17:33,313 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 15:17:33,313 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 15:17:33,313 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 15:17:33,313 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 15:17:33,314 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 15:17:33,425 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.testproperty
2022-08-19 15:17:33,864 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.anotherproperty
2022-08-19 15:17:34,591 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.application.manager.testproperty
2022-08-19 15:17:34,818 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@5484d1b: startup date [Fri Aug 19 15:17:31 CEST 2022]; root of context hierarchy
2022-08-19 15:17:34,819 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.703 s - in org.appng.application.manager.business.ApplicationPropertiesTest
[INFO] Running org.appng.application.manager.business.SubjectsTest
2022-08-19 15:17:35,422 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 15:17:35,422 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2a6fe99d, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@602f7af3, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4e9e5299, org.springframework.test.context.support.DirtiesContextTestExecutionListener@38dec67c, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6d28f3fb, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@76cbe44f]
2022-08-19 15:17:35,431 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:17:35,460 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 15:17:35,468 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 15:17:35,499 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 15:17:35,505 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@45eb890: startup date [Fri Aug 19 15:17:35 CEST 2022]; root of context hierarchy
2022-08-19 15:17:35,532 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:17:35,533 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:17:35,533 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:17:35,533 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:17:35,533 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:17:35,533 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:17:35,534 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:17:35,534 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:17:35,535 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:17:35,654 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:36,267 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:36,519 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@45eb890: startup date [Fri Aug 19 15:17:35 CEST 2022]; root of context hierarchy
2022-08-19 15:17:36,748 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:17:36,854 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admins
2022-08-19 15:17:36,960 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2022-08-19 15:17:37,207 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 15:17:37,208 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 15:17:37,208 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 15:17:37,208 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 15:17:37,208 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 15:17:37,208 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 15:17:37,209 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 15:17:37,209 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 15:17:37,209 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 15:17:37,209 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 15:17:37,209 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 15:17:38,189 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject admin
2022-08-19 15:17:38,204 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin
2022-08-19 15:17:39,396 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject user
2022-08-19 15:17:39,405 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject user
2022-08-19 15:17:39,798 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:1328)
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 15:17:40,417 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Subject user
2022-08-19 15:17:42,084 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin
2022-08-19 15:17:43,194 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@45eb890: startup date [Fri Aug 19 15:17:35 CEST 2022]; root of context hierarchy
2022-08-19 15:17:43,195 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: 8.866 s - in org.appng.application.manager.business.SubjectsTest
[INFO] Running org.appng.application.manager.business.SessionsTest
2022-08-19 15:17:44,295 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 15:17:44,296 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@52aaebd7, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@60814f8e, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7440c870, org.springframework.test.context.support.DirtiesContextTestExecutionListener@42b78119, org.springframework.test.context.transaction.TransactionalTestExecutionListener@47463ecb, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2d51e492]
2022-08-19 15:17:44,305 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:17:44,335 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 15:17:44,343 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 15:17:44,371 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 15:17:44,378 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2022-08-19 15:17:44,383 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 15:17:44,384 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@21e157b4: startup date [Fri Aug 19 15:17:44 CEST 2022]; root of context hierarchy
2022-08-19 15:17:44,411 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:17:44,411 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:17:44,412 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:17:44,412 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:17:44,412 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:17:44,412 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:17:44,413 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:17:44,413 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:17:44,414 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:17:44,533 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:45,681 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:45,954 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@21e157b4: startup date [Fri Aug 19 15:17:44 CEST 2022]; root of context hierarchy
2022-08-19 15:17:46,203 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2022-08-19 15:17:46,206 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 2 ms.
2022-08-19 15:17:46,304 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:17:46,650 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@21e157b4: startup date [Fri Aug 19 15:17:44 CEST 2022]; root of context hierarchy
2022-08-19 15:17:46,753 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.381 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 15:17:47,681 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 15:17:47,682 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4cfd52f1, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@744cbd1c, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1afb196e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1e6e9a5f, org.springframework.test.context.transaction.TransactionalTestExecutionListener@382239b9, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2997d7fc]
2022-08-19 15:17:47,690 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-08-19 15:17:47,877 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 15:17:47,886 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 15:17:47,915 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 15:17:47,921 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@1334898: startup date [Fri Aug 19 15:17:47 CEST 2022]; root of context hierarchy
2022-08-19 15:17:47,952 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-08-19 15:17:47,952 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-08-19 15:17:47,953 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-08-19 15:17:47,953 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-08-19 15:17:47,953 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-08-19 15:17:47,953 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-08-19 15:17:47,954 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-08-19 15:17:47,954 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-08-19 15:17:47,955 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-08-19 15:17:48,075 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:48,744 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-08-19 15:17:49,001 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@1334898: startup date [Fri Aug 19 15:17:47 CEST 2022]; root of context hierarchy
2022-08-19 15:17:49,250 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-08-19 15:17:50,399 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@1334898: startup date [Fri Aug 19 15:17:47 CEST 2022]; root of context hierarchy
2022-08-19 15:17:50,400 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: 3.694 s - in org.appng.application.manager.job.DatabaseReportJobTest
2022-08-19 15:17:51,382 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 15:17:51,384 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 15:17:51,391 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 15:17:51,397 INFO [hz.test.cached.thread-5] com.hazelcast.internal.partition.impl.MigrationManager: [10.102.4.103]:5702 [appNG] [5.0.2] Shutdown request of Member [10.102.4.103]:5702 - 1405f030-11b7-48e9-8783-a4ce6c4869f3 this is handled
2022-08-19 15:17:51,408 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] Shutting down connection manager...
2022-08-19 15:17:51,412 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] Shutting down node engine...
2022-08-19 15:17:51,415 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 15:17:51,429 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.NodeExtension: [10.102.4.103]:5702 [appNG] [5.0.2] Destroying node NodeExtension.
2022-08-19 15:17:51,429 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] Hazelcast Shutdown is completed in 37 ms.
2022-08-19 15:17:51,430 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 15:17:51,430 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 15:17:51,430 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:39 min
[INFO] Finished at: 2022-08-19T15:17:51+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