Started by user Matthias Mueller Running as Matthias Mueller Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of Pipeline [Pipeline] node Running on appngbuild0 in /var/lib/jenkins/workspace/appNG_Manager@2 [Pipeline] { [Pipeline] tool [Pipeline] stage [Pipeline] { (git clone) [Pipeline] git No credentials specified Cloning the remote Git repository Cloning repository git@github.com:appNG/appng-manager.git > git init /var/lib/jenkins/workspace/appNG_Manager@2 # timeout=10 Fetching upstream changes from git@github.com:appNG/appng-manager.git > git --version # timeout=10 > git fetch --tags --progress git@github.com:appNG/appng-manager.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url git@github.com:appNG/appng-manager.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 fetch --tags --progress git@github.com:appNG/appng-manager.git +refs/heads/*:refs/remotes/origin/* Checking out Revision 57b6eb5151748421edfb075ef56a1b9666762d4e (refs/remotes/origin/feature/MGR-74) Commit message: "MGR-74 Rework displaying user sessions" > git rev-parse refs/remotes/origin/feature/MGR-74^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/feature/MGR-74^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57b6eb5151748421edfb075ef56a1b9666762d4e > git branch -a -v --no-abbrev # timeout=10 > git checkout -b feature/MGR-74 57b6eb5151748421edfb075ef56a1b9666762d4e > git rev-list --no-walk 57b6eb5151748421edfb075ef56a1b9666762d4e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Maven Build) [Pipeline] sh + /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.5.0/bin/mvn clean deploy [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building appNG Manager 1.15.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-manager --- [INFO] [INFO] --- appng-maven-plugin:1.19.1-SNAPSHOT:generateApplicationConstants (applicationConstants) @ appng-manager --- [INFO] generate application constants for [/var/lib/jenkins/workspace/appNG_Manager@2/application-home/application.xml, org.appng.application.manager.ManagerSettings, /var/lib/jenkins/workspace/appNG_Manager@2/target/generated-sources/constants] [INFO] [INFO] --- appng-maven-plugin:1.19.1-SNAPSHOT:generateMessageConstants (messageConstants) @ appng-manager --- [INFO] generate message constants for [/var/lib/jenkins/workspace/appNG_Manager@2/application-home/dictionary/manager-messages.properties, org.appng.application.manager.MessageConstants, /var/lib/jenkins/workspace/appNG_Manager@2/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@2/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 53 source files to /var/lib/jenkins/workspace/appNG_Manager@2/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ appng-manager --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 77 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ appng-manager --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 17 source files to /var/lib/jenkins/workspace/appNG_Manager@2/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ appng-manager --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.appng.application.manager.job.DatabaseReportJobTest 2019-06-04 13:21:34,317 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] 2019-06-04 13:21:34,331 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1fe20588, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6ce139a4, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@6973bf95, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2ddc8ecb, org.springframework.test.context.transaction.TransactionalTestExecutionListener@229d10bd, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@47542153] 2019-06-04 13:21:34,995 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:21:35,248 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:21:35,271 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:21:35,380 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:21:35,402 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7880cdf3: startup date [Tue Jun 04 13:21:35 CEST 2019]; root of context hierarchy 2019-06-04 13:21:35,682 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring Jun 04, 2019 1:21:35 PM ch.sla.jdbcperflogger.Logger info INFO: Using config file jdbcperflogger-fallback.xml 2019-06-04 13:21:36,234 INFO [HSQLDB Server @5a4bef8] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Checkpoint start 2019-06-04 13:21:36,235 INFO [HSQLDB Server @5a4bef8] hsqldb.db.HSQLDB6B22391AD6.ENGINE: checkpointClose start 2019-06-04 13:21:36,245 INFO [HSQLDB Server @5a4bef8] hsqldb.db.HSQLDB6B22391AD6.ENGINE: checkpointClose synched 2019-06-04 13:21:36,260 INFO [HSQLDB Server @5a4bef8] hsqldb.db.HSQLDB6B22391AD6.ENGINE: checkpointClose script done 2019-06-04 13:21:36,287 INFO [HSQLDB Server @5a4bef8] hsqldb.db.HSQLDB6B22391AD6.ENGINE: checkpointClose end 2019-06-04 13:21:36,288 INFO [HSQLDB Server @5a4bef8] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Checkpoint end - txts: 1 2019-06-04 13:21:36,478 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:36,507 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:21:36,617 INFO [main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} 2019-06-04 13:21:36,838 INFO [main] org.hibernate.annotations.common.Version: HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 2019-06-04 13:21:37,257 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:21:37,347 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:21:37,937 INFO [main] org.hibernate.validator.internal.util.Version: HV000001: Hibernate Validator 6.0.15.Final 2019-06-04 13:21:39,380 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:21:39,384 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:40,585 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.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. 2019-06-04 13:21:40,585 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. 2019-06-04 13:21:40,636 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7880cdf3: startup date [Tue Jun 04 13:21:35 CEST 2019]; root of context hierarchy 2019-06-04 13:21:41,019 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:21:42,632 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7880cdf3: startup date [Tue Jun 04 13:21:35 CEST 2019]; root of context hierarchy 2019-06-04 13:21:42,636 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:42,636 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:21:42,914 INFO [HSQLDB Connection @c588a5] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.08 s - in org.appng.application.manager.job.DatabaseReportJobTest [INFO] Running org.appng.application.manager.business.ApplicationPropertiesTest 2019-06-04 13:21:43,131 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] 2019-06-04 13:21:43,132 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@509d999c, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@12544a50, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@125df632, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1b472cad, org.springframework.test.context.transaction.TransactionalTestExecutionListener@27aa0720, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@179cdf4f] 2019-06-04 13:21:43,142 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:21:43,197 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:21:43,208 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:21:43,251 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:21:43,263 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@6a0d47e8: startup date [Tue Jun 04 13:21:43 CEST 2019]; root of context hierarchy 2019-06-04 13:21:43,304 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:21:43,435 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:43,435 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:21:43,577 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:21:43,590 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:21:44,093 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:21:44,093 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:44,486 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@6a0d47e8: startup date [Tue Jun 04 13:21:43 CEST 2019]; root of context hierarchy 2019-06-04 13:21:44,659 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:21:44,775 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application manager 2019-06-04 13:21:45,068 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 2019-06-04 13:21:45,070 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 2019-06-04 13:21:45,071 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 2019-06-04 13:21:45,071 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 2019-06-04 13:21:45,072 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 2019-06-04 13:21:45,072 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 2019-06-04 13:21:45,072 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 2019-06-04 13:21:45,076 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 2019-06-04 13:21:45,076 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 2019-06-04 13:21:45,076 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 2019-06-04 13:21:45,076 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 2019-06-04 13:21:45,076 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 2019-06-04 13:21:45,259 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.testproperty 2019-06-04 13:21:45,995 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.anotherproperty 2019-06-04 13:21:46,711 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.application.manager.testproperty 2019-06-04 13:21:46,963 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@6a0d47e8: startup date [Tue Jun 04 13:21:43 CEST 2019]; root of context hierarchy 2019-06-04 13:21:46,966 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:46,966 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:21:47,225 INFO [HSQLDB Connection @5f3cd958] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.293 s - in org.appng.application.manager.business.ApplicationPropertiesTest [INFO] Running org.appng.application.manager.business.RepositoriesTest 2019-06-04 13:21:47,437 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] 2019-06-04 13:21:47,437 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@65ed2da6, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@14a5bfd2, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4a3b95b, org.springframework.test.context.support.DirtiesContextTestExecutionListener@49251807, org.springframework.test.context.transaction.TransactionalTestExecutionListener@45a98c98, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7ccbf0d0] 2019-06-04 13:21:47,447 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:21:47,480 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:21:47,488 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:21:47,521 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:21:47,531 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@65bbf773: startup date [Tue Jun 04 13:21:47 CEST 2019]; root of context hierarchy 2019-06-04 13:21:47,568 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:21:47,689 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:47,690 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:21:47,830 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:21:47,844 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:21:48,317 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:21:48,317 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:48,669 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@65bbf773: startup date [Tue Jun 04 13:21:47 CEST 2019]; root of context hierarchy 2019-06-04 13:21:48,827 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:21:48,984 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-06-04 13:21:48,984 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-06-04 13:21:48,984 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-06-04 13:21:48,984 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-06-04 13:21:49,109 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Local 2019-06-04 13:21:49,497 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:895) at org.appng.application.manager.service.ManagerService.validateRepository(ManagerService.java:880) at org.appng.application.manager.service.ManagerService.createRepository(ManagerService.java:808) 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:736) 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:282) 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:671) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$d4163928.createRepository(<generated>) at org.appng.application.manager.business.Repositories.perform(Repositories.java:69) at org.appng.application.manager.business.Repositories.perform(Repositories.java:47) at org.appng.api.support.CallableAction.execute(CallableAction.java:420) at org.appng.api.support.CallableAction.perform(CallableAction.java:318) at org.appng.api.support.CallableAction.perform(CallableAction.java:292) at org.appng.application.manager.business.RepositoriesTest.testCreateRepositoryNameExists(RepositoriesTest.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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:325) 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$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 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.run(ParentRunner.java:363) 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:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) 2019-06-04 13:21:49,766 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me 2019-06-04 13:21:49,894 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Repository Delete me 2019-06-04 13:21:50,028 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me 2019-06-04 13:21:50,730 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@65bbf773: startup date [Tue Jun 04 13:21:47 CEST 2019]; root of context hierarchy 2019-06-04 13:21:50,732 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:50,732 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:21:51,041 INFO [HSQLDB Connection @2fa33d8f] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.803 s - in org.appng.application.manager.business.RepositoriesTest [INFO] Running org.appng.application.manager.business.SitesTest 2019-06-04 13:21:51,255 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] 2019-06-04 13:21:51,256 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@77c5023c, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@577f904a, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@523fc886, org.springframework.test.context.support.DirtiesContextTestExecutionListener@d74f2b5, org.springframework.test.context.transaction.TransactionalTestExecutionListener@527fd5c5, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@79a9e200] 2019-06-04 13:21:51,263 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:21:51,293 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:21:51,300 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:21:51,332 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:21:51,340 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@557e6e4b: startup date [Tue Jun 04 13:21:51 CEST 2019]; root of context hierarchy 2019-06-04 13:21:51,370 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:21:51,497 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:51,497 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:21:51,637 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:21:51,648 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:21:52,135 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:21:52,135 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:52,472 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@557e6e4b: startup date [Tue Jun 04 13:21:51 CEST 2019]; root of context hierarchy 2019-06-04 13:21:52,613 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:21:53,046 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2 2019-06-04 13:21:53,160 ERROR [main] org.appng.application.manager.business.Sites: error during action 'delete': Failed to delete the site. org.appng.api.BusinessException: No such site 2 at org.appng.application.manager.service.ManagerService.deleteSite(ManagerService.java:251) 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:736) 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:282) 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:671) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$d4163928.deleteSite(<generated>) at org.appng.application.manager.business.Sites.perform(Sites.java:78) at org.appng.application.manager.business.Sites.perform(Sites.java:48) at org.appng.api.support.CallableAction.execute(CallableAction.java:420) at org.appng.api.support.CallableAction.perform(CallableAction.java:318) at org.appng.api.support.CallableAction.perform(CallableAction.java:292) at org.appng.application.manager.business.SitesTest.testDeleteSite(SitesTest.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:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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:325) 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$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 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.run(ParentRunner.java:363) 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:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) 2019-06-04 13:21:53,318 ERROR [main] org.appng.application.manager.business.Sites: error during action 'reload': Failed to reload the site. org.appng.api.BusinessException: java.lang.NullPointerException at org.appng.api.support.RequestSupportImpl.handleException(RequestSupportImpl.java:202) at org.appng.api.support.ApplicationRequest.handleException(ApplicationRequest.java:133) at org.appng.application.manager.service.ManagerService.reloadSite(ManagerService.java:1423) 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:736) 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:282) 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:671) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$d4163928.reloadSite(<generated>) at org.appng.application.manager.business.Sites.perform(Sites.java:82) at org.appng.application.manager.business.Sites.perform(Sites.java:48) at org.appng.api.support.CallableAction.execute(CallableAction.java:420) at org.appng.api.support.CallableAction.perform(CallableAction.java:318) at org.appng.api.support.CallableAction.perform(CallableAction.java:292) at org.appng.application.manager.business.SitesTest.testReloadSite(SitesTest.java:75) 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:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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:325) 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$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 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.run(ParentRunner.java:363) 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:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) Caused by: java.lang.NullPointerException at org.appng.core.service.PropertySupport.initSiteProperties(PropertySupport.java:257) at org.appng.core.service.CoreService.initSiteProperties(CoreService.java:666) at org.appng.core.service.CoreService.initSite(CoreService.java:381) at org.appng.core.service.CoreService.getSite(CoreService.java:354) at org.appng.application.manager.service.ManagerService.reloadSite(ManagerService.java:1408) ... 47 more 2019-06-04 13:21:53,586 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2 2019-06-04 13:21:53,592 WARN [main] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: SQL Error: -104, SQLState: 23505 2019-06-04 13:21:53,592 ERROR [main] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: integrity constraint violation: unique constraint or index violation; UK_QSGK5CJL6WT1XVHDEQYMOYMQB table: SITE 2019-06-04 13:21:53,598 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@557e6e4b: startup date [Tue Jun 04 13:21:51 CEST 2019]; root of context hierarchy 2019-06-04 13:21:53,600 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:53,600 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:21:53,874 INFO [HSQLDB Connection @ca9ce4] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [ERROR] Tests run: 6, Failures: 1, Errors: 4, Skipped: 0, Time elapsed: 2.828 s <<< FAILURE! - in org.appng.application.manager.business.SitesTest [ERROR] testCreateSite(org.appng.application.manager.business.SitesTest) Time elapsed: 0.209 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'new-site', ID: 583485973 at org.appng.application.manager.business.SitesTest.testCreateSite(SitesTest.java:47) Caused by: java.lang.NullPointerException at org.appng.application.manager.business.SitesTest.testCreateSite(SitesTest.java:47) [ERROR] testCreateSiteValidationFail(org.appng.application.manager.business.SitesTest) Time elapsed: 0.133 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'new-site', ID: 850093265 at org.appng.application.manager.business.SitesTest.testCreateSiteValidationFail(SitesTest.java:58) Caused by: java.lang.NullPointerException at org.appng.application.manager.business.SitesTest.testCreateSiteValidationFail(SitesTest.java:58) [ERROR] testDeleteSite(org.appng.application.manager.business.SitesTest) Time elapsed: 0.252 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing <messages...> at /messages[1] to <messages...> at /messages[1] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <messages xmlns="http://www.appng.org/schema/platform" ref="delete"> <message ref="delete" class="ERROR">Site does not exist.</message> <message ref="delete" class="ERROR">Failed to delete the site.</message> </messages> , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing <messages...> at /messages[1] to <messages...> at /messages[1] at org.appng.application.manager.business.SitesTest.testDeleteSite(SitesTest.java:68) [ERROR] testShowSite(org.appng.application.manager.business.SitesTest) Time elapsed: 0.134 s <<< ERROR! org.appng.api.ProcessingException: error retrieving datasource 'site', ID: 1233565591 at org.appng.application.manager.business.SitesTest.testShowSite(SitesTest.java:82) Caused by: java.lang.NullPointerException at org.appng.application.manager.business.SitesTest.testShowSite(SitesTest.java:82) [ERROR] testShowSites(org.appng.application.manager.business.SitesTest) Time elapsed: 0.135 s <<< ERROR! org.springframework.orm.jpa.JpaSystemException: org.hibernate.exception.ConstraintViolationException: could not execute statement; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement at org.appng.application.manager.business.SitesTest.createSite(SitesTest.java:103) at org.appng.application.manager.business.SitesTest.testShowSites(SitesTest.java:88) Caused by: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement at org.appng.application.manager.business.SitesTest.createSite(SitesTest.java:103) at org.appng.application.manager.business.SitesTest.testShowSites(SitesTest.java:88) Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement at org.appng.application.manager.business.SitesTest.createSite(SitesTest.java:103) at org.appng.application.manager.business.SitesTest.testShowSites(SitesTest.java:88) Caused by: java.sql.SQLIntegrityConstraintViolationException: integrity constraint violation: unique constraint or index violation; UK_QSGK5CJL6WT1XVHDEQYMOYMQB table: SITE at org.appng.application.manager.business.SitesTest.createSite(SitesTest.java:103) at org.appng.application.manager.business.SitesTest.testShowSites(SitesTest.java:88) [INFO] Running org.appng.application.manager.business.PlatformEventsTest 2019-06-04 13:21:54,087 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] 2019-06-04 13:21:54,087 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@403024bc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@81adc00, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5908465e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@10cf3e2d, org.springframework.test.context.transaction.TransactionalTestExecutionListener@519bfd4c, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@fbfc1a3] 2019-06-04 13:21:54,094 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:21:54,126 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:21:54,132 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:21:54,162 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:21:54,170 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@141e4cbc: startup date [Tue Jun 04 13:21:54 CEST 2019]; root of context hierarchy 2019-06-04 13:21:54,198 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:21:54,323 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:54,323 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:21:54,461 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:21:54,477 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:21:54,938 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:21:54,939 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:55,240 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@141e4cbc: startup date [Tue Jun 04 13:21:54 CEST 2019]; root of context hierarchy 2019-06-04 13:21:55,372 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:21:56,003 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@141e4cbc: startup date [Tue Jun 04 13:21:54 CEST 2019]; root of context hierarchy 2019-06-04 13:21:56,005 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:56,005 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:21:56,253 INFO [HSQLDB Connection @39c33098] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.356 s - in org.appng.application.manager.business.PlatformEventsTest [INFO] Running org.appng.application.manager.business.DataBaseConnectionsTest 2019-06-04 13:21:56,465 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] 2019-06-04 13:21:56,466 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@500919c6, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7f9f40f2, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7de4ea0d, org.springframework.test.context.support.DirtiesContextTestExecutionListener@45f483b7, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5dab65e6, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@58b63671] 2019-06-04 13:21:56,471 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:21:56,494 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:21:56,499 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:21:56,525 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:21:56,532 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml] 2019-06-04 13:21:56,542 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@2580be8: startup date [Tue Jun 04 13:21:56 CEST 2019]; root of context hierarchy 2019-06-04 13:21:56,566 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:21:56,689 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:56,689 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:21:56,826 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:21:56,838 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:21:57,313 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:21:57,313 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:57,606 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@2580be8: startup date [Tue Jun 04 13:21:56 CEST 2019]; root of context hierarchy 2019-06-04 13:21:57,812 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql] 2019-06-04 13:21:57,816 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 4 ms. 2019-06-04 13:21:57,867 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:21:58,028 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2019-06-04 13:21:58,037 INFO [main] org.flywaydb.core.internal.util.VersionPrinter: Flyway 4.2.0 by Boxfuse 2019-06-04 13:21:58,153 INFO [main] org.flywaydb.core.internal.dbsupport.DbSupportFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.4) 2019-06-04 13:21:58,368 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2019-06-04 13:21:58,470 INFO [main] org.flywaydb.core.internal.dbsupport.DbSupportFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.4) 2019-06-04 13:21:58,503 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@2580be8: startup date [Tue Jun 04 13:21:56 CEST 2019]; root of context hierarchy 2019-06-04 13:21:58,607 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:58,608 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:21:58,860 INFO [HSQLDB Connection @3bf5d68d] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.609 s - in org.appng.application.manager.business.DataBaseConnectionsTest [INFO] Running org.appng.application.manager.business.webservice.LogViewerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s - in org.appng.application.manager.business.webservice.LogViewerTest [INFO] Running org.appng.application.manager.business.SubjectsTest 2019-06-04 13:21:59,091 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] 2019-06-04 13:21:59,091 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@756048b9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@32facc2d, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2d950306, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6cc66ea8, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1b14c609, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7f6beae2] 2019-06-04 13:21:59,096 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:21:59,121 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:21:59,126 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:21:59,152 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:21:59,159 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7ae35b3a: startup date [Tue Jun 04 13:21:59 CEST 2019]; root of context hierarchy 2019-06-04 13:21:59,184 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:21:59,309 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:21:59,309 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:21:59,447 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:21:59,458 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:21:59,904 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:21:59,904 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:00,226 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7ae35b3a: startup date [Tue Jun 04 13:21:59 CEST 2019]; root of context hierarchy 2019-06-04 13:22:00,423 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:22:00,528 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admins 2019-06-04 13:22:00,636 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2019-06-04 13:22:00,835 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 2019-06-04 13:22:00,835 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 2019-06-04 13:22:00,835 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 2019-06-04 13:22:00,835 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 2019-06-04 13:22:00,836 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 2019-06-04 13:22:00,836 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 2019-06-04 13:22:00,837 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 2019-06-04 13:22:00,837 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 2019-06-04 13:22:00,837 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 2019-06-04 13:22:00,837 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 2019-06-04 13:22:00,837 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 2019-06-04 13:22:01,724 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject admin 2019-06-04 13:22:01,743 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin 2019-06-04 13:22:02,817 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject user 2019-06-04 13:22:02,827 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject user 2019-06-04 13:22:03,196 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:1143) 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:736) 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:282) 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:671) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$d4163928.createSubject(<generated>) at org.appng.application.manager.business.Subjects.perform(Subjects.java:69) at org.appng.application.manager.business.Subjects.perform(Subjects.java:51) at org.appng.api.support.CallableAction.execute(CallableAction.java:420) at org.appng.api.support.CallableAction.perform(CallableAction.java:318) at org.appng.api.support.CallableAction.perform(CallableAction.java:292) at org.appng.application.manager.business.SubjectsTest.testCreateNameExists(SubjectsTest.java:116) 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:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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:325) 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$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 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.run(ParentRunner.java:363) 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:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) 2019-06-04 13:22:03,776 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Subject user 2019-06-04 13:22:05,099 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin 2019-06-04 13:22:05,262 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7ae35b3a: startup date [Tue Jun 04 13:21:59 CEST 2019]; root of context hierarchy 2019-06-04 13:22:05,263 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:05,263 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:22:05,517 INFO [HSQLDB Connection @502158b0] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.632 s - in org.appng.application.manager.business.SubjectsTest [INFO] Running org.appng.application.manager.business.SessionsTest 2019-06-04 13:22:05,730 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] 2019-06-04 13:22:05,730 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6396ed16, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@392344fd, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@ee61bb, org.springframework.test.context.support.DirtiesContextTestExecutionListener@112ad2a5, org.springframework.test.context.transaction.TransactionalTestExecutionListener@458073cb, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@66a7d32a] 2019-06-04 13:22:05,801 INFO [main] org.appng.core.controller.SessionListener: Created eternal cache 'sessions'. 2019-06-04 13:22:05,816 WARN [main] net.sf.ehcache.config.ConfigurationFactory: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/var/lib/jenkins/.m2/repository/net/sf/ehcache/ehcache-core/2.6.11/ehcache-core-2.6.11.jar!/ehcache-failsafe.xml 2019-06-04 13:22:05,926 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:22:05,950 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:22:05,956 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:22:05,983 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:22:05,990 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@4d299d7d: startup date [Tue Jun 04 13:22:05 CEST 2019]; root of context hierarchy 2019-06-04 13:22:06,023 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:22:06,147 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:06,147 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:22:06,285 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:22:06,314 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:22:06,780 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:22:06,780 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:07,101 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@4d299d7d: startup date [Tue Jun 04 13:22:05 CEST 2019]; root of context hierarchy 2019-06-04 13:22:07,248 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:22:07,432 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@4d299d7d: startup date [Tue Jun 04 13:22:05 CEST 2019]; root of context hierarchy 2019-06-04 13:22:07,433 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:07,433 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:22:07,686 INFO [HSQLDB Connection @6ac0708a] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.171 s - in org.appng.application.manager.business.SessionsTest [INFO] Running org.appng.application.manager.business.SqlExecutorTest 2019-06-04 13:22:07,896 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] 2019-06-04 13:22:07,896 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2b6ba72d, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@205de9c, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5f45b94c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@52d09d38, org.springframework.test.context.transaction.TransactionalTestExecutionListener@24f40a80, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@829c1bc] 2019-06-04 13:22:07,903 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:22:07,936 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:22:07,943 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:22:07,980 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:22:07,986 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml] 2019-06-04 13:22:07,992 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7a54962c: startup date [Tue Jun 04 13:22:07 CEST 2019]; root of context hierarchy 2019-06-04 13:22:08,020 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:22:08,144 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:08,144 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:22:08,290 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:22:08,303 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:22:08,802 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:22:08,802 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:09,098 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7a54962c: startup date [Tue Jun 04 13:22:07 CEST 2019]; root of context hierarchy 2019-06-04 13:22:09,285 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql] 2019-06-04 13:22:09,288 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 2 ms. 2019-06-04 13:22:09,341 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:22:09,497 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2019-06-04 13:22:09,599 INFO [main] org.flywaydb.core.internal.dbsupport.DbSupportFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.4) 2019-06-04 13:22:09,724 INFO [main] org.springframework.jdbc.datasource.SingleConnectionDataSource: Established shared JDBC Connection: org.hsqldb.jdbc.JDBCConnection@f0bd721 2019-06-04 13:22:09,759 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7a54962c: startup date [Tue Jun 04 13:22:07 CEST 2019]; root of context hierarchy 2019-06-04 13:22:09,862 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:09,863 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:22:10,112 INFO [HSQLDB Connection @6965c791] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.423 s - in org.appng.application.manager.business.SqlExecutorTest [INFO] Running org.appng.application.manager.business.PlatformPropertiesTest 2019-06-04 13:22:10,326 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] 2019-06-04 13:22:10,327 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@a1b8b31, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@251a1df7, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@69015e8b, org.springframework.test.context.support.DirtiesContextTestExecutionListener@14aab515, org.springframework.test.context.transaction.TransactionalTestExecutionListener@42bee6b2, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@373eaeb7] 2019-06-04 13:22:10,334 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:22:10,359 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:22:10,365 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:22:10,391 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:22:10,398 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@54284bdd: startup date [Tue Jun 04 13:22:10 CEST 2019]; root of context hierarchy 2019-06-04 13:22:10,425 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:22:10,548 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:10,548 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:22:10,685 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:22:10,696 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:22:11,109 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:22:11,109 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:11,419 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@54284bdd: startup date [Tue Jun 04 13:22:10 CEST 2019]; root of context hierarchy 2019-06-04 13:22:11,551 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:22:11,701 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 2019-06-04 13:22:11,701 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 2019-06-04 13:22:11,702 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 2019-06-04 13:22:11,702 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 2019-06-04 13:22:11,702 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 2019-06-04 13:22:11,703 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 2019-06-04 13:22:11,703 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 2019-06-04 13:22:11,703 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 2019-06-04 13:22:11,703 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 2019-06-04 13:22:11,703 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 2019-06-04 13:22:11,704 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 2019-06-04 13:22:11,704 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 2019-06-04 13:22:11,818 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.testproperty 2019-06-04 13:22:12,146 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.anotherproperty 2019-06-04 13:22:13,001 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.testproperty 2019-06-04 13:22:13,468 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@54284bdd: startup date [Tue Jun 04 13:22:10 CEST 2019]; root of context hierarchy 2019-06-04 13:22:13,469 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:13,469 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:22:13,725 INFO [HSQLDB Connection @55675fdb] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.609 s - in org.appng.application.manager.business.PlatformPropertiesTest [INFO] Running org.appng.application.manager.business.GroupsTest 2019-06-04 13:22:13,937 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] 2019-06-04 13:22:13,938 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@661d2fdd, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@429d95b8, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3124d66e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@12958c4c, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1d792a04, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@33e75c46] 2019-06-04 13:22:13,943 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:22:13,967 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:22:13,972 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:22:13,999 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:22:14,005 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@24676bf2: startup date [Tue Jun 04 13:22:14 CEST 2019]; root of context hierarchy 2019-06-04 13:22:14,027 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:22:14,150 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:14,150 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:22:14,286 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:22:14,296 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:22:14,678 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:22:14,678 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:14,978 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@24676bf2: startup date [Tue Jun 04 13:22:14 CEST 2019]; root of context hierarchy 2019-06-04 13:22:15,174 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:22:15,283 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2019-06-04 13:22:15,400 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2019-06-04 13:22:15,506 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2 2019-06-04 13:22:15,612 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2019-06-04 13:22:15,906 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 2019-06-04 13:22:15,906 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 2019-06-04 13:22:15,906 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 2019-06-04 13:22:15,907 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 2019-06-04 13:22:15,907 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 2019-06-04 13:22:16,018 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admin 2019-06-04 13:22:16,633 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2019-06-04 13:22:16,749 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Group users 2019-06-04 13:22:17,017 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2019-06-04 13:22:17,123 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group Administrators 2019-06-04 13:22:17,497 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Group Administrators 2019-06-04 13:22:18,028 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@24676bf2: startup date [Tue Jun 04 13:22:14 CEST 2019]; root of context hierarchy 2019-06-04 13:22:18,029 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:18,029 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:22:18,274 INFO [HSQLDB Connection @6add1ec9] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.549 s - in org.appng.application.manager.business.GroupsTest [INFO] Running org.appng.application.manager.business.SitePropertiesTest 2019-06-04 13:22:18,483 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] 2019-06-04 13:22:18,483 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4d575ced, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@722fcc8e, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3d16b921, org.springframework.test.context.support.DirtiesContextTestExecutionListener@57118569, org.springframework.test.context.transaction.TransactionalTestExecutionListener@20560b52, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2c91e86a] 2019-06-04 13:22:18,488 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:22:18,511 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:22:18,515 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:22:18,538 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:22:18,544 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@24468368: startup date [Tue Jun 04 13:22:18 CEST 2019]; root of context hierarchy 2019-06-04 13:22:18,567 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:22:18,688 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:18,688 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:22:18,825 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:22:18,834 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:22:19,215 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:22:19,216 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:19,879 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@24468368: startup date [Tue Jun 04 13:22:18 CEST 2019]; root of context hierarchy 2019-06-04 13:22:20,013 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:22:20,119 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2019-06-04 13:22:20,274 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 2019-06-04 13:22:20,275 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 2019-06-04 13:22:20,275 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 2019-06-04 13:22:20,275 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 2019-06-04 13:22:20,275 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 2019-06-04 13:22:20,275 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 2019-06-04 13:22:20,275 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 2019-06-04 13:22:20,276 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 2019-06-04 13:22:20,276 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 2019-06-04 13:22:20,276 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 2019-06-04 13:22:20,276 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 2019-06-04 13:22:20,276 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 2019-06-04 13:22:20,390 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.testproperty 2019-06-04 13:22:20,718 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.anotherproperty 2019-06-04 13:22:21,342 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.site.localhost.testproperty 2019-06-04 13:22:21,575 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@24468368: startup date [Tue Jun 04 13:22:18 CEST 2019]; root of context hierarchy 2019-06-04 13:22:21,576 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:21,577 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:22:21,827 INFO [HSQLDB Connection @77e0e465] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.549 s - in org.appng.application.manager.business.SitePropertiesTest [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.business.ClusterStateTest 2019-06-04 13:22:22,037 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] 2019-06-04 13:22:22,038 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@c7cb871, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@520b7bc, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1a3fa933, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4a8ce58e, org.springframework.test.context.transaction.TransactionalTestExecutionListener@235a739e, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2347ad1e] 2019-06-04 13:22:22,044 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:22:22,069 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:22:22,074 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:22:22,100 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:22:22,106 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@44d6ee74: startup date [Tue Jun 04 13:22:22 CEST 2019]; root of context hierarchy 2019-06-04 13:22:22,131 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:22:22,255 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:22,255 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:22:22,402 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:22:22,411 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:22:22,798 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:22:22,798 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:23,093 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@44d6ee74: startup date [Tue Jun 04 13:22:22 CEST 2019]; root of context hierarchy 2019-06-04 13:22:23,224 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:22:23,256 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@44d6ee74: startup date [Tue Jun 04 13:22:22 CEST 2019]; root of context hierarchy 2019-06-04 13:22:23,256 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:23,257 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:22:23,511 INFO [HSQLDB Connection @6f12ead6] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.58 s - in org.appng.application.manager.business.ClusterStateTest [INFO] Running org.appng.application.manager.business.PermissionsTest 2019-06-04 13:22:23,621 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] 2019-06-04 13:22:23,621 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5821de6d, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@cbfff84, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@6bb5a21d, org.springframework.test.context.support.DirtiesContextTestExecutionListener@44bcc625, org.springframework.test.context.transaction.TransactionalTestExecutionListener@12b8ba69, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@61882465] 2019-06-04 13:22:23,631 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:22:23,665 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:22:23,669 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:22:23,698 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:22:23,704 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@276bc703: startup date [Tue Jun 04 13:22:23 CEST 2019]; root of context hierarchy 2019-06-04 13:22:23,731 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:22:23,854 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:23,854 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:22:23,990 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:22:23,999 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:22:24,389 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:22:24,389 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:24,642 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@276bc703: startup date [Tue Jun 04 13:22:23 CEST 2019]; root of context hierarchy 2019-06-04 13:22:24,755 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:22:24,860 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2019-06-04 13:22:24,967 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2019-06-04 13:22:25,073 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this 2019-06-04 13:22:25,179 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that 2019-06-04 13:22:25,337 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 2019-06-04 13:22:25,337 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 2019-06-04 13:22:25,338 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 2019-06-04 13:22:25,338 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 2019-06-04 13:22:25,338 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 2019-06-04 13:22:25,448 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.something 2019-06-04 13:22:26,043 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Permission do.something 2019-06-04 13:22:26,558 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Permission do.somethingelse 2019-06-04 13:22:26,680 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@276bc703: startup date [Tue Jun 04 13:22:23 CEST 2019]; root of context hierarchy 2019-06-04 13:22:26,681 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:26,681 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:22:26,947 INFO [HSQLDB Connection @2576b89c] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.536 s - in org.appng.application.manager.business.PermissionsTest [INFO] Running org.appng.application.manager.business.RoleTest 2019-06-04 13:22:27,156 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] 2019-06-04 13:22:27,157 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@77255729, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4077ded6, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@401570bb, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7e2110b0, org.springframework.test.context.transaction.TransactionalTestExecutionListener@23609c42, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5d9f6796] 2019-06-04 13:22:27,162 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-06-04 13:22:27,185 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-06-04 13:22:27,190 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-06-04 13:22:27,248 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-06-04 13:22:27,255 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@36644436: startup date [Tue Jun 04 13:22:27 CEST 2019]; root of context hierarchy 2019-06-04 13:22:27,281 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-06-04 13:22:27,404 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:27,404 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-06-04 13:22:27,540 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-06-04 13:22:27,549 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-06-04 13:22:27,928 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-06-04 13:22:27,928 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:28,237 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@36644436: startup date [Tue Jun 04 13:22:27 CEST 2019]; root of context hierarchy 2019-06-04 13:22:28,369 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-06-04 13:22:28,475 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2019-06-04 13:22:28,582 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this 2019-06-04 13:22:28,687 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that 2019-06-04 13:22:28,794 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2019-06-04 13:22:28,963 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 2019-06-04 13:22:28,964 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 2019-06-04 13:22:28,964 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 2019-06-04 13:22:28,964 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 2019-06-04 13:22:28,964 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 2019-06-04 13:22:29,077 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2 2019-06-04 13:22:29,439 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:752) at org.appng.application.manager.service.ManagerService.createRole(ManagerService.java:726) 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:736) 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:282) 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:671) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$d4163928.createRole(<generated>) at org.appng.application.manager.business.Roles.perform(Roles.java:62) at org.appng.application.manager.business.Roles.perform(Roles.java:45) at org.appng.api.support.CallableAction.execute(CallableAction.java:420) at org.appng.api.support.CallableAction.perform(CallableAction.java:318) at org.appng.api.support.CallableAction.perform(CallableAction.java:292) 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:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 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:325) 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$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 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.run(ParentRunner.java:363) 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:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) 2019-06-04 13:22:29,689 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Role role2 2019-06-04 13:22:30,213 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Role role.updated 2019-06-04 13:22:30,341 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@36644436: startup date [Tue Jun 04 13:22:27 CEST 2019]; root of context hierarchy 2019-06-04 13:22:30,342 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-06-04 13:22:30,343 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-06-04 13:22:30,599 INFO [HSQLDB Connection @6e532aec] hsqldb.db.HSQLDB6B22391AD6.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.65 s - in org.appng.application.manager.business.RoleTest [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] SitesTest.testDeleteSite:68->TestBase.validate:523 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing <messages...> at /messages[1] to <messages...> at /messages[1] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <messages xmlns="http://www.appng.org/schema/platform" ref="delete"> <message ref="delete" class="ERROR">Site does not exist.</message> <message ref="delete" class="ERROR">Failed to delete the site.</message> </messages> , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing <messages...> at /messages[1] to <messages...> at /messages[1] [ERROR] Errors: [ERROR] SitesTest.testCreateSite:47 » Processing error retrieving datasource 'new-site... [ERROR] SitesTest.testCreateSiteValidationFail:58 » Processing error retrieving dataso... [ERROR] SitesTest.testShowSite:82 » Processing error retrieving datasource 'site', ID:... [ERROR] SitesTest.testShowSites:88->createSite:103 » JpaSystem org.hibernate.exception... [INFO] [ERROR] Tests run: 64, Failures: 1, Errors: 4, Skipped: 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:03 min [INFO] Finished at: 2019-06-04T13:22:31+02:00 [INFO] Final Memory: 52M/476M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on project appng-manager: There are test failures. [ERROR] [ERROR] Please refer to /var/lib/jenkins/workspace/appNG_Manager@2/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].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] } Terminated [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE