Started by an SCM change 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 0a58e5cc91b9b2921ed56950dee8f79bcc3a1940 (refs/remotes/origin/appng-manager-1.17.x) Commit message: "MGR-89" > git rev-parse refs/remotes/origin/appng-manager-1.17.x^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/appng-manager-1.17.x^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a58e5cc91b9b2921ed56950dee8f79bcc3a1940 > git branch -a -v --no-abbrev # timeout=10 > git branch -D appng-manager-1.17.x # timeout=10 > git checkout -b appng-manager-1.17.x 0a58e5cc91b9b2921ed56950dee8f79bcc3a1940 > git rev-list --no-walk 33b58b2406d3852fe30230cb674f67e00737cfe7 # 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.17.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.21.0-SNAPSHOT:generateApplicationConstants (applicationConstants) @ appng-manager --- [INFO] generate application constants for [/var/lib/jenkins/workspace/appNG_Manager/application-home/application.xml, org.appng.application.manager.ManagerSettings, /var/lib/jenkins/workspace/appNG_Manager/target/generated-sources/constants] [INFO] [INFO] --- appng-maven-plugin:1.21.0-SNAPSHOT:generateMessageConstants (messageConstants) @ appng-manager --- [INFO] generate message constants for [/var/lib/jenkins/workspace/appNG_Manager/application-home/dictionary/manager-messages.properties, org.appng.application.manager.MessageConstants, /var/lib/jenkins/workspace/appNG_Manager/target/generated-sources/constants] [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:add-source (default) @ appng-manager --- [INFO] Source directory: /var/lib/jenkins/workspace/appNG_Manager/target/generated-sources/constants added. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ appng-manager --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ appng-manager --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 54 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 82 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ appng-manager --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 18 source files to /var/lib/jenkins/workspace/appNG_Manager/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ appng-manager --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.appng.application.manager.job.DatabaseReportJobTest 2020-02-11 16:37:21,529 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] 2020-02-11 16:37:21,542 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@670002, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1f0f1111, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@49c386c8, org.springframework.test.context.support.DirtiesContextTestExecutionListener@56528192, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6e0dec4a, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@96def03] 2020-02-11 16:37:22,210 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:37:22,458 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:37:22,481 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:37:22,586 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:37:22,624 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@4facf68f: startup date [Tue Feb 11 16:37:22 CET 2020]; root of context hierarchy 2020-02-11 16:37:23,002 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring Feb 11, 2020 4:37:23 PM ch.sla.jdbcperflogger.Logger info INFO: Using config file jdbcperflogger-fallback.xml 2020-02-11 16:37:23,482 INFO [HSQLDB Server @69adf72c] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Checkpoint start 2020-02-11 16:37:23,482 INFO [HSQLDB Server @69adf72c] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: checkpointClose start 2020-02-11 16:37:23,492 INFO [HSQLDB Server @69adf72c] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: checkpointClose synched 2020-02-11 16:37:23,504 INFO [HSQLDB Server @69adf72c] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: checkpointClose script done 2020-02-11 16:37:23,528 INFO [HSQLDB Server @69adf72c] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: checkpointClose end 2020-02-11 16:37:23,529 INFO [HSQLDB Server @69adf72c] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Checkpoint end - txts: 1 2020-02-11 16:37:23,723 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:23,753 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:37:23,894 INFO [main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.10.Final} 2020-02-11 16:37:24,099 INFO [main] org.hibernate.annotations.common.Version: HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 2020-02-11 16:37:24,527 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:37:24,625 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:37:25,278 INFO [main] org.hibernate.validator.internal.util.Version: HV000001: Hibernate Validator 6.1.0.Final 2020-02-11 16:37:26,811 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:37:26,823 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:28,050 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. 2020-02-11 16:37:28,050 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. 2020-02-11 16:37:28,208 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@4facf68f: startup date [Tue Feb 11 16:37:22 CET 2020]; root of context hierarchy 2020-02-11 16:37:28,999 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:37:30,658 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@4facf68f: startup date [Tue Feb 11 16:37:22 CET 2020]; root of context hierarchy 2020-02-11 16:37:30,661 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:30,661 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:37:30,949 INFO [HSQLDB Connection @4ced2a3a] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.877 s - in org.appng.application.manager.job.DatabaseReportJobTest [INFO] Running org.appng.application.manager.business.ApplicationPropertiesTest 2020-02-11 16:37:31,167 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] 2020-02-11 16:37:31,167 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7473cfe2, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@354ed5c4, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@41a6ab50, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6dc98c02, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7af4286, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@448c4742] 2020-02-11 16:37:31,185 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:37:31,262 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:37:31,276 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:37:31,327 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:37:31,342 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@118cbb26: startup date [Tue Feb 11 16:37:31 CET 2020]; root of context hierarchy 2020-02-11 16:37:31,393 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:37:31,526 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:31,526 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:37:31,671 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:37:31,684 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:37:32,307 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:37:32,308 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:32,689 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@118cbb26: startup date [Tue Feb 11 16:37:31 CET 2020]; root of context hierarchy 2020-02-11 16:37:32,923 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:37:33,042 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application manager 2020-02-11 16:37:33,337 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:33,340 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:33,340 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:33,340 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:33,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 2020-02-11 16:37:33,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 2020-02-11 16:37:33,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 2020-02-11 16:37:33,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 2020-02-11 16:37:33,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 2020-02-11 16:37:33,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 2020-02-11 16:37:33,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 2020-02-11 16:37:33,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 2020-02-11 16:37:33,537 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.testproperty 2020-02-11 16:37:35,703 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.anotherproperty 2020-02-11 16:37:36,528 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.application.manager.testproperty 2020-02-11 16:37:36,790 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@118cbb26: startup date [Tue Feb 11 16:37:31 CET 2020]; root of context hierarchy 2020-02-11 16:37:36,792 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:36,792 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:37:37,041 INFO [HSQLDB Connection @6b7f390f] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.95 s - in org.appng.application.manager.business.ApplicationPropertiesTest [INFO] Running org.appng.application.manager.business.RepositoriesTest 2020-02-11 16:37:37,158 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] 2020-02-11 16:37:37,158 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@552d2df6, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6be03f17, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1f15cb5a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@52990f00, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6ee7da38, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4954874] 2020-02-11 16:37:37,171 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:37:37,213 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:37:37,222 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:37:37,257 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:37:37,267 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@2f10e405: startup date [Tue Feb 11 16:37:37 CET 2020]; root of context hierarchy 2020-02-11 16:37:37,302 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:37:37,428 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:37,428 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:37:37,568 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:37:37,581 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:37:38,123 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:37:38,123 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:38,476 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@2f10e405: startup date [Tue Feb 11 16:37:37 CET 2020]; root of context hierarchy 2020-02-11 16:37:38,749 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:37:38,908 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:38,909 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:38,909 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:38,909 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:39,028 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Local 2020-02-11 16:37:39,443 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:955) at org.appng.application.manager.service.ManagerService.validateRepository(ManagerService.java:940) at org.appng.application.manager.service.ManagerService.createRepository(ManagerService.java:868) 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:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$589ff033.createRepository(<generated>) at org.appng.application.manager.business.Repositories.perform(Repositories.java:64) at org.appng.application.manager.business.Repositories.perform(Repositories.java:44) at org.appng.api.support.CallableAction.execute(CallableAction.java:427) at org.appng.api.support.CallableAction.perform(CallableAction.java:325) at org.appng.api.support.CallableAction.perform(CallableAction.java:299) at org.appng.application.manager.business.RepositoriesTest.testCreateRepositoryNameExists(RepositoriesTest.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 2020-02-11 16:37:39,701 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me 2020-02-11 16:37:39,837 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Repository Delete me 2020-02-11 16:37:39,980 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me 2020-02-11 16:37:40,719 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@2f10e405: startup date [Tue Feb 11 16:37:37 CET 2020]; root of context hierarchy 2020-02-11 16:37:40,721 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:40,722 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:37:40,982 INFO [HSQLDB Connection @1086afac] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.029 s - in org.appng.application.manager.business.RepositoriesTest [INFO] Running org.appng.application.manager.business.SitesTest 2020-02-11 16:37:41,208 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] 2020-02-11 16:37:41,208 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@189062a9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6cc0f269, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@78ae2183, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6296a4b7, org.springframework.test.context.transaction.TransactionalTestExecutionListener@79880766, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1230f184] 2020-02-11 16:37:41,222 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:37:41,274 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:37:41,284 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:37:41,327 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:37:41,338 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@4cffc4a0: startup date [Tue Feb 11 16:37:41 CET 2020]; root of context hierarchy 2020-02-11 16:37:41,414 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:37:41,550 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:41,550 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:37:41,701 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:37:41,712 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:37:42,223 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:37:42,224 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:42,558 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@4cffc4a0: startup date [Tue Feb 11 16:37:41 CET 2020]; root of context hierarchy 2020-02-11 16:37:42,760 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:37:42,866 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.messagingEnabled 2020-02-11 16:37:43,024 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,024 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,025 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,025 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,025 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,026 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,026 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,026 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,027 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,027 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,027 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,027 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,140 ERROR [main] org.appng.application.manager.business.Properties: Failed to create the property. org.appng.api.BusinessException: property already exists! at org.appng.application.manager.service.ManagerService.createProperty(ManagerService.java:1507) 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:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$589ff033.createProperty(<generated>) at org.appng.application.manager.business.Properties.perform(Properties.java:128) at org.appng.application.manager.business.Properties.perform(Properties.java:50) at org.appng.api.support.CallableAction.execute(CallableAction.java:427) at org.appng.api.support.CallableAction.perform(CallableAction.java:325) at org.appng.api.support.CallableAction.perform(CallableAction.java:299) at org.appng.application.manager.business.SitesTest.testCreateSite(SitesTest.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 2020-02-11 16:37:43,408 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,408 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,409 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,409 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,409 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,410 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:43,538 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.template 2020-02-11 16:37:43,539 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.DatasourceConfigurer 2020-02-11 16:37:43,540 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.wwwDir 2020-02-11 16:37:43,542 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.tagPrefix 2020-02-11 16:37:43,543 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapIdAttribute 2020-02-11 16:37:43,543 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginPage 2020-02-11 16:37:43,544 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheEnabled 2020-02-11 16:37:43,545 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUser 2020-02-11 16:37:43,546 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputType 2020-02-11 16:37:43,547 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.encoding 2020-02-11 16:37:43,548 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexDir 2020-02-11 16:37:43,548 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultApplication 2020-02-11 16:37:43,549 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailHost 2020-02-11 16:37:43,550 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginRef 2020-02-11 16:37:43,550 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputFormat 2020-02-11 16:37:43,551 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileTypes 2020-02-11 16:37:43,551 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authApplication 2020-02-11 16:37:43,552 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPage 2020-02-11 16:37:43,552 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapGroupBaseDn 2020-02-11 16:37:43,553 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapStartTls 2020-02-11 16:37:43,553 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheClearOnShutdown 2020-02-11 16:37:43,553 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.appendTabId 2020-02-11 16:37:43,554 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheTimeToLive 2020-02-11 16:37:43,554 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedMethods 2020-02-11 16:37:43,555 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapDomain 2020-02-11 16:37:43,555 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchChunkSize 2020-02-11 16:37:43,556 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.rewriteConfig 2020-02-11 16:37:43,556 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexTimeout 2020-02-11 16:37:43,557 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.xssExceptions 2020-02-11 16:37:43,557 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.service-path 2020-02-11 16:37:43,558 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportReloadFile 2020-02-11 16:37:43,558 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionValue 2020-02-11 16:37:43,559 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheTimeoutsAntStyle 2020-02-11 16:37:43,559 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionName 2020-02-11 16:37:43,560 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutPage 2020-02-11 16:37:43,560 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.siteRootDir 2020-02-11 16:37:43,561 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileSystemQueueSize 2020-02-11 16:37:43,561 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.name 2020-02-11 16:37:43,562 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.allowSkipRender 2020-02-11 16:37:43,563 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheStatistics 2020-02-11 16:37:43,563 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPage 2020-02-11 16:37:43,564 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectionEnabled 2020-02-11 16:37:43,564 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportedLanguages 2020-02-11 16:37:43,565 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.assetsDir 2020-02-11 16:37:43,565 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPages 2020-02-11 16:37:43,565 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutRef 2020-02-11 16:37:43,566 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.locale 2020-02-11 16:37:43,566 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailDisabled 2020-02-11 16:37:43,566 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.timeZone 2020-02-11 16:37:43,567 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedPaths 2020-02-11 16:37:43,568 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUserBaseDn 2020-02-11 16:37:43,568 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheExceptions 2020-02-11 16:37:43,569 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.enforcePrimaryDomain 2020-02-11 16:37:43,569 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPassword 2020-02-11 16:37:43,570 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexConfig 2020-02-11 16:37:43,570 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheTimeouts 2020-02-11 16:37:43,571 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPageSize 2020-02-11 16:37:43,571 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.documentDir 2020-02-11 16:37:43,572 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPrincipalScheme 2020-02-11 16:37:43,572 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchMaxHits 2020-02-11 16:37:43,573 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexQueueSize 2020-02-11 16:37:43,573 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailPort 2020-02-11 16:37:43,574 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.host 2020-02-11 16:37:43,574 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapHost 2020-02-11 16:37:43,574 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.manager-path 2020-02-11 16:37:43,575 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2020-02-11 16:37:44,231 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2 2020-02-11 16:37:44,345 INFO [main] org.appng.core.service.CoreService: starting deletion of site site2 2020-02-11 16:37:44,372 INFO [main] org.appng.core.service.CoreService: deleting 0 orphaned database connections 2020-02-11 16:37:44,375 INFO [main] org.appng.core.service.CoreService: done deleting site site2 2020-02-11 16:37:44,378 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Site site2 2020-02-11 16:37:44,605 INFO [main] org.appng.core.service.InitializerService: prepare reload of site Mock for Site, hashCode: 1601939145, shutting down first 2020-02-11 16:37:44,635 ERROR [main] org.appng.application.manager.business.Sites: error during action 'reload': Failed to reload the site. org.appng.api.BusinessException: java.lang.ClassCastException: org.appng.api.model.Site$$EnhancerByMockitoWithCGLIB$$3e724f44 cannot be cast to org.appng.core.domain.SiteImpl at org.appng.api.support.RequestSupportImpl.handleException(RequestSupportImpl.java:202) at org.appng.api.support.ApplicationRequest.handleException(ApplicationRequest.java:134) at org.appng.application.manager.service.ManagerService.reloadSite(ManagerService.java:1570) 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:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$589ff033.reloadSite(<generated>) at org.appng.application.manager.business.Sites.perform(Sites.java:77) at org.appng.application.manager.business.Sites.perform(Sites.java:45) at org.appng.api.support.CallableAction.execute(CallableAction.java:427) at org.appng.api.support.CallableAction.perform(CallableAction.java:325) at org.appng.api.support.CallableAction.perform(CallableAction.java:299) at org.appng.application.manager.business.SitesTest.testReloadSite(SitesTest.java:87) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: java.lang.ClassCastException: org.appng.api.model.Site$$EnhancerByMockitoWithCGLIB$$3e724f44 cannot be cast to org.appng.core.domain.SiteImpl at org.appng.core.service.CoreService.shutdownSite(CoreService.java:1798) at org.appng.core.service.CoreService$$FastClassBySpringCGLIB$$4bccbf8c.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:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671) at org.appng.core.service.CoreService$$EnhancerBySpringCGLIB$$11f8423d.shutdownSite(<generated>) at org.appng.core.service.InitializerService.shutDownSite(InitializerService.java:877) at org.appng.core.service.InitializerService.loadSite(InitializerService.java:487) at org.appng.core.service.InitializerService.loadSite(InitializerService.java:444) at org.appng.core.service.InitializerService.loadSite(InitializerService.java:428) at org.appng.core.service.InitializerService$$FastClassBySpringCGLIB$$f960133d.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java: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:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671) at org.appng.core.service.InitializerService$$EnhancerBySpringCGLIB$$aa6793f0.loadSite(<generated>) at org.appng.application.manager.service.ManagerService.reloadSite(ManagerService.java:1560) ... 49 more 2020-02-11 16:37:44,962 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2 2020-02-11 16:37:45,275 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@4cffc4a0: startup date [Tue Feb 11 16:37:41 CET 2020]; root of context hierarchy 2020-02-11 16:37:45,276 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:45,277 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:37:45,522 INFO [HSQLDB Connection @1a10a8d4] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.527 s - in org.appng.application.manager.business.SitesTest [INFO] Running org.appng.application.manager.business.PlatformEventsTest 2020-02-11 16:37:45,733 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] 2020-02-11 16:37:45,734 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@21a4e241, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@c2a2ace, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@472db1e2, org.springframework.test.context.support.DirtiesContextTestExecutionListener@989764, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6a8cbdc, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5b89fd9d] 2020-02-11 16:37:45,744 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:37:45,780 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:37:45,789 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:37:45,827 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:37:45,835 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@35667f4c: startup date [Tue Feb 11 16:37:45 CET 2020]; root of context hierarchy 2020-02-11 16:37:45,865 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:37:45,991 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:45,991 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:37:46,151 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:37:46,160 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:37:46,668 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:37:46,668 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:47,016 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@35667f4c: startup date [Tue Feb 11 16:37:45 CET 2020]; root of context hierarchy 2020-02-11 16:37:47,273 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:37:47,852 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@35667f4c: startup date [Tue Feb 11 16:37:45 CET 2020]; root of context hierarchy 2020-02-11 16:37:47,853 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:47,854 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:37:48,098 INFO [HSQLDB Connection @34414d45] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.578 s - in org.appng.application.manager.business.PlatformEventsTest [INFO] Running org.appng.application.manager.business.DataBaseConnectionsTest 2020-02-11 16:37:48,309 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] 2020-02-11 16:37:48,309 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@3141bd21, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1ecbf271, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@59cb6491, org.springframework.test.context.support.DirtiesContextTestExecutionListener@721d590a, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4e894add, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@f906107] 2020-02-11 16:37:48,321 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:37:48,349 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:37:48,354 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:37:48,385 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:37:48,392 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml] 2020-02-11 16:37:48,403 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'sessions' with a different definition: replacing [Generic bean: class [org.appng.application.manager.business.Sessions]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/var/lib/jenkins/workspace/appNG_Manager/target/classes/org/appng/application/manager/business/Sessions.class]] with [Generic bean: class [org.appng.application.manager.business.SessionsTestBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test.xml]] 2020-02-11 16:37:48,404 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@15b0ae34: startup date [Tue Feb 11 16:37:48 CET 2020]; root of context hierarchy 2020-02-11 16:37:48,430 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:37:48,555 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:48,555 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:37:48,693 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:37:48,715 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:37:49,179 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:37:49,179 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:49,460 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@15b0ae34: startup date [Tue Feb 11 16:37:48 CET 2020]; root of context hierarchy 2020-02-11 16:37:49,762 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql] 2020-02-11 16:37:49,765 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 3 ms. 2020-02-11 16:37:49,827 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:37:49,999 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2020-02-11 16:37:50,025 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 5.2.4 by Boxfuse 2020-02-11 16:37:50,143 INFO [main] org.flywaydb.core.internal.database.DatabaseFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5) 2020-02-11 16:37:50,150 WARN [main] org.flywaydb.core.internal.database.base.Database: Flyway upgrade recommended: HSQLDB 2.5 is newer than this version of Flyway and support has not been tested. 2020-02-11 16:37:50,418 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2020-02-11 16:37:50,520 INFO [main] org.flywaydb.core.internal.database.DatabaseFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5) 2020-02-11 16:37:50,521 WARN [main] org.flywaydb.core.internal.database.base.Database: Flyway upgrade recommended: HSQLDB 2.5 is newer than this version of Flyway and support has not been tested. 2020-02-11 16:37:50,562 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@15b0ae34: startup date [Tue Feb 11 16:37:48 CET 2020]; root of context hierarchy 2020-02-11 16:37:50,665 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:50,666 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:37:51,050 INFO [HSQLDB Connection @2684b09a] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.942 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.021 s - in org.appng.application.manager.business.webservice.LogViewerTest [INFO] Running org.appng.application.manager.business.SubjectsTest 2020-02-11 16:37:51,286 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] 2020-02-11 16:37:51,286 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5d12ecf0, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@35f0e203, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@15fed74a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@69a38d6c, org.springframework.test.context.transaction.TransactionalTestExecutionListener@231c89c4, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@114e975e] 2020-02-11 16:37:51,295 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:37:51,322 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:37:51,328 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:37:51,362 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:37:51,369 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7547d76: startup date [Tue Feb 11 16:37:51 CET 2020]; root of context hierarchy 2020-02-11 16:37:51,395 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:37:51,521 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:51,521 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:37:51,664 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:37:51,672 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:37:52,157 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:37:52,157 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:52,485 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7547d76: startup date [Tue Feb 11 16:37:51 CET 2020]; root of context hierarchy 2020-02-11 16:37:52,718 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:37:52,824 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admins 2020-02-11 16:37:52,937 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2020-02-11 16:37:53,132 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:53,132 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:53,132 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:53,133 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:53,133 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:53,133 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:53,133 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:53,133 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:53,134 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:53,134 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:53,134 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:37:54,039 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject admin 2020-02-11 16:37:54,056 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin 2020-02-11 16:37:55,235 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject user 2020-02-11 16:37:55,249 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject user 2020-02-11 16:37:55,621 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:1282) 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:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$589ff033.createSubject(<generated>) at org.appng.application.manager.business.Subjects.perform(Subjects.java:64) at org.appng.application.manager.business.Subjects.perform(Subjects.java:48) at org.appng.api.support.CallableAction.execute(CallableAction.java:427) at org.appng.api.support.CallableAction.perform(CallableAction.java:325) at org.appng.api.support.CallableAction.perform(CallableAction.java:299) at org.appng.application.manager.business.SubjectsTest.testCreateNameExists(SubjectsTest.java:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 2020-02-11 16:37:56,296 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Subject user 2020-02-11 16:37:57,899 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin 2020-02-11 16:37:58,061 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7547d76: startup date [Tue Feb 11 16:37:51 CET 2020]; root of context hierarchy 2020-02-11 16:37:58,063 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:58,063 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:37:58,308 INFO [HSQLDB Connection @2232b002] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.225 s - in org.appng.application.manager.business.SubjectsTest [INFO] Running org.appng.application.manager.business.SessionsTest 2020-02-11 16:37:58,517 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] 2020-02-11 16:37:58,517 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7fe11a41, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@624aba15, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5c6dcc8a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@21e4fdb3, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5620d8dc, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@610d4a1f] 2020-02-11 16:37:58,527 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:37:58,566 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:37:58,574 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:37:58,610 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:37:58,623 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml] 2020-02-11 16:37:58,631 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'sessions' with a different definition: replacing [Generic bean: class [org.appng.application.manager.business.Sessions]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/var/lib/jenkins/workspace/appNG_Manager/target/classes/org/appng/application/manager/business/Sessions.class]] with [Generic bean: class [org.appng.application.manager.business.SessionsTestBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test.xml]] 2020-02-11 16:37:58,632 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@55b9a588: startup date [Tue Feb 11 16:37:58 CET 2020]; root of context hierarchy 2020-02-11 16:37:58,672 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:37:58,797 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:58,798 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:37:58,940 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:37:58,950 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:37:59,457 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:37:59,457 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:37:59,757 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@55b9a588: startup date [Tue Feb 11 16:37:58 CET 2020]; root of context hierarchy 2020-02-11 16:38:00,007 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql] 2020-02-11 16:38:00,009 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 2 ms. 2020-02-11 16:38:00,058 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:38:00,189 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@55b9a588: startup date [Tue Feb 11 16:37:58 CET 2020]; root of context hierarchy 2020-02-11 16:38:00,294 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:00,294 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:38:00,540 INFO [HSQLDB Connection @36093580] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.228 s - in org.appng.application.manager.business.SessionsTest [INFO] Running org.appng.application.manager.business.SqlExecutorTest 2020-02-11 16:38:00,751 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] 2020-02-11 16:38:00,751 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2a8ec40f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@480c509f, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@266a629d, org.springframework.test.context.support.DirtiesContextTestExecutionListener@429bcfd2, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1e69d532, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@34cbf6c8] 2020-02-11 16:38:00,760 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:38:00,793 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:38:00,800 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:38:00,840 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:38:00,849 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml] 2020-02-11 16:38:00,857 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'sessions' with a different definition: replacing [Generic bean: class [org.appng.application.manager.business.Sessions]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/var/lib/jenkins/workspace/appNG_Manager/target/classes/org/appng/application/manager/business/Sessions.class]] with [Generic bean: class [org.appng.application.manager.business.SessionsTestBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test.xml]] 2020-02-11 16:38:00,857 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5db9b6f3: startup date [Tue Feb 11 16:38:00 CET 2020]; root of context hierarchy 2020-02-11 16:38:00,930 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:38:01,056 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:01,056 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:38:01,195 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:38:01,207 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:38:01,671 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:38:01,671 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:01,973 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@5db9b6f3: startup date [Tue Feb 11 16:38:00 CET 2020]; root of context hierarchy 2020-02-11 16:38:02,238 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql] 2020-02-11 16:38:02,241 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 3 ms. 2020-02-11 16:38:02,299 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:38:02,463 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2020-02-11 16:38:02,566 INFO [main] org.flywaydb.core.internal.database.DatabaseFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5) 2020-02-11 16:38:02,567 WARN [main] org.flywaydb.core.internal.database.base.Database: Flyway upgrade recommended: HSQLDB 2.5 is newer than this version of Flyway and support has not been tested. 2020-02-11 16:38:02,694 INFO [main] org.flywaydb.core.internal.database.DatabaseFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5) 2020-02-11 16:38:02,694 WARN [main] org.flywaydb.core.internal.database.base.Database: Flyway upgrade recommended: HSQLDB 2.5 is newer than this version of Flyway and support has not been tested. 2020-02-11 16:38:02,800 INFO [main] org.springframework.jdbc.datasource.SingleConnectionDataSource: Established shared JDBC Connection: org.hsqldb.jdbc.JDBCConnection@2b90f554 2020-02-11 16:38:02,850 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@5db9b6f3: startup date [Tue Feb 11 16:38:00 CET 2020]; root of context hierarchy 2020-02-11 16:38:02,954 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:02,954 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:38:03,199 INFO [HSQLDB Connection @7597ba34] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.757 s - in org.appng.application.manager.business.SqlExecutorTest [INFO] Running org.appng.application.manager.business.PlatformPropertiesTest 2020-02-11 16:38:03,510 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] 2020-02-11 16:38:03,510 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@75953c48, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@40acf832, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4b7ff4bb, org.springframework.test.context.support.DirtiesContextTestExecutionListener@96f239, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5cbde91f, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7bf7f7d2] 2020-02-11 16:38:03,521 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:38:03,545 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:38:03,551 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:38:03,580 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:38:03,587 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@78293adb: startup date [Tue Feb 11 16:38:03 CET 2020]; root of context hierarchy 2020-02-11 16:38:03,620 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:38:03,747 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:03,747 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:38:03,892 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:38:03,900 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:38:04,357 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:38:04,358 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:04,696 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@78293adb: startup date [Tue Feb 11 16:38:03 CET 2020]; root of context hierarchy 2020-02-11 16:38:05,239 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:38:05,390 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:05,391 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:05,392 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:05,392 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:05,392 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:05,393 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:05,393 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:05,394 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:05,394 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:05,394 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:05,395 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:05,395 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:05,509 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.testproperty 2020-02-11 16:38:05,839 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.anotherproperty 2020-02-11 16:38:06,189 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.booleanProp 2020-02-11 16:38:06,656 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.multilineProp 2020-02-11 16:38:07,648 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.testproperty 2020-02-11 16:38:08,221 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@78293adb: startup date [Tue Feb 11 16:38:03 CET 2020]; root of context hierarchy 2020-02-11 16:38:08,223 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:08,223 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:38:08,471 INFO [HSQLDB Connection @794f0790] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [ERROR] Tests run: 8, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 5.167 s <<< FAILURE! - in org.appng.application.manager.business.PlatformPropertiesTest [ERROR] testCreateBoolean(org.appng.application.manager.business.PlatformPropertiesTest) Time elapsed: 0.48 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value 'checkbox' but was 'text' - comparing <field type="checkbox"...> at /datasource[1]/config[1]/meta-data[1]/field[2]/@type to <field type="text"...> at /datasource[1]/config[1]/meta-data[1]/field[2]/@type <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="property"> <config> <title id="property">property</title> <params> <param name="id">platform.booleanProp</param> </params> <meta-data binding="property" bindClass="org.appng.application.manager.form.PropertyForm"> <field name="type" type="text" hidden="true" binding="property.type"/> <field name="value" type="text" binding="property.value"> <label id="value">booleanProp</label> </field> <field name="defaultString" type="text" readonly="true" binding="property.defaultString"> <label id="defaultvalue">Default-Value</label> </field> <field name="description" type="longtext" readonly="true" binding="property.description"> <label id="description">Description</label> </field> </meta-data> </config> <data> <result> <field name="type" type="text"> <value>TEXT</value> </field> <field name="value" type="text"> <value>true</value> </field> <field name="defaultString" type="text"> <value>true</value> </field> <field name="description" type="longtext"> <value>this is bool, man!</value> </field> </result> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected attribute value 'checkbox' but was 'text' - comparing <field type="checkbox"...> at /datasource[1]/config[1]/meta-data[1]/field[2]/@type to <field type="text"...> at /datasource[1]/config[1]/meta-data[1]/field[2]/@type at org.appng.application.manager.business.PlatformPropertiesTest.testCreateBoolean(PlatformPropertiesTest.java:81) [ERROR] testShowAll(org.appng.application.manager.business.PlatformPropertiesTest) Time elapsed: 0.158 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected text value 'false' but was 'true' - comparing <value ...>false</value> at /datasource[1]/data[1]/resultset[1]/result[2]/field[4]/value[1]/text()[1] to <value ...>true</value> at /datasource[1]/data[1]/resultset[1]/result[2]/field[4]/value[1]/text()[1] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="platformProperties"> <config> <title id="platform.properties">Platform properties</title> <permissions> <permission ref="platform.properties" mode="set"></permission> </permissions> <params> <param name="propId"/> </params> <meta-data bindClass="org.appng.api.model.Property" result-selector="${current.name eq propId}"> <field name="shortName" type="text" displayLength="50" binding="shortName"> <sort order="asc" name="name" prio="0"/> <label id="name">Name</label> </field> <field name="displayValue" type="longtext" displayLength="120" binding="displayValue"> <label id="activeValue">Active Value</label> </field> <field name="description" type="text" displayLength="400" binding="description"> <label id="description">Description</label> </field> <field name="changedValue" type="image" binding="changedValue"> <label></label> <icon condition="${!current.changedValue}">led_orange</icon> <icon condition="${current.changedValue}">led_green</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="/platform/property/create#tab_platformProperties"> <permissions> <permission ref="platform.property.create" mode="set"></permission> </permissions> <label id="property.create">Create property</label> <icon>new</icon> </link> <link id="other[2]" mode="intern" target="/platform?form_action=reloadPlatform"> <permissions> <permission ref="platform.reload" mode="set"></permission> </permissions> <label id="platform.reload">Reload platform</label> <icon>reload</icon> <confirmation id="platform.reload.confirm">Do you really want to reload the platform?</confirmation> </link> </linkpanel> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/platform/property/update/${current.name}#tab_platformProperties" default="true"> <permissions> <permission ref="platform.property.edit" mode="set"></permission> </permissions> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=${current.name}#tab_platformProperties"> <permissions> <permission ref="platform.property.delete" mode="set"></permission> </permissions> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "#{shortName}"?</confirmation> </link> </linkpanel> </config> <data> <resultset chunk="0" chunkname="platformProperties" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="4"> <result> <field name="shortName" type="text"> <value>anotherproperty</value> </field> <field name="displayValue" type="longtext"> <value>foobar</value> </field> <field name="description" type="text"> <value></value> </field> <field name="changedValue" type="image"> <value>true</value> <icon type="class">led_green</icon> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/platform/property/update/platform.anotherproperty#tab_platformProperties" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=platform.anotherproperty#tab_platformProperties"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "anotherproperty"?</confirmation> </link> </linkpanel> </result> <result> <field name="shortName" type="text"> <value>booleanProp</value> </field> <field name="displayValue" type="longtext"> <value>true</value> </field> <field name="description" type="text"> <value>this is bool, man!</value> </field> <field name="changedValue" type="image"> <value>true</value> <icon type="class">led_green</icon> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/platform/property/update/platform.booleanProp#tab_platformProperties" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=platform.booleanProp#tab_platformProperties"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "booleanProp"?</confirmation> </link> </linkpanel> </result> <result> <field name="shortName" type="text"> <value>multilineProp</value> </field> <field name="displayValue" type="longtext"> <value>Hold the line, love isn't always on time, oh oh oh</value> </field> <field name="description" type="text"> <value>Toto - Hold the line</value> </field> <field name="changedValue" type="image"> <value>true</value> <icon type="class">led_green</icon> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/platform/property/update/platform.multilineProp#tab_platformProperties" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=platform.multilineProp#tab_platformProperties"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "multilineProp"?</confirmation> </link> </linkpanel> </result> <result> <field name="shortName" type="text"> <value>testproperty</value> </field> <field name="displayValue" type="longtext"> <value>5</value> </field> <field name="description" type="text"> <value></value> </field> <field name="changedValue" type="image"> <value>true</value> <icon type="class">led_green</icon> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/platform/property/update/platform.testproperty#tab_platformProperties" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=platform.testproperty#tab_platformProperties"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "testproperty"?</confirmation> </link> </linkpanel> </result> </resultset> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected text value 'false' but was 'true' - comparing <value ...>false</value> at /datasource[1]/data[1]/resultset[1]/result[2]/field[4]/value[1]/text()[1] to <value ...>true</value> at /datasource[1]/data[1]/resultset[1]/result[2]/field[4]/value[1]/text()[1] at org.appng.application.manager.business.PlatformPropertiesTest.testShowAll(PlatformPropertiesTest.java:114) [ERROR] testShowOne(org.appng.application.manager.business.PlatformPropertiesTest) Time elapsed: 0.137 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '4' but was '3' - comparing <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] to <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="property"> <config> <title id="property">property</title> <params> <param name="id">platform.testproperty</param> </params> <meta-data binding="property" bindClass="org.appng.application.manager.form.PropertyForm"> <field name="type" type="text" hidden="true" binding="property.type"/> <field name="value" type="text" binding="property.value"> <label id="value">testproperty</label> </field> <field name="defaultString" type="text" readonly="true" binding="property.defaultString"> <label id="defaultvalue">Default-Value</label> </field> <field name="description" type="longtext" readonly="true" binding="property.description"> <label id="description">Description</label> </field> </meta-data> </config> <data> <result> <field name="type" type="text"> <value>TEXT</value> </field> <field name="value" type="text"> <value>5</value> </field> <field name="defaultString" type="text"> <value>5</value> </field> <field name="description" type="longtext"> <value></value> </field> </result> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '4' but was '3' - comparing <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] to <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] at org.appng.application.manager.business.PlatformPropertiesTest.testShowOne(PlatformPropertiesTest.java:122) [ERROR] testUpdate(org.appng.application.manager.business.PlatformPropertiesTest) Time elapsed: 0.461 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '4' but was '3' - comparing <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] to <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="property"> <config> <title id="property">property</title> <params> <param name="id">platform.testproperty</param> </params> <meta-data binding="property" bindClass="org.appng.application.manager.form.PropertyForm"> <field name="type" type="text" hidden="true" binding="property.type"/> <field name="value" type="text" binding="property.value"> <label id="value">testproperty</label> </field> <field name="defaultString" type="text" readonly="true" binding="property.defaultString"> <label id="defaultvalue">Default-Value</label> </field> <field name="description" type="longtext" readonly="true" binding="property.description"> <label id="description">Description</label> </field> </meta-data> </config> <data> <result> <field name="type" type="text"> <value>TEXT</value> </field> <field name="value" type="text"> <value>7</value> </field> <field name="defaultString" type="text"> <value>5</value> </field> <field name="description" type="longtext"> <value></value> </field> </result> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '4' but was '3' - comparing <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] to <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] at org.appng.application.manager.business.PlatformPropertiesTest.testUpdate(PlatformPropertiesTest.java:137) [INFO] Running org.appng.application.manager.business.GroupsTest 2020-02-11 16:38:08,689 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] 2020-02-11 16:38:08,689 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@398fff25, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@639ff852, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3707a26e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@364941c6, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7079f6fd, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@6cb8ddc8] 2020-02-11 16:38:08,700 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:38:08,730 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:38:08,735 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:38:08,764 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:38:08,770 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@1a9d3c90: startup date [Tue Feb 11 16:38:08 CET 2020]; root of context hierarchy 2020-02-11 16:38:08,797 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:38:08,918 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:08,918 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:38:09,057 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:38:09,067 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:38:09,487 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:38:09,487 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:09,785 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@1a9d3c90: startup date [Tue Feb 11 16:38:08 CET 2020]; root of context hierarchy 2020-02-11 16:38:09,981 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:38:10,087 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2020-02-11 16:38:10,195 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2020-02-11 16:38:10,301 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2 2020-02-11 16:38:10,407 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2020-02-11 16:38:10,681 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:10,681 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:10,681 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:10,682 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:10,682 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:10,791 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admin 2020-02-11 16:38:11,414 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2020-02-11 16:38:11,530 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Group users 2020-02-11 16:38:11,834 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2020-02-11 16:38:11,940 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group Administrators 2020-02-11 16:38:12,444 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Group Administrators 2020-02-11 16:38:12,960 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@1a9d3c90: startup date [Tue Feb 11 16:38:08 CET 2020]; root of context hierarchy 2020-02-11 16:38:12,961 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:12,961 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:38:13,202 INFO [HSQLDB Connection @7a866d65] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.719 s - in org.appng.application.manager.business.GroupsTest [INFO] Running org.appng.application.manager.business.SitePropertiesTest 2020-02-11 16:38:13,420 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] 2020-02-11 16:38:13,421 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7ec7ff67, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6657894d, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5ef0dab3, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1c3b1b7a, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5d46f35d, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7011459] 2020-02-11 16:38:13,430 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:38:13,469 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:38:13,474 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:38:13,505 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:38:13,511 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@1bd85316: startup date [Tue Feb 11 16:38:13 CET 2020]; root of context hierarchy 2020-02-11 16:38:13,539 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:38:13,663 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:13,663 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:38:13,816 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:38:13,825 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:38:14,256 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:38:14,256 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:14,588 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@1bd85316: startup date [Tue Feb 11 16:38:13 CET 2020]; root of context hierarchy 2020-02-11 16:38:14,787 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:38:14,892 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2020-02-11 16:38:15,044 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:15,044 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:15,045 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:15,045 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:15,045 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:15,045 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:15,045 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:15,045 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:15,045 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:15,045 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:15,045 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:15,046 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:15,158 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.testproperty 2020-02-11 16:38:15,491 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.anotherproperty 2020-02-11 16:38:15,811 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.multiline 2020-02-11 16:38:17,057 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.site.localhost.testproperty 2020-02-11 16:38:17,289 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@1bd85316: startup date [Tue Feb 11 16:38:13 CET 2020]; root of context hierarchy 2020-02-11 16:38:17,290 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:17,290 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:38:17,528 INFO [HSQLDB Connection @370866b] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.322 s - in org.appng.application.manager.business.SitePropertiesTest [INFO] Running org.appng.application.manager.business.AbstractTest [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 s - in org.appng.application.manager.business.AbstractTest [INFO] Running org.appng.application.manager.business.ClusterStateTest 2020-02-11 16:38:17,736 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] 2020-02-11 16:38:17,736 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@511e60e6, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3b189cad, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@44daa955, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4f0f8cec, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6db4dcbb, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@12b6d854] 2020-02-11 16:38:17,744 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:38:17,775 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:38:17,782 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:38:17,815 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:38:17,824 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@306cdf20: startup date [Tue Feb 11 16:38:17 CET 2020]; root of context hierarchy 2020-02-11 16:38:17,857 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:38:17,983 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:17,983 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:38:18,123 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:38:18,133 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:38:18,557 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:38:18,557 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:18,847 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@306cdf20: startup date [Tue Feb 11 16:38:17 CET 2020]; root of context hierarchy 2020-02-11 16:38:19,036 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:38:19,066 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@306cdf20: startup date [Tue Feb 11 16:38:17 CET 2020]; root of context hierarchy 2020-02-11 16:38:19,067 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:19,067 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:38:19,311 INFO [HSQLDB Connection @a870eb4] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.77 s - in org.appng.application.manager.business.ClusterStateTest [INFO] Running org.appng.application.manager.business.PermissionsTest 2020-02-11 16:38:19,519 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] 2020-02-11 16:38:19,519 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@f75763b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4b55f9a6, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4061a370, org.springframework.test.context.support.DirtiesContextTestExecutionListener@62cbe7b7, org.springframework.test.context.transaction.TransactionalTestExecutionListener@46ab817b, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2257c8c1] 2020-02-11 16:38:19,528 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:38:19,555 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:38:19,560 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:38:19,587 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:38:19,593 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@52ab31dc: startup date [Tue Feb 11 16:38:19 CET 2020]; root of context hierarchy 2020-02-11 16:38:19,623 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:38:19,748 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:19,748 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:38:19,896 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:38:19,903 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:38:20,888 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:38:20,889 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:21,150 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@52ab31dc: startup date [Tue Feb 11 16:38:19 CET 2020]; root of context hierarchy 2020-02-11 16:38:21,360 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:38:21,466 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2020-02-11 16:38:21,573 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2020-02-11 16:38:21,678 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this 2020-02-11 16:38:21,784 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that 2020-02-11 16:38:21,932 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:21,933 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:21,933 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:21,933 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:21,933 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:22,042 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.something 2020-02-11 16:38:22,672 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Permission do.something 2020-02-11 16:38:23,193 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Permission do.somethingelse 2020-02-11 16:38:23,393 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@52ab31dc: startup date [Tue Feb 11 16:38:19 CET 2020]; root of context hierarchy 2020-02-11 16:38:23,394 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:23,395 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:38:24,062 INFO [HSQLDB Connection @3f697921] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.744 s - in org.appng.application.manager.business.PermissionsTest [INFO] Running org.appng.application.manager.business.RoleTest 2020-02-11 16:38:24,286 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] 2020-02-11 16:38:24,287 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@32571eab, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@259f0c4f, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3c8a10c7, org.springframework.test.context.support.DirtiesContextTestExecutionListener@19b9a50a, org.springframework.test.context.transaction.TransactionalTestExecutionListener@131142d0, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4e31c989] 2020-02-11 16:38:24,296 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-02-11 16:38:24,321 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-02-11 16:38:24,326 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-02-11 16:38:24,364 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-02-11 16:38:24,372 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@76148415: startup date [Tue Feb 11 16:38:24 CET 2020]; root of context hierarchy 2020-02-11 16:38:24,401 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-02-11 16:38:24,520 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:24,520 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-11 16:38:24,657 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-02-11 16:38:24,666 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-02-11 16:38:25,075 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-02-11 16:38:25,075 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:25,352 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@76148415: startup date [Tue Feb 11 16:38:24 CET 2020]; root of context hierarchy 2020-02-11 16:38:25,542 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-02-11 16:38:25,650 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2020-02-11 16:38:25,758 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this 2020-02-11 16:38:25,865 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that 2020-02-11 16:38:25,974 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2020-02-11 16:38:26,168 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:26,169 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:26,169 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:26,169 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:26,170 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-02-11 16:38:26,289 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2 2020-02-11 16:38:26,666 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:813) at org.appng.application.manager.service.ManagerService.createRole(ManagerService.java:787) 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:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671) at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$589ff033.createRole(<generated>) at org.appng.application.manager.business.Roles.perform(Roles.java:57) at org.appng.application.manager.business.Roles.perform(Roles.java:42) at org.appng.api.support.CallableAction.execute(CallableAction.java:427) at org.appng.api.support.CallableAction.perform(CallableAction.java:325) at org.appng.api.support.CallableAction.perform(CallableAction.java:299) at org.appng.application.manager.business.RoleTest.testCreateNameExists(RoleTest.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 2020-02-11 16:38:26,920 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Role role2 2020-02-11 16:38:27,508 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Role role.updated 2020-02-11 16:38:27,655 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@76148415: startup date [Tue Feb 11 16:38:24 CET 2020]; root of context hierarchy 2020-02-11 16:38:27,656 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-02-11 16:38:27,656 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-02-11 16:38:28,889 INFO [HSQLDB Connection @6c8e9e55] hsqldb.db.HSQLDB7034E5D8FA.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.823 s - in org.appng.application.manager.business.RoleTest [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] PlatformPropertiesTest.testCreateBoolean:81->TestBase.validate:523 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value 'checkbox' but was 'text' - comparing <field type="checkbox"...> at /datasource[1]/config[1]/meta-data[1]/field[2]/@type to <field type="text"...> at /datasource[1]/config[1]/meta-data[1]/field[2]/@type <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="property"> <config> <title id="property">property</title> <params> <param name="id">platform.booleanProp</param> </params> <meta-data binding="property" bindClass="org.appng.application.manager.form.PropertyForm"> <field name="type" type="text" hidden="true" binding="property.type"/> <field name="value" type="text" binding="property.value"> <label id="value">booleanProp</label> </field> <field name="defaultString" type="text" readonly="true" binding="property.defaultString"> <label id="defaultvalue">Default-Value</label> </field> <field name="description" type="longtext" readonly="true" binding="property.description"> <label id="description">Description</label> </field> </meta-data> </config> <data> <result> <field name="type" type="text"> <value>TEXT</value> </field> <field name="value" type="text"> <value>true</value> </field> <field name="defaultString" type="text"> <value>true</value> </field> <field name="description" type="longtext"> <value>this is bool, man!</value> </field> </result> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected attribute value 'checkbox' but was 'text' - comparing <field type="checkbox"...> at /datasource[1]/config[1]/meta-data[1]/field[2]/@type to <field type="text"...> at /datasource[1]/config[1]/meta-data[1]/field[2]/@type [ERROR] PlatformPropertiesTest.testShowAll:114->TestBase.validate:523 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected text value 'false' but was 'true' - comparing <value ...>false</value> at /datasource[1]/data[1]/resultset[1]/result[2]/field[4]/value[1]/text()[1] to <value ...>true</value> at /datasource[1]/data[1]/resultset[1]/result[2]/field[4]/value[1]/text()[1] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="platformProperties"> <config> <title id="platform.properties">Platform properties</title> <permissions> <permission ref="platform.properties" mode="set"></permission> </permissions> <params> <param name="propId"/> </params> <meta-data bindClass="org.appng.api.model.Property" result-selector="${current.name eq propId}"> <field name="shortName" type="text" displayLength="50" binding="shortName"> <sort order="asc" name="name" prio="0"/> <label id="name">Name</label> </field> <field name="displayValue" type="longtext" displayLength="120" binding="displayValue"> <label id="activeValue">Active Value</label> </field> <field name="description" type="text" displayLength="400" binding="description"> <label id="description">Description</label> </field> <field name="changedValue" type="image" binding="changedValue"> <label></label> <icon condition="${!current.changedValue}">led_orange</icon> <icon condition="${current.changedValue}">led_green</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="/platform/property/create#tab_platformProperties"> <permissions> <permission ref="platform.property.create" mode="set"></permission> </permissions> <label id="property.create">Create property</label> <icon>new</icon> </link> <link id="other[2]" mode="intern" target="/platform?form_action=reloadPlatform"> <permissions> <permission ref="platform.reload" mode="set"></permission> </permissions> <label id="platform.reload">Reload platform</label> <icon>reload</icon> <confirmation id="platform.reload.confirm">Do you really want to reload the platform?</confirmation> </link> </linkpanel> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/platform/property/update/${current.name}#tab_platformProperties" default="true"> <permissions> <permission ref="platform.property.edit" mode="set"></permission> </permissions> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=${current.name}#tab_platformProperties"> <permissions> <permission ref="platform.property.delete" mode="set"></permission> </permissions> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "#{shortName}"?</confirmation> </link> </linkpanel> </config> <data> <resultset chunk="0" chunkname="platformProperties" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="4"> <result> <field name="shortName" type="text"> <value>anotherproperty</value> </field> <field name="displayValue" type="longtext"> <value>foobar</value> </field> <field name="description" type="text"> <value></value> </field> <field name="changedValue" type="image"> <value>true</value> <icon type="class">led_green</icon> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/platform/property/update/platform.anotherproperty#tab_platformProperties" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=platform.anotherproperty#tab_platformProperties"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "anotherproperty"?</confirmation> </link> </linkpanel> </result> <result> <field name="shortName" type="text"> <value>booleanProp</value> </field> <field name="displayValue" type="longtext"> <value>true</value> </field> <field name="description" type="text"> <value>this is bool, man!</value> </field> <field name="changedValue" type="image"> <value>true</value> <icon type="class">led_green</icon> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/platform/property/update/platform.booleanProp#tab_platformProperties" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=platform.booleanProp#tab_platformProperties"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "booleanProp"?</confirmation> </link> </linkpanel> </result> <result> <field name="shortName" type="text"> <value>multilineProp</value> </field> <field name="displayValue" type="longtext"> <value>Hold the line, love isn't always on time, oh oh oh</value> </field> <field name="description" type="text"> <value>Toto - Hold the line</value> </field> <field name="changedValue" type="image"> <value>true</value> <icon type="class">led_green</icon> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/platform/property/update/platform.multilineProp#tab_platformProperties" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=platform.multilineProp#tab_platformProperties"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "multilineProp"?</confirmation> </link> </linkpanel> </result> <result> <field name="shortName" type="text"> <value>testproperty</value> </field> <field name="displayValue" type="longtext"> <value>5</value> </field> <field name="description" type="text"> <value></value> </field> <field name="changedValue" type="image"> <value>true</value> <icon type="class">led_green</icon> </field> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/platform/property/update/platform.testproperty#tab_platformProperties" default="true"> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=platform.testproperty#tab_platformProperties"> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "testproperty"?</confirmation> </link> </linkpanel> </result> </resultset> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected text value 'false' but was 'true' - comparing <value ...>false</value> at /datasource[1]/data[1]/resultset[1]/result[2]/field[4]/value[1]/text()[1] to <value ...>true</value> at /datasource[1]/data[1]/resultset[1]/result[2]/field[4]/value[1]/text()[1] [ERROR] PlatformPropertiesTest.testShowOne:122->TestBase.validate:523 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '4' but was '3' - comparing <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] to <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="property"> <config> <title id="property">property</title> <params> <param name="id">platform.testproperty</param> </params> <meta-data binding="property" bindClass="org.appng.application.manager.form.PropertyForm"> <field name="type" type="text" hidden="true" binding="property.type"/> <field name="value" type="text" binding="property.value"> <label id="value">testproperty</label> </field> <field name="defaultString" type="text" readonly="true" binding="property.defaultString"> <label id="defaultvalue">Default-Value</label> </field> <field name="description" type="longtext" readonly="true" binding="property.description"> <label id="description">Description</label> </field> </meta-data> </config> <data> <result> <field name="type" type="text"> <value>TEXT</value> </field> <field name="value" type="text"> <value>5</value> </field> <field name="defaultString" type="text"> <value>5</value> </field> <field name="description" type="longtext"> <value></value> </field> </result> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '4' but was '3' - comparing <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] to <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] [ERROR] PlatformPropertiesTest.testUpdate:137->TestBase.validate:538 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '4' but was '3' - comparing <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] to <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="property"> <config> <title id="property">property</title> <params> <param name="id">platform.testproperty</param> </params> <meta-data binding="property" bindClass="org.appng.application.manager.form.PropertyForm"> <field name="type" type="text" hidden="true" binding="property.type"/> <field name="value" type="text" binding="property.value"> <label id="value">testproperty</label> </field> <field name="defaultString" type="text" readonly="true" binding="property.defaultString"> <label id="defaultvalue">Default-Value</label> </field> <field name="description" type="longtext" readonly="true" binding="property.description"> <label id="description">Description</label> </field> </meta-data> </config> <data> <result> <field name="type" type="text"> <value>TEXT</value> </field> <field name="value" type="text"> <value>7</value> </field> <field name="defaultString" type="text"> <value>5</value> </field> <field name="description" type="longtext"> <value></value> </field> </result> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected number of element attributes '4' but was '3' - comparing <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] to <field...> at /datasource[1]/config[1]/meta-data[1]/field[2] [INFO] [ERROR] Tests run: 69, Failures: 4, Errors: 0, Skipped: 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:15 min [INFO] Finished at: 2020-02-11T16:38:29+01:00 [INFO] Final Memory: 59M/749M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project appng-manager: There are test failures. [ERROR] [ERROR] Please refer to /var/lib/jenkins/workspace/appNG_Manager/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE