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 [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 # 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 6fbe20289db0ca618f291e2fd97c9eea00f82300 (refs/remotes/origin/appng-manager-1.15.x) Commit message: "MGR-58 Support filtering by package name in a repository (#9)" > git rev-parse refs/remotes/origin/appng-manager-1.15.x^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/appng-manager-1.15.x^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6fbe20289db0ca618f291e2fd97c9eea00f82300 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b appng-manager-1.15.x 6fbe20289db0ca618f291e2fd97c9eea00f82300 > git rev-list --no-walk e46e978b2d71a68ac12fc702ae2e0703a371da52 # 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.0:generateApplicationConstants (applicationConstants) @ appng-manager --- [INFO] generate application constants for [/var/lib/jenkins/workspace/appNG_Manager/application-home/application.xml, org.appng.application.manager.ManagerSettings, /var/lib/jenkins/workspace/appNG_Manager/target/generated-sources/constants] [INFO] [INFO] --- appng-maven-plugin:1.19.0:generateMessageConstants (messageConstants) @ appng-manager --- [INFO] generate message constants for [/var/lib/jenkins/workspace/appNG_Manager/application-home/dictionary/manager-messages.properties, org.appng.application.manager.MessageConstants, /var/lib/jenkins/workspace/appNG_Manager/target/generated-sources/constants] [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:add-source (default) @ appng-manager --- [INFO] Source directory: /var/lib/jenkins/workspace/appNG_Manager/target/generated-sources/constants added. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ appng-manager --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ appng-manager --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 53 source files to /var/lib/jenkins/workspace/appNG_Manager/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 78 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/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-07-30 16:08:55,798 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-07-30 16:08:55,813 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2928854b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@27ae2fd0, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@29176cc1, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2f177a4b, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4278a03f, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@147ed70f] 2019-07-30 16:08:56,518 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:08:56,714 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:08:56,732 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:08:56,820 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:08:56,839 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@460d0a57: startup date [Tue Jul 30 16:08:56 CEST 2019]; root of context hierarchy 2019-07-30 16:08:57,092 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring Jul 30, 2019 4:08:57 PM ch.sla.jdbcperflogger.Logger info INFO: Using config file jdbcperflogger-fallback.xml 2019-07-30 16:08:57,575 INFO [HSQLDB Server @120f38e6] hsqldb.db.HSQLDB6C433672D6.ENGINE: Checkpoint start 2019-07-30 16:08:57,575 INFO [HSQLDB Server @120f38e6] hsqldb.db.HSQLDB6C433672D6.ENGINE: checkpointClose start 2019-07-30 16:08:57,584 INFO [HSQLDB Server @120f38e6] hsqldb.db.HSQLDB6C433672D6.ENGINE: checkpointClose synched 2019-07-30 16:08:57,596 INFO [HSQLDB Server @120f38e6] hsqldb.db.HSQLDB6C433672D6.ENGINE: checkpointClose script done 2019-07-30 16:08:57,620 INFO [HSQLDB Server @120f38e6] hsqldb.db.HSQLDB6C433672D6.ENGINE: checkpointClose end 2019-07-30 16:08:57,621 INFO [HSQLDB Server @120f38e6] hsqldb.db.HSQLDB6C433672D6.ENGINE: Checkpoint end - txts: 1 2019-07-30 16:08:57,752 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:08:57,775 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:08:57,880 INFO [main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} 2019-07-30 16:08:58,124 INFO [main] org.hibernate.annotations.common.Version: HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 2019-07-30 16:08:58,519 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:08:58,602 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:08:59,176 INFO [main] org.hibernate.validator.internal.util.Version: HV000001: Hibernate Validator 6.0.15.Final 2019-07-30 16:09:00,595 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:00,598 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:01,809 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-07-30 16:09:01,809 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-07-30 16:09:01,871 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@460d0a57: startup date [Tue Jul 30 16:08:56 CEST 2019]; root of context hierarchy 2019-07-30 16:09:02,341 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:06,017 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@460d0a57: startup date [Tue Jul 30 16:08:56 CEST 2019]; root of context hierarchy 2019-07-30 16:09:06,020 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:06,020 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:06,286 INFO [HSQLDB Connection @759a46f1] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.955 s - in org.appng.application.manager.job.DatabaseReportJobTest [INFO] Running org.appng.application.manager.business.ApplicationPropertiesTest 2019-07-30 16:09:06,499 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-07-30 16:09:06,500 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@47e89fed, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1fcef6f9, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@57cfb4d8, org.springframework.test.context.support.DirtiesContextTestExecutionListener@d4f2f3d, org.springframework.test.context.transaction.TransactionalTestExecutionListener@e5bce8e, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@66ca8882] 2019-07-30 16:09:06,514 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:06,567 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:06,579 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:06,620 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:06,632 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@4c0989f7: startup date [Tue Jul 30 16:09:06 CEST 2019]; root of context hierarchy 2019-07-30 16:09:06,674 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:06,807 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:06,807 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:06,950 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:06,965 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:07,487 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:07,487 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:07,854 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@4c0989f7: startup date [Tue Jul 30 16:09:06 CEST 2019]; root of context hierarchy 2019-07-30 16:09:08,017 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:08,133 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application manager 2019-07-30 16:09:08,457 WARN [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-07-30 16:09:08,459 WARN [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-07-30 16:09:08,460 WARN [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-07-30 16:09:08,460 WARN [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-07-30 16:09:08,460 WARN [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-07-30 16:09:08,460 WARN [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-07-30 16:09:08,460 WARN [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-07-30 16:09:08,463 WARN [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-07-30 16:09:08,463 WARN [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-07-30 16:09:08,464 WARN [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-07-30 16:09:08,464 WARN [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-07-30 16:09:08,464 WARN [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-07-30 16:09:08,653 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.testproperty 2019-07-30 16:09:09,417 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.anotherproperty 2019-07-30 16:09:10,206 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.application.manager.testproperty 2019-07-30 16:09:10,461 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@4c0989f7: startup date [Tue Jul 30 16:09:06 CEST 2019]; root of context hierarchy 2019-07-30 16:09:10,463 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:10,464 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:10,718 INFO [HSQLDB Connection @4af3506a] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.415 s - in org.appng.application.manager.business.ApplicationPropertiesTest [INFO] Running org.appng.application.manager.business.RepositoriesTest 2019-07-30 16:09:10,930 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-07-30 16:09:10,931 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@462d239a, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7a6fcf93, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@129a09d9, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3e3d3cd0, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1123f97e, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@15b4bf9e] 2019-07-30 16:09:10,940 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:10,976 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:10,988 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:11,033 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:11,045 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5722b830: startup date [Tue Jul 30 16:09:11 CEST 2019]; root of context hierarchy 2019-07-30 16:09:11,090 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:11,218 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:11,218 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:11,357 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:11,368 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:11,874 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:11,874 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:12,213 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@5722b830: startup date [Tue Jul 30 16:09:11 CEST 2019]; root of context hierarchy 2019-07-30 16:09:12,360 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:12,514 WARN [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-07-30 16:09:12,515 WARN [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-07-30 16:09:12,515 WARN [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-07-30 16:09:12,515 WARN [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-07-30 16:09:12,631 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Local 2019-07-30 16:09:13,018 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:929) at org.appng.application.manager.service.ManagerService.validateRepository(ManagerService.java:914) at org.appng.application.manager.service.ManagerService.createRepository(ManagerService.java:842) 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$$72952344.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-07-30 16:09:13,270 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me 2019-07-30 16:09:13,399 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Repository Delete me 2019-07-30 16:09:13,533 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me 2019-07-30 16:09:14,266 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@5722b830: startup date [Tue Jul 30 16:09:11 CEST 2019]; root of context hierarchy 2019-07-30 16:09:14,268 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:14,268 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:14,520 INFO [HSQLDB Connection @3b406f1f] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.785 s <<< FAILURE! - in org.appng.application.manager.business.RepositoriesTest [ERROR] testShowRepositories(org.appng.application.manager.business.RepositoriesTest) Time elapsed: 0.309 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected text value 'file:///home/mm/workspace/appng/appng-manager/target/' but was 'file:///var/lib/jenkins/workspace/appNG_Manager/target/' - comparing <value ...>file:///home/mm/workspace/appng/appng-manager/target/</value> at /datasource[1]/data[1]/resultset[1]/result[1]/field[5]/value[1]/text()[1] to <value ...>file:///var/lib/jenkins/workspace/appNG_Manager/target/</value> at /datasource[1]/data[1]/resultset[1]/result[1]/field[5]/value[1]/text()[1] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="repositories"> <config> <title id="repositories">Repositories</title> <permissions> <permission ref="repository.list" mode="set"></permission> </permissions> <params/> <meta-data bindClass="org.appng.core.domain.RepositoryImpl"> <field name="name" type="text" binding="name"> <sort order="desc" prio="0" ignore-case="true"/> <label id="name">Name</label> </field> <field name="repositoryType" type="text" binding="repositoryType"> <sort/> <label id="type">Type</label> </field> <field name="repositoryMode" type="text" binding="repositoryMode"> <sort/> <label id="mode">Mode</label> </field> <field name="published" type="image" binding="published"> <sort/> <label id="published">Published</label> <icon condition="${current.published}">led_orange</icon> <icon condition="${not current.published}"></icon> </field> <field name="uri" type="text" displayLength="60" binding="uri"> <sort/> <label id="uri">URI</label> </field> <field name="active" type="image" binding="active"> <sort/> <label id="active">Active</label> <icon condition="${current.active}">led_green</icon> <icon condition="${not current.active}">led_red</icon> </field> <field name="actions" type="linkpanel" binding="actions"> <label id="actions">Actions</label> </field> </meta-data> <linkpanel id="other" location="both"> <link id="other[1]" mode="intern" target="/repositories/create#tab_create"> <permissions> <permission ref="repository.create" mode="set"></permission> </permissions> <label id="repository.create">Create repository</label> <icon>new</icon> </link> </linkpanel> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/repositories/update/${current.id}#tab_update"> <permissions> <permission ref="repository.edit" mode="set"></permission> </permissions> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/repositories?form_action=delete-repository&repositoryid=${current.id}"> <permissions> <permission ref="repository.delete" mode="set"></permission> </permissions> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="repository.delete.confirm" params="#{name}">Do you really want to delete the repository "#{name}"?</confirmation> </link> <link id="actions[3]" mode="intern" target="/repositories/installation/${current.id}?form_action=reload"> <condition expression="${current.active}"/> <permissions> <permission ref="repository.reload" mode="set"></permission> </permissions> <label id="reload">Reload</label> <icon>reload</icon> <confirmation id="repository.reload.confirm" params="#{name}">Do you really want to reload the repository "#{name}"?</confirmation> </link> <link id="actions[4]" mode="intern" target="/repositories/installation/${current.id}#tab_packages" default="true"> <condition expression="${current.active}"/> <permissions> <permission ref="repository.installation" mode="set"></permission> </permissions> <label id="installation">Installation</label> <icon>deploy</icon> </link> </linkpanel> </config> <data> <resultset chunk="0" chunkname="repositories" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="2"> <result> <field name="name" type="text"> <value>Local</value> </field> <field name="repositoryType" type="text"> <value>LOCAL</value> </field> <field name="repositoryMode" type="text"> <value>ALL</value> </field> <field name="published" type="image"> <value>false</value> <icon type="class"></icon> </field> <field name="uri" type="text"> <value>file:///var/lib/jenkins/workspace/appNG_Manager/target/</value> </field> <field name="active" type="image"> <value>false</value> <icon type="class">led_red</icon> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/repositories/update/1#tab_update"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/repositories?form_action=delete-repository&repositoryid=1"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="repository.delete.confirm" params="#{name}">Do you really want to delete the repository "Local"?</confirmation> </link> </linkpanel> </result> <result> <field name="name" type="text"> <value>Delete me</value> </field> <field name="repositoryType" type="text"> <value>LOCAL</value> </field> <field name="repositoryMode" type="text"> <value>ALL</value> </field> <field name="published" type="image"> <value>false</value> <icon type="class"></icon> </field> <field name="uri" type="text"> <value>file:///var/lib/jenkins/workspace/appNG_Manager/target/</value> </field> <field name="active" type="image"> <value>true</value> <icon type="class">led_green</icon> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/repositories/update/3#tab_update"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/repositories?form_action=delete-repository&repositoryid=3"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="repository.delete.confirm" params="#{name}">Do you really want to delete the repository "Delete me"?</confirmation> </link> <link id="actions[3]" mode="intern" target="/repositories/installation/3?form_action=reload"> <label id="reload">Reload</label> <icon>reload</icon> <confirmation id="repository.reload.confirm" params="#{name}">Do you really want to reload the repository "Delete me"?</confirmation> </link> <link id="actions[4]" mode="intern" target="/repositories/installation/3#tab_packages" default="true"> <label id="installation">Installation</label> <icon>deploy</icon> </link> </linkpanel> </result> </resultset> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected text value 'file:///home/mm/workspace/appng/appng-manager/target/' but was 'file:///var/lib/jenkins/workspace/appNG_Manager/target/' - comparing <value ...>file:///home/mm/workspace/appng/appng-manager/target/</value> at /datasource[1]/data[1]/resultset[1]/result[1]/field[5]/value[1]/text()[1] to <value ...>file:///var/lib/jenkins/workspace/appNG_Manager/target/</value> at /datasource[1]/data[1]/resultset[1]/result[1]/field[5]/value[1]/text()[1] at org.appng.application.manager.business.RepositoriesTest.testShowRepositories(RepositoriesTest.java:100) [INFO] Running org.appng.application.manager.business.SitesTest 2019-07-30 16:09:14,733 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-07-30 16:09:14,733 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5cc090ad, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@28247c73, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3d086b3a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@69b0574, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5e86b8f2, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@55ca90b5] 2019-07-30 16:09:14,741 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:14,771 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:14,778 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:14,813 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:14,879 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@2b65608d: startup date [Tue Jul 30 16:09:14 CEST 2019]; root of context hierarchy 2019-07-30 16:09:14,912 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:15,039 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:15,039 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:15,196 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:15,205 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:15,754 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:15,754 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:16,127 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@2b65608d: startup date [Tue Jul 30 16:09:14 CEST 2019]; root of context hierarchy 2019-07-30 16:09:16,269 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:16,449 WARN [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-07-30 16:09:16,449 WARN [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-07-30 16:09:16,449 WARN [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-07-30 16:09:16,450 WARN [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-07-30 16:09:16,450 WARN [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-07-30 16:09:16,450 WARN [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-07-30 16:09:16,451 WARN [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-07-30 16:09:16,580 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.template 2019-07-30 16:09:16,581 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.DatasourceConfigurer 2019-07-30 16:09:16,581 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.wwwDir 2019-07-30 16:09:16,582 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.tagPrefix 2019-07-30 16:09:16,582 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapIdAttribute 2019-07-30 16:09:16,583 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginPage 2019-07-30 16:09:16,584 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUser 2019-07-30 16:09:16,586 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputType 2019-07-30 16:09:16,586 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.encoding 2019-07-30 16:09:16,587 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexDir 2019-07-30 16:09:16,588 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultApplication 2019-07-30 16:09:16,588 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailHost 2019-07-30 16:09:16,589 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginRef 2019-07-30 16:09:16,589 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputFormat 2019-07-30 16:09:16,590 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ehcacheBlockingTimeout 2019-07-30 16:09:16,590 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileTypes 2019-07-30 16:09:16,591 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authApplication 2019-07-30 16:09:16,591 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPage 2019-07-30 16:09:16,591 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapGroupBaseDn 2019-07-30 16:09:16,592 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapStartTls 2019-07-30 16:09:16,592 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ehcacheClearOnShutdown 2019-07-30 16:09:16,593 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.appendTabId 2019-07-30 16:09:16,593 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedMethods 2019-07-30 16:09:16,593 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapDomain 2019-07-30 16:09:16,594 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchChunkSize 2019-07-30 16:09:16,597 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.rewriteConfig 2019-07-30 16:09:16,597 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexTimeout 2019-07-30 16:09:16,597 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.xssExceptions 2019-07-30 16:09:16,598 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.service-path 2019-07-30 16:09:16,598 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportReloadFile 2019-07-30 16:09:16,599 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionValue 2019-07-30 16:09:16,599 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ehcacheEnabled 2019-07-30 16:09:16,599 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionName 2019-07-30 16:09:16,600 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutPage 2019-07-30 16:09:16,600 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.siteRootDir 2019-07-30 16:09:16,600 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ehcacheStatistics 2019-07-30 16:09:16,601 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileSystemQueueSize 2019-07-30 16:09:16,601 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.name 2019-07-30 16:09:16,601 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.allowSkipRender 2019-07-30 16:09:16,602 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPage 2019-07-30 16:09:16,602 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectionEnabled 2019-07-30 16:09:16,602 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportedLanguages 2019-07-30 16:09:16,603 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.assetsDir 2019-07-30 16:09:16,603 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPages 2019-07-30 16:09:16,603 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ehcacheExceptions 2019-07-30 16:09:16,604 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutRef 2019-07-30 16:09:16,604 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.locale 2019-07-30 16:09:16,604 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailDisabled 2019-07-30 16:09:16,604 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.timeZone 2019-07-30 16:09:16,605 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedPaths 2019-07-30 16:09:16,605 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUserBaseDn 2019-07-30 16:09:16,605 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.enforcePrimaryDomain 2019-07-30 16:09:16,606 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPassword 2019-07-30 16:09:16,606 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexConfig 2019-07-30 16:09:16,606 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPageSize 2019-07-30 16:09:16,607 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.documentDir 2019-07-30 16:09:16,607 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPrincipalScheme 2019-07-30 16:09:16,607 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchMaxHits 2019-07-30 16:09:16,608 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexQueueSize 2019-07-30 16:09:16,608 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailPort 2019-07-30 16:09:16,608 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.host 2019-07-30 16:09:16,609 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapHost 2019-07-30 16:09:16,609 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.manager-path 2019-07-30 16:09:16,610 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2019-07-30 16:09:17,225 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2 2019-07-30 16:09:17,338 INFO [main] org.appng.core.service.CoreService: starting deletion of site site2 2019-07-30 16:09:17,364 INFO [main] org.appng.core.service.CoreService: deleting 0 orphaned database connections 2019-07-30 16:09:17,365 INFO [main] org.appng.core.service.CoreService: done deleting site site2 2019-07-30 16:09:17,367 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Site site2 2019-07-30 16:09:17,562 INFO [main] org.appng.core.service.InitializerService: prepare reload of site Mock for Site, hashCode: 2051352537, shutting down first 2019-07-30 16:09:17,562 INFO [main] org.appng.core.service.InitializerService: shutting down site threads for Mock for Site, hashCode: 2051352537 2019-07-30 16:09:17,563 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:1458) 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$$72952344.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.InitializerService.shutDownSite(InitializerService.java:841) at org.appng.core.service.InitializerService.loadSite(InitializerService.java:473) at org.appng.core.service.InitializerService.loadSite(InitializerService.java:431) at org.appng.core.service.InitializerService.loadSite(InitializerService.java:415) at org.appng.core.service.InitializerService$$FastClassBySpringCGLIB$$f960133d.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:667) at org.appng.core.service.InitializerService$$EnhancerBySpringCGLIB$$c45cc701.loadSite(<generated>) at org.appng.application.manager.service.ManagerService.reloadSite(ManagerService.java:1448) ... 47 more 2019-07-30 16:09:17,865 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2 2019-07-30 16:09:18,000 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@2b65608d: startup date [Tue Jul 30 16:09:14 CEST 2019]; root of context hierarchy 2019-07-30 16:09:18,001 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:18,001 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:18,275 INFO [HSQLDB Connection @2d44239] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.736 s - in org.appng.application.manager.business.SitesTest [INFO] Running org.appng.application.manager.business.PlatformEventsTest 2019-07-30 16:09:18,487 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-07-30 16:09:18,487 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1dd5d235, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1598d7c, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@14408724, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7bc4e7ec, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4833d6db, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5cc90cc] 2019-07-30 16:09:18,494 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:18,519 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:18,525 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:18,560 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:18,567 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@15254ef6: startup date [Tue Jul 30 16:09:18 CEST 2019]; root of context hierarchy 2019-07-30 16:09:18,593 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:18,716 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:18,716 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:18,848 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:18,862 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:19,302 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:19,302 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:19,630 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@15254ef6: startup date [Tue Jul 30 16:09:18 CEST 2019]; root of context hierarchy 2019-07-30 16:09:19,778 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:20,353 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@15254ef6: startup date [Tue Jul 30 16:09:18 CEST 2019]; root of context hierarchy 2019-07-30 16:09:20,354 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:20,354 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:20,639 INFO [HSQLDB Connection @4ab4a710] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.361 s - in org.appng.application.manager.business.PlatformEventsTest [INFO] Running org.appng.application.manager.business.DataBaseConnectionsTest 2019-07-30 16:09:20,857 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-07-30 16:09:20,857 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7ea08952, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3749196d, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@696572ca, org.springframework.test.context.support.DirtiesContextTestExecutionListener@cc1cefd, org.springframework.test.context.transaction.TransactionalTestExecutionListener@76513c2e, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@92cc1f8] 2019-07-30 16:09:20,865 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:20,904 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:20,912 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:20,941 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:20,949 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml] 2019-07-30 16:09:20,960 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@4b9d0135: startup date [Tue Jul 30 16:09:20 CEST 2019]; root of context hierarchy 2019-07-30 16:09:20,987 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:21,110 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:21,110 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:21,248 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:21,260 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:21,700 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:21,700 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:21,972 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@4b9d0135: startup date [Tue Jul 30 16:09:20 CEST 2019]; root of context hierarchy 2019-07-30 16:09:22,176 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql] 2019-07-30 16:09:22,179 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 3 ms. 2019-07-30 16:09:22,228 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:22,389 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2019-07-30 16:09:22,400 INFO [main] org.flywaydb.core.internal.util.VersionPrinter: Flyway 4.2.0 by Boxfuse 2019-07-30 16:09:22,514 INFO [main] org.flywaydb.core.internal.dbsupport.DbSupportFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.4) 2019-07-30 16:09:22,723 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2019-07-30 16:09:22,826 INFO [main] org.flywaydb.core.internal.dbsupport.DbSupportFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.4) 2019-07-30 16:09:22,855 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@4b9d0135: startup date [Tue Jul 30 16:09:20 CEST 2019]; root of context hierarchy 2019-07-30 16:09:22,958 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:22,959 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:23,211 INFO [HSQLDB Connection @2dcc762] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.57 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.031 s - in org.appng.application.manager.business.webservice.LogViewerTest [INFO] Running org.appng.application.manager.business.SubjectsTest 2019-07-30 16:09:23,456 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-07-30 16:09:23,457 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1b3a44ff, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@773c6704, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@42758607, org.springframework.test.context.support.DirtiesContextTestExecutionListener@23db5fab, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6a0fea93, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7e9fa491] 2019-07-30 16:09:23,465 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:23,493 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:23,500 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:23,527 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:23,536 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@10b440fb: startup date [Tue Jul 30 16:09:23 CEST 2019]; root of context hierarchy 2019-07-30 16:09:23,561 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:23,685 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:23,686 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:23,822 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:23,837 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:24,251 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:24,252 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:24,591 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@10b440fb: startup date [Tue Jul 30 16:09:23 CEST 2019]; root of context hierarchy 2019-07-30 16:09:24,740 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:24,847 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admins 2019-07-30 16:09:24,956 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2019-07-30 16:09:25,208 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:09:25,208 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:09:25,209 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:09:25,209 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:09:25,209 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:09:25,210 WARN [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-07-30 16:09:25,210 WARN [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-07-30 16:09:25,210 WARN [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-07-30 16:09:25,210 WARN [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-07-30 16:09:25,210 WARN [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-07-30 16:09:25,210 WARN [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-07-30 16:09:26,135 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject admin 2019-07-30 16:09:26,148 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin 2019-07-30 16:09:27,365 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject user 2019-07-30 16:09:27,374 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject user 2019-07-30 16:09:27,742 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:1178) 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$$72952344.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-07-30 16:09:28,321 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Subject user 2019-07-30 16:09:29,747 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin 2019-07-30 16:09:29,906 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@10b440fb: startup date [Tue Jul 30 16:09:23 CEST 2019]; root of context hierarchy 2019-07-30 16:09:29,907 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:29,907 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:30,158 INFO [HSQLDB Connection @4f1937ab] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.911 s - in org.appng.application.manager.business.SubjectsTest [INFO] Running org.appng.application.manager.business.SessionsTest 2019-07-30 16:09:30,370 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-07-30 16:09:30,371 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@45e44b53, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@739416be, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@75a30069, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3707bda8, org.springframework.test.context.transaction.TransactionalTestExecutionListener@50ded6c8, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@3ac1b8b] 2019-07-30 16:09:30,378 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:30,420 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:30,426 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:30,459 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:30,466 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@6e61f3df: startup date [Tue Jul 30 16:09:30 CEST 2019]; root of context hierarchy 2019-07-30 16:09:30,492 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:30,621 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:30,621 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:30,769 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:30,778 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:31,256 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:31,256 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:31,536 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@6e61f3df: startup date [Tue Jul 30 16:09:30 CEST 2019]; root of context hierarchy 2019-07-30 16:09:31,664 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:31,778 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@6e61f3df: startup date [Tue Jul 30 16:09:30 CEST 2019]; root of context hierarchy 2019-07-30 16:09:31,779 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:31,780 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:32,030 INFO [HSQLDB Connection @4184c99e] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.871 s - in org.appng.application.manager.business.SessionsTest [INFO] Running org.appng.application.manager.business.SqlExecutorTest 2019-07-30 16:09:32,242 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-07-30 16:09:32,243 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1ac9d258, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@dbcbb1f, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@535ffb3e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@ac5bb56, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5e4af344, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@36c6cfd1] 2019-07-30 16:09:32,248 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:32,272 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:32,277 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:32,301 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:32,307 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml] 2019-07-30 16:09:32,312 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@1a6c443c: startup date [Tue Jul 30 16:09:32 CEST 2019]; root of context hierarchy 2019-07-30 16:09:32,335 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:32,459 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:32,459 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:32,605 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:32,616 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:33,048 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:33,048 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:33,420 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@1a6c443c: startup date [Tue Jul 30 16:09:32 CEST 2019]; root of context hierarchy 2019-07-30 16:09:33,617 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql] 2019-07-30 16:09:33,619 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 2 ms. 2019-07-30 16:09:33,673 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:33,828 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2019-07-30 16:09:33,930 INFO [main] org.flywaydb.core.internal.dbsupport.DbSupportFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.4) 2019-07-30 16:09:34,055 INFO [main] org.springframework.jdbc.datasource.SingleConnectionDataSource: Established shared JDBC Connection: org.hsqldb.jdbc.JDBCConnection@1e6b4837 2019-07-30 16:09:34,089 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@1a6c443c: startup date [Tue Jul 30 16:09:32 CEST 2019]; root of context hierarchy 2019-07-30 16:09:34,193 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:34,193 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:34,439 INFO [HSQLDB Connection @37e56a74] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.408 s - in org.appng.application.manager.business.SqlExecutorTest [INFO] Running org.appng.application.manager.business.PlatformPropertiesTest 2019-07-30 16:09:34,655 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-07-30 16:09:34,655 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@c4e90b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1804e213, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@26a0e1ef, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2843f1e4, org.springframework.test.context.transaction.TransactionalTestExecutionListener@f68d956, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@3043b6d2] 2019-07-30 16:09:34,661 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:34,685 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:34,690 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:34,716 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:34,721 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@11cd86ac: startup date [Tue Jul 30 16:09:34 CEST 2019]; root of context hierarchy 2019-07-30 16:09:34,744 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:34,866 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:34,866 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:35,003 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:35,011 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:35,407 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:35,408 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:35,701 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@11cd86ac: startup date [Tue Jul 30 16:09:34 CEST 2019]; root of context hierarchy 2019-07-30 16:09:35,831 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:35,979 WARN [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-07-30 16:09:35,980 WARN [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-07-30 16:09:35,980 WARN [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-07-30 16:09:35,981 WARN [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-07-30 16:09:35,981 WARN [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-07-30 16:09:35,981 WARN [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-07-30 16:09:35,981 WARN [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-07-30 16:09:35,982 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:09:35,982 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:09:35,982 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:09:35,982 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:09:35,983 WARN [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-07-30 16:09:36,097 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.testproperty 2019-07-30 16:09:36,427 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.anotherproperty 2019-07-30 16:09:37,294 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.testproperty 2019-07-30 16:09:37,767 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@11cd86ac: startup date [Tue Jul 30 16:09:34 CEST 2019]; root of context hierarchy 2019-07-30 16:09:37,769 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:37,770 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:38,019 INFO [HSQLDB Connection @7b7ab74b] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.578 s - in org.appng.application.manager.business.PlatformPropertiesTest [INFO] Running org.appng.application.manager.business.GroupsTest 2019-07-30 16:09:38,230 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-07-30 16:09:38,231 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@773cb4bb, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@79199e4, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1967520c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5165ec6, org.springframework.test.context.transaction.TransactionalTestExecutionListener@171dbbb3, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1cc85e0d] 2019-07-30 16:09:38,237 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:38,262 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:38,268 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:38,294 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:38,301 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@3f1c88aa: startup date [Tue Jul 30 16:09:38 CEST 2019]; root of context hierarchy 2019-07-30 16:09:38,328 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:38,446 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:38,446 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:38,584 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:38,596 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:38,992 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:38,993 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:39,312 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@3f1c88aa: startup date [Tue Jul 30 16:09:38 CEST 2019]; root of context hierarchy 2019-07-30 16:09:39,440 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:39,544 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2019-07-30 16:09:39,652 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2019-07-30 16:09:39,759 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2 2019-07-30 16:09:39,865 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2019-07-30 16:09:40,141 WARN [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-07-30 16:09:40,141 WARN [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-07-30 16:09:40,141 WARN [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-07-30 16:09:40,141 WARN [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-07-30 16:09:40,142 WARN [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-07-30 16:09:40,252 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admin 2019-07-30 16:09:40,924 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2019-07-30 16:09:41,041 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Group users 2019-07-30 16:09:41,318 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2019-07-30 16:09:41,425 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group Administrators 2019-07-30 16:09:41,953 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Group Administrators 2019-07-30 16:09:42,462 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@3f1c88aa: startup date [Tue Jul 30 16:09:38 CEST 2019]; root of context hierarchy 2019-07-30 16:09:42,463 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:42,463 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:42,710 INFO [HSQLDB Connection @5b6b6290] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.689 s - in org.appng.application.manager.business.GroupsTest [INFO] Running org.appng.application.manager.business.SitePropertiesTest 2019-07-30 16:09:42,922 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-07-30 16:09:42,923 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@b4042b9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@22579689, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5d47d4ef, org.springframework.test.context.support.DirtiesContextTestExecutionListener@685c14ab, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6180c693, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7f7de7f4] 2019-07-30 16:09:42,929 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:42,953 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:42,958 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:42,986 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:42,993 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@1c7eb458: startup date [Tue Jul 30 16:09:42 CEST 2019]; root of context hierarchy 2019-07-30 16:09:43,018 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:43,141 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:43,141 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:43,277 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:43,284 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:43,670 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:43,671 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:43,942 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@1c7eb458: startup date [Tue Jul 30 16:09:42 CEST 2019]; root of context hierarchy 2019-07-30 16:09:44,070 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:44,175 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2019-07-30 16:09:44,325 WARN [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-07-30 16:09:44,325 WARN [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-07-30 16:09:44,325 WARN [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-07-30 16:09:44,325 WARN [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-07-30 16:09:44,326 WARN [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-07-30 16:09:44,326 WARN [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-07-30 16:09:44,326 WARN [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-07-30 16:09:44,326 WARN [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-07-30 16:09:44,326 WARN [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-07-30 16:09:44,326 WARN [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-07-30 16:09:44,326 WARN [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-07-30 16:09:44,326 WARN [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-07-30 16:09:44,441 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.testproperty 2019-07-30 16:09:44,771 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.anotherproperty 2019-07-30 16:09:45,386 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.site.localhost.testproperty 2019-07-30 16:09:45,618 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@1c7eb458: startup date [Tue Jul 30 16:09:42 CEST 2019]; root of context hierarchy 2019-07-30 16:09:45,619 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:45,619 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:45,876 INFO [HSQLDB Connection @3e992cff] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.163 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.001 s - in org.appng.application.manager.business.AbstractTest [INFO] Running org.appng.application.manager.business.ClusterStateTest 2019-07-30 16:09:46,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-07-30 16:09:46,087 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@3004da75, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@5400f3bb, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@6d98cf11, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5a6e4b0, org.springframework.test.context.transaction.TransactionalTestExecutionListener@13e74103, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4029e5ef] 2019-07-30 16:09:46,092 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:46,118 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:46,124 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:46,153 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:46,159 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@6be25abc: startup date [Tue Jul 30 16:09:46 CEST 2019]; root of context hierarchy 2019-07-30 16:09:46,181 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:46,303 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:46,303 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:46,437 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:46,446 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:46,840 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:46,840 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:47,481 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@6be25abc: startup date [Tue Jul 30 16:09:46 CEST 2019]; root of context hierarchy 2019-07-30 16:09:47,621 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:47,657 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@6be25abc: startup date [Tue Jul 30 16:09:46 CEST 2019]; root of context hierarchy 2019-07-30 16:09:47,657 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:47,658 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:47,910 INFO [HSQLDB Connection @61f10bf] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.031 s - in org.appng.application.manager.business.ClusterStateTest [INFO] Running org.appng.application.manager.business.PermissionsTest 2019-07-30 16:09:48,120 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-07-30 16:09:48,120 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@f456480, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@2d055306, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@688dcd5f, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7e74303d, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5ab13a17, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5dabdf24] 2019-07-30 16:09:48,126 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:48,150 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:48,155 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:48,180 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:48,187 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5b4a06fb: startup date [Tue Jul 30 16:09:48 CEST 2019]; root of context hierarchy 2019-07-30 16:09:48,211 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:48,335 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:48,335 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:48,472 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:48,480 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:48,873 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:48,873 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:49,167 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@5b4a06fb: startup date [Tue Jul 30 16:09:48 CEST 2019]; root of context hierarchy 2019-07-30 16:09:49,298 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:49,405 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2019-07-30 16:09:49,513 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2019-07-30 16:09:49,619 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this 2019-07-30 16:09:49,725 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that 2019-07-30 16:09:49,878 WARN [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-07-30 16:09:49,878 WARN [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-07-30 16:09:49,878 WARN [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-07-30 16:09:49,879 WARN [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-07-30 16:09:49,879 WARN [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-07-30 16:09:49,991 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.something 2019-07-30 16:09:50,585 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Permission do.something 2019-07-30 16:09:51,102 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Permission do.somethingelse 2019-07-30 16:09:51,225 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@5b4a06fb: startup date [Tue Jul 30 16:09:48 CEST 2019]; root of context hierarchy 2019-07-30 16:09:51,226 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:51,226 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:51,489 INFO [HSQLDB Connection @5595de0e] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.576 s - in org.appng.application.manager.business.PermissionsTest [INFO] Running org.appng.application.manager.business.RoleTest 2019-07-30 16:09:51,698 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-07-30 16:09:51,698 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7dc0093a, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1b237966, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@63c55022, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1dcba4c8, org.springframework.test.context.transaction.TransactionalTestExecutionListener@60bfe792, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@60574aaa] 2019-07-30 16:09:51,705 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:09:51,726 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2019-07-30 16:09:51,730 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2019-07-30 16:09:51,752 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2019-07-30 16:09:51,758 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@29da42c2: startup date [Tue Jul 30 16:09:51 CEST 2019]; root of context hierarchy 2019-07-30 16:09:51,780 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:09:51,901 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:51,901 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:09:52,035 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:09:52,043 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:09:52,415 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2019-07-30 16:09:52,415 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:52,701 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@29da42c2: startup date [Tue Jul 30 16:09:51 CEST 2019]; root of context hierarchy 2019-07-30 16:09:52,824 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:09:52,929 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2019-07-30 16:09:53,036 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this 2019-07-30 16:09:53,141 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that 2019-07-30 16:09:53,247 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2019-07-30 16:09:53,409 WARN [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-07-30 16:09:53,409 WARN [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-07-30 16:09:53,409 WARN [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-07-30 16:09:53,409 WARN [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-07-30 16:09:53,410 WARN [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-07-30 16:09:53,522 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2 2019-07-30 16:09:53,885 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:787) at org.appng.application.manager.service.ManagerService.createRole(ManagerService.java:761) 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$$72952344.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-07-30 16:09:54,156 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Role role2 2019-07-30 16:09:54,681 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Role role.updated 2019-07-30 16:09:54,808 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@29da42c2: startup date [Tue Jul 30 16:09:51 CEST 2019]; root of context hierarchy 2019-07-30 16:09:54,809 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:09:54,809 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-07-30 16:09:55,052 INFO [HSQLDB Connection @46d7b54f] hsqldb.db.HSQLDB6C433672D6.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.56 s - in org.appng.application.manager.business.RoleTest [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] RepositoriesTest.testShowRepositories:100->TestBase.validate:528 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected text value 'file:///home/mm/workspace/appng/appng-manager/target/' but was 'file:///var/lib/jenkins/workspace/appNG_Manager/target/' - comparing <value ...>file:///home/mm/workspace/appng/appng-manager/target/</value> at /datasource[1]/data[1]/resultset[1]/result[1]/field[5]/value[1]/text()[1] to <value ...>file:///var/lib/jenkins/workspace/appNG_Manager/target/</value> at /datasource[1]/data[1]/resultset[1]/result[1]/field[5]/value[1]/text()[1] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="repositories"> <config> <title id="repositories">Repositories</title> <permissions> <permission ref="repository.list" mode="set"></permission> </permissions> <params/> <meta-data bindClass="org.appng.core.domain.RepositoryImpl"> <field name="name" type="text" binding="name"> <sort order="desc" prio="0" ignore-case="true"/> <label id="name">Name</label> </field> <field name="repositoryType" type="text" binding="repositoryType"> <sort/> <label id="type">Type</label> </field> <field name="repositoryMode" type="text" binding="repositoryMode"> <sort/> <label id="mode">Mode</label> </field> <field name="published" type="image" binding="published"> <sort/> <label id="published">Published</label> <icon condition="${current.published}">led_orange</icon> <icon condition="${not current.published}"></icon> </field> <field name="uri" type="text" displayLength="60" binding="uri"> <sort/> <label id="uri">URI</label> </field> <field name="active" type="image" binding="active"> <sort/> <label id="active">Active</label> <icon condition="${current.active}">led_green</icon> <icon condition="${not current.active}">led_red</icon> </field> <field name="actions" type="linkpanel" binding="actions"> <label id="actions">Actions</label> </field> </meta-data> <linkpanel id="other" location="both"> <link id="other[1]" mode="intern" target="/repositories/create#tab_create"> <permissions> <permission ref="repository.create" mode="set"></permission> </permissions> <label id="repository.create">Create repository</label> <icon>new</icon> </link> </linkpanel> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/repositories/update/${current.id}#tab_update"> <permissions> <permission ref="repository.edit" mode="set"></permission> </permissions> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/repositories?form_action=delete-repository&repositoryid=${current.id}"> <permissions> <permission ref="repository.delete" mode="set"></permission> </permissions> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="repository.delete.confirm" params="#{name}">Do you really want to delete the repository "#{name}"?</confirmation> </link> <link id="actions[3]" mode="intern" target="/repositories/installation/${current.id}?form_action=reload"> <condition expression="${current.active}"/> <permissions> <permission ref="repository.reload" mode="set"></permission> </permissions> <label id="reload">Reload</label> <icon>reload</icon> <confirmation id="repository.reload.confirm" params="#{name}">Do you really want to reload the repository "#{name}"?</confirmation> </link> <link id="actions[4]" mode="intern" target="/repositories/installation/${current.id}#tab_packages" default="true"> <condition expression="${current.active}"/> <permissions> <permission ref="repository.installation" mode="set"></permission> </permissions> <label id="installation">Installation</label> <icon>deploy</icon> </link> </linkpanel> </config> <data> <resultset chunk="0" chunkname="repositories" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="2"> <result> <field name="name" type="text"> <value>Local</value> </field> <field name="repositoryType" type="text"> <value>LOCAL</value> </field> <field name="repositoryMode" type="text"> <value>ALL</value> </field> <field name="published" type="image"> <value>false</value> <icon type="class"></icon> </field> <field name="uri" type="text"> <value>file:///var/lib/jenkins/workspace/appNG_Manager/target/</value> </field> <field name="active" type="image"> <value>false</value> <icon type="class">led_red</icon> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/repositories/update/1#tab_update"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/repositories?form_action=delete-repository&repositoryid=1"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="repository.delete.confirm" params="#{name}">Do you really want to delete the repository "Local"?</confirmation> </link> </linkpanel> </result> <result> <field name="name" type="text"> <value>Delete me</value> </field> <field name="repositoryType" type="text"> <value>LOCAL</value> </field> <field name="repositoryMode" type="text"> <value>ALL</value> </field> <field name="published" type="image"> <value>false</value> <icon type="class"></icon> </field> <field name="uri" type="text"> <value>file:///var/lib/jenkins/workspace/appNG_Manager/target/</value> </field> <field name="active" type="image"> <value>true</value> <icon type="class">led_green</icon> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/repositories/update/3#tab_update"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/repositories?form_action=delete-repository&repositoryid=3"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="repository.delete.confirm" params="#{name}">Do you really want to delete the repository "Delete me"?</confirmation> </link> <link id="actions[3]" mode="intern" target="/repositories/installation/3?form_action=reload"> <label id="reload">Reload</label> <icon>reload</icon> <confirmation id="repository.reload.confirm" params="#{name}">Do you really want to reload the repository "Delete me"?</confirmation> </link> <link id="actions[4]" mode="intern" target="/repositories/installation/3#tab_packages" default="true"> <label id="installation">Installation</label> <icon>deploy</icon> </link> </linkpanel> </result> </resultset> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected text value 'file:///home/mm/workspace/appng/appng-manager/target/' but was 'file:///var/lib/jenkins/workspace/appNG_Manager/target/' - comparing <value ...>file:///home/mm/workspace/appng/appng-manager/target/</value> at /datasource[1]/data[1]/resultset[1]/result[1]/field[5]/value[1]/text()[1] to <value ...>file:///var/lib/jenkins/workspace/appNG_Manager/target/</value> at /datasource[1]/data[1]/resultset[1]/result[1]/field[5]/value[1]/text()[1] [INFO] [ERROR] Tests run: 65, Failures: 1, Errors: 0, Skipped: 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:11 min [INFO] Finished at: 2019-07-30T16:09:55+02:00 [INFO] Final Memory: 52M/554M [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/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