Started by user Matthias Mueller
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/appNG_Manager
[Pipeline] {
[Pipeline] tool
[Pipeline] stage
[Pipeline] { (git clone)
[Pipeline] git
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/appNG_Manager/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git@github.com:appNG/appng-manager.git # timeout=10
Fetching upstream changes from git@github.com:appNG/appng-manager.git
> git --version # timeout=10
> git --version # 'git version 2.30.2'
> git fetch --tags --force --progress -- git@github.com:appNG/appng-manager.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/appng-manager-1.20.x^{commit} # timeout=10
Checking out Revision a922dd900563542b436cb944ce3ef5983bfeb409 (refs/remotes/origin/appng-manager-1.20.x)
> git config core.sparsecheckout # timeout=10
> git checkout -f a922dd900563542b436cb944ce3ef5983bfeb409 # timeout=10
> git branch -a -v --no-abbrev # timeout=10
> git branch -D appng-manager-1.20.x # timeout=10
> git checkout -b appng-manager-1.20.x a922dd900563542b436cb944ce3ef5983bfeb409 # timeout=10
Commit message: "Merge pull request #32 from appNG/feature/MGR-138"
> git rev-list --no-walk a922dd900563542b436cb944ce3ef5983bfeb409 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Maven Build)
[Pipeline] sh
+ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn -version
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3
Java version: 1.8.0_332, vendor: Temurin, runtime: /var/lib/jenkins/tools/hudson.model.JDK/OpenJDK8/jdk8u332-b09/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.10.0-15-amd64", arch: "amd64", family: "unix"
[Pipeline] sh
+ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn clean deploy
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< org.appng:appng-manager >-----------------------
[INFO] Building appNG Manager 1.20.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-manager ---
[INFO] Deleting /var/lib/jenkins/workspace/appNG_Manager/target
[INFO]
[INFO] --- appng-maven-plugin:1.25.0-SNAPSHOT:generateApplicationConstants (applicationConstants) @ appng-manager ---
[INFO] generate application constants for [/var/lib/jenkins/workspace/appNG_Manager/application-home/application.xml, org.appng.application.manager.ManagerSettings, /var/lib/jenkins/workspace/appNG_Manager/target/generated-sources/constants]
[INFO]
[INFO] --- appng-maven-plugin:1.25.0-SNAPSHOT:generateMessageConstants (messageConstants) @ appng-manager ---
[INFO] generate message constants for [/var/lib/jenkins/workspace/appNG_Manager/application-home/dictionary/manager-messages.properties, org.appng.application.manager.MessageConstants, /var/lib/jenkins/workspace/appNG_Manager/target/generated-sources/constants]
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:add-source (default) @ appng-manager ---
[INFO] Source directory: /var/lib/jenkins/workspace/appNG_Manager/target/generated-sources/constants added.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ appng-manager ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ appng-manager ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 57 source files to /var/lib/jenkins/workspace/appNG_Manager/target/classes
[INFO] /var/lib/jenkins/workspace/appNG_Manager/src/main/java/org/appng/application/manager/business/Sites.java: /var/lib/jenkins/workspace/appNG_Manager/src/main/java/org/appng/application/manager/business/Sites.java uses or overrides a deprecated API.
[INFO] /var/lib/jenkins/workspace/appNG_Manager/src/main/java/org/appng/application/manager/business/Sites.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ appng-manager ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 110 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ appng-manager ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 23 source files to /var/lib/jenkins/workspace/appNG_Manager/target/test-classes
[INFO] /var/lib/jenkins/workspace/appNG_Manager/src/test/java/org/appng/application/manager/business/AbstractTest.java: /var/lib/jenkins/workspace/appNG_Manager/src/test/java/org/appng/application/manager/business/AbstractTest.java uses or overrides a deprecated API.
[INFO] /var/lib/jenkins/workspace/appNG_Manager/src/test/java/org/appng/application/manager/business/AbstractTest.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ appng-manager ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.appng.application.manager.business.SitePropertiesTest
2022-10-25 15:12:07,522 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-10-25 15:12:07,536 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5dd6264, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1ffe63b9, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@51e5fc98, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7c469c48, org.springframework.test.context.transaction.TransactionalTestExecutionListener@12e61fe6, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7ee955a8]
2022-10-25 15:12:08,192 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:12:08,416 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:12:08,443 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:12:08,538 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:12:08,559 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@31d7b7bf: startup date [Tue Oct 25 15:12:08 CEST 2022]; root of context hierarchy
2022-10-25 15:12:09,029 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:12:09,030 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:12:09,030 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:12:09,039 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:12:09,230 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:12:09,246 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:12:09,267 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:12:09,267 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:12:09,277 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
Oct 25, 2022 3:12:09 PM ch.sla.jdbcperflogger.Logger info
INFO: Using config file jdbcperflogger-fallback.xml
2022-10-25 15:12:11,003 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:14,131 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:15,458 INFO [main] org.springframework.aop.framework.CglibAopProxy: Method [org.appng.core.service.MigrationService$MigrationStatus org.appng.core.service.DatabaseService.dropDataBaseAndUser(org.appng.core.domain.DatabaseConnection)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2022-10-25 15:12:15,458 INFO [main] org.springframework.aop.framework.CglibAopProxy: Method [org.appng.core.service.MigrationService$MigrationStatus org.appng.core.service.DatabaseService.migrateApplication(java.io.File,org.appng.core.domain.SiteApplication,java.lang.String)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2022-10-25 15:12:15,556 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@31d7b7bf: startup date [Tue Oct 25 15:12:08 CEST 2022]; root of context hierarchy
2022-10-25 15:12:16,336 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:12:16,486 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost
2022-10-25 15:12:16,850 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-10-25 15:12:16,853 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-10-25 15:12:16,854 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-10-25 15:12:16,854 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-10-25 15:12:16,854 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-10-25 15:12:16,855 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-10-25 15:12:16,855 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-10-25 15:12:16,858 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-10-25 15:12:16,858 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-10-25 15:12:16,858 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-10-25 15:12:16,858 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-10-25 15:12:16,858 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-10-25 15:12:17,109 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.testproperty
2022-10-25 15:12:18,313 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.anotherproperty
2022-10-25 15:12:18,658 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.multiline
2022-10-25 15:12:20,349 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.site.localhost.testproperty
2022-10-25 15:12:20,621 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@31d7b7bf: startup date [Tue Oct 25 15:12:08 CEST 2022]; root of context hierarchy
2022-10-25 15:12:20,628 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: 13.947 s - in org.appng.application.manager.business.SitePropertiesTest
[INFO] Running org.appng.application.manager.business.SitesTest
2022-10-25 15:12:21,166 INFO [main] org.springframework.test.context.support.AbstractContextLoader: Could not detect default resource locations for test class [org.appng.application.manager.business.SitesTest]: no resource found for suffixes {-context.xml}.
2022-10-25 15:12:21,167 INFO [main] org.springframework.test.context.support.AnnotationConfigContextLoaderUtils: Could not detect default configuration classes for test class [org.appng.application.manager.business.SitesTest]: SitesTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2022-10-25 15:12:21,177 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-10-25 15:12:21,178 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@28a09e0d, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@67d8057d, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@591e5020, org.springframework.test.context.support.DirtiesContextTestExecutionListener@cce1aeb, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2032ad89, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@766b71f]
2022-10-25 15:12:21,203 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:12:21,286 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:12:21,301 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:12:21,346 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:12:21,358 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@50b736a0: startup date [Tue Oct 25 15:12:21 CEST 2022]; root of context hierarchy
2022-10-25 15:12:21,412 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:12:21,412 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:12:21,413 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:12:21,414 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:12:21,414 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:12:21,414 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:12:21,414 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:12:21,414 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:12:21,417 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:12:21,551 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:22,393 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:22,922 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@50b736a0: startup date [Tue Oct 25 15:12:21 CEST 2022]; root of context hierarchy
2022-10-25 15:12:23,221 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:12:23,330 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.messagingEnabled
2022-10-25 15:12:23,498 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-10-25 15:12:23,499 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-10-25 15:12:23,500 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-10-25 15:12:23,500 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-10-25 15:12:23,500 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-10-25 15:12:23,500 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-10-25 15:12:23,500 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-10-25 15:12:23,501 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-10-25 15:12:23,501 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-10-25 15:12:23,501 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-10-25 15:12:23,501 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-10-25 15:12:23,501 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-10-25 15:12:23,622 ERROR [main] org.appng.application.manager.business.Properties: Failed to create the property.
org.appng.api.BusinessException: property already exists!
at org.appng.application.manager.service.ManagerService.createProperty(ManagerService.java:1547)
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$$decd3d30.createProperty(<generated>)
at org.appng.application.manager.business.Properties.perform(Properties.java:130)
at org.appng.application.manager.business.Properties.perform(Properties.java:50)
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.SitesTest.testCreateSite01(SitesTest.java:65)
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-10-25 15:12:23,887 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-10-25 15:12:23,887 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-10-25 15:12:23,888 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-10-25 15:12:23,888 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-10-25 15:12:23,889 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-10-25 15:12:23,891 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-10-25 15:12:24,037 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.allowSkipRender
2022-10-25 15:12:24,038 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.authLogoutRef
2022-10-25 15:12:24,040 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.encoding
2022-10-25 15:12:24,041 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.mailDisabled
2022-10-25 15:12:24,042 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.tagPrefix
2022-10-25 15:12:24,043 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.ldapUser
2022-10-25 15:12:24,044 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.host
2022-10-25 15:12:24,045 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.enforcePrimaryDomain
2022-10-25 15:12:24,046 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.ldapStartTls
2022-10-25 15:12:24,047 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.supportedLanguages
2022-10-25 15:12:24,050 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.cacheStatistics
2022-10-25 15:12:24,052 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.service-path
2022-10-25 15:12:24,052 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.wwwDir
2022-10-25 15:12:24,054 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.supportReloadFile
2022-10-25 15:12:24,055 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.DatasourceConfigurer
2022-10-25 15:12:24,056 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.defaultPage
2022-10-25 15:12:24,057 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.jdbcConnectionTimeout
2022-10-25 15:12:24,058 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.ldapDomain
2022-10-25 15:12:24,060 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.ldapDisabled
2022-10-25 15:12:24,061 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.ldapPassword
2022-10-25 15:12:24,062 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.authLoginPage
2022-10-25 15:12:24,063 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.authLogoutActionValue
2022-10-25 15:12:24,064 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.errorPages
2022-10-25 15:12:24,065 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.cacheExceptions
2022-10-25 15:12:24,066 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.jdbcMaxLifetime
2022-10-25 15:12:24,067 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.csrfProtectionEnabled
2022-10-25 15:12:24,068 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.sessionTrackingEnabled
2022-10-25 15:12:24,069 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.serviceOutputType
2022-10-25 15:12:24,070 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.cacheClearOnShutdown
2022-10-25 15:12:24,071 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.indexDir
2022-10-25 15:12:24,072 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.ldapUserBaseDn
2022-10-25 15:12:24,073 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.appendTabId
2022-10-25 15:12:24,074 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.cacheTimeouts
2022-10-25 15:12:24,074 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.csrfProtectedMethods
2022-10-25 15:12:24,075 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.defaultApplication
2022-10-25 15:12:24,076 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.errorPage
2022-10-25 15:12:24,077 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.indexQueueSize
2022-10-25 15:12:24,078 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.manager-path
2022-10-25 15:12:24,079 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.mailHost
2022-10-25 15:12:24,080 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.indexFileTypes
2022-10-25 15:12:24,081 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.siteRootDir
2022-10-25 15:12:24,082 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.searchChunkSize
2022-10-25 15:12:24,082 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.searchMaxHits
2022-10-25 15:12:24,083 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.assetsDir
2022-10-25 15:12:24,084 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.indexTimeout
2022-10-25 15:12:24,085 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.ldapHost
2022-10-25 15:12:24,086 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.authApplication
2022-10-25 15:12:24,087 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.defaultPageSize
2022-10-25 15:12:24,087 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.ldapGroupBaseDn
2022-10-25 15:12:24,088 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.jdbcLogPerformance
2022-10-25 15:12:24,089 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.ldapPrincipalScheme
2022-10-25 15:12:24,090 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.cacheTimeoutsAntStyle
2022-10-25 15:12:24,091 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.mailPort
2022-10-25 15:12:24,092 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.documentDir
2022-10-25 15:12:24,093 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.setDebugHeaders
2022-10-25 15:12:24,093 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.serviceOutputFormat
2022-10-25 15:12:24,094 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.authLogoutActionName
2022-10-25 15:12:24,095 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.csrfProtectedPaths
2022-10-25 15:12:24,096 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.template
2022-10-25 15:12:24,097 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.indexConfig
2022-10-25 15:12:24,097 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.cacheTimeToLive
2022-10-25 15:12:24,098 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.timeZone
2022-10-25 15:12:24,099 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.locale
2022-10-25 15:12:24,100 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.jdbcValidationTimeout
2022-10-25 15:12:24,101 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.rewriteConfig
2022-10-25 15:12:24,102 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.name
2022-10-25 15:12:24,102 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.authLogoutPage
2022-10-25 15:12:24,103 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.ldapIdAttribute
2022-10-25 15:12:24,104 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.xssExceptions
2022-10-25 15:12:24,105 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.authLoginRef
2022-10-25 15:12:24,106 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.cacheEnabled
2022-10-25 15:12:24,106 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.site1.indexFileSystemQueueSize
2022-10-25 15:12:24,108 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site1
2022-10-25 15:12:25,183 ERROR [main] org.appng.application.manager.business.Sites: error during action 'create': Failed to create the site.
org.appng.api.BusinessException: Invalid name, host, host-aliases or domain
at org.appng.application.manager.service.ManagerService.checkSite(ManagerService.java:1096)
at org.appng.application.manager.service.ManagerService.createSite(ManagerService.java:1049)
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$$decd3d30.createSite(<generated>)
at org.appng.application.manager.business.Sites.perform(Sites.java:68)
at org.appng.application.manager.business.Sites.perform(Sites.java:49)
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.SitesTest.testCreateSite03NameConflictFail(SitesTest.java:96)
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-10-25 15:12:25,639 ERROR [main] org.appng.application.manager.business.Sites: error during action 'create': Failed to create the site.
org.appng.api.BusinessException: Invalid name, host, host-aliases or domain
at org.appng.application.manager.service.ManagerService.checkSite(ManagerService.java:1096)
at org.appng.application.manager.service.ManagerService.createSite(ManagerService.java:1049)
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$$decd3d30.createSite(<generated>)
at org.appng.application.manager.business.Sites.perform(Sites.java:68)
at org.appng.application.manager.business.Sites.perform(Sites.java:49)
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.SitesTest.testCreateSite041Host2AliasConflictFail(SitesTest.java:126)
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-10-25 15:12:26,101 ERROR [main] org.appng.application.manager.business.Sites: error during action 'create': Failed to create the site.
org.appng.api.BusinessException: Invalid name, host, host-aliases or domain
at org.appng.application.manager.service.ManagerService.checkSite(ManagerService.java:1096)
at org.appng.application.manager.service.ManagerService.createSite(ManagerService.java:1049)
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$$decd3d30.createSite(<generated>)
at org.appng.application.manager.business.Sites.perform(Sites.java:68)
at org.appng.application.manager.business.Sites.perform(Sites.java:49)
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.SitesTest.testCreateSite041Host2HostConflictFail(SitesTest.java:111)
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-10-25 15:12:26,593 ERROR [main] org.appng.application.manager.business.Sites: error during action 'create': Failed to create the site.
org.appng.api.BusinessException: Invalid name, host, host-aliases or domain
at org.appng.application.manager.service.ManagerService.checkSite(ManagerService.java:1096)
at org.appng.application.manager.service.ManagerService.createSite(ManagerService.java:1049)
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$$decd3d30.createSite(<generated>)
at org.appng.application.manager.business.Sites.perform(Sites.java:68)
at org.appng.application.manager.business.Sites.perform(Sites.java:49)
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.SitesTest.testCreateSite051Alias2HostConflictFail(SitesTest.java:142)
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-10-25 15:12:27,090 ERROR [main] org.appng.application.manager.business.Sites: error during action 'create': Failed to create the site.
org.appng.api.BusinessException: Invalid name, host, host-aliases or domain
at org.appng.application.manager.service.ManagerService.checkSite(ManagerService.java:1096)
at org.appng.application.manager.service.ManagerService.createSite(ManagerService.java:1049)
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$$decd3d30.createSite(<generated>)
at org.appng.application.manager.business.Sites.perform(Sites.java:68)
at org.appng.application.manager.business.Sites.perform(Sites.java:49)
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.SitesTest.testCreateSite052Alias2AliasConflictFail(SitesTest.java:160)
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-10-25 15:12:27,445 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2
2022-10-25 15:12:27,569 INFO [main] org.appng.core.service.CoreService: starting deletion of site site2
2022-10-25 15:12:27,593 INFO [main] org.appng.core.service.CoreService: deleting 0 orphaned database connections
2022-10-25 15:12:27,599 INFO [main] org.appng.core.service.CoreService: done deleting site site2
2022-10-25 15:12:27,611 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Site site2
2022-10-25 15:12:27,917 INFO [main] org.appng.api.support.environment.DefaultEnvironment: Clearing site scope with identifier 'SITE.site1'
2022-10-25 15:12:27,920 ERROR [main] org.appng.application.manager.business.Sites: error during action 'reload': Failed to reload the site.
org.appng.api.BusinessException: org.appng.core.service.SiteLoadingException: Error while loading site site1
at org.appng.api.support.RequestSupportImpl.handleException(RequestSupportImpl.java:192)
at org.appng.api.support.ApplicationRequest.handleException(ApplicationRequest.java:134)
at org.appng.application.manager.service.ManagerService.reloadSite(ManagerService.java:1611)
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$$decd3d30.reloadSite(<generated>)
at org.appng.application.manager.business.Sites.perform(Sites.java:83)
at org.appng.application.manager.business.Sites.perform(Sites.java:49)
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.SitesTest.testReloadSite(SitesTest.java:177)
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)
Caused by: org.appng.core.service.SiteLoadingException: Error while loading site site1
at org.appng.core.service.InitializerService.lambda$getSiteLoader$1(InitializerService.java:885)
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$$3094e0ed.loadSite(<generated>)
at org.appng.application.manager.service.ManagerService.reloadSite(ManagerService.java:1601)
... 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-10-25 15:12:28,340 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2
2022-10-25 15:12:28,736 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@50b736a0: startup date [Tue Oct 25 15:12:21 CEST 2022]; root of context hierarchy
2022-10-25 15:12:28,740 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.991 s - in org.appng.application.manager.business.SitesTest
[INFO] Running org.appng.application.manager.business.RepositoriesTest
2022-10-25 15:12:29,217 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-10-25 15:12:29,217 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@608aa474, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@43c6cda0, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@62e6f525, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5bb2b727, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6e2e0121, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1b707a89]
2022-10-25 15:12:29,240 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:12:29,313 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:12:29,325 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:12:29,364 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:12:29,374 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@2f667a: startup date [Tue Oct 25 15:12:29 CEST 2022]; root of context hierarchy
2022-10-25 15:12:29,522 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:12:29,523 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:12:29,523 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:12:29,524 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:12:29,524 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:12:29,524 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:12:29,524 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:12:29,524 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:12:29,526 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:12:29,666 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:30,365 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:30,683 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@2f667a: startup date [Tue Oct 25 15:12:29 CEST 2022]; root of context hierarchy
2022-10-25 15:12:30,946 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:12:31,115 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-10-25 15:12:31,116 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-10-25 15:12:31,116 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-10-25 15:12:31,116 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-10-25 15:12:31,235 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Local
2022-10-25 15:12:31,657 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$$decd3d30.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:67)
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-10-25 15:12:31,941 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me
2022-10-25 15:12:32,055 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Repository Delete me
2022-10-25 15:12:32,428 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me
2022-10-25 15:12:33,174 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@2f667a: startup date [Tue Oct 25 15:12:29 CEST 2022]; root of context hierarchy
2022-10-25 15:12:33,176 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.562 s <<< FAILURE! - in org.appng.application.manager.business.RepositoriesTest
[ERROR] testPackages(org.appng.application.manager.business.RepositoriesTest) Time elapsed: 0.207 s <<< FAILURE!
junit.framework.AssertionFailedError:
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected attribute value '1' but was '0' - comparing <resultset hits="1"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="packages">
<config>
<title id="packages">Packages</title>
<params>
<param name="repositoryid">1</param>
<param name="packagename"/>
<param name="packageFilter">*</param>
</params>
<meta-data bindClass="org.appng.core.model.InstallablePackage" result-selector="${current.name eq packagename}">
<field name="name" type="text" displayLength="30" readonly="true" binding="name">
<sort/>
<label id="name">Name</label>
</field>
<field name="displayName" type="text" displayLength="30" readonly="true" binding="displayName">
<sort/>
<label id="displayName">Display name</label>
</field>
<field name="type" type="text" displayLength="30" readonly="true" binding="type">
<sort/>
<label id="type">Type</label>
</field>
<field name="latestRelease" type="text" readonly="true" binding="latestRelease">
<label id="latestRelease">Latest release</label>
</field>
<field name="latestSnapshot" type="text" readonly="true" binding="latestSnapshot">
<label id="latestSnapshot">Latest snapshot</label>
</field>
<field name="installedVersion" type="text" readonly="true" binding="installedVersion">
<label id="installedVersion">Installed version</label>
</field>
<field name="installedVersion" type="image" binding="installedVersion">
<label></label>
<icon condition="${not empty current.installedVersion}">led_green</icon>
<icon condition="${empty current.installedVersion}">led_red</icon>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="actions" location="inline">
<link id="actions[1]" target="/repositories/installation/1/#{name}#tab_packages" mode="intern" default="true">
<label id="package.showVersions">Show package versions</label>
<icon>edit</icon>
</link>
<link id="actions[2]" target="/repositories/installation/1?act=install&packagename=#{name}&packageversion=#{latestRelease}" mode="intern" show-disabled="true">
<condition expression="${(current.installedVersion ne current.latestRelease) and (not empty current.latestRelease)}"/>
<label id="install.latestrelease">Install latest release</label>
<icon>d_release</icon>
</link>
<link id="actions[3]" target="/repositories/installation/1?act=install&packagename=#{name}&packageversion=#{latestSnapshot}" mode="intern" show-disabled="true">
<condition expression="${not empty current.latestSnapshot}"/>
<label id="install.latestsnapshot">Install latest snapshot</label>
<icon>d_snapshot</icon>
</link>
</linkpanel>
</config>
<data>
<selectionGroup>
<selection id="pf" type="text">
<title id="name">Name</title>
<option value="*" name="pf"/>
</selection>
</selectionGroup>
<resultset chunk="0" chunkname="packages" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '1' but was '0' - comparing <resultset hits="1"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
at org.appng.application.manager.business.RepositoriesTest.testPackages(RepositoriesTest.java:161)
[INFO] Running org.appng.application.manager.business.SqlExecutorTest
2022-10-25 15:12:33,830 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-10-25 15:12:33,831 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@77fa62a6, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@265561b0, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@44d557e2, org.springframework.test.context.support.DirtiesContextTestExecutionListener@66d8b984, org.springframework.test.context.transaction.TransactionalTestExecutionListener@429318ab, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4f46a9a8]
2022-10-25 15:12:33,859 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:12:33,938 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:12:33,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-10-25 15:12:33,985 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:12:33,995 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2022-10-25 15:12:34,007 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-10-25 15:12:34,008 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@2f514c0: startup date [Tue Oct 25 15:12:34 CEST 2022]; root of context hierarchy
2022-10-25 15:12:34,045 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:12:34,045 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:12:34,045 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:12:34,046 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:12:34,046 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:12:34,047 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:12:34,047 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:12:34,047 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:12:34,049 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:12:34,192 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:35,081 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:35,412 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@2f514c0: startup date [Tue Oct 25 15:12:34 CEST 2022]; root of context hierarchy
2022-10-25 15:12:35,715 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2022-10-25 15:12:35,720 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 5 ms.
2022-10-25 15:12:35,830 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:12:36,012 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2022-10-25 15:12:36,212 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 8.4.3 by Redgate
2022-10-25 15:12:36,213 INFO [main] org.flywaydb.core.internal.database.base.BaseDatabaseType: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2022-10-25 15:12:36,411 INFO [main] org.springframework.jdbc.datasource.SingleConnectionDataSource: Established shared JDBC Connection: org.hsqldb.jdbc.JDBCConnection@535f6e7c
2022-10-25 15:12:36,514 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@2f514c0: startup date [Tue Oct 25 15:12:34 CEST 2022]; root of context hierarchy
2022-10-25 15:12:36,617 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.905 s - in org.appng.application.manager.business.SqlExecutorTest
[INFO] Running org.appng.application.manager.business.EnvironmentTest
2022-10-25 15:12:37,728 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-10-25 15:12:37,729 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2ba7bd40, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@54dc3889, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@644fd187, org.springframework.test.context.support.DirtiesContextTestExecutionListener@29b5289d, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3feedd56, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@ac3b252]
2022-10-25 15:12:37,744 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:12:37,800 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:12:37,812 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:12:37,851 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:12:37,860 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@106baa3a: startup date [Tue Oct 25 15:12:37 CEST 2022]; root of context hierarchy
2022-10-25 15:12:37,895 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:12:37,895 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:12:37,895 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:12:37,896 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:12:37,896 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:12:37,896 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:12:37,896 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:12:37,896 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:12:37,898 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:12:38,022 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:38,719 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:39,037 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@106baa3a: startup date [Tue Oct 25 15:12:37 CEST 2022]; root of context hierarchy
2022-10-25 15:12:39,376 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:12:39,646 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@106baa3a: startup date [Tue Oct 25 15:12:37 CEST 2022]; root of context hierarchy
2022-10-25 15:12:39,647 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.443 s - in org.appng.application.manager.business.EnvironmentTest
[INFO] Running org.appng.application.manager.business.LdapUsersTest
2022-10-25 15:12:40,170 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-10-25 15:12:40,171 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5a691788, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@20146165, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@115b631b, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4932f34a, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5b7568b3, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@586935f1]
2022-10-25 15:12:40,184 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:12:40,233 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:12:40,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-10-25 15:12:40,275 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:12:40,283 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@4c96cff9: startup date [Tue Oct 25 15:12:40 CEST 2022]; root of context hierarchy
2022-10-25 15:12:40,316 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:12:40,316 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:12:40,316 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:12:40,317 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:12:40,317 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:12:40,317 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:12:40,317 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:12:40,317 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:12:40,318 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:12:40,440 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:41,116 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:41,388 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@4c96cff9: startup date [Tue Oct 25 15:12:40 CEST 2022]; root of context hierarchy
2022-10-25 15:12:41,620 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:12:41,684 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@4c96cff9: startup date [Tue Oct 25 15:12:40 CEST 2022]; root of context hierarchy
2022-10-25 15:12:41,685 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.543 s - in org.appng.application.manager.business.LdapUsersTest
[INFO] Running org.appng.application.manager.business.GroupsTest
2022-10-25 15:12:42,722 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-10-25 15:12:42,723 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7f05ee44, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@38c3ac9, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@812eea6, org.springframework.test.context.support.DirtiesContextTestExecutionListener@78a73118, org.springframework.test.context.transaction.TransactionalTestExecutionListener@28008786, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4ab8ba3d]
2022-10-25 15:12:42,734 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:12:42,777 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:12:42,786 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:12:42,816 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:12:42,824 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@14aede43: startup date [Tue Oct 25 15:12:42 CEST 2022]; root of context hierarchy
2022-10-25 15:12:42,853 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:12:42,854 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:12:42,854 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:12:42,855 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:12:42,855 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:12:42,855 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:12:42,855 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:12:42,855 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:12:42,856 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:12:42,976 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:43,789 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:44,187 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@14aede43: startup date [Tue Oct 25 15:12:42 CEST 2022]; root of context hierarchy
2022-10-25 15:12:44,435 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:12:44,541 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2022-10-25 15:12:44,650 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2022-10-25 15:12:44,761 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2
2022-10-25 15:12:44,877 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost
2022-10-25 15:12:45,178 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-10-25 15:12:45,179 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-10-25 15:12:45,179 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-10-25 15:12:45,180 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-10-25 15:12:45,180 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-10-25 15:12:45,293 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admin
2022-10-25 15:12:46,020 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2022-10-25 15:12:46,143 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Group users
2022-10-25 15:12:46,554 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2022-10-25 15:12:46,662 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group Administrators
2022-10-25 15:12:47,321 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Group Administrators
2022-10-25 15:12:47,877 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@14aede43: startup date [Tue Oct 25 15:12:42 CEST 2022]; root of context hierarchy
2022-10-25 15:12:47,878 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.602 s - in org.appng.application.manager.business.GroupsTest
[INFO] Running org.appng.application.manager.business.PlatformPropertiesTest
2022-10-25 15:12:48,331 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-10-25 15:12:48,332 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@72603051, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@20ee33f9, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@46efcf25, org.springframework.test.context.support.DirtiesContextTestExecutionListener@35229cd8, org.springframework.test.context.transaction.TransactionalTestExecutionListener@46b3d095, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@17134241]
2022-10-25 15:12:48,346 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:12:48,397 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:12:48,408 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:12:48,445 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:12:48,453 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@ed8ac12: startup date [Tue Oct 25 15:12:48 CEST 2022]; root of context hierarchy
2022-10-25 15:12:48,486 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:12:48,486 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:12:48,487 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:12:48,487 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:12:48,487 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:12:48,487 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:12:48,488 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:12:48,488 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:12:48,489 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:12:48,621 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:49,286 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:49,570 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@ed8ac12: startup date [Tue Oct 25 15:12:48 CEST 2022]; root of context hierarchy
2022-10-25 15:12:49,804 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:12:50,083 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-10-25 15:12:50,084 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-10-25 15:12:50,084 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-10-25 15:12:50,085 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-10-25 15:12:50,085 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-10-25 15:12:50,085 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-10-25 15:12:50,086 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-10-25 15:12:50,086 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-10-25 15:12:50,086 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-10-25 15:12:50,087 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-10-25 15:12:50,087 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-10-25 15:12:50,087 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-10-25 15:12:50,206 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.testproperty
2022-10-25 15:12:50,540 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.anotherproperty
2022-10-25 15:12:50,913 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.booleanProp
2022-10-25 15:12:51,437 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.multilineProp
2022-10-25 15:12:52,690 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.testproperty
2022-10-25 15:12:53,343 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@ed8ac12: startup date [Tue Oct 25 15:12:48 CEST 2022]; root of context hierarchy
2022-10-25 15:12:53,345 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.541 s - in org.appng.application.manager.business.PlatformPropertiesTest
[INFO] Running org.appng.application.manager.business.RoleTest
2022-10-25 15:12:53,881 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-10-25 15:12:53,882 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@452344e1, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3b861ee3, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@589d55e0, org.springframework.test.context.support.DirtiesContextTestExecutionListener@17e35a54, org.springframework.test.context.transaction.TransactionalTestExecutionListener@48380005, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@43427ee7]
2022-10-25 15:12:53,898 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:12:53,946 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:12:53,956 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:12:53,988 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:12:53,996 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7cfed4bc: startup date [Tue Oct 25 15:12:53 CEST 2022]; root of context hierarchy
2022-10-25 15:12:54,028 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:12:54,029 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:12:54,029 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:12:54,030 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:12:54,030 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:12:54,030 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:12:54,030 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:12:54,030 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:12:54,032 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:12:54,171 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:55,205 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:12:55,495 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7cfed4bc: startup date [Tue Oct 25 15:12:53 CEST 2022]; root of context hierarchy
2022-10-25 15:12:55,729 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:12:55,835 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2022-10-25 15:12:55,949 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this
2022-10-25 15:12:56,073 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that
2022-10-25 15:12:56,179 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2022-10-25 15:12:56,504 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-10-25 15:12:56,504 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-10-25 15:12:56,505 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-10-25 15:12:56,505 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-10-25 15:12:56,505 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-10-25 15:12:56,622 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2
2022-10-25 15:12:57,052 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$$decd3d30.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-10-25 15:12:57,372 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Role role2
2022-10-25 15:12:58,096 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Role role.updated
2022-10-25 15:12:58,469 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7cfed4bc: startup date [Tue Oct 25 15:12:53 CEST 2022]; root of context hierarchy
2022-10-25 15:12:58,470 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: 5.636 s - in org.appng.application.manager.business.RoleTest
[INFO] Running org.appng.application.manager.business.PermissionsTest
2022-10-25 15:12:59,523 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-10-25 15:12:59,524 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@700af2bd, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7a7faf67, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@79ee345, org.springframework.test.context.support.DirtiesContextTestExecutionListener@344bc198, org.springframework.test.context.transaction.TransactionalTestExecutionListener@13f342b6, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1470d338]
2022-10-25 15:12:59,539 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:12:59,598 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:12:59,612 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:12:59,662 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:12:59,674 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@e29c421: startup date [Tue Oct 25 15:12:59 CEST 2022]; root of context hierarchy
2022-10-25 15:12:59,719 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:12:59,720 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:12:59,720 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:12:59,721 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:12:59,721 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:12:59,721 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:12:59,721 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:12:59,721 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:12:59,723 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:12:59,855 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:00,536 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:00,817 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@e29c421: startup date [Tue Oct 25 15:12:59 CEST 2022]; root of context hierarchy
2022-10-25 15:13:01,072 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:13:01,179 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2022-10-25 15:13:01,289 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2022-10-25 15:13:01,399 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this
2022-10-25 15:13:01,506 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that
2022-10-25 15:13:01,670 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-10-25 15:13:01,671 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-10-25 15:13:01,671 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-10-25 15:13:01,671 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-10-25 15:13:01,672 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-10-25 15:13:01,784 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.something
2022-10-25 15:13:02,550 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Permission do.something
2022-10-25 15:13:03,362 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Permission do.somethingelse
2022-10-25 15:13:03,486 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@e29c421: startup date [Tue Oct 25 15:12:59 CEST 2022]; root of context hierarchy
2022-10-25 15:13:03,487 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.491 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.032 s - in org.appng.application.manager.business.webservice.LogViewerTest
[INFO] Running org.appng.application.manager.business.ClusterStateTest
2022-10-25 15:13:04,055 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-10-25 15:13:04,055 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@257629dc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4e1a1f3, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@414705e9, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2577d761, org.springframework.test.context.transaction.TransactionalTestExecutionListener@315b32da, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@383cf33b]
2022-10-25 15:13:04,065 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:13:04,099 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:13:04,106 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:13:04,134 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:13:04,141 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5a7ada13: startup date [Tue Oct 25 15:13:04 CEST 2022]; root of context hierarchy
2022-10-25 15:13:04,173 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:13:04,173 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:13:04,173 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:13:04,174 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:13:04,174 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:13:04,174 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:13:04,174 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:13:04,174 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:13:04,176 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:13:04,311 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:04,976 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:05,235 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@5a7ada13: startup date [Tue Oct 25 15:13:04 CEST 2022]; root of context hierarchy
2022-10-25 15:13:05,480 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:13:05,507 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@5a7ada13: startup date [Tue Oct 25 15:13:04 CEST 2022]; root of context hierarchy
2022-10-25 15:13:05,508 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.947 s - in org.appng.application.manager.business.ClusterStateTest
[INFO] Running org.appng.application.manager.business.NodePropertiesTest
2022-10-25 15:13:06,012 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-10-25 15:13:06,012 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4a4f9f45, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7429150c, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@6b7c51ef, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7a9ed115, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4c9dccb4, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7020315e]
2022-10-25 15:13:06,027 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:13:06,073 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:13:06,083 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:13:06,117 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:13:06,123 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@754095db: startup date [Tue Oct 25 15:13:06 CEST 2022]; root of context hierarchy
2022-10-25 15:13:06,154 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:13:06,154 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:13:06,155 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:13:06,155 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:13:06,155 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:13:06,156 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:13:06,156 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:13:06,156 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:13:06,157 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:13:06,288 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:06,936 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:07,188 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@754095db: startup date [Tue Oct 25 15:13:06 CEST 2022]; root of context hierarchy
2022-10-25 15:13:07,569 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:13:07,716 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-10-25 15:13:07,716 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-10-25 15:13:07,717 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-10-25 15:13:07,717 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-10-25 15:13:07,717 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-10-25 15:13:07,717 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-10-25 15:13:07,717 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-10-25 15:13:07,718 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-10-25 15:13:07,718 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-10-25 15:13:07,718 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-10-25 15:13:07,718 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-10-25 15:13:07,718 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-10-25 15:13:07,827 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.node.foobar.foo
2022-10-25 15:13:08,648 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.node.foobar.foo
2022-10-25 15:13:09,000 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Property platform.node.foobar.foo
2022-10-25 15:13:09,011 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@754095db: startup date [Tue Oct 25 15:13:06 CEST 2022]; root of context hierarchy
2022-10-25 15:13:09,012 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.504 s - in org.appng.application.manager.business.NodePropertiesTest
[INFO] Running org.appng.application.manager.business.PlatformEventsTest
2022-10-25 15:13:09,519 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-10-25 15:13:09,520 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@598bcfcc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@415cf93d, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5900f4d0, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4304f2be, org.springframework.test.context.transaction.TransactionalTestExecutionListener@44f6a0bd, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@62452c0f]
2022-10-25 15:13:09,529 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:13:09,563 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:13:09,571 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:13:09,600 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:13:09,606 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@58c876d8: startup date [Tue Oct 25 15:13:09 CEST 2022]; root of context hierarchy
2022-10-25 15:13:09,636 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:13:09,637 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:13:09,637 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:13:09,637 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:13:09,637 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:13:09,637 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:13:09,638 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:13:09,638 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:13:09,639 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:13:09,767 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:10,915 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:11,163 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@58c876d8: startup date [Tue Oct 25 15:13:09 CEST 2022]; root of context hierarchy
2022-10-25 15:13:11,413 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:13:11,990 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@58c876d8: startup date [Tue Oct 25 15:13:09 CEST 2022]; root of context hierarchy
2022-10-25 15:13:11,992 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.929 s - in org.appng.application.manager.business.PlatformEventsTest
[INFO] Running org.appng.application.manager.business.DataBaseConnectionsTest
2022-10-25 15:13:12,457 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-10-25 15:13:12,458 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@382b4d6, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@441cab78, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@86272b7, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2da57762, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3b175204, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1af16975]
2022-10-25 15:13:12,477 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:13:12,526 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:13:12,539 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:13:12,581 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:13:12,587 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2022-10-25 15:13:12,592 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-10-25 15:13:12,592 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7853e60: startup date [Tue Oct 25 15:13:12 CEST 2022]; root of context hierarchy
2022-10-25 15:13:12,621 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:13:12,621 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:13:12,621 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:13:12,622 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:13:12,622 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:13:12,622 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:13:12,622 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:13:12,622 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:13:12,624 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:13:12,753 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:13,389 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:13,649 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7853e60: startup date [Tue Oct 25 15:13:12 CEST 2022]; root of context hierarchy
2022-10-25 15:13:13,903 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2022-10-25 15:13:13,906 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 3 ms.
2022-10-25 15:13:14,001 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:13:14,174 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2022-10-25 15:13:14,282 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 8.4.3 by Redgate
2022-10-25 15:13:14,283 INFO [main] org.flywaydb.core.internal.database.base.BaseDatabaseType: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2022-10-25 15:13:14,527 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2022-10-25 15:13:14,636 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 8.4.3 by Redgate
2022-10-25 15:13:14,637 INFO [main] org.flywaydb.core.internal.database.base.BaseDatabaseType: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2022-10-25 15:13:14,859 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2022-10-25 15:13:14,968 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 8.4.3 by Redgate
2022-10-25 15:13:14,969 INFO [main] org.flywaydb.core.internal.database.base.BaseDatabaseType: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2022-10-25 15:13:14,996 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-10-25 15:13:14,998 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-10-25 15:13:14,999 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-10-25 15:13:14,999 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-10-25 15:13:15,013 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7853e60: startup date [Tue Oct 25 15:13:12 CEST 2022]; root of context hierarchy
2022-10-25 15:13:15,117 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: 3.105 s - in org.appng.application.manager.business.DataBaseConnectionsTest
[INFO] Running org.appng.application.manager.business.MailTest
2022-10-25 15:13:15,567 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-10-25 15:13:15,567 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5e0a17c9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3750399f, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4f4d7b87, org.springframework.test.context.support.DirtiesContextTestExecutionListener@34d6fa7f, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3a6c0773, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@c464d60]
2022-10-25 15:13:15,579 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:13:15,615 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:13:15,622 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:13:15,650 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:13:15,656 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@2b758c5f: startup date [Tue Oct 25 15:13:15 CEST 2022]; root of context hierarchy
2022-10-25 15:13:15,685 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:13:15,685 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:13:15,686 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:13:15,686 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:13:15,686 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:13:15,687 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:13:15,687 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:13:15,687 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:13:15,688 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:13:15,823 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:16,641 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:16,973 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@2b758c5f: startup date [Tue Oct 25 15:13:15 CEST 2022]; root of context hierarchy
2022-10-25 15:13:17,231 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:13:17,257 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-10-25 15:13:17,258 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-10-25 15:13:17,258 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-10-25 15:13:17,258 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-10-25 15:13:17,274 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@2b758c5f: startup date [Tue Oct 25 15:13:15 CEST 2022]; root of context hierarchy
2022-10-25 15:13:17,275 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.195 s - in org.appng.application.manager.business.MailTest
[INFO] Running org.appng.application.manager.business.CacheTest
2022-10-25 15:13:17,775 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-10-25 15:13:17,777 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@54aa97d8, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1f0873e5, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1aa073b9, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7f27d4e1, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7f33988a, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@23785bd2]
Oct 25, 2022 3:13:17 PM com.hazelcast.config.ClasspathXmlConfig
INFO: Configuring Hazelcast from 'hazelcast-test.xml'.
2022-10-25 15:13:18,259 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-10-25 15:13:18,260 INFO [main] com.hazelcast.system : [10.102.4.103]:5702 [appNG] [5.0.2] Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.
2022-10-25 15:13:18,260 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-10-25 15:13:18,260 INFO [main] com.hazelcast.system : [10.102.4.103]:5702 [appNG] [5.0.2] Cluster name: appNG
2022-10-25 15:13:18,260 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-10-25 15:13:18,939 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-10-25 15:13:19,031 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-10-25 15:13:19,356 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-10-25 15:13:19,363 INFO [main] com.hazelcast.core.LifecycleService: [10.102.4.103]:5702 [appNG] [5.0.2] [10.102.4.103]:5702 is STARTING
2022-10-25 15:13:19,395 WARN [main] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] No join method is enabled! Starting standalone.
2022-10-25 15:13:19,396 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-10-25 15:13:19,412 INFO [main] com.hazelcast.core.LifecycleService: [10.102.4.103]:5702 [appNG] [5.0.2] [10.102.4.103]:5702 is STARTED
2022-10-25 15:13:19,435 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:13:19,475 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:13:19,493 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:13:19,548 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:13:19,558 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@42efc98a: startup date [Tue Oct 25 15:13:19 CEST 2022]; root of context hierarchy
2022-10-25 15:13:19,599 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:13:19,599 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:13:19,600 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:13:19,600 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:13:19,601 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:13:19,601 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:13:19,601 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:13:19,601 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:13:19,603 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:13:19,740 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:20,426 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:20,727 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@42efc98a: startup date [Tue Oct 25 15:13:19 CEST 2022]; root of context hierarchy
2022-10-25 15:13:20,980 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:13:20,995 INFO [main] com.hazelcast.internal.partition.impl.PartitionStateManager: [10.102.4.103]:5702 [appNG] [5.0.2] Initializing cluster partition table arrangement...
2022-10-25 15:13:21,050 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-10-25 15:13:21,081 INFO [main] org.appng.core.service.CacheService: Created cache 'pageCache-localhost' (ttl: 36000s, maximum entries: 20000, statistics: true)
2022-10-25 15:13:21,758 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@42efc98a: startup date [Tue Oct 25 15:13:19 CEST 2022]; root of context hierarchy
2022-10-25 15:13:21,760 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.444 s - in org.appng.application.manager.business.CacheTest
[INFO] Running org.appng.application.manager.business.ApplicationPropertiesTest
2022-10-25 15:13:22,213 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-10-25 15:13:22,214 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@535d148c, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@15873070, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@300cb65f, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2a04b7a8, org.springframework.test.context.transaction.TransactionalTestExecutionListener@11c63f10, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@3d6e89e8]
2022-10-25 15:13:22,224 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:13:22,260 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:13:22,267 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:13:22,295 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:13:22,302 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@67333d1b: startup date [Tue Oct 25 15:13:22 CEST 2022]; root of context hierarchy
2022-10-25 15:13:22,331 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:13:22,331 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:13:22,331 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:13:22,332 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:13:22,332 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:13:22,332 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:13:22,332 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:13:22,332 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:13:22,333 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:13:22,465 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:23,166 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:23,507 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@67333d1b: startup date [Tue Oct 25 15:13:22 CEST 2022]; root of context hierarchy
2022-10-25 15:13:23,763 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:13:23,869 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application manager
2022-10-25 15:13:24,037 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-10-25 15:13:24,037 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-10-25 15:13:24,038 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-10-25 15:13:24,038 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-10-25 15:13:24,038 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-10-25 15:13:24,038 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-10-25 15:13:24,039 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-10-25 15:13:24,039 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-10-25 15:13:24,039 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-10-25 15:13:24,039 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-10-25 15:13:24,040 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-10-25 15:13:24,040 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-10-25 15:13:24,157 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.testproperty
2022-10-25 15:13:24,635 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.anotherproperty
2022-10-25 15:13:25,427 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.application.manager.testproperty
2022-10-25 15:13:25,665 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@67333d1b: startup date [Tue Oct 25 15:13:22 CEST 2022]; root of context hierarchy
2022-10-25 15:13:25,666 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: 4.008 s - in org.appng.application.manager.business.ApplicationPropertiesTest
[INFO] Running org.appng.application.manager.business.SubjectsTest
2022-10-25 15:13:26,237 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-10-25 15:13:26,238 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4b857674, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6971bdc5, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@df7c452, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3569b076, org.springframework.test.context.transaction.TransactionalTestExecutionListener@55bf5679, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@3144469e]
2022-10-25 15:13:26,256 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:13:26,311 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:13:26,323 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:13:26,361 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:13:26,368 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7ab03b82: startup date [Tue Oct 25 15:13:26 CEST 2022]; root of context hierarchy
2022-10-25 15:13:26,398 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:13:26,398 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:13:26,399 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:13:26,399 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:13:26,399 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:13:26,399 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:13:26,400 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:13:26,400 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:13:26,401 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:13:26,536 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:27,182 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:27,435 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7ab03b82: startup date [Tue Oct 25 15:13:26 CEST 2022]; root of context hierarchy
2022-10-25 15:13:27,665 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:13:27,771 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admins
2022-10-25 15:13:27,881 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2022-10-25 15:13:28,136 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-10-25 15:13:28,137 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-10-25 15:13:28,137 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-10-25 15:13:28,137 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-10-25 15:13:28,137 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-10-25 15:13:28,138 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-10-25 15:13:28,138 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-10-25 15:13:28,138 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-10-25 15:13:28,138 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-10-25 15:13:28,139 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-10-25 15:13:28,139 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-10-25 15:13:29,145 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject admin
2022-10-25 15:13:29,159 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin
2022-10-25 15:13:30,381 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject user
2022-10-25 15:13:30,389 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject user
2022-10-25 15:13:30,826 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:1309)
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$$decd3d30.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-10-25 15:13:31,488 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Subject user
2022-10-25 15:13:33,244 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin
2022-10-25 15:13:34,399 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7ab03b82: startup date [Tue Oct 25 15:13:26 CEST 2022]; root of context hierarchy
2022-10-25 15:13:34,400 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.615 s - in org.appng.application.manager.business.SubjectsTest
[INFO] Running org.appng.application.manager.business.SessionsTest
2022-10-25 15:13:34,855 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-10-25 15:13:34,856 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@55a59340, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6b5604c7, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@10b709cf, org.springframework.test.context.support.DirtiesContextTestExecutionListener@395f0f0b, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4019b4f3, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1b32e00b]
2022-10-25 15:13:34,868 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:13:34,910 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:13:34,919 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:13:34,951 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:13:34,957 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2022-10-25 15:13:34,962 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-10-25 15:13:34,962 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@72050de3: startup date [Tue Oct 25 15:13:34 CEST 2022]; root of context hierarchy
2022-10-25 15:13:34,992 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:13:34,992 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:13:34,992 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:13:34,993 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:13:34,993 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:13:34,993 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:13:34,993 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:13:34,993 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:13:34,994 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:13:35,126 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:35,936 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:36,199 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@72050de3: startup date [Tue Oct 25 15:13:34 CEST 2022]; root of context hierarchy
2022-10-25 15:13:36,447 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2022-10-25 15:13:36,452 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 4 ms.
2022-10-25 15:13:36,547 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:13:36,861 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@72050de3: startup date [Tue Oct 25 15:13:34 CEST 2022]; root of context hierarchy
2022-10-25 15:13:36,965 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: 2.634 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-10-25 15:13:37,508 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-10-25 15:13:37,509 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@56d0fa9f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@555bd14b, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@fd9cecd, org.springframework.test.context.support.DirtiesContextTestExecutionListener@16ac52e4, org.springframework.test.context.transaction.TransactionalTestExecutionListener@47f946ac, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4ca30691]
2022-10-25 15:13:37,523 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-25 15:13:37,568 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-25 15:13:37,581 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-25 15:13:37,612 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-25 15:13:37,621 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@79025e41: startup date [Tue Oct 25 15:13:37 CEST 2022]; root of context hierarchy
2022-10-25 15:13:37,652 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 MappingJackson2HttpMessageConverters:
2022-10-25 15:13:37,652 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 ObjectMappers:
2022-10-25 15:13:37,652 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 Modules:
2022-10-25 15:13:37,653 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Found 0 @Primary Beans:
2022-10-25 15:13:37,653 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No ObjectMapper found in context, creating default.
2022-10-25 15:13:37,653 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] No MappingJackson2HttpMessageConverter found in context, creating default.
2022-10-25 15:13:37,653 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering ObjectMapper 'defaultObjectMapper'
2022-10-25 15:13:37,653 INFO [main] org.appng.api.config.RestConfig: [localhost:appng-manager] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2022-10-25 15:13:37,654 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-10-25 15:13:37,793 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:38,412 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-10-25 15:13:38,670 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@79025e41: startup date [Tue Oct 25 15:13:37 CEST 2022]; root of context hierarchy
2022-10-25 15:13:38,908 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-10-25 15:13:41,067 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@79025e41: startup date [Tue Oct 25 15:13:37 CEST 2022]; root of context hierarchy
2022-10-25 15:13:41,068 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: 4.295 s - in org.appng.application.manager.job.DatabaseReportJobTest
2022-10-25 15:13:41,810 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] Running shutdown hook... Current state: ACTIVE
2022-10-25 15:13:41,812 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-10-25 15:13:41,826 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-10-25 15:13:41,832 INFO [hz.test.cached.thread-3] com.hazelcast.internal.partition.impl.MigrationManager: [10.102.4.103]:5702 [appNG] [5.0.2] Shutdown request of Member [10.102.4.103]:5702 - 6ad2d7d2-e51b-40a7-9d96-8e7a7a8c61a3 this is handled
2022-10-25 15:13:41,846 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] Shutting down connection manager...
2022-10-25 15:13:41,852 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] Shutting down node engine...
2022-10-25 15:13:41,858 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-10-25 15:13:41,878 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.NodeExtension: [10.102.4.103]:5702 [appNG] [5.0.2] Destroying node NodeExtension.
2022-10-25 15:13:41,879 INFO [hz.ShutdownThread] com.hazelcast.instance.impl.Node: [10.102.4.103]:5702 [appNG] [5.0.2] Hazelcast Shutdown is completed in 52 ms.
2022-10-25 15:13:41,879 INFO [hz.ShutdownThread] com.hazelcast.core.LifecycleService: [10.102.4.103]:5702 [appNG] [5.0.2] [10.102.4.103]:5702 is SHUTDOWN
2022-10-25 15:13:41,879 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-10-25 15:13:41,879 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] RepositoriesTest.testPackages:161->TestBase.validate:557 XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected attribute value '1' but was '0' - comparing <resultset hits="1"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="packages">
<config>
<title id="packages">Packages</title>
<params>
<param name="repositoryid">1</param>
<param name="packagename"/>
<param name="packageFilter">*</param>
</params>
<meta-data bindClass="org.appng.core.model.InstallablePackage" result-selector="${current.name eq packagename}">
<field name="name" type="text" displayLength="30" readonly="true" binding="name">
<sort/>
<label id="name">Name</label>
</field>
<field name="displayName" type="text" displayLength="30" readonly="true" binding="displayName">
<sort/>
<label id="displayName">Display name</label>
</field>
<field name="type" type="text" displayLength="30" readonly="true" binding="type">
<sort/>
<label id="type">Type</label>
</field>
<field name="latestRelease" type="text" readonly="true" binding="latestRelease">
<label id="latestRelease">Latest release</label>
</field>
<field name="latestSnapshot" type="text" readonly="true" binding="latestSnapshot">
<label id="latestSnapshot">Latest snapshot</label>
</field>
<field name="installedVersion" type="text" readonly="true" binding="installedVersion">
<label id="installedVersion">Installed version</label>
</field>
<field name="installedVersion" type="image" binding="installedVersion">
<label></label>
<icon condition="${not empty current.installedVersion}">led_green</icon>
<icon condition="${empty current.installedVersion}">led_red</icon>
</field>
<field name="actions" type="linkpanel" binding="actions">
<label id="actions">Actions</label>
</field>
</meta-data>
<linkpanel id="actions" location="inline">
<link id="actions[1]" target="/repositories/installation/1/#{name}#tab_packages" mode="intern" default="true">
<label id="package.showVersions">Show package versions</label>
<icon>edit</icon>
</link>
<link id="actions[2]" target="/repositories/installation/1?act=install&packagename=#{name}&packageversion=#{latestRelease}" mode="intern" show-disabled="true">
<condition expression="${(current.installedVersion ne current.latestRelease) and (not empty current.latestRelease)}"/>
<label id="install.latestrelease">Install latest release</label>
<icon>d_release</icon>
</link>
<link id="actions[3]" target="/repositories/installation/1?act=install&packagename=#{name}&packageversion=#{latestSnapshot}" mode="intern" show-disabled="true">
<condition expression="${not empty current.latestSnapshot}"/>
<label id="install.latestsnapshot">Install latest snapshot</label>
<icon>d_snapshot</icon>
</link>
</linkpanel>
</config>
<data>
<selectionGroup>
<selection id="pf" type="text">
<title id="name">Name</title>
<option value="*" name="pf"/>
</selection>
</selectionGroup>
<resultset chunk="0" chunkname="packages" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '1' but was '0' - comparing <resultset hits="1"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
[INFO]
[ERROR] Tests run: 93, Failures: 1, Errors: 0, Skipped: 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:43 min
[INFO] Finished at: 2022-10-25T15:13:42+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
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Results)
[Pipeline] junit
Recording test results
[Checks API] No suitable checks publisher found.
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/appNG_Manager
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Prepare doc folder)
[Pipeline] sh
+ rm -rf /srv/www/appng.org/appng-manager/docs/1.19.x
[Pipeline] sh
+ mkdir --parents /srv/www/appng.org/appng-manager/docs/1.19.x/reference
[Pipeline] sh
+ mkdir --parents /srv/www/appng.org/appng-manager/docs/1.19.x/javadoc
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Unstash Build)
[Pipeline] dir
Running in /srv/www/appng.org/appng/builds/snapshot
[Pipeline] {
[Pipeline] unstash
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: No such saved stash ‘jenkins_artifacts’
Finished: FAILURE