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 Fetching changes from the remote Git repository > git rev-parse --is-inside-work-tree # 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 --version # timeout=10 > 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 branch -D appng-manager-1.15.x # timeout=10 > git checkout -b appng-manager-1.15.x 6fbe20289db0ca618f291e2fd97c9eea00f82300 > git rev-list --no-walk 6fbe20289db0ca618f291e2fd97c9eea00f82300 # 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] Deleting /var/lib/jenkins/workspace/appNG_Manager/target [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:15:51,274 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:15:51,289 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:15:51,907 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:15:52,128 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:15:52,154 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:15:52,242 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:15:52,261 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@460d0a57: startup date [Tue Jul 30 16:15:52 CEST 2019]; root of context hierarchy 2019-07-30 16:15:52,522 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring Jul 30, 2019 4:15:52 PM ch.sla.jdbcperflogger.Logger info INFO: Using config file jdbcperflogger-fallback.xml 2019-07-30 16:15:53,044 INFO [HSQLDB Server @120f38e6] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Checkpoint start 2019-07-30 16:15:53,044 INFO [HSQLDB Server @120f38e6] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: checkpointClose start 2019-07-30 16:15:53,050 INFO [HSQLDB Server @120f38e6] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: checkpointClose synched 2019-07-30 16:15:53,062 INFO [HSQLDB Server @120f38e6] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: checkpointClose script done 2019-07-30 16:15:53,085 INFO [HSQLDB Server @120f38e6] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: checkpointClose end 2019-07-30 16:15:53,086 INFO [HSQLDB Server @120f38e6] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Checkpoint end - txts: 1 2019-07-30 16:15:53,239 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:15:53,264 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:15:53,397 INFO [main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} 2019-07-30 16:15:53,641 INFO [main] org.hibernate.annotations.common.Version: HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 2019-07-30 16:15:54,067 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:15:54,154 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:15:54,766 INFO [main] org.hibernate.validator.internal.util.Version: HV000001: Hibernate Validator 6.0.15.Final 2019-07-30 16:15:56,172 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:15:56,175 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:15:57,356 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:15:57,356 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:15:57,406 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@460d0a57: startup date [Tue Jul 30 16:15:52 CEST 2019]; root of context hierarchy 2019-07-30 16:15:57,785 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:15:59,454 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@460d0a57: startup date [Tue Jul 30 16:15:52 CEST 2019]; root of context hierarchy 2019-07-30 16:15:59,457 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:15:59,457 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:15:59,729 INFO [HSQLDB Connection @431c16fe] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.911 s - in org.appng.application.manager.job.DatabaseReportJobTest [INFO] Running org.appng.application.manager.business.ApplicationPropertiesTest 2019-07-30 16:15:59,945 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:15:59,946 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:15:59,958 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:00,009 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:16:00,020 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:16:00,059 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:16:00,071 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@4c0989f7: startup date [Tue Jul 30 16:16:00 CEST 2019]; root of context hierarchy 2019-07-30 16:16:00,109 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:00,239 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:00,239 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:00,381 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:00,395 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:00,915 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:16:00,915 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:01,293 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@4c0989f7: startup date [Tue Jul 30 16:16:00 CEST 2019]; root of context hierarchy 2019-07-30 16:16:01,457 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:01,573 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application manager 2019-07-30 16:16:01,881 WARN [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:16:01,884 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:16:01,884 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:16:01,884 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:16:01,885 WARN [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:16:01,885 WARN [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:16:01,885 WARN [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:16:01,887 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:16:01,888 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:16:01,888 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:16:01,888 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:16:01,888 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2019-07-30 16:16:02,066 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.testproperty 2019-07-30 16:16:02,794 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.anotherproperty 2019-07-30 16:16:03,619 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.application.manager.testproperty 2019-07-30 16:16:03,869 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@4c0989f7: startup date [Tue Jul 30 16:16:00 CEST 2019]; root of context hierarchy 2019-07-30 16:16:03,871 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:03,872 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:16:04,129 INFO [HSQLDB Connection @2a64bbc3] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.378 s - in org.appng.application.manager.business.ApplicationPropertiesTest [INFO] Running org.appng.application.manager.business.RepositoriesTest 2019-07-30 16:16:04,346 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:16:04,346 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:16:04,356 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:04,390 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:16:04,397 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:16:04,429 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:16:04,439 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5722b830: startup date [Tue Jul 30 16:16:04 CEST 2019]; root of context hierarchy 2019-07-30 16:16:04,468 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:04,594 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:04,594 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:04,731 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:04,754 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:05,241 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:16:05,241 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:05,586 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@5722b830: startup date [Tue Jul 30 16:16:04 CEST 2019]; root of context hierarchy 2019-07-30 16:16:05,745 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:05,899 WARN [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:16:05,900 WARN [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:16:05,900 WARN [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:16:05,900 WARN [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:16:06,021 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Local 2019-07-30 16:16:06,413 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:16:06,670 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me 2019-07-30 16:16:06,798 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Repository Delete me 2019-07-30 16:16:06,935 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me 2019-07-30 16:16:07,678 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@5722b830: startup date [Tue Jul 30 16:16:04 CEST 2019]; root of context hierarchy 2019-07-30 16:16:07,680 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:07,680 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:16:07,936 INFO [HSQLDB Connection @527c9cc4] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.802 s <<< FAILURE! - in org.appng.application.manager.business.RepositoriesTest [ERROR] testShowRepositories(org.appng.application.manager.business.RepositoriesTest) Time elapsed: 0.304 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&amp;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&amp;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&amp;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:16:08,150 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:16:08,151 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:16:08,170 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:08,208 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:16:08,216 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:16:08,245 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:16:08,254 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@2b65608d: startup date [Tue Jul 30 16:16:08 CEST 2019]; root of context hierarchy 2019-07-30 16:16:08,287 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:08,413 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:08,413 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:08,552 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:08,566 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:09,058 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:16:09,058 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:09,379 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@2b65608d: startup date [Tue Jul 30 16:16:08 CEST 2019]; root of context hierarchy 2019-07-30 16:16:09,514 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:09,695 WARN [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:16:09,695 WARN [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:16:09,696 WARN [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:16:09,696 WARN [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:16:09,696 WARN [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:16:09,697 WARN [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:16:09,697 WARN [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:16:09,825 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.template 2019-07-30 16:16:09,825 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.DatasourceConfigurer 2019-07-30 16:16:09,826 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.wwwDir 2019-07-30 16:16:09,826 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.tagPrefix 2019-07-30 16:16:09,827 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapIdAttribute 2019-07-30 16:16:09,827 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginPage 2019-07-30 16:16:09,828 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUser 2019-07-30 16:16:09,831 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputType 2019-07-30 16:16:09,831 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.encoding 2019-07-30 16:16:09,832 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexDir 2019-07-30 16:16:09,833 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultApplication 2019-07-30 16:16:09,833 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailHost 2019-07-30 16:16:09,833 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginRef 2019-07-30 16:16:09,834 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputFormat 2019-07-30 16:16:09,834 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ehcacheBlockingTimeout 2019-07-30 16:16:09,834 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileTypes 2019-07-30 16:16:09,834 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authApplication 2019-07-30 16:16:09,835 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPage 2019-07-30 16:16:09,835 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapGroupBaseDn 2019-07-30 16:16:09,835 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapStartTls 2019-07-30 16:16:09,835 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ehcacheClearOnShutdown 2019-07-30 16:16:09,836 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.appendTabId 2019-07-30 16:16:09,836 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedMethods 2019-07-30 16:16:09,836 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapDomain 2019-07-30 16:16:09,836 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchChunkSize 2019-07-30 16:16:09,840 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.rewriteConfig 2019-07-30 16:16:09,840 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexTimeout 2019-07-30 16:16:09,840 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.xssExceptions 2019-07-30 16:16:09,841 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.service-path 2019-07-30 16:16:09,841 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportReloadFile 2019-07-30 16:16:09,841 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionValue 2019-07-30 16:16:09,842 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ehcacheEnabled 2019-07-30 16:16:09,842 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionName 2019-07-30 16:16:09,842 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutPage 2019-07-30 16:16:09,842 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.siteRootDir 2019-07-30 16:16:09,843 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ehcacheStatistics 2019-07-30 16:16:09,844 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileSystemQueueSize 2019-07-30 16:16:09,844 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.name 2019-07-30 16:16:09,845 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.allowSkipRender 2019-07-30 16:16:09,845 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPage 2019-07-30 16:16:09,845 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectionEnabled 2019-07-30 16:16:09,846 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportedLanguages 2019-07-30 16:16:09,846 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.assetsDir 2019-07-30 16:16:09,847 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPages 2019-07-30 16:16:09,847 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ehcacheExceptions 2019-07-30 16:16:09,848 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutRef 2019-07-30 16:16:09,848 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.locale 2019-07-30 16:16:09,849 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailDisabled 2019-07-30 16:16:09,849 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.timeZone 2019-07-30 16:16:09,850 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedPaths 2019-07-30 16:16:09,850 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUserBaseDn 2019-07-30 16:16:09,851 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.enforcePrimaryDomain 2019-07-30 16:16:09,851 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPassword 2019-07-30 16:16:09,851 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexConfig 2019-07-30 16:16:09,852 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPageSize 2019-07-30 16:16:09,852 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.documentDir 2019-07-30 16:16:09,852 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPrincipalScheme 2019-07-30 16:16:09,852 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchMaxHits 2019-07-30 16:16:09,853 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexQueueSize 2019-07-30 16:16:09,853 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailPort 2019-07-30 16:16:09,853 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.host 2019-07-30 16:16:09,853 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapHost 2019-07-30 16:16:09,854 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.manager-path 2019-07-30 16:16:09,854 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2019-07-30 16:16:10,469 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2 2019-07-30 16:16:10,583 INFO [main] org.appng.core.service.CoreService: starting deletion of site site2 2019-07-30 16:16:10,602 INFO [main] org.appng.core.service.CoreService: deleting 0 orphaned database connections 2019-07-30 16:16:10,603 INFO [main] org.appng.core.service.CoreService: done deleting site site2 2019-07-30 16:16:10,605 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Site site2 2019-07-30 16:16:10,791 INFO [main] org.appng.core.service.InitializerService: prepare reload of site Mock for Site, hashCode: 2051352537, shutting down first 2019-07-30 16:16:10,791 INFO [main] org.appng.core.service.InitializerService: shutting down site threads for Mock for Site, hashCode: 2051352537 2019-07-30 16:16:10,792 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:16:11,091 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2 2019-07-30 16:16:11,226 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@2b65608d: startup date [Tue Jul 30 16:16:08 CEST 2019]; root of context hierarchy 2019-07-30 16:16:11,229 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:11,229 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:16:11,490 INFO [HSQLDB Connection @65ab203f] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.537 s - in org.appng.application.manager.business.SitesTest [INFO] Running org.appng.application.manager.business.PlatformEventsTest 2019-07-30 16:16:11,701 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:16:11,701 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:16:11,707 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:11,736 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:16:11,742 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:16:11,771 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:16:11,784 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@15254ef6: startup date [Tue Jul 30 16:16:11 CEST 2019]; root of context hierarchy 2019-07-30 16:16:11,816 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:11,943 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:11,943 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:12,082 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:12,093 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:12,546 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:16:12,546 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:12,857 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@15254ef6: startup date [Tue Jul 30 16:16:11 CEST 2019]; root of context hierarchy 2019-07-30 16:16:12,982 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:13,555 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@15254ef6: startup date [Tue Jul 30 16:16:11 CEST 2019]; root of context hierarchy 2019-07-30 16:16:13,556 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:13,557 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:16:13,807 INFO [HSQLDB Connection @3d669433] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.313 s - in org.appng.application.manager.business.PlatformEventsTest [INFO] Running org.appng.application.manager.business.DataBaseConnectionsTest 2019-07-30 16:16:14,019 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:16:14,019 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:16:14,026 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:14,053 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:16:14,062 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:16:14,093 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:16:14,099 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml] 2019-07-30 16:16:14,109 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@4b9d0135: startup date [Tue Jul 30 16:16:14 CEST 2019]; root of context hierarchy 2019-07-30 16:16:14,134 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:14,262 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:14,262 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:14,399 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:14,410 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:14,859 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:16:14,859 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:15,204 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@4b9d0135: startup date [Tue Jul 30 16:16:14 CEST 2019]; root of context hierarchy 2019-07-30 16:16:15,410 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql] 2019-07-30 16:16:15,414 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 4 ms. 2019-07-30 16:16:15,466 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:15,625 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2019-07-30 16:16:15,635 INFO [main] org.flywaydb.core.internal.util.VersionPrinter: Flyway 4.2.0 by Boxfuse 2019-07-30 16:16:15,748 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:16:15,962 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2019-07-30 16:16:16,064 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:16:16,093 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@4b9d0135: startup date [Tue Jul 30 16:16:14 CEST 2019]; root of context hierarchy 2019-07-30 16:16:16,196 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:16,197 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:16:16,464 INFO [HSQLDB Connection @13560cf3] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.655 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.024 s - in org.appng.application.manager.business.webservice.LogViewerTest [INFO] Running org.appng.application.manager.business.SubjectsTest 2019-07-30 16:16:16,700 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:16:16,700 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:16:16,706 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:16,737 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:16:16,743 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:16:16,769 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:16:16,775 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@10b440fb: startup date [Tue Jul 30 16:16:16 CEST 2019]; root of context hierarchy 2019-07-30 16:16:16,801 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:16,924 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:16,925 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:17,063 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:17,076 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:17,518 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:16:17,518 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:17,802 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@10b440fb: startup date [Tue Jul 30 16:16:16 CEST 2019]; root of context hierarchy 2019-07-30 16:16:17,927 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:18,033 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admins 2019-07-30 16:16:18,141 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2019-07-30 16:16:18,341 WARN [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:16:18,342 WARN [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:16:18,342 WARN [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:16:18,342 WARN [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:16:18,343 WARN [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:16:18,343 WARN [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:16:18,343 WARN [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:16:18,344 WARN [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:16:18,346 WARN [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:16:18,346 WARN [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:16:18,347 WARN [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:16:19,261 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject admin 2019-07-30 16:16:19,274 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin 2019-07-30 16:16:20,467 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject user 2019-07-30 16:16:20,475 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject user 2019-07-30 16:16:20,842 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:16:21,426 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Subject user 2019-07-30 16:16:22,849 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin 2019-07-30 16:16:23,012 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@10b440fb: startup date [Tue Jul 30 16:16:16 CEST 2019]; root of context hierarchy 2019-07-30 16:16:23,013 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:23,013 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:16:23,262 INFO [HSQLDB Connection @35f01989] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.77 s - in org.appng.application.manager.business.SubjectsTest [INFO] Running org.appng.application.manager.business.SessionsTest 2019-07-30 16:16:23,479 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:16:23,479 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:16:23,485 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:23,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:16:23,526 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:16:23,593 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:16:23,601 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@6e61f3df: startup date [Tue Jul 30 16:16:23 CEST 2019]; root of context hierarchy 2019-07-30 16:16:23,632 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:23,758 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:23,758 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:23,896 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:23,905 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:24,340 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:16:24,350 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:24,681 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@6e61f3df: startup date [Tue Jul 30 16:16:23 CEST 2019]; root of context hierarchy 2019-07-30 16:16:24,821 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:24,946 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@6e61f3df: startup date [Tue Jul 30 16:16:23 CEST 2019]; root of context hierarchy 2019-07-30 16:16:24,947 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:24,947 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:16:25,192 INFO [HSQLDB Connection @d5f0a28] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.932 s - in org.appng.application.manager.business.SessionsTest [INFO] Running org.appng.application.manager.business.SqlExecutorTest 2019-07-30 16:16:25,401 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:16:25,401 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7ebc6c77, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@22a6a886, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@f5a2cea, org.springframework.test.context.support.DirtiesContextTestExecutionListener@70bc91a, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1ac9d258, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@dbcbb1f] 2019-07-30 16:16:25,413 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:25,436 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:16:25,441 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:16:25,466 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:16:25,472 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml] 2019-07-30 16:16:25,477 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@535ffb3e: startup date [Tue Jul 30 16:16:25 CEST 2019]; root of context hierarchy 2019-07-30 16:16:25,500 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:25,622 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:25,622 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:25,758 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:25,767 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:26,163 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:16:26,163 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:26,429 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@535ffb3e: startup date [Tue Jul 30 16:16:25 CEST 2019]; root of context hierarchy 2019-07-30 16:16:26,611 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql] 2019-07-30 16:16:26,613 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:16:26,663 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:26,818 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2019-07-30 16:16:26,920 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:16:27,049 INFO [main] org.springframework.jdbc.datasource.SingleConnectionDataSource: Established shared JDBC Connection: org.hsqldb.jdbc.JDBCConnection@6db02662 2019-07-30 16:16:27,081 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@535ffb3e: startup date [Tue Jul 30 16:16:25 CEST 2019]; root of context hierarchy 2019-07-30 16:16:27,185 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:27,185 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:16:27,923 INFO [HSQLDB Connection @72e80bee] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.821 s - in org.appng.application.manager.business.SqlExecutorTest [INFO] Running org.appng.application.manager.business.PlatformPropertiesTest 2019-07-30 16:16:28,234 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:16:28,235 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1223d970, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@a825b43, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@73c9aa66, org.springframework.test.context.support.DirtiesContextTestExecutionListener@c2049a6, org.springframework.test.context.transaction.TransactionalTestExecutionListener@c4e90b, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1804e213] 2019-07-30 16:16:28,242 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:28,268 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:16:28,273 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:16:28,300 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:16:28,307 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@26a0e1ef: startup date [Tue Jul 30 16:16:28 CEST 2019]; root of context hierarchy 2019-07-30 16:16:28,333 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:28,454 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:28,454 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:28,592 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:28,601 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:29,012 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:16:29,012 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:29,323 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@26a0e1ef: startup date [Tue Jul 30 16:16:28 CEST 2019]; root of context hierarchy 2019-07-30 16:16:29,538 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:29,696 WARN [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:16:29,697 WARN [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:16:29,697 WARN [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:16:29,697 WARN [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:16:29,697 WARN [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:16:29,698 WARN [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:16:29,698 WARN [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:16:29,698 WARN [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:16:29,698 WARN [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:16:29,698 WARN [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:16:29,698 WARN [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:16:29,698 WARN [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:16:29,812 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.testproperty 2019-07-30 16:16:30,143 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.anotherproperty 2019-07-30 16:16:30,998 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.testproperty 2019-07-30 16:16:31,470 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@26a0e1ef: startup date [Tue Jul 30 16:16:28 CEST 2019]; root of context hierarchy 2019-07-30 16:16:31,473 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:31,473 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:16:31,721 INFO [HSQLDB Connection @309ae17e] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.697 s - in org.appng.application.manager.business.PlatformPropertiesTest [INFO] Running org.appng.application.manager.business.GroupsTest 2019-07-30 16:16:31,933 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:16:31,933 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@11b1eb39, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@72fdc204, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@773cb4bb, org.springframework.test.context.support.DirtiesContextTestExecutionListener@79199e4, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1967520c, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5165ec6] 2019-07-30 16:16:31,939 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:31,963 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:16:31,968 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:16:31,993 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:16:31,999 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@171dbbb3: startup date [Tue Jul 30 16:16:31 CEST 2019]; root of context hierarchy 2019-07-30 16:16:32,027 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:32,152 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:32,152 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:32,289 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:32,299 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:32,691 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:16:32,691 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:32,976 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@171dbbb3: startup date [Tue Jul 30 16:16:31 CEST 2019]; root of context hierarchy 2019-07-30 16:16:33,107 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:33,212 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2019-07-30 16:16:33,320 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2019-07-30 16:16:33,427 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2 2019-07-30 16:16:33,535 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2019-07-30 16:16:33,813 WARN [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:16:33,813 WARN [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:16:33,813 WARN [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:16:33,814 WARN [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:16:33,814 WARN [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:16:33,924 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admin 2019-07-30 16:16:34,549 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2019-07-30 16:16:34,666 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Group users 2019-07-30 16:16:34,938 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2019-07-30 16:16:35,044 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group Administrators 2019-07-30 16:16:35,560 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Group Administrators 2019-07-30 16:16:36,073 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@171dbbb3: startup date [Tue Jul 30 16:16:31 CEST 2019]; root of context hierarchy 2019-07-30 16:16:36,074 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:36,074 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:16:36,323 INFO [HSQLDB Connection @37985a3d] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.599 s - in org.appng.application.manager.business.GroupsTest [INFO] Running org.appng.application.manager.business.SitePropertiesTest 2019-07-30 16:16:36,532 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:16:36,533 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@43e79115, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@2042bd99, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@b4042b9, org.springframework.test.context.support.DirtiesContextTestExecutionListener@22579689, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5d47d4ef, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@685c14ab] 2019-07-30 16:16:36,540 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:36,562 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:16:36,567 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:16:36,596 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:16:36,603 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@6180c693: startup date [Tue Jul 30 16:16:36 CEST 2019]; root of context hierarchy 2019-07-30 16:16:36,628 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:36,751 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:36,751 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:36,888 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:36,896 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:37,281 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:16:37,282 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:37,541 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@6180c693: startup date [Tue Jul 30 16:16:36 CEST 2019]; root of context hierarchy 2019-07-30 16:16:37,714 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:37,819 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2019-07-30 16:16:37,970 WARN [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:16:37,971 WARN [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:16:37,971 WARN [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:16:37,971 WARN [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:16:37,971 WARN [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:16:37,971 WARN [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:16:37,971 WARN [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:16:37,972 WARN [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:16:37,972 WARN [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:16:37,972 WARN [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:16:37,972 WARN [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:16:37,972 WARN [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:16:38,085 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.testproperty 2019-07-30 16:16:38,416 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.anotherproperty 2019-07-30 16:16:39,051 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.site.localhost.testproperty 2019-07-30 16:16:39,285 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@6180c693: startup date [Tue Jul 30 16:16:36 CEST 2019]; root of context hierarchy 2019-07-30 16:16:39,286 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:39,286 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:16:39,537 INFO [HSQLDB Connection @3e992cff] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.214 s - in org.appng.application.manager.business.SitePropertiesTest [INFO] Running org.appng.application.manager.business.AbstractTest [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.appng.application.manager.business.AbstractTest [INFO] Running org.appng.application.manager.business.ClusterStateTest 2019-07-30 16:16:39,748 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:16:39,748 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6d98cf11, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@5a6e4b0, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@13e74103, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4029e5ef, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6be25abc, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5953a014] 2019-07-30 16:16:39,755 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:39,777 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:16:39,781 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:16:39,805 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:16:39,811 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@70150d64: startup date [Tue Jul 30 16:16:39 CEST 2019]; root of context hierarchy 2019-07-30 16:16:39,835 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:39,958 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:39,958 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:40,094 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:40,102 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:40,513 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:16:40,513 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:41,192 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@70150d64: startup date [Tue Jul 30 16:16:39 CEST 2019]; root of context hierarchy 2019-07-30 16:16:41,323 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:41,363 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@70150d64: startup date [Tue Jul 30 16:16:39 CEST 2019]; root of context hierarchy 2019-07-30 16:16:41,364 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:41,364 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:16:41,613 INFO [HSQLDB Connection @406422d0] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.069 s - in org.appng.application.manager.business.ClusterStateTest [INFO] Running org.appng.application.manager.business.PermissionsTest 2019-07-30 16:16:41,823 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:16:41,823 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:16:41,829 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:41,851 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:16:41,856 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:16:41,879 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:16:41,885 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5b4a06fb: startup date [Tue Jul 30 16:16:41 CEST 2019]; root of context hierarchy 2019-07-30 16:16:41,909 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:42,029 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:42,029 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:42,166 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:42,175 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:42,545 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:16:42,545 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:42,809 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@5b4a06fb: startup date [Tue Jul 30 16:16:41 CEST 2019]; root of context hierarchy 2019-07-30 16:16:42,931 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:43,036 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2019-07-30 16:16:43,144 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2019-07-30 16:16:43,249 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this 2019-07-30 16:16:43,355 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that 2019-07-30 16:16:43,512 WARN [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:16:43,513 WARN [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:16:43,513 WARN [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:16:43,513 WARN [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:16:43,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:16:43,625 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.something 2019-07-30 16:16:44,218 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Permission do.something 2019-07-30 16:16:44,749 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Permission do.somethingelse 2019-07-30 16:16:44,873 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@5b4a06fb: startup date [Tue Jul 30 16:16:41 CEST 2019]; root of context hierarchy 2019-07-30 16:16:44,874 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:44,874 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:16:45,125 INFO [HSQLDB Connection @5595de0e] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.516 s - in org.appng.application.manager.business.PermissionsTest [INFO] Running org.appng.application.manager.business.RoleTest 2019-07-30 16:16:45,340 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:16:45,341 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:16:45,348 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2019-07-30 16:16:45,370 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:16:45,375 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:16:45,400 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:16:45,406 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@29da42c2: startup date [Tue Jul 30 16:16:45 CEST 2019]; root of context hierarchy 2019-07-30 16:16:45,436 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-07-30 16:16:45,558 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:45,558 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2019-07-30 16:16:45,694 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2019-07-30 16:16:45,704 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2019-07-30 16:16:46,084 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:16:46,084 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:46,392 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@29da42c2: startup date [Tue Jul 30 16:16:45 CEST 2019]; root of context hierarchy 2019-07-30 16:16:46,516 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2019-07-30 16:16:46,621 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2019-07-30 16:16:46,728 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this 2019-07-30 16:16:46,834 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that 2019-07-30 16:16:46,940 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2019-07-30 16:16:47,102 WARN [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:16:47,102 WARN [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:16:47,102 WARN [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:16:47,102 WARN [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:16:47,103 WARN [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:16:47,215 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2 2019-07-30 16:16:47,638 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:16:47,885 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Role role2 2019-07-30 16:16:48,453 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Role role.updated 2019-07-30 16:16:48,581 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@29da42c2: startup date [Tue Jul 30 16:16:45 CEST 2019]; root of context hierarchy 2019-07-30 16:16:48,582 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2019-07-30 16:16:48,582 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:16:48,834 INFO [HSQLDB Connection @5a689fc8] hsqldb.db.HSQLDB6C433CC9C2.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.702 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&amp;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&amp;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&amp;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:04 min [INFO] Finished at: 2019-07-30T16:16:49+02:00 [INFO] Final Memory: 52M/568M [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