47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java: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)
2019-11-25 11:22:31,795 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me
2019-11-25 11:22:31,954 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Repository Delete me
2019-11-25 11:22:32,098 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Repository Delete me
2019-11-25 11:22:32,812 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@15c1ddb4: startup date [Mon Nov 25 11:22:28 CET 2019]; root of context hierarchy
2019-11-25 11:22:32,813 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:32,814 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2019-11-25 11:22:33,270 INFO [HSQLDB Connection @429e928a] hsqldb.db.HSQLDB6EA2154FD0.ENGINE: Database closed
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.68 s - in org.appng.application.manager.business.RepositoriesTest
[INFO] Running org.appng.application.manager.business.SitesTest
2019-11-25 11:22:33,487 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2019-11-25 11:22:33,487 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4b6a1cc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@67ab5a8c, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@75f3a2b6, org.springframework.test.context.support.DirtiesContextTestExecutionListener@141fb2ea, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2596c964, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@18d48860]
2019-11-25 11:22:33,494 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2019-11-25 11:22:33,525 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2019-11-25 11:22:33,532 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2019-11-25 11:22:33,575 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2019-11-25 11:22:33,588 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@70da7fde: startup date [Mon Nov 25 11:22:33 CET 2019]; root of context hierarchy
2019-11-25 11:22:33,632 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-25 11:22:33,765 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:33,766 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2019-11-25 11:22:33,908 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2019-11-25 11:22:33,923 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2019-11-25 11:22:34,512 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019-11-25 11:22:34,512 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:34,854 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@70da7fde: startup date [Mon Nov 25 11:22:33 CET 2019]; root of context hierarchy
2019-11-25 11:22:35,106 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2019-11-25 11:22:35,211 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.messagingEnabled
2019-11-25 11:22:35,370 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,370 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,371 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,371 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,371 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,371 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,371 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,371 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,371 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,371 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,372 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,372 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,484 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:1467)
at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$8687b70c.createProperty(<generated>)
at org.appng.application.manager.business.Properties.perform(Properties.java:102)
at org.appng.application.manager.business.Properties.perform(Properties.java:48)
at org.appng.api.support.CallableAction.execute(CallableAction.java:420)
at org.appng.api.support.CallableAction.perform(CallableAction.java:318)
at org.appng.api.support.CallableAction.perform(CallableAction.java:292)
at org.appng.application.manager.business.SitesTest.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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java: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)
2019-11-25 11:22:35,745 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,746 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,746 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,746 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,747 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,747 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:35,874 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.template
2019-11-25 11:22:35,875 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.DatasourceConfigurer
2019-11-25 11:22:35,876 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.wwwDir
2019-11-25 11:22:35,878 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.tagPrefix
2019-11-25 11:22:35,879 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapIdAttribute
2019-11-25 11:22:35,879 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginPage
2019-11-25 11:22:35,880 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheEnabled
2019-11-25 11:22:35,880 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUser
2019-11-25 11:22:35,881 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputType
2019-11-25 11:22:35,882 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.encoding
2019-11-25 11:22:35,882 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexDir
2019-11-25 11:22:35,883 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultApplication
2019-11-25 11:22:35,883 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailHost
2019-11-25 11:22:35,884 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginRef
2019-11-25 11:22:35,884 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputFormat
2019-11-25 11:22:35,885 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileTypes
2019-11-25 11:22:35,885 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authApplication
2019-11-25 11:22:35,886 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPage
2019-11-25 11:22:35,886 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapGroupBaseDn
2019-11-25 11:22:35,886 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapStartTls
2019-11-25 11:22:35,887 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheClearOnShutdown
2019-11-25 11:22:35,887 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.appendTabId
2019-11-25 11:22:35,889 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheTimeToLive
2019-11-25 11:22:35,889 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedMethods
2019-11-25 11:22:35,889 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapDomain
2019-11-25 11:22:35,890 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchChunkSize
2019-11-25 11:22:35,890 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.rewriteConfig
2019-11-25 11:22:35,890 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexTimeout
2019-11-25 11:22:35,891 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.xssExceptions
2019-11-25 11:22:35,891 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.service-path
2019-11-25 11:22:35,891 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportReloadFile
2019-11-25 11:22:35,892 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionValue
2019-11-25 11:22:35,892 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionName
2019-11-25 11:22:35,892 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutPage
2019-11-25 11:22:35,893 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.siteRootDir
2019-11-25 11:22:35,893 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileSystemQueueSize
2019-11-25 11:22:35,894 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.name
2019-11-25 11:22:35,894 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.allowSkipRender
2019-11-25 11:22:35,897 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheStatistics
2019-11-25 11:22:35,898 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPage
2019-11-25 11:22:35,898 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectionEnabled
2019-11-25 11:22:35,898 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportedLanguages
2019-11-25 11:22:35,899 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.assetsDir
2019-11-25 11:22:35,899 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPages
2019-11-25 11:22:35,900 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutRef
2019-11-25 11:22:35,900 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.locale
2019-11-25 11:22:35,900 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailDisabled
2019-11-25 11:22:35,901 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.timeZone
2019-11-25 11:22:35,901 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedPaths
2019-11-25 11:22:35,901 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUserBaseDn
2019-11-25 11:22:35,901 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheExceptions
2019-11-25 11:22:35,902 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.enforcePrimaryDomain
2019-11-25 11:22:35,902 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPassword
2019-11-25 11:22:35,903 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexConfig
2019-11-25 11:22:35,903 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPageSize
2019-11-25 11:22:35,903 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.documentDir
2019-11-25 11:22:35,904 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPrincipalScheme
2019-11-25 11:22:35,904 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchMaxHits
2019-11-25 11:22:35,905 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexQueueSize
2019-11-25 11:22:35,905 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailPort
2019-11-25 11:22:35,905 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.host
2019-11-25 11:22:35,906 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapHost
2019-11-25 11:22:35,906 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.manager-path
2019-11-25 11:22:35,907 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost
2019-11-25 11:22:37,230 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2
2019-11-25 11:22:37,343 INFO [main] org.appng.core.service.CoreService: starting deletion of site site2
2019-11-25 11:22:37,367 INFO [main] org.appng.core.service.CoreService: deleting 0 orphaned database connections
2019-11-25 11:22:37,369 INFO [main] org.appng.core.service.CoreService: done deleting site site2
2019-11-25 11:22:37,371 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Site site2
2019-11-25 11:22:37,572 INFO [main] org.appng.core.service.InitializerService: prepare reload of site Mock for Site, hashCode: 580453177, shutting down first
2019-11-25 11:22:37,572 INFO [main] org.appng.core.service.InitializerService: shutting down site threads for Mock for Site, hashCode: 580453177
2019-11-25 11:22:37,573 ERROR [main] org.appng.application.manager.business.Sites: error during action 'reload': Failed to reload the site.
org.appng.api.BusinessException: java.lang.NullPointerException
at org.appng.api.support.RequestSupportImpl.handleException(RequestSupportImpl.java:202)
at org.appng.api.support.ApplicationRequest.handleException(ApplicationRequest.java:133)
at org.appng.application.manager.service.ManagerService.reloadSite(ManagerService.java:1528)
at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$8687b70c.reloadSite(<generated>)
at org.appng.application.manager.business.Sites.perform(Sites.java:81)
at org.appng.application.manager.business.Sites.perform(Sites.java:47)
at org.appng.api.support.CallableAction.execute(CallableAction.java:420)
at org.appng.api.support.CallableAction.perform(CallableAction.java:318)
at org.appng.api.support.CallableAction.perform(CallableAction.java:292)
at org.appng.application.manager.business.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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java: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.NullPointerException
at org.appng.core.service.InitializerService.shutDownSite(InitializerService.java:869)
at org.appng.core.service.InitializerService.loadSite(InitializerService.java:484)
at org.appng.core.service.InitializerService.loadSite(InitializerService.java:441)
at org.appng.core.service.InitializerService.loadSite(InitializerService.java:425)
at org.appng.core.service.InitializerService$$FastClassBySpringCGLIB$$f960133d.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:667)
at org.appng.core.service.InitializerService$$EnhancerBySpringCGLIB$$d84f5ac9.loadSite(<generated>)
at org.appng.application.manager.service.ManagerService.reloadSite(ManagerService.java:1518)
... 48 more
2019-11-25 11:22:37,887 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2
2019-11-25 11:22:38,172 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@70da7fde: startup date [Mon Nov 25 11:22:33 CET 2019]; root of context hierarchy
2019-11-25 11:22:38,174 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:38,174 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2019-11-25 11:22:38,420 INFO [HSQLDB Connection @6056bb89] hsqldb.db.HSQLDB6EA2154FD0.ENGINE: Database closed
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.132 s - in org.appng.application.manager.business.SitesTest
[INFO] Running org.appng.application.manager.business.PlatformEventsTest
2019-11-25 11:22:38,635 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2019-11-25 11:22:38,635 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@343ea7b3, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3ee8868c, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3a18af12, org.springframework.test.context.support.DirtiesContextTestExecutionListener@8b15289, org.springframework.test.context.transaction.TransactionalTestExecutionListener@49f37f13, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@33555c47]
2019-11-25 11:22:38,642 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2019-11-25 11:22:38,680 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2019-11-25 11:22:38,689 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2019-11-25 11:22:38,730 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2019-11-25 11:22:38,739 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@4c4a1500: startup date [Mon Nov 25 11:22:38 CET 2019]; root of context hierarchy
2019-11-25 11:22:38,774 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-25 11:22:38,900 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:38,901 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2019-11-25 11:22:39,055 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2019-11-25 11:22:39,064 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2019-11-25 11:22:39,519 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019-11-25 11:22:39,519 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:39,800 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@4c4a1500: startup date [Mon Nov 25 11:22:38 CET 2019]; root of context hierarchy
2019-11-25 11:22:39,973 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2019-11-25 11:22:40,539 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@4c4a1500: startup date [Mon Nov 25 11:22:38 CET 2019]; root of context hierarchy
2019-11-25 11:22:40,540 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:40,541 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2019-11-25 11:22:40,793 INFO [HSQLDB Connection @d170a79] hsqldb.db.HSQLDB6EA2154FD0.ENGINE: Database closed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.264 s - in org.appng.application.manager.business.PlatformEventsTest
[INFO] Running org.appng.application.manager.business.DataBaseConnectionsTest
2019-11-25 11:22:40,910 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2019-11-25 11:22:40,911 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@cdc8bb5, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4a6c56a5, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1d9d822c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@558a415e, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3d63f979, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1512490e]
2019-11-25 11:22:40,916 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2019-11-25 11:22:40,945 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2019-11-25 11:22:40,952 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2019-11-25 11:22:40,982 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2019-11-25 11:22:40,989 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2019-11-25 11:22:41,001 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]]
2019-11-25 11:22:41,001 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@646f2562: startup date [Mon Nov 25 11:22:41 CET 2019]; root of context hierarchy
2019-11-25 11:22:41,031 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-25 11:22:41,160 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:41,160 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2019-11-25 11:22:41,313 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2019-11-25 11:22:41,322 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2019-11-25 11:22:41,833 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019-11-25 11:22:41,833 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:42,093 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@646f2562: startup date [Mon Nov 25 11:22:41 CET 2019]; root of context hierarchy
2019-11-25 11:22:42,417 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2019-11-25 11:22:42,420 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 3 ms.
2019-11-25 11:22:42,471 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2019-11-25 11:22:42,635 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2019-11-25 11:22:42,648 INFO [main] org.flywaydb.core.internal.util.VersionPrinter: Flyway 4.2.0 by Boxfuse
2019-11-25 11:22:42,762 INFO [main] org.flywaydb.core.internal.dbsupport.DbSupportFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2019-11-25 11:22:42,984 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2019-11-25 11:22:43,086 INFO [main] org.flywaydb.core.internal.dbsupport.DbSupportFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2019-11-25 11:22:43,118 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@646f2562: startup date [Mon Nov 25 11:22:41 CET 2019]; root of context hierarchy
2019-11-25 11:22:43,224 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:43,224 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2019-11-25 11:22:43,468 INFO [HSQLDB Connection @589207b6] hsqldb.db.HSQLDB6EA2154FD0.ENGINE: Database closed
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.769 s <<< FAILURE! - in org.appng.application.manager.business.DataBaseConnectionsTest
[ERROR] testMigrations(org.appng.application.manager.business.DataBaseConnectionsTest) Time elapsed: 0.411 s <<< FAILURE!
junit.framework.AssertionFailedError:
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected attribute value '11' but was '13' - comparing <resultset chunksize="11"...> at /datasource[1]/data[1]/resultset[1]/@chunksize to <resultset chunksize="13"...> at /datasource[1]/data[1]/resultset[1]/@chunksize
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="migrations">
<config>
<title id="migrations">Migrations</title>
<params>
<param name="id">1</param>
</params>
<meta-data bindClass="org.flywaydb.core.api.MigrationInfo">
<field name="installedRank" type="int" format="#" binding="installedRank">
<label id="migration.installedRank">Rank</label>
</field>
<field name="installedOn" type="date" format="yyyy-MM-dd HH:mm:ss" binding="installedOn">
<label id="migration.installedOn">Date</label>
</field>
<field name="version.version" type="text" binding="version.version">
<label id="migration.version">Version</label>
</field>
<field name="description" type="text" binding="description">
<label id="migration.description">Name</label>
</field>
<field name="checksum" type="text" binding="checksum">
<label id="migration.checksum">Checksum</label>
</field>
<field name="installedBy" type="text" binding="installedBy">
<label id="migration.installedBy">User</label>
</field>
<field name="state" type="image" readonly="true" binding="state">
<label id="migration.state">State</label>
<icon condition="${current.state.name() eq 'SUCCESS'}">led_green</icon>
<icon condition="${current.state.name() eq 'PENDING'}">led_orange</icon>
<icon condition="${not (current.state.name() eq 'SUCCESS' or current.state.name() eq 'PENDING')}">led_red</icon>
</field>
</meta-data>
</config>
<data paginate="false">
<resultset chunk="0" chunkname="migrations" chunksize="13" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="13">
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.0</value>
</field>
<field name="description" type="text">
<value>appNG initial setup</value>
</field>
<field name="checksum" type="text">
<value>1411118267</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.1</value>
</field>
<field name="description" type="text">
<value>Quartz initial setup</value>
</field>
<field name="checksum" type="text">
<value>1129524243</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.2</value>
</field>
<field name="description" type="text">
<value>add template</value>
</field>
<field name="checksum" type="text">
<value>1088238598</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.2.1</value>
</field>
<field name="description" type="text">
<value>add repository strict</value>
</field>
<field name="checksum" type="text">
<value>-780205616</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.2.2</value>
</field>
<field name="description" type="text">
<value>add repository digest</value>
</field>
<field name="checksum" type="text">
<value>-222577107</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.2.3</value>
</field>
<field name="description" type="text">
<value>set resource bytes not null</value>
</field>
<field name="checksum" type="text">
<value>-652001277</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.3.0</value>
</field>
<field name="description" type="text">
<value>add type to template</value>
</field>
<field name="checksum" type="text">
<value>727633006</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.3.1</value>
</field>
<field name="description" type="text">
<value>add global admin role</value>
</field>
<field name="checksum" type="text">
<value>1230735742</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.3.2</value>
</field>
<field name="description" type="text">
<value>add repository accepted certs</value>
</field>
<field name="checksum" type="text">
<value>1710103480</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>2.0.0</value>
</field>
<field name="description" type="text">
<value>add platform event</value>
</field>
<field name="checksum" type="text">
<value>1137969222</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>4.0.0</value>
</field>
<field name="description" type="text">
<value>add job execution record</value>
</field>
<field name="checksum" type="text">
<value>1364852815</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>4.1.0</value>
</field>
<field name="description" type="text">
<value>change caching properties</value>
</field>
<field name="checksum" type="text">
<value>1292263725</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>4.1.1</value>
</field>
<field name="description" type="text">
<value>add site reload count</value>
</field>
<field name="checksum" type="text">
<value>1311349447</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
</resultset>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '11' but was '13' - comparing <resultset chunksize="11"...> at /datasource[1]/data[1]/resultset[1]/@chunksize to <resultset chunksize="13"...> 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.008 s - in org.appng.application.manager.business.webservice.LogViewerTest
[INFO] Running org.appng.application.manager.business.SubjectsTest
2019-11-25 11:22:43,719 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2019-11-25 11:22:43,720 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@20035168, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6474fbb5, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@108e7621, org.springframework.test.context.support.DirtiesContextTestExecutionListener@13d7977f, org.springframework.test.context.transaction.TransactionalTestExecutionListener@29e51c7c, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@6a0fe3a6]
2019-11-25 11:22:43,728 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2019-11-25 11:22:43,752 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2019-11-25 11:22:43,757 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2019-11-25 11:22:43,781 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2019-11-25 11:22:43,787 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@9d3afb8: startup date [Mon Nov 25 11:22:43 CET 2019]; root of context hierarchy
2019-11-25 11:22:43,810 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-25 11:22:43,933 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:43,933 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2019-11-25 11:22:44,084 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2019-11-25 11:22:44,091 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2019-11-25 11:22:44,549 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019-11-25 11:22:44,549 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:44,830 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@9d3afb8: startup date [Mon Nov 25 11:22:43 CET 2019]; root of context hierarchy
2019-11-25 11:22:45,018 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2019-11-25 11:22:45,125 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admins
2019-11-25 11:22:45,233 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2019-11-25 11:22:45,438 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:45,438 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:45,439 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:45,439 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:45,439 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:45,440 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:45,440 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:45,440 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:45,441 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:45,441 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:45,441 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:46,334 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject admin
2019-11-25 11:22:46,350 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin
2019-11-25 11:22:47,608 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject user
2019-11-25 11:22:47,620 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject user
2019-11-25 11:22:48,000 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:1245)
at org.appng.application.manager.service.ManagerService$$FastClassBySpringCGLIB$$bbf10b1e.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$8687b70c.createSubject(<generated>)
at org.appng.application.manager.business.Subjects.perform(Subjects.java:68)
at org.appng.application.manager.business.Subjects.perform(Subjects.java:50)
at org.appng.api.support.CallableAction.execute(CallableAction.java:420)
at org.appng.api.support.CallableAction.perform(CallableAction.java:318)
at org.appng.api.support.CallableAction.perform(CallableAction.java:292)
at org.appng.application.manager.business.SubjectsTest.testCreateNameExists(SubjectsTest.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java: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)
2019-11-25 11:22:48,596 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Subject user
2019-11-25 11:22:50,153 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin
2019-11-25 11:22:50,338 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@9d3afb8: startup date [Mon Nov 25 11:22:43 CET 2019]; root of context hierarchy
2019-11-25 11:22:50,339 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:50,339 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2019-11-25 11:22:50,584 INFO [HSQLDB Connection @1fcacb67] hsqldb.db.HSQLDB6EA2154FD0.ENGINE: Database closed
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.071 s - in org.appng.application.manager.business.SubjectsTest
[INFO] Running org.appng.application.manager.business.SessionsTest
2019-11-25 11:22:50,800 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2019-11-25 11:22:50,800 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2a49ba8c, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@67eac6ae, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1bc44213, org.springframework.test.context.support.DirtiesContextTestExecutionListener@54c544b, org.springframework.test.context.transaction.TransactionalTestExecutionListener@623603b4, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@535866ea]
2019-11-25 11:22:50,807 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2019-11-25 11:22:50,834 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2019-11-25 11:22:50,839 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2019-11-25 11:22:50,867 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2019-11-25 11:22:50,874 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2019-11-25 11:22:50,881 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]]
2019-11-25 11:22:50,881 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@6a357248: startup date [Mon Nov 25 11:22:50 CET 2019]; root of context hierarchy
2019-11-25 11:22:50,907 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-25 11:22:51,026 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:51,026 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2019-11-25 11:22:51,163 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2019-11-25 11:22:51,171 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2019-11-25 11:22:51,634 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019-11-25 11:22:51,634 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:51,900 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@6a357248: startup date [Mon Nov 25 11:22:50 CET 2019]; root of context hierarchy
2019-11-25 11:22:52,137 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2019-11-25 11:22:52,140 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 2 ms.
2019-11-25 11:22:52,188 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2019-11-25 11:22:52,307 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@6a357248: startup date [Mon Nov 25 11:22:50 CET 2019]; root of context hierarchy
2019-11-25 11:22:52,410 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:52,410 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2019-11-25 11:22:52,659 INFO [HSQLDB Connection @65e3caef] hsqldb.db.HSQLDB6EA2154FD0.ENGINE: Database closed
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.068 s - in org.appng.application.manager.business.SessionsTest
[INFO] Running org.appng.application.manager.business.SqlExecutorTest
2019-11-25 11:22:52,872 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2019-11-25 11:22:52,873 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@219cfc03, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4f1ff170, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1a886317, org.springframework.test.context.support.DirtiesContextTestExecutionListener@422085e7, org.springframework.test.context.transaction.TransactionalTestExecutionListener@49a1544, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@34bee0d6]
2019-11-25 11:22:52,879 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2019-11-25 11:22:52,901 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2019-11-25 11:22:52,906 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2019-11-25 11:22:52,932 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2019-11-25 11:22:52,940 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2019-11-25 11:22:52,945 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]]
2019-11-25 11:22:52,946 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@6d77ad8d: startup date [Mon Nov 25 11:22:52 CET 2019]; root of context hierarchy
2019-11-25 11:22:52,970 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-25 11:22:53,095 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:53,095 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2019-11-25 11:22:53,236 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2019-11-25 11:22:53,245 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2019-11-25 11:22:53,657 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019-11-25 11:22:53,657 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:53,909 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@6d77ad8d: startup date [Mon Nov 25 11:22:52 CET 2019]; root of context hierarchy
2019-11-25 11:22:54,146 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2019-11-25 11:22:54,148 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 2 ms.
2019-11-25 11:22:54,202 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2019-11-25 11:22:54,362 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2019-11-25 11:22:54,464 INFO [main] org.flywaydb.core.internal.dbsupport.DbSupportFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2019-11-25 11:22:54,587 INFO [main] org.springframework.jdbc.datasource.SingleConnectionDataSource: Established shared JDBC Connection: org.hsqldb.jdbc.JDBCConnection@1d03d7ff
2019-11-25 11:22:54,643 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@6d77ad8d: startup date [Mon Nov 25 11:22:52 CET 2019]; root of context hierarchy
2019-11-25 11:22:54,746 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:54,746 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2019-11-25 11:22:54,989 INFO [HSQLDB Connection @30bc3e56] hsqldb.db.HSQLDB6EA2154FD0.ENGINE: Database closed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.324 s - in org.appng.application.manager.business.SqlExecutorTest
[INFO] Running org.appng.application.manager.business.PlatformPropertiesTest
2019-11-25 11:22:55,201 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2019-11-25 11:22:55,201 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@43a03661, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@78010234, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@575be676, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1f631526, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5d322b95, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2dd282a5]
2019-11-25 11:22:55,207 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2019-11-25 11:22:55,232 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2019-11-25 11:22:55,237 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2019-11-25 11:22:55,262 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2019-11-25 11:22:55,269 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@2532b93f: startup date [Mon Nov 25 11:22:55 CET 2019]; root of context hierarchy
2019-11-25 11:22:55,295 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-25 11:22:55,418 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:55,418 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2019-11-25 11:22:55,549 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2019-11-25 11:22:55,570 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2019-11-25 11:22:56,344 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019-11-25 11:22:56,344 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:56,589 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@2532b93f: startup date [Mon Nov 25 11:22:55 CET 2019]; root of context hierarchy
2019-11-25 11:22:56,787 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2019-11-25 11:22:56,945 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:56,945 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:56,946 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:56,946 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:56,946 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:56,946 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:56,946 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:56,947 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:56,947 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:56,947 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:56,948 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:56,948 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:22:57,062 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.testproperty
2019-11-25 11:22:57,395 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.anotherproperty
2019-11-25 11:22:58,279 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.testproperty
2019-11-25 11:22:58,745 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@2532b93f: startup date [Mon Nov 25 11:22:55 CET 2019]; root of context hierarchy
2019-11-25 11:22:58,746 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:58,746 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2019-11-25 11:22:58,995 INFO [HSQLDB Connection @4feda9d2] hsqldb.db.HSQLDB6EA2154FD0.ENGINE: Database closed
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.907 s - in org.appng.application.manager.business.PlatformPropertiesTest
[INFO] Running org.appng.application.manager.business.GroupsTest
2019-11-25 11:22:59,105 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2019-11-25 11:22:59,105 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4b18ca40, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7bbc839f, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4b3c405f, org.springframework.test.context.support.DirtiesContextTestExecutionListener@303c8863, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3d7b1eee, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@22c4d2a5]
2019-11-25 11:22:59,113 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2019-11-25 11:22:59,137 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2019-11-25 11:22:59,142 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2019-11-25 11:22:59,167 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2019-11-25 11:22:59,174 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@b53401a: startup date [Mon Nov 25 11:22:59 CET 2019]; root of context hierarchy
2019-11-25 11:22:59,200 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-25 11:22:59,324 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2019-11-25 11:22:59,324 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2019-11-25 11:22:59,463 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2019-11-25 11:22:59,472 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2019-11-25 11:22:59,958 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019-11-25 11:22:59,958 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:00,229 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@b53401a: startup date [Mon Nov 25 11:22:59 CET 2019]; root of context hierarchy
2019-11-25 11:23:00,401 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2019-11-25 11:23:00,507 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2019-11-25 11:23:00,614 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2019-11-25 11:23:01,009 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2
2019-11-25 11:23:01,116 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost
2019-11-25 11:23:01,422 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:01,423 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:01,423 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:01,423 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:01,424 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:01,533 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admin
2019-11-25 11:23:02,150 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2019-11-25 11:23:02,265 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Group users
2019-11-25 11:23:02,543 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2019-11-25 11:23:02,648 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group Administrators
2019-11-25 11:23:03,162 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Group Administrators
2019-11-25 11:23:03,673 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@b53401a: startup date [Mon Nov 25 11:22:59 CET 2019]; root of context hierarchy
2019-11-25 11:23:03,674 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:03,674 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2019-11-25 11:23:03,915 INFO [HSQLDB Connection @50bb8ad0] hsqldb.db.HSQLDB6EA2154FD0.ENGINE: Database closed
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.01 s - in org.appng.application.manager.business.GroupsTest
[INFO] Running org.appng.application.manager.business.SitePropertiesTest
2019-11-25 11:23:04,125 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2019-11-25 11:23:04,125 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@396014a8, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@42f13f2f, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@37ee2788, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3388dccb, org.springframework.test.context.transaction.TransactionalTestExecutionListener@a745b46, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@41370560]
2019-11-25 11:23:04,132 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2019-11-25 11:23:04,174 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2019-11-25 11:23:04,179 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2019-11-25 11:23:04,206 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2019-11-25 11:23:04,213 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7a3a8a9: startup date [Mon Nov 25 11:23:04 CET 2019]; root of context hierarchy
2019-11-25 11:23:04,243 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-25 11:23:04,367 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:04,367 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2019-11-25 11:23:04,518 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2019-11-25 11:23:04,526 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2019-11-25 11:23:04,930 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019-11-25 11:23:04,931 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:05,268 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7a3a8a9: startup date [Mon Nov 25 11:23:04 CET 2019]; root of context hierarchy
2019-11-25 11:23:05,464 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2019-11-25 11:23:05,569 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost
2019-11-25 11:23:06,544 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:06,544 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:06,545 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:06,545 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:06,545 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:06,545 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:06,545 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:06,545 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:06,545 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:06,545 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:06,545 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:06,546 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:06,658 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.testproperty
2019-11-25 11:23:06,990 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.anotherproperty
2019-11-25 11:23:07,314 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.multilined
2019-11-25 11:23:08,474 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.site.localhost.testproperty
2019-11-25 11:23:08,707 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7a3a8a9: startup date [Mon Nov 25 11:23:04 CET 2019]; root of context hierarchy
2019-11-25 11:23:08,708 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:08,708 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2019-11-25 11:23:08,955 INFO [HSQLDB Connection @278bb059] hsqldb.db.HSQLDB6EA2154FD0.ENGINE: Database closed
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.034 s - in org.appng.application.manager.business.SitePropertiesTest
[INFO] Running org.appng.application.manager.business.AbstractTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.appng.application.manager.business.AbstractTest
[INFO] Running org.appng.application.manager.business.ClusterStateTest
2019-11-25 11:23:09,166 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2019-11-25 11:23:09,167 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@194de0a9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7bc06cd1, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@65f1e8cb, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1d867255, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6b3891e4, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@13e6ceb6]
2019-11-25 11:23:09,173 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2019-11-25 11:23:09,200 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2019-11-25 11:23:09,206 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2019-11-25 11:23:09,241 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2019-11-25 11:23:09,247 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@793bdbb1: startup date [Mon Nov 25 11:23:09 CET 2019]; root of context hierarchy
2019-11-25 11:23:09,273 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-25 11:23:09,396 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:09,396 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2019-11-25 11:23:09,533 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2019-11-25 11:23:09,541 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2019-11-25 11:23:09,908 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019-11-25 11:23:09,908 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:10,157 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@793bdbb1: startup date [Mon Nov 25 11:23:09 CET 2019]; root of context hierarchy
2019-11-25 11:23:10,337 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2019-11-25 11:23:10,369 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@793bdbb1: startup date [Mon Nov 25 11:23:09 CET 2019]; root of context hierarchy
2019-11-25 11:23:10,370 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:10,370 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2019-11-25 11:23:10,610 INFO [HSQLDB Connection @4225995e] hsqldb.db.HSQLDB6EA2154FD0.ENGINE: Database closed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.645 s - in org.appng.application.manager.business.ClusterStateTest
[INFO] Running org.appng.application.manager.business.PermissionsTest
2019-11-25 11:23:10,820 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2019-11-25 11:23:10,820 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@3a0a4157, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@745b009d, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@371dd992, org.springframework.test.context.support.DirtiesContextTestExecutionListener@19a7ca05, org.springframework.test.context.transaction.TransactionalTestExecutionListener@714f209f, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5d3c99c3]
2019-11-25 11:23:10,825 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2019-11-25 11:23:10,857 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2019-11-25 11:23:10,864 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2019-11-25 11:23:10,896 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2019-11-25 11:23:10,904 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@4340abf: startup date [Mon Nov 25 11:23:10 CET 2019]; root of context hierarchy
2019-11-25 11:23:10,938 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-25 11:23:11,059 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:11,060 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2019-11-25 11:23:11,199 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2019-11-25 11:23:11,209 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2019-11-25 11:23:12,506 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019-11-25 11:23:12,506 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:12,748 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@4340abf: startup date [Mon Nov 25 11:23:10 CET 2019]; root of context hierarchy
2019-11-25 11:23:12,916 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2019-11-25 11:23:13,022 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2019-11-25 11:23:13,129 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2019-11-25 11:23:13,236 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this
2019-11-25 11:23:13,342 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that
2019-11-25 11:23:13,491 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:13,492 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:13,492 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:13,492 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:13,492 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:13,602 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.something
2019-11-25 11:23:14,210 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Permission do.something
2019-11-25 11:23:14,723 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Permission do.somethingelse
2019-11-25 11:23:14,845 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@4340abf: startup date [Mon Nov 25 11:23:10 CET 2019]; root of context hierarchy
2019-11-25 11:23:14,847 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:14,847 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2019-11-25 11:23:15,090 INFO [HSQLDB Connection @7d5e540] hsqldb.db.HSQLDB6EA2154FD0.ENGINE: Database closed
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.471 s - in org.appng.application.manager.business.PermissionsTest
[INFO] Running org.appng.application.manager.business.RoleTest
2019-11-25 11:23:15,300 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2019-11-25 11:23:15,300 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1ec46ac6, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@50fb71a1, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3d210b26, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3aae9728, org.springframework.test.context.transaction.TransactionalTestExecutionListener@70158e1, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@c7c57d9]
2019-11-25 11:23:15,306 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2019-11-25 11:23:15,361 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2019-11-25 11:23:15,367 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2019-11-25 11:23:15,391 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2019-11-25 11:23:15,396 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@39b1154b: startup date [Mon Nov 25 11:23:15 CET 2019]; root of context hierarchy
2019-11-25 11:23:15,418 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-25 11:23:15,538 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:15,538 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2019-11-25 11:23:15,676 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2019-11-25 11:23:15,688 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2019-11-25 11:23:16,576 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2019-11-25 11:23:16,576 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:16,819 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@39b1154b: startup date [Mon Nov 25 11:23:15 CET 2019]; root of context hierarchy
2019-11-25 11:23:16,983 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2019-11-25 11:23:17,087 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2019-11-25 11:23:17,192 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this
2019-11-25 11:23:17,298 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that
2019-11-25 11:23:17,404 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2019-11-25 11:23:17,570 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:17,570 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:17,570 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:17,570 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:17,571 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2019-11-25 11:23:17,684 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2
2019-11-25 11:23:18,047 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(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
at org.appng.application.manager.service.ManagerService$$EnhancerBySpringCGLIB$$8687b70c.createRole(<generated>)
at org.appng.application.manager.business.Roles.perform(Roles.java:61)
at org.appng.application.manager.business.Roles.perform(Roles.java:44)
at org.appng.api.support.CallableAction.execute(CallableAction.java:420)
at org.appng.api.support.CallableAction.perform(CallableAction.java:318)
at org.appng.api.support.CallableAction.perform(CallableAction.java:292)
at org.appng.application.manager.business.RoleTest.testCreateNameExists(RoleTest.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java: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)
2019-11-25 11:23:18,315 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Role role2
2019-11-25 11:23:18,846 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Role role.updated
2019-11-25 11:23:18,972 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@39b1154b: startup date [Mon Nov 25 11:23:15 CET 2019]; root of context hierarchy
2019-11-25 11:23:18,973 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2019-11-25 11:23:18,973 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2019-11-25 11:23:19,665 INFO [HSQLDB Connection @6b0b9c3b] hsqldb.db.HSQLDB6EA2154FD0.ENGINE: Database closed
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.57 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 '11' but was '13' - comparing <resultset chunksize="11"...> at /datasource[1]/data[1]/resultset[1]/@chunksize to <resultset chunksize="13"...> at /datasource[1]/data[1]/resultset[1]/@chunksize
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<datasource xmlns="http://www.appng.org/schema/platform" id="migrations">
<config>
<title id="migrations">Migrations</title>
<params>
<param name="id">1</param>
</params>
<meta-data bindClass="org.flywaydb.core.api.MigrationInfo">
<field name="installedRank" type="int" format="#" binding="installedRank">
<label id="migration.installedRank">Rank</label>
</field>
<field name="installedOn" type="date" format="yyyy-MM-dd HH:mm:ss" binding="installedOn">
<label id="migration.installedOn">Date</label>
</field>
<field name="version.version" type="text" binding="version.version">
<label id="migration.version">Version</label>
</field>
<field name="description" type="text" binding="description">
<label id="migration.description">Name</label>
</field>
<field name="checksum" type="text" binding="checksum">
<label id="migration.checksum">Checksum</label>
</field>
<field name="installedBy" type="text" binding="installedBy">
<label id="migration.installedBy">User</label>
</field>
<field name="state" type="image" readonly="true" binding="state">
<label id="migration.state">State</label>
<icon condition="${current.state.name() eq 'SUCCESS'}">led_green</icon>
<icon condition="${current.state.name() eq 'PENDING'}">led_orange</icon>
<icon condition="${not (current.state.name() eq 'SUCCESS' or current.state.name() eq 'PENDING')}">led_red</icon>
</field>
</meta-data>
</config>
<data paginate="false">
<resultset chunk="0" chunkname="migrations" chunksize="13" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="13">
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.0</value>
</field>
<field name="description" type="text">
<value>appNG initial setup</value>
</field>
<field name="checksum" type="text">
<value>1411118267</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.1</value>
</field>
<field name="description" type="text">
<value>Quartz initial setup</value>
</field>
<field name="checksum" type="text">
<value>1129524243</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.2</value>
</field>
<field name="description" type="text">
<value>add template</value>
</field>
<field name="checksum" type="text">
<value>1088238598</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.2.1</value>
</field>
<field name="description" type="text">
<value>add repository strict</value>
</field>
<field name="checksum" type="text">
<value>-780205616</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.2.2</value>
</field>
<field name="description" type="text">
<value>add repository digest</value>
</field>
<field name="checksum" type="text">
<value>-222577107</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.2.3</value>
</field>
<field name="description" type="text">
<value>set resource bytes not null</value>
</field>
<field name="checksum" type="text">
<value>-652001277</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.3.0</value>
</field>
<field name="description" type="text">
<value>add type to template</value>
</field>
<field name="checksum" type="text">
<value>727633006</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.3.1</value>
</field>
<field name="description" type="text">
<value>add global admin role</value>
</field>
<field name="checksum" type="text">
<value>1230735742</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>1.3.2</value>
</field>
<field name="description" type="text">
<value>add repository accepted certs</value>
</field>
<field name="checksum" type="text">
<value>1710103480</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>2.0.0</value>
</field>
<field name="description" type="text">
<value>add platform event</value>
</field>
<field name="checksum" type="text">
<value>1137969222</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>4.0.0</value>
</field>
<field name="description" type="text">
<value>add job execution record</value>
</field>
<field name="checksum" type="text">
<value>1364852815</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>4.1.0</value>
</field>
<field name="description" type="text">
<value>change caching properties</value>
</field>
<field name="checksum" type="text">
<value>1292263725</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
<result>
<field name="installedRank" type="int">
<value></value>
</field>
<field name="installedOn" type="date">
<value></value>
</field>
<field name="version.version" type="text">
<value>4.1.1</value>
</field>
<field name="description" type="text">
<value>add site reload count</value>
</field>
<field name="checksum" type="text">
<value>1311349447</value>
</field>
<field name="installedBy" type="text">
<value></value>
</field>
<field name="state" type="image">
<value>PENDING</value>
<icon type="class">led_orange</icon>
</field>
</result>
</resultset>
</data>
</datasource>
, org.custommonkey.xmlunit.Diff
[different] Expected attribute value '11' but was '13' - comparing <resultset chunksize="11"...> at /datasource[1]/data[1]/resultset[1]/@chunksize to <resultset chunksize="13"...> at /datasource[1]/data[1]/resultset[1]/@chunksize
[INFO]
[ERROR] Tests run: 67, Failures: 1, Errors: 0, Skipped: 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:20 min
[INFO] Finished at: 2019-11-25T11:23:20+01:00
[INFO] Final Memory: 59M/468M
[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