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 Cloning the remote Git repository Cloning repository git@github.com:appNG/appng-manager.git > git init /var/lib/jenkins/workspace/appNG_Manager # timeout=10 Fetching upstream changes from git@github.com:appNG/appng-manager.git > git --version # timeout=10 > git fetch --tags --progress git@github.com:appNG/appng-manager.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url git@github.com:appNG/appng-manager.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:appNG/appng-manager.git # timeout=10 Fetching upstream changes from git@github.com:appNG/appng-manager.git > git fetch --tags --progress git@github.com:appNG/appng-manager.git +refs/heads/*:refs/remotes/origin/* Checking out Revision bb53bf142b447ab5c6fc60cebf17772cbe2becb2 (refs/remotes/origin/appng-manager-1.17.x) Commit message: "MGR-89 avoid NPE" > 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 bb53bf142b447ab5c6fc60cebf17772cbe2becb2 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b appng-manager-1.17.x bb53bf142b447ab5c6fc60cebf17772cbe2becb2 > git rev-list --no-walk e5cca4b9125f2f43d9d39eb32d670cb11a812e10 # 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... Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-application-parent/1.21.0-SNAPSHOT/maven-metadata.xml Progress (1): 614 B Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-application-parent/1.21.0-SNAPSHOT/maven-metadata.xml (614 B at 1.7 kB/s) Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-application-bom/1.21.0-SNAPSHOT/maven-metadata.xml Progress (1): 611 B Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-application-bom/1.21.0-SNAPSHOT/maven-metadata.xml (611 B at 526 B/s) [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building appNG Manager 1.17.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-core/1.21.0-SNAPSHOT/maven-metadata.xml Progress (1): 991 B Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-core/1.21.0-SNAPSHOT/maven-metadata.xml (991 B at 16 kB/s) Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-forms/1.21.0-SNAPSHOT/maven-metadata.xml Progress (1): 992 B Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-forms/1.21.0-SNAPSHOT/maven-metadata.xml (992 B at 4.2 kB/s) Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-mail/1.21.0-SNAPSHOT/maven-metadata.xml Progress (1): 991 B Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-mail/1.21.0-SNAPSHOT/maven-metadata.xml (991 B at 14 kB/s) Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-api/1.21.0-SNAPSHOT/maven-metadata.xml Progress (1): 990 B Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-api/1.21.0-SNAPSHOT/maven-metadata.xml (990 B at 2.7 kB/s) Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-xmlapi/1.21.0-SNAPSHOT/maven-metadata.xml Progress (1): 993 B Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-xmlapi/1.21.0-SNAPSHOT/maven-metadata.xml (993 B at 25 kB/s) Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-tools/1.21.0-SNAPSHOT/maven-metadata.xml Progress (1): 992 B Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-tools/1.21.0-SNAPSHOT/maven-metadata.xml (992 B at 47 kB/s) Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-persistence/1.21.0-SNAPSHOT/maven-metadata.xml Progress (1): 998 B Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-persistence/1.21.0-SNAPSHOT/maven-metadata.xml (998 B at 30 kB/s) Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-search/1.21.0-SNAPSHOT/maven-metadata.xml Progress (1): 993 B Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-search/1.21.0-SNAPSHOT/maven-metadata.xml (993 B at 1.8 kB/s) Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-appngizer-jaxb/1.21.0-SNAPSHOT/maven-metadata.xml Progress (1): 1.0 kB Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-appngizer-jaxb/1.21.0-SNAPSHOT/maven-metadata.xml (1.0 kB at 2.5 kB/s) Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-testsupport/1.21.0-SNAPSHOT/maven-metadata.xml Progress (1): 998 B Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-testsupport/1.21.0-SNAPSHOT/maven-metadata.xml (998 B at 71 kB/s) [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-manager --- [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-04-03 13:22:28,605 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-04-03 13:22:28,619 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-04-03 13:22:29,309 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:22:29,564 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:22:29,588 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:22:29,695 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:22:29,743 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@4facf68f: startup date [Fri Apr 03 13:22:29 CEST 2020]; root of context hierarchy 2020-04-03 13:22:30,132 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring Apr 03, 2020 1:22:30 PM ch.sla.jdbcperflogger.Logger info INFO: Using config file jdbcperflogger-fallback.xml 2020-04-03 13:22:30,637 INFO [HSQLDB Server @14bb2297] hsqldb.db.HSQLDB713FC72F56.ENGINE: Checkpoint start 2020-04-03 13:22:30,637 INFO [HSQLDB Server @14bb2297] hsqldb.db.HSQLDB713FC72F56.ENGINE: checkpointClose start 2020-04-03 13:22:30,649 INFO [HSQLDB Server @14bb2297] hsqldb.db.HSQLDB713FC72F56.ENGINE: checkpointClose synched 2020-04-03 13:22:30,663 INFO [HSQLDB Server @14bb2297] hsqldb.db.HSQLDB713FC72F56.ENGINE: checkpointClose script done 2020-04-03 13:22:30,684 INFO [HSQLDB Server @14bb2297] hsqldb.db.HSQLDB713FC72F56.ENGINE: checkpointClose end 2020-04-03 13:22:30,685 INFO [HSQLDB Server @14bb2297] hsqldb.db.HSQLDB713FC72F56.ENGINE: Checkpoint end - txts: 1 2020-04-03 13:22:30,790 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:30,820 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:22:30,958 INFO [main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.10.Final} 2020-04-03 13:22:31,160 INFO [main] org.hibernate.annotations.common.Version: HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 2020-04-03 13:22:31,572 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:22:31,668 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:22:32,323 INFO [main] org.hibernate.validator.internal.util.Version: HV000001: Hibernate Validator 6.1.2.Final 2020-04-03 13:22:33,851 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:22:33,864 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:34,906 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-04-03 13:22:34,906 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-04-03 13:22:35,033 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@4facf68f: startup date [Fri Apr 03 13:22:29 CEST 2020]; root of context hierarchy 2020-04-03 13:22:35,637 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:22:41,824 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@4facf68f: startup date [Fri Apr 03 13:22:29 CEST 2020]; root of context hierarchy 2020-04-03 13:22:41,828 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:41,828 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:22:42,119 INFO [HSQLDB Connection @4fc0ae05] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.977 s - in org.appng.application.manager.job.DatabaseReportJobTest [INFO] Running org.appng.application.manager.business.ApplicationPropertiesTest 2020-04-03 13:22:42,330 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-04-03 13:22:42,331 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7f59f4e4, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@5295a774, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3e09067, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7a7f5c44, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4ab1693b, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@35e0d91e] 2020-04-03 13:22:42,350 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:22:42,425 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:22:42,436 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:22:42,478 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:22:42,489 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@3299e315: startup date [Fri Apr 03 13:22:42 CEST 2020]; root of context hierarchy 2020-04-03 13:22:42,527 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:22:42,657 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:42,657 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:22:42,803 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:22:42,820 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:22:43,418 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:22:43,419 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:43,822 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@3299e315: startup date [Fri Apr 03 13:22:42 CEST 2020]; root of context hierarchy 2020-04-03 13:22:44,095 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:22:44,243 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application manager 2020-04-03 13:22:44,577 WARN [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-04-03 13:22:44,580 WARN [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-04-03 13:22:44,580 WARN [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-04-03 13:22:44,580 WARN [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-04-03 13:22:44,581 WARN [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-04-03 13:22:44,581 WARN [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-04-03 13:22:44,581 WARN [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-04-03 13:22:44,584 WARN [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-04-03 13:22:44,584 WARN [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-04-03 13:22:44,584 WARN [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-04-03 13:22:44,584 WARN [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-04-03 13:22:44,584 WARN [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-04-03 13:22:44,778 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.testproperty 2020-04-03 13:22:45,669 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.application.manager.anotherproperty 2020-04-03 13:22:46,464 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.application.manager.testproperty 2020-04-03 13:22:46,710 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@3299e315: startup date [Fri Apr 03 13:22:42 CEST 2020]; root of context hierarchy 2020-04-03 13:22:46,712 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:46,713 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:22:46,990 INFO [HSQLDB Connection @20382264] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.829 s - in org.appng.application.manager.business.ApplicationPropertiesTest [INFO] Running org.appng.application.manager.business.RepositoriesTest 2020-04-03 13:22:47,204 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-04-03 13:22:47,205 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@283f239a, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7d8fd4ea, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@237c078c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2d385605, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7c4a83cb, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7fe1202c] 2020-04-03 13:22:47,221 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:22:47,260 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:22:47,269 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:22:47,307 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:22:47,320 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5305e9cc: startup date [Fri Apr 03 13:22:47 CEST 2020]; root of context hierarchy 2020-04-03 13:22:47,364 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:22:47,492 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:47,492 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:22:47,634 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:22:47,645 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:22:48,170 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:22:48,171 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:48,498 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@5305e9cc: startup date [Fri Apr 03 13:22:47 CEST 2020]; root of context hierarchy 2020-04-03 13:22:48,775 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:22:48,938 WARN [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-04-03 13:22:48,938 WARN [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-04-03 13:22:48,938 WARN [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-04-03 13:22:48,939 WARN [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-04-03 13:22:49,058 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Local 2020-04-03 13:22:49,464 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:957) at org.appng.application.manager.service.ManagerService.validateRepository(ManagerService.java:942) at org.appng.application.manager.service.ManagerService.createRepository(ManagerService.java:870) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() 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() 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:431) at org.appng.api.support.CallableAction.perform(CallableAction.java:329) at org.appng.api.support.CallableAction.perform(CallableAction.java:303) 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-04-03 13:22:49,726 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me 2020-04-03 13:22:49,855 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Repository Delete me 2020-04-03 13:22:49,991 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me 2020-04-03 13:22:50,713 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@5305e9cc: startup date [Fri Apr 03 13:22:47 CEST 2020]; root of context hierarchy 2020-04-03 13:22:50,715 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:50,716 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:22:50,968 INFO [HSQLDB Connection @68d7afaf] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.964 s - in org.appng.application.manager.business.RepositoriesTest [INFO] Running org.appng.application.manager.business.SitesTest 2020-04-03 13:22:51,188 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-04-03 13:22:51,189 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@a94700e, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@17a14452, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3beccb27, org.springframework.test.context.support.DirtiesContextTestExecutionListener@23c90896, org.springframework.test.context.transaction.TransactionalTestExecutionListener@a7418e1, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@17ea5e29] 2020-04-03 13:22:51,203 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:22:51,240 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:22:51,248 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:22:51,283 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:22:51,293 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@21e4266e: startup date [Fri Apr 03 13:22:51 CEST 2020]; root of context hierarchy 2020-04-03 13:22:51,326 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:22:51,467 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:51,468 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:22:51,611 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:22:51,620 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:22:52,144 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:22:52,144 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:52,448 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@21e4266e: startup date [Fri Apr 03 13:22:51 CEST 2020]; root of context hierarchy 2020-04-03 13:22:52,653 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:22:52,759 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.messagingEnabled 2020-04-03 13:22:52,917 WARN [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-04-03 13:22:52,918 WARN [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-04-03 13:22:52,918 WARN [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-04-03 13:22:52,918 WARN [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-04-03 13:22:52,918 WARN [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-04-03 13:22:52,918 WARN [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-04-03 13:22:52,919 WARN [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-04-03 13:22:52,919 WARN [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-04-03 13:22:52,919 WARN [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-04-03 13:22:52,920 WARN [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-04-03 13:22:52,920 WARN [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-04-03 13:22:52,920 WARN [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-04-03 13:22:53,032 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:1502) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() 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() 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:431) at org.appng.api.support.CallableAction.perform(CallableAction.java:329) at org.appng.api.support.CallableAction.perform(CallableAction.java:303) 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-04-03 13:22:53,290 WARN [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-04-03 13:22:53,290 WARN [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-04-03 13:22:53,290 WARN [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-04-03 13:22:53,290 WARN [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-04-03 13:22:53,291 WARN [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-04-03 13:22:53,291 WARN [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-04-03 13:22:53,419 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.template 2020-04-03 13:22:53,420 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.DatasourceConfigurer 2020-04-03 13:22:53,421 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.wwwDir 2020-04-03 13:22:53,424 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.tagPrefix 2020-04-03 13:22:53,424 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapIdAttribute 2020-04-03 13:22:53,425 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginPage 2020-04-03 13:22:53,425 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheEnabled 2020-04-03 13:22:53,426 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUser 2020-04-03 13:22:53,427 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputType 2020-04-03 13:22:53,427 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.encoding 2020-04-03 13:22:53,428 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexDir 2020-04-03 13:22:53,428 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultApplication 2020-04-03 13:22:53,429 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailHost 2020-04-03 13:22:53,429 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginRef 2020-04-03 13:22:53,430 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputFormat 2020-04-03 13:22:53,430 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileTypes 2020-04-03 13:22:53,431 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authApplication 2020-04-03 13:22:53,431 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPage 2020-04-03 13:22:53,431 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapGroupBaseDn 2020-04-03 13:22:53,432 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapStartTls 2020-04-03 13:22:53,432 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheClearOnShutdown 2020-04-03 13:22:53,433 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.appendTabId 2020-04-03 13:22:53,433 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheTimeToLive 2020-04-03 13:22:53,434 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedMethods 2020-04-03 13:22:53,434 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapDomain 2020-04-03 13:22:53,434 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchChunkSize 2020-04-03 13:22:53,435 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.rewriteConfig 2020-04-03 13:22:53,435 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexTimeout 2020-04-03 13:22:53,435 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.xssExceptions 2020-04-03 13:22:53,436 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.service-path 2020-04-03 13:22:53,436 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportReloadFile 2020-04-03 13:22:53,437 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionValue 2020-04-03 13:22:53,437 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheTimeoutsAntStyle 2020-04-03 13:22:53,438 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionName 2020-04-03 13:22:53,438 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutPage 2020-04-03 13:22:53,438 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.siteRootDir 2020-04-03 13:22:53,439 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileSystemQueueSize 2020-04-03 13:22:53,439 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.name 2020-04-03 13:22:53,439 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.jdbcConnectionTimeout 2020-04-03 13:22:53,440 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.allowSkipRender 2020-04-03 13:22:53,441 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheStatistics 2020-04-03 13:22:53,441 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPage 2020-04-03 13:22:53,442 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectionEnabled 2020-04-03 13:22:53,442 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportedLanguages 2020-04-03 13:22:53,443 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.assetsDir 2020-04-03 13:22:53,443 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPages 2020-04-03 13:22:53,444 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutRef 2020-04-03 13:22:53,444 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.locale 2020-04-03 13:22:53,444 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailDisabled 2020-04-03 13:22:53,445 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.timeZone 2020-04-03 13:22:53,445 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedPaths 2020-04-03 13:22:53,446 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUserBaseDn 2020-04-03 13:22:53,446 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheExceptions 2020-04-03 13:22:53,446 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.enforcePrimaryDomain 2020-04-03 13:22:53,447 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPassword 2020-04-03 13:22:53,447 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexConfig 2020-04-03 13:22:53,448 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheTimeouts 2020-04-03 13:22:53,448 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPageSize 2020-04-03 13:22:53,448 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.documentDir 2020-04-03 13:22:53,449 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPrincipalScheme 2020-04-03 13:22:53,449 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.jdbcLogPerformance 2020-04-03 13:22:53,449 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchMaxHits 2020-04-03 13:22:53,450 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.jdbcValidationTimeout 2020-04-03 13:22:53,450 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexQueueSize 2020-04-03 13:22:53,450 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailPort 2020-04-03 13:22:53,451 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.host 2020-04-03 13:22:53,451 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapHost 2020-04-03 13:22:53,452 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.manager-path 2020-04-03 13:22:53,452 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2020-04-03 13:22:54,101 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2 2020-04-03 13:22:54,215 INFO [main] org.appng.core.service.CoreService: starting deletion of site site2 2020-04-03 13:22:54,251 INFO [main] org.appng.core.service.CoreService: deleting 0 orphaned database connections 2020-04-03 13:22:54,253 INFO [main] org.appng.core.service.CoreService: done deleting site site2 2020-04-03 13:22:54,255 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Site site2 2020-04-03 13:22:54,457 INFO [main] org.appng.core.service.InitializerService: prepare reload of site Mock for Site, hashCode: 49298072, shutting down first 2020-04-03 13:22:54,483 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:1565) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() 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() 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:431) at org.appng.api.support.CallableAction.perform(CallableAction.java:329) at org.appng.api.support.CallableAction.perform(CallableAction.java:303) 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:1800) at org.appng.core.service.CoreService$$FastClassBySpringCGLIB$$4bccbf8c.invoke() 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() at org.appng.core.service.InitializerService.shutDownSite(InitializerService.java:894) at org.appng.core.service.InitializerService.loadSite(InitializerService.java:496) at org.appng.core.service.InitializerService.loadSite(InitializerService.java:453) at org.appng.core.service.InitializerService.loadSite(InitializerService.java:437) at org.appng.core.service.InitializerService$$FastClassBySpringCGLIB$$f960133d.invoke() 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() at org.appng.application.manager.service.ManagerService.reloadSite(ManagerService.java:1555) ... 49 more 2020-04-03 13:22:54,791 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2 2020-04-03 13:22:55,088 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@21e4266e: startup date [Fri Apr 03 13:22:51 CEST 2020]; root of context hierarchy 2020-04-03 13:22:55,090 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:55,090 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:22:55,371 INFO [HSQLDB Connection @46ca351c] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.392 s - in org.appng.application.manager.business.SitesTest [INFO] Running org.appng.application.manager.business.PlatformEventsTest 2020-04-03 13:22:55,580 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-04-03 13:22:55,581 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@67c2d8c5, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6d81bb3f, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7523ba28, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6da7a717, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1cd24e96, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7c6a4670] 2020-04-03 13:22:55,589 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:22:55,618 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:22:55,625 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:22:55,655 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:22:55,664 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@443fd3a9: startup date [Fri Apr 03 13:22:55 CEST 2020]; root of context hierarchy 2020-04-03 13:22:55,696 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:22:55,823 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:55,824 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:22:55,968 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:22:55,980 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:22:56,484 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:22:56,484 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:56,788 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@443fd3a9: startup date [Fri Apr 03 13:22:55 CEST 2020]; root of context hierarchy 2020-04-03 13:22:57,009 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:22:57,585 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@443fd3a9: startup date [Fri Apr 03 13:22:55 CEST 2020]; root of context hierarchy 2020-04-03 13:22:57,587 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:57,587 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:22:57,842 INFO [HSQLDB Connection @138b2e1d] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.464 s - in org.appng.application.manager.business.PlatformEventsTest [INFO] Running org.appng.application.manager.business.DataBaseConnectionsTest 2020-04-03 13:22:58,054 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-04-03 13:22:58,054 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@97f2f73, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@60105ec0, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1da41c2a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5798f29f, org.springframework.test.context.transaction.TransactionalTestExecutionListener@276c4ba8, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@45e8e7db] 2020-04-03 13:22:58,063 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:22:58,093 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:22:58,099 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:22:58,129 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:22:58,136 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml] 2020-04-03 13:22:58,148 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-04-03 13:22:58,148 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@688cff97: startup date [Fri Apr 03 13:22:58 CEST 2020]; root of context hierarchy 2020-04-03 13:22:58,178 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:22:58,307 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:58,308 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:22:58,456 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:22:58,481 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:22:58,937 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:22:58,937 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:22:59,263 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@688cff97: startup date [Fri Apr 03 13:22:58 CEST 2020]; root of context hierarchy 2020-04-03 13:22:59,539 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql] 2020-04-03 13:22:59,543 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 4 ms. 2020-04-03 13:22:59,598 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:22:59,762 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2020-04-03 13:22:59,782 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 5.2.4 by Boxfuse 2020-04-03 13:22:59,896 INFO [main] org.flywaydb.core.internal.database.DatabaseFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5) 2020-04-03 13:22:59,909 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-04-03 13:23:00,168 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2020-04-03 13:23:00,271 INFO [main] org.flywaydb.core.internal.database.DatabaseFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5) 2020-04-03 13:23:00,272 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-04-03 13:23:00,315 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@688cff97: startup date [Fri Apr 03 13:22:58 CEST 2020]; root of context hierarchy 2020-04-03 13:23:00,419 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:00,419 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:23:00,663 INFO [HSQLDB Connection @689f3dcb] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.818 s <<< FAILURE! - in org.appng.application.manager.business.DataBaseConnectionsTest [ERROR] testMigrations(org.appng.application.manager.business.DataBaseConnectionsTest) Time elapsed: 0.479 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '15' but was '16' - comparing at /datasource[1]/data[1]/resultset[1]/@chunksize to at /datasource[1]/data[1]/resultset[1]/@chunksize Migrations 1 led_green led_orange led_red 1.0 appNG initial setup 1411118267 PENDING led_orange 1.1 Quartz initial setup 1129524243 PENDING led_orange 1.2 add template 1088238598 PENDING led_orange 1.2.1 add repository strict -780205616 PENDING led_orange 1.2.2 add repository digest -222577107 PENDING led_orange 1.2.3 set resource bytes not null -652001277 PENDING led_orange 1.3.0 add type to template 727633006 PENDING led_orange 1.3.1 add global admin role 1230735742 PENDING led_orange 1.3.2 add repository accepted certs 1710103480 PENDING led_orange 2.0.0 add platform event 1137969222 PENDING led_orange 4.0.0 add job execution record 1364852815 PENDING led_orange 4.1.0 change caching properties 1292263725 PENDING led_orange 4.1.1 add site reload count 1311349447 PENDING led_orange 4.1.2 add property type -1851785451 PENDING led_orange 4.2 add subject columns -1022623583 PENDING led_orange 4.2.1 change subject name length -1403960313 PENDING led_orange , org.custommonkey.xmlunit.Diff [different] Expected attribute value '15' but was '16' - comparing at /datasource[1]/data[1]/resultset[1]/@chunksize to at /datasource[1]/data[1]/resultset[1]/@chunksize at org.appng.application.manager.business.DataBaseConnectionsTest.testMigrations(DataBaseConnectionsTest.java:41) [INFO] Running org.appng.application.manager.business.webservice.LogViewerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.appng.application.manager.business.webservice.LogViewerTest [INFO] Running org.appng.application.manager.business.SubjectsTest 2020-04-03 13:23:00,901 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-04-03 13:23:00,901 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4d6406df, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@743ba3ab, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@65d652cc, org.springframework.test.context.support.DirtiesContextTestExecutionListener@396598a5, org.springframework.test.context.transaction.TransactionalTestExecutionListener@54da33a8, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7d55f463] 2020-04-03 13:23:00,909 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:23:00,939 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:23:00,945 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:23:00,979 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:23:00,988 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@3f778c7a: startup date [Fri Apr 03 13:23:00 CEST 2020]; root of context hierarchy 2020-04-03 13:23:01,016 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:23:01,142 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:01,142 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:23:01,285 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:23:01,294 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:23:01,767 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:23:01,767 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:02,058 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@3f778c7a: startup date [Fri Apr 03 13:23:00 CEST 2020]; root of context hierarchy 2020-04-03 13:23:02,268 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:23:02,375 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admins 2020-04-03 13:23:02,481 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2020-04-03 13:23:02,733 WARN [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-04-03 13:23:02,733 WARN [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-04-03 13:23:02,733 WARN [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-04-03 13:23:02,733 WARN [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-04-03 13:23:02,733 WARN [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-04-03 13:23:02,734 WARN [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-04-03 13:23:02,734 WARN [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-04-03 13:23:02,735 WARN [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-04-03 13:23:02,735 WARN [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-04-03 13:23:02,735 WARN [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-04-03 13:23:02,735 WARN [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-04-03 13:23:03,662 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject admin 2020-04-03 13:23:03,684 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin 2020-04-03 13:23:04,112 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:1277) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() 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() 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:431) at org.appng.api.support.CallableAction.perform(CallableAction.java:329) at org.appng.api.support.CallableAction.perform(CallableAction.java:303) 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-04-03 13:23:04,705 ERROR [main] org.appng.application.manager.business.Subjects: Failed to delete the user. org.appng.api.BusinessException: No such subject 2 at org.appng.application.manager.service.ManagerService.deleteSubject(ManagerService.java:173) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() 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.deleteSubject() at org.appng.application.manager.business.Subjects.perform(Subjects.java:80) at org.appng.application.manager.business.Subjects.perform(Subjects.java:48) at org.appng.api.support.CallableAction.execute(CallableAction.java:431) at org.appng.api.support.CallableAction.perform(CallableAction.java:329) at org.appng.api.support.CallableAction.perform(CallableAction.java:303) at org.appng.application.manager.business.SubjectsTest.testDelete(SubjectsTest.java:129) 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-04-03 13:23:06,345 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin 2020-04-03 13:23:06,515 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@3f778c7a: startup date [Fri Apr 03 13:23:00 CEST 2020]; root of context hierarchy 2020-04-03 13:23:06,516 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:06,517 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:23:06,763 INFO [HSQLDB Connection @56853318] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [ERROR] Tests run: 8, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 6.071 s <<< FAILURE! - in org.appng.application.manager.business.SubjectsTest [ERROR] testCreate(org.appng.application.manager.business.SubjectsTest) Time elapsed: 1.654 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '64' but was '255' - comparing at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max to at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max Create user create Field must not be empty Enter at most 255 characters The name must either be a valid e-mail address, or consist of letters, digits, dots, underscores and hyphens or a valid LDAP group reference Field must not be empty Enter at most 64 characters Please enter a valid e-mail address Enter at most 8192 characters Field must not be empty Enter between 2 and 3 characters User has been created. Groups Type Language Password restrictions Timezone LOCAL_USER , org.custommonkey.xmlunit.Diff [different] Expected attribute value '64' but was '255' - comparing at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max to at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max at org.appng.application.manager.business.SubjectsTest.testCreate(SubjectsTest.java:85) [ERROR] testCreateNameExists(org.appng.application.manager.business.SubjectsTest) Time elapsed: 0.383 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '64' but was '255' - comparing at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max to at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max Create user create Field must not be empty Enter at most 255 characters The name must either be a valid e-mail address, or consist of letters, digits, dots, underscores and hyphens or a valid LDAP group reference Another user with this username already exists. Field must not be empty Enter at most 64 characters Please enter a valid e-mail address Enter at most 8192 characters Field must not be empty Enter between 2 and 3 characters Failed to create the user. Groups Type Language Password restrictions Timezone LOCAL_USER , org.custommonkey.xmlunit.Diff [different] Expected attribute value '64' but was '255' - comparing at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max to at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max at org.appng.application.manager.business.SubjectsTest.testCreateNameExists(SubjectsTest.java:121) [ERROR] testCreateValidationFail(org.appng.application.manager.business.SubjectsTest) Time elapsed: 0.309 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '64' but was '255' - comparing at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max to at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max Create user create Field must not be empty Enter at most 255 characters The name must either be a valid e-mail address, or consist of letters, digits, dots, underscores and hyphens or a valid LDAP group reference Field must not be empty Field must not be empty Enter at most 64 characters Field must not be empty Please enter a valid e-mail address Please enter an e-mail address. Enter at most 8192 characters Field must not be empty Enter between 2 and 3 characters Field must not be empty Password must contain 1 or more lowercase letters. Password must contain 1 or more uppercase letters. Password must contain 1 or more numbers. Password must contain 1 or more special characters. Allowed are !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ Password must be at least 8 characters long. Password contains illegal character: '§' Groups Type Language Password restrictions Timezone LOCAL_USER , org.custommonkey.xmlunit.Diff [different] Expected attribute value '64' but was '255' - comparing at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max to at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max at org.appng.application.manager.business.SubjectsTest.testCreateValidationFail(SubjectsTest.java:109) [ERROR] testDelete(org.appng.application.manager.business.SubjectsTest) Time elapsed: 0.135 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing at /messages[1] to at /messages[1] User does not exist. Failed to delete the user. , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing at /messages[1] to at /messages[1] at org.appng.application.manager.business.SubjectsTest.testDelete(SubjectsTest.java:130) [INFO] Running org.appng.application.manager.business.SessionsTest 2020-04-03 13:23:06,973 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-04-03 13:23:06,973 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4048e89f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@45e3eebb, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@22223325, org.springframework.test.context.support.DirtiesContextTestExecutionListener@63f5f03, org.springframework.test.context.transaction.TransactionalTestExecutionListener@134534b, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5bf8e3e0] 2020-04-03 13:23:07,293 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:23:07,319 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:23:07,324 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:23:07,353 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:23:07,360 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml] 2020-04-03 13:23:07,366 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-04-03 13:23:07,366 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@144bd5fb: startup date [Fri Apr 03 13:23:07 CEST 2020]; root of context hierarchy 2020-04-03 13:23:07,396 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:23:07,523 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:07,523 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:23:07,666 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:23:07,675 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:23:08,113 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:23:08,114 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:08,421 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@144bd5fb: startup date [Fri Apr 03 13:23:07 CEST 2020]; root of context hierarchy 2020-04-03 13:23:08,688 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql] 2020-04-03 13:23:08,691 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 3 ms. 2020-04-03 13:23:08,758 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:23:08,899 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@144bd5fb: startup date [Fri Apr 03 13:23:07 CEST 2020]; root of context hierarchy 2020-04-03 13:23:09,004 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:09,004 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:23:09,249 INFO [HSQLDB Connection @44a5676] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.433 s - in org.appng.application.manager.business.SessionsTest [INFO] Running org.appng.application.manager.business.SqlExecutorTest 2020-04-03 13:23:09,469 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-04-03 13:23:09,469 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@243991b9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@77c0fb6c, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7f5412d1, org.springframework.test.context.support.DirtiesContextTestExecutionListener@31fbe3ad, org.springframework.test.context.transaction.TransactionalTestExecutionListener@59a71872, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@29cc93b1] 2020-04-03 13:23:09,478 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:23:09,502 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:23:09,507 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:23:09,534 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:23:09,540 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml] 2020-04-03 13:23:09,546 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-04-03 13:23:09,547 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@18d9ad2f: startup date [Fri Apr 03 13:23:09 CEST 2020]; root of context hierarchy 2020-04-03 13:23:09,571 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:23:09,694 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:09,694 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:23:09,837 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:23:09,864 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:23:10,308 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:23:10,309 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:10,674 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@18d9ad2f: startup date [Fri Apr 03 13:23:09 CEST 2020]; root of context hierarchy 2020-04-03 13:23:10,942 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql] 2020-04-03 13:23:10,945 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 3 ms. 2020-04-03 13:23:10,999 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:23:11,157 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb () 2020-04-03 13:23:11,259 INFO [main] org.flywaydb.core.internal.database.DatabaseFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5) 2020-04-03 13:23:11,260 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-04-03 13:23:11,386 INFO [main] org.flywaydb.core.internal.database.DatabaseFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5) 2020-04-03 13:23:11,387 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-04-03 13:23:11,493 INFO [main] org.springframework.jdbc.datasource.SingleConnectionDataSource: Established shared JDBC Connection: org.hsqldb.jdbc.JDBCConnection@33d34248 2020-04-03 13:23:11,531 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@18d9ad2f: startup date [Fri Apr 03 13:23:09 CEST 2020]; root of context hierarchy 2020-04-03 13:23:11,634 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:11,634 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:23:11,873 INFO [HSQLDB Connection @396e845b] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.624 s - in org.appng.application.manager.business.SqlExecutorTest [INFO] Running org.appng.application.manager.business.PlatformPropertiesTest 2020-04-03 13:23:12,088 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-04-03 13:23:12,088 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@148098e8, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@d44d231, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@79b8de51, org.springframework.test.context.support.DirtiesContextTestExecutionListener@529a00cd, org.springframework.test.context.transaction.TransactionalTestExecutionListener@42cd85ae, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@69b3129c] 2020-04-03 13:23:12,099 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:23:12,124 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:23:12,129 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:23:12,158 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:23:12,165 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5458fdd0: startup date [Fri Apr 03 13:23:12 CEST 2020]; root of context hierarchy 2020-04-03 13:23:12,195 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:23:12,326 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:12,334 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:23:12,484 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:23:12,492 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:23:12,928 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:23:12,929 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:13,553 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@5458fdd0: startup date [Fri Apr 03 13:23:12 CEST 2020]; root of context hierarchy 2020-04-03 13:23:13,757 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:23:13,911 WARN [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-04-03 13:23:13,911 WARN [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-04-03 13:23:13,912 WARN [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-04-03 13:23:13,912 WARN [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-04-03 13:23:13,913 WARN [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-04-03 13:23:13,913 WARN [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-04-03 13:23:13,913 WARN [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-04-03 13:23:13,914 WARN [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-04-03 13:23:13,914 WARN [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-04-03 13:23:13,914 WARN [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-04-03 13:23:13,915 WARN [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-04-03 13:23:13,920 WARN [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-04-03 13:23:14,035 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.testproperty 2020-04-03 13:23:14,369 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.anotherproperty 2020-04-03 13:23:14,723 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.booleanProp 2020-04-03 13:23:15,177 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.multilineProp 2020-04-03 13:23:16,291 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.testproperty 2020-04-03 13:23:17,197 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@5458fdd0: startup date [Fri Apr 03 13:23:12 CEST 2020]; root of context hierarchy 2020-04-03 13:23:17,198 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:17,199 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:23:17,449 INFO [HSQLDB Connection @6d45cb2] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.565 s - in org.appng.application.manager.business.PlatformPropertiesTest [INFO] Running org.appng.application.manager.business.GroupsTest 2020-04-03 13:23:17,662 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-04-03 13:23:17,663 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4edfe618, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@75b4521, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4df52b5d, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4abb2b41, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7be5fb28, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@26cacb38] 2020-04-03 13:23:17,675 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:23:17,709 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:23:17,717 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:23:17,760 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:23:17,769 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5173794d: startup date [Fri Apr 03 13:23:17 CEST 2020]; root of context hierarchy 2020-04-03 13:23:17,811 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:23:17,935 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:17,935 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:23:18,073 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:23:18,089 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:23:18,539 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:23:18,539 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:18,844 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@5173794d: startup date [Fri Apr 03 13:23:17 CEST 2020]; root of context hierarchy 2020-04-03 13:23:19,043 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:23:19,151 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2020-04-03 13:23:19,259 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2020-04-03 13:23:19,366 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2 2020-04-03 13:23:19,476 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2020-04-03 13:23:19,743 WARN [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-04-03 13:23:19,743 WARN [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-04-03 13:23:19,744 WARN [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-04-03 13:23:19,744 WARN [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-04-03 13:23:19,744 WARN [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-04-03 13:23:19,854 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admin 2020-04-03 13:23:20,470 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2020-04-03 13:23:20,588 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Group users 2020-04-03 13:23:20,864 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users 2020-04-03 13:23:20,969 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group Administrators 2020-04-03 13:23:21,481 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Group Administrators 2020-04-03 13:23:22,017 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@5173794d: startup date [Fri Apr 03 13:23:17 CEST 2020]; root of context hierarchy 2020-04-03 13:23:22,018 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:22,018 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:23:22,270 INFO [HSQLDB Connection @6eda2c9e] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.816 s - in org.appng.application.manager.business.GroupsTest [INFO] Running org.appng.application.manager.business.SitePropertiesTest 2020-04-03 13:23:22,485 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-04-03 13:23:22,486 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1dfd652f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@738542a3, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@48bf6f86, org.springframework.test.context.support.DirtiesContextTestExecutionListener@18701694, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6e52dca8, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@371b0b9b] 2020-04-03 13:23:22,494 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:23:22,520 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:23:22,525 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:23:22,557 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:23:22,565 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@1c37f30e: startup date [Fri Apr 03 13:23:22 CEST 2020]; root of context hierarchy 2020-04-03 13:23:22,591 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:23:22,715 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:22,715 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:23:22,857 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:23:22,867 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:23:23,312 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:23:23,312 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:23,582 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@1c37f30e: startup date [Fri Apr 03 13:23:22 CEST 2020]; root of context hierarchy 2020-04-03 13:23:23,768 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:23:23,874 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost 2020-04-03 13:23:24,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-04-03 13:23:24,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-04-03 13:23:24,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-04-03 13:23:24,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-04-03 13:23:24,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-04-03 13:23:24,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-04-03 13:23:24,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-04-03 13:23:24,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-04-03 13:23:24,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-04-03 13:23:24,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-04-03 13:23:24,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-04-03 13:23:24,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-04-03 13:23:24,140 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.testproperty 2020-04-03 13:23:24,470 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.anotherproperty 2020-04-03 13:23:24,789 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.multiline 2020-04-03 13:23:25,975 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.site.localhost.testproperty 2020-04-03 13:23:26,214 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@1c37f30e: startup date [Fri Apr 03 13:23:22 CEST 2020]; root of context hierarchy 2020-04-03 13:23:26,215 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:26,215 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:23:26,459 INFO [HSQLDB Connection @5fb96d7a] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.186 s - in org.appng.application.manager.business.SitePropertiesTest [INFO] Running org.appng.application.manager.business.AbstractTest [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.appng.application.manager.business.AbstractTest [INFO] Running org.appng.application.manager.business.ClusterStateTest 2020-04-03 13:23:26,673 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-04-03 13:23:26,673 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1572ac0f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@2f67729c, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@38fe7840, org.springframework.test.context.support.DirtiesContextTestExecutionListener@71fcad61, org.springframework.test.context.transaction.TransactionalTestExecutionListener@71ee6585, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@65890ab6] 2020-04-03 13:23:26,683 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:23:26,708 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:23:26,714 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:23:26,745 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:23:26,751 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@3afd7524: startup date [Fri Apr 03 13:23:26 CEST 2020]; root of context hierarchy 2020-04-03 13:23:26,781 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:23:26,904 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:26,904 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:23:27,044 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:23:27,049 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:23:27,462 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:23:27,462 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:27,743 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@3afd7524: startup date [Fri Apr 03 13:23:26 CEST 2020]; root of context hierarchy 2020-04-03 13:23:27,936 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:23:27,970 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@3afd7524: startup date [Fri Apr 03 13:23:26 CEST 2020]; root of context hierarchy 2020-04-03 13:23:27,971 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:27,972 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:23:28,218 INFO [HSQLDB Connection @1ddc610] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.745 s - in org.appng.application.manager.business.ClusterStateTest [INFO] Running org.appng.application.manager.business.PermissionsTest 2020-04-03 13:23:28,428 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-04-03 13:23:28,428 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@255839a0, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@17f28506, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@98bcfc7, org.springframework.test.context.support.DirtiesContextTestExecutionListener@62dceb92, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6ad5b50, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5743436] 2020-04-03 13:23:28,436 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:23:28,458 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:23:28,462 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:23:28,487 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:23:28,493 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5753c71b: startup date [Fri Apr 03 13:23:28 CEST 2020]; root of context hierarchy 2020-04-03 13:23:28,518 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:23:28,640 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:28,640 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:23:28,776 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:23:28,785 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:23:29,190 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:23:29,190 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:29,495 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@5753c71b: startup date [Fri Apr 03 13:23:28 CEST 2020]; root of context hierarchy 2020-04-03 13:23:29,664 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:23:29,769 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2020-04-03 13:23:29,877 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2020-04-03 13:23:29,983 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this 2020-04-03 13:23:30,088 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that 2020-04-03 13:23:30,234 WARN [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-04-03 13:23:30,235 WARN [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-04-03 13:23:30,235 WARN [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-04-03 13:23:30,235 WARN [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-04-03 13:23:30,235 WARN [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-04-03 13:23:30,346 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.something 2020-04-03 13:23:30,940 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Permission do.something 2020-04-03 13:23:31,472 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Permission do.somethingelse 2020-04-03 13:23:31,595 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@5753c71b: startup date [Fri Apr 03 13:23:28 CEST 2020]; root of context hierarchy 2020-04-03 13:23:31,596 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:31,596 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:23:31,842 INFO [HSQLDB Connection @4fda0c14] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.619 s - in org.appng.application.manager.business.PermissionsTest [INFO] Running org.appng.application.manager.business.RoleTest 2020-04-03 13:23:32,052 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-04-03 13:23:32,052 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2ec2634c, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4bd9a522, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@27fec802, org.springframework.test.context.support.DirtiesContextTestExecutionListener@78f6a216, org.springframework.test.context.transaction.TransactionalTestExecutionListener@45137647, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@43e53b72] 2020-04-03 13:23:32,060 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml] 2020-04-03 13:23:32,084 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml] 2020-04-03 13:23:32,089 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml] 2020-04-03 13:23:32,116 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml] 2020-04-03 13:23:32,122 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5f21a391: startup date [Fri Apr 03 13:23:32 CEST 2020]; root of context hierarchy 2020-04-03 13:23:32,148 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2020-04-03 13:23:32,271 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:32,272 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default] 2020-04-03 13:23:32,419 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2020-04-03 13:23:32,425 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true 2020-04-03 13:23:32,812 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2020-04-03 13:23:32,812 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:33,074 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@5f21a391: startup date [Fri Apr 03 13:23:32 CEST 2020]; root of context hierarchy 2020-04-03 13:23:33,255 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist! 2020-04-03 13:23:33,361 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application 2020-04-03 13:23:33,478 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this 2020-04-03 13:23:33,583 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that 2020-04-03 13:23:33,689 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1 2020-04-03 13:23:33,852 WARN [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-04-03 13:23:33,852 WARN [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-04-03 13:23:33,853 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-04-03 13:23:33,853 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-04-03 13:23:33,853 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en 2020-04-03 13:23:33,966 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2 2020-04-03 13:23:34,336 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:815) at org.appng.application.manager.service.ManagerService.createRole(ManagerService.java:789) at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke() 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() 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:431) at org.appng.api.support.CallableAction.perform(CallableAction.java:329) at org.appng.api.support.CallableAction.perform(CallableAction.java:303) 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-04-03 13:23:34,597 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Role role2 2020-04-03 13:23:35,137 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Role role.updated 2020-04-03 13:23:35,276 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@5f21a391: startup date [Fri Apr 03 13:23:32 CEST 2020]; root of context hierarchy 2020-04-03 13:23:35,277 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default' 2020-04-03 13:23:35,277 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-04-03 13:23:35,525 INFO [HSQLDB Connection @64f96fed] hsqldb.db.HSQLDB713FC72F56.ENGINE: Database closed [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.679 s - in org.appng.application.manager.business.RoleTest [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] DataBaseConnectionsTest.testMigrations:41->TestBase.validate:523 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '15' but was '16' - comparing at /datasource[1]/data[1]/resultset[1]/@chunksize to at /datasource[1]/data[1]/resultset[1]/@chunksize Migrations 1 led_green led_orange led_red 1.0 appNG initial setup 1411118267 PENDING led_orange 1.1 Quartz initial setup 1129524243 PENDING led_orange 1.2 add template 1088238598 PENDING led_orange 1.2.1 add repository strict -780205616 PENDING led_orange 1.2.2 add repository digest -222577107 PENDING led_orange 1.2.3 set resource bytes not null -652001277 PENDING led_orange 1.3.0 add type to template 727633006 PENDING led_orange 1.3.1 add global admin role 1230735742 PENDING led_orange 1.3.2 add repository accepted certs 1710103480 PENDING led_orange 2.0.0 add platform event 1137969222 PENDING led_orange 4.0.0 add job execution record 1364852815 PENDING led_orange 4.1.0 change caching properties 1292263725 PENDING led_orange 4.1.1 add site reload count 1311349447 PENDING led_orange 4.1.2 add property type -1851785451 PENDING led_orange 4.2 add subject columns -1022623583 PENDING led_orange 4.2.1 change subject name length -1403960313 PENDING led_orange , org.custommonkey.xmlunit.Diff [different] Expected attribute value '15' but was '16' - comparing at /datasource[1]/data[1]/resultset[1]/@chunksize to at /datasource[1]/data[1]/resultset[1]/@chunksize [ERROR] SubjectsTest.testCreate:85->TestBase.validate:533 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '64' but was '255' - comparing at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max to at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max Create user create Field must not be empty Enter at most 255 characters The name must either be a valid e-mail address, or consist of letters, digits, dots, underscores and hyphens or a valid LDAP group reference Field must not be empty Enter at most 64 characters Please enter a valid e-mail address Enter at most 8192 characters Field must not be empty Enter between 2 and 3 characters User has been created. Groups Type Language Password restrictions Timezone LOCAL_USER , org.custommonkey.xmlunit.Diff [different] Expected attribute value '64' but was '255' - comparing at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max to at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max [ERROR] SubjectsTest.testCreateNameExists:121->TestBase.validate:528 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '64' but was '255' - comparing at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max to at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max Create user create Field must not be empty Enter at most 255 characters The name must either be a valid e-mail address, or consist of letters, digits, dots, underscores and hyphens or a valid LDAP group reference Another user with this username already exists. Field must not be empty Enter at most 64 characters Please enter a valid e-mail address Enter at most 8192 characters Field must not be empty Enter between 2 and 3 characters Failed to create the user. Groups Type Language Password restrictions Timezone LOCAL_USER , org.custommonkey.xmlunit.Diff [different] Expected attribute value '64' but was '255' - comparing at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max to at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max [ERROR] SubjectsTest.testCreateValidationFail:109->TestBase.validate:528 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '64' but was '255' - comparing at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max to at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max Create user create Field must not be empty Enter at most 255 characters The name must either be a valid e-mail address, or consist of letters, digits, dots, underscores and hyphens or a valid LDAP group reference Field must not be empty Field must not be empty Enter at most 64 characters Field must not be empty Please enter a valid e-mail address Please enter an e-mail address. Enter at most 8192 characters Field must not be empty Enter between 2 and 3 characters Field must not be empty Password must contain 1 or more lowercase letters. Password must contain 1 or more uppercase letters. Password must contain 1 or more numbers. Password must contain 1 or more special characters. Allowed are !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ Password must be at least 8 characters long. Password contains illegal character: '§' Groups Type Language Password restrictions Timezone LOCAL_USER , org.custommonkey.xmlunit.Diff [different] Expected attribute value '64' but was '255' - comparing at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max to at /action[1]/config[1]/meta-data[1]/field[1]/validation[1]/size[1]/@max [ERROR] SubjectsTest.testDelete:130->TestBase.validate:528 XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing at /messages[1] to at /messages[1] User does not exist. Failed to delete the user. , org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '1' but was '2' - comparing at /messages[1] to at /messages[1] [INFO] [ERROR] Tests run: 69, Failures: 5, Errors: 0, Skipped: 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:21 min [INFO] Finished at: 2020-04-03T13:23:36+02:00 [INFO] Final Memory: 58M/549M [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