2020-02-04 12:16:47,690 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:16:47,691 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:16:47,691 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:16:47,691 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:16:47,691 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:16:47,692 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:16:47,692 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:16:47,804 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:1456)
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$$b54e7033.createProperty(<generated>)
at org.appng.application.manager.business.Properties.perform(Properties.java:128)
at org.appng.application.manager.business.Properties.perform(Properties.java:50)
at org.appng.api.support.CallableAction.execute(CallableAction.java:427)
at org.appng.api.support.CallableAction.perform(CallableAction.java:325)
at org.appng.api.support.CallableAction.perform(CallableAction.java:299)
at org.appng.application.manager.business.SitesTest.testCreateSite(SitesTest.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-02-04 12:16:48,066 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:16:48,067 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:16:48,067 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:16:48,068 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:16:48,068 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:16:48,069 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:16:48,196 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.template
2020-02-04 12:16:48,197 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.DatasourceConfigurer
2020-02-04 12:16:48,198 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.wwwDir
2020-02-04 12:16:48,200 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.tagPrefix
2020-02-04 12:16:48,201 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapIdAttribute
2020-02-04 12:16:48,201 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginPage
2020-02-04 12:16:48,202 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheEnabled
2020-02-04 12:16:48,202 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUser
2020-02-04 12:16:48,203 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputType
2020-02-04 12:16:48,204 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.encoding
2020-02-04 12:16:48,204 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexDir
2020-02-04 12:16:48,204 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultApplication
2020-02-04 12:16:48,205 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailHost
2020-02-04 12:16:48,205 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginRef
2020-02-04 12:16:48,206 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputFormat
2020-02-04 12:16:48,206 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileTypes
2020-02-04 12:16:48,207 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authApplication
2020-02-04 12:16:48,207 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPage
2020-02-04 12:16:48,207 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapGroupBaseDn
2020-02-04 12:16:48,208 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapStartTls
2020-02-04 12:16:48,208 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheClearOnShutdown
2020-02-04 12:16:48,209 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.appendTabId
2020-02-04 12:16:48,209 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheTimeToLive
2020-02-04 12:16:48,210 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedMethods
2020-02-04 12:16:48,210 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapDomain
2020-02-04 12:16:48,210 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchChunkSize
2020-02-04 12:16:48,211 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.rewriteConfig
2020-02-04 12:16:48,211 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexTimeout
2020-02-04 12:16:48,212 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.xssExceptions
2020-02-04 12:16:48,212 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.service-path
2020-02-04 12:16:48,212 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportReloadFile
2020-02-04 12:16:48,213 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionValue
2020-02-04 12:16:48,213 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheTimeoutsAntStyle
2020-02-04 12:16:48,214 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionName
2020-02-04 12:16:48,214 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutPage
2020-02-04 12:16:48,215 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.siteRootDir
2020-02-04 12:16:48,215 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileSystemQueueSize
2020-02-04 12:16:48,216 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.name
2020-02-04 12:16:48,216 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.allowSkipRender
2020-02-04 12:16:48,216 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheStatistics
2020-02-04 12:16:48,217 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPage
2020-02-04 12:16:48,217 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectionEnabled
2020-02-04 12:16:48,218 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportedLanguages
2020-02-04 12:16:48,218 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.assetsDir
2020-02-04 12:16:48,218 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPages
2020-02-04 12:16:48,219 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutRef
2020-02-04 12:16:48,219 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.locale
2020-02-04 12:16:48,220 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailDisabled
2020-02-04 12:16:48,220 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.timeZone
2020-02-04 12:16:48,220 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedPaths
2020-02-04 12:16:48,221 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUserBaseDn
2020-02-04 12:16:48,221 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheExceptions
2020-02-04 12:16:48,222 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.enforcePrimaryDomain
2020-02-04 12:16:48,222 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPassword
2020-02-04 12:16:48,222 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexConfig
2020-02-04 12:16:48,223 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheTimeouts
2020-02-04 12:16:48,224 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPageSize
2020-02-04 12:16:48,224 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.documentDir
2020-02-04 12:16:48,225 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPrincipalScheme
2020-02-04 12:16:48,225 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchMaxHits
2020-02-04 12:16:48,225 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexQueueSize
2020-02-04 12:16:48,226 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailPort
2020-02-04 12:16:48,226 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.host
2020-02-04 12:16:48,227 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapHost
2020-02-04 12:16:48,227 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.manager-path
2020-02-04 12:16:48,228 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost
2020-02-04 12:16:48,884 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2
2020-02-04 12:16:48,999 INFO [main] org.appng.core.service.CoreService: starting deletion of site site2
2020-02-04 12:16:49,027 INFO [main] org.appng.core.service.CoreService: deleting 0 orphaned database connections
2020-02-04 12:16:49,028 INFO [main] org.appng.core.service.CoreService: done deleting site site2
2020-02-04 12:16:49,031 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Site site2
2020-02-04 12:16:49,245 INFO [main] org.appng.core.service.InitializerService: prepare reload of site Mock for Site, hashCode: 1901862863, shutting down first
2020-02-04 12:16:49,285 ERROR [main] org.appng.application.manager.business.Sites: error during action 'reload': Failed to reload the site.
org.appng.api.BusinessException: java.lang.ClassCastException: org.appng.api.model.Site$$EnhancerByMockitoWithCGLIB$$de231c86 cannot be cast to org.appng.core.domain.SiteImpl
at org.appng.api.support.RequestSupportImpl.handleException(RequestSupportImpl.java:202)
at org.appng.api.support.ApplicationRequest.handleException(ApplicationRequest.java:134)
at org.appng.application.manager.service.ManagerService.reloadSite(ManagerService.java:1519)
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$$b54e7033.reloadSite(<generated>)
at org.appng.application.manager.business.Sites.perform(Sites.java:77)
at org.appng.application.manager.business.Sites.perform(Sites.java:45)
at org.appng.api.support.CallableAction.execute(CallableAction.java:427)
at org.appng.api.support.CallableAction.perform(CallableAction.java:325)
at org.appng.api.support.CallableAction.perform(CallableAction.java:299)
at org.appng.application.manager.business.SitesTest.testReloadSite(SitesTest.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: java.lang.ClassCastException: org.appng.api.model.Site$$EnhancerByMockitoWithCGLIB$$de231c86 cannot be cast to org.appng.core.domain.SiteImpl
at org.appng.core.service.CoreService.shutdownSite(CoreService.java:1798)
at org.appng.core.service.CoreService$$FastClassBySpringCGLIB$$4bccbf8c.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
at org.appng.core.service.CoreService$$EnhancerBySpringCGLIB$$6ea6c23d.shutdownSite(<generated>)
at org.appng.core.service.InitializerService.shutDownSite(InitializerService.java:877)
at org.appng.core.service.InitializerService.loadSite(InitializerService.java:487)
at org.appng.core.service.InitializerService.loadSite(InitializerService.java:444)
at org.appng.core.service.InitializerService.loadSite(InitializerService.java:428)
at org.appng.core.service.InitializerService$$FastClassBySpringCGLIB$$f960133d.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
at org.appng.core.service.InitializerService$$EnhancerBySpringCGLIB$$71613f0.loadSite(<generated>)
at org.appng.application.manager.service.ManagerService.reloadSite(ManagerService.java:1509)
... 49 more
2020-02-04 12:16:49,628 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2
2020-02-04 12:16:49,918 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@599c9ab7: startup date [Tue Feb 04 12:16:46 CET 2020]; root of context hierarchy
2020-02-04 12:16:49,920 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:16:49,920 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2020-02-04 12:16:50,187 INFO [HSQLDB Connection @7b937c10] hsqldb.db.HSQLDB700FEA6346.ENGINE: Database closed
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.489 s - in org.appng.application.manager.business.SitesTest
[INFO] Running org.appng.application.manager.business.PlatformEventsTest
2020-02-04 12:16:50,400 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2020-02-04 12:16:50,400 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1d280737, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@53a060b4, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4e71f8e4, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4736510f, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1a7ae761, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4a8f915a]
2020-02-04 12:16:50,416 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:16:50,450 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2020-02-04 12:16:50,456 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2020-02-04 12:16:50,487 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2020-02-04 12:16:50,495 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7e33706e: startup date [Tue Feb 04 12:16:50 CET 2020]; root of context hierarchy
2020-02-04 12:16:50,532 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:16:50,658 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:16:50,659 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:16:50,799 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:16:50,811 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:16:51,332 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-02-04 12:16:51,332 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:16:51,674 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7e33706e: startup date [Tue Feb 04 12:16:50 CET 2020]; root of context hierarchy
2020-02-04 12:16:51,867 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:16:52,446 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7e33706e: startup date [Tue Feb 04 12:16:50 CET 2020]; root of context hierarchy
2020-02-04 12:16:52,448 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:16:52,448 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2020-02-04 12:16:52,706 INFO [HSQLDB Connection @4e58fbe] hsqldb.db.HSQLDB700FEA6346.ENGINE: Database closed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.514 s - in org.appng.application.manager.business.PlatformEventsTest
[INFO] Running org.appng.application.manager.business.DataBaseConnectionsTest
2020-02-04 12:16:52,919 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2020-02-04 12:16:52,920 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@10d8895d, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4d0dd817, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@22227684, org.springframework.test.context.support.DirtiesContextTestExecutionListener@770eb6da, org.springframework.test.context.transaction.TransactionalTestExecutionListener@23c84b07, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@a6e209]
2020-02-04 12:16:52,929 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:16:52,975 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2020-02-04 12:16:52,982 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2020-02-04 12:16:53,013 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2020-02-04 12:16:53,021 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2020-02-04 12:16:53,033 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'sessions' with a different definition: replacing [Generic bean: class [org.appng.application.manager.business.Sessions]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/var/lib/jenkins/workspace/appNG_Manager/target/classes/org/appng/application/manager/business/Sessions.class]] with [Generic bean: class [org.appng.application.manager.business.SessionsTestBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test.xml]]
2020-02-04 12:16:53,033 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@333bea43: startup date [Tue Feb 04 12:16:53 CET 2020]; root of context hierarchy
2020-02-04 12:16:53,061 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:16:53,189 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:16:53,190 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:16:53,336 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:16:53,358 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:16:53,878 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-02-04 12:16:53,879 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:16:54,180 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@333bea43: startup date [Tue Feb 04 12:16:53 CET 2020]; root of context hierarchy
2020-02-04 12:16:54,481 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2020-02-04 12:16:54,486 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 5 ms.
2020-02-04 12:16:54,539 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:16:54,705 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2020-02-04 12:16:54,727 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 5.2.4 by Boxfuse
2020-02-04 12:16:54,844 INFO [main] org.flywaydb.core.internal.database.DatabaseFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2020-02-04 12:16:54,850 WARN [main] org.flywaydb.core.internal.database.base.Database: Flyway upgrade recommended: HSQLDB 2.5 is newer than this version of Flyway and support has not been tested.
2020-02-04 12:16:55,095 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2020-02-04 12:16:55,199 INFO [main] org.flywaydb.core.internal.database.DatabaseFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2020-02-04 12:16:55,200 WARN [main] org.flywaydb.core.internal.database.base.Database: Flyway upgrade recommended: HSQLDB 2.5 is newer than this version of Flyway and support has not been tested.
2020-02-04 12:16:55,242 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@333bea43: startup date [Tue Feb 04 12:16:53 CET 2020]; root of context hierarchy
2020-02-04 12:16:55,345 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:16:55,346 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2020-02-04 12:16:55,828 INFO [HSQLDB Connection @2ea54c32] hsqldb.db.HSQLDB700FEA6346.ENGINE: Database closed
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.114 s <<< FAILURE! - in org.appng.application.manager.business.DataBaseConnectionsTest
[ERROR] testMigrations(org.appng.application.manager.business.DataBaseConnectionsTest) Time elapsed: 0.458 s <<< FAILURE!
junit.framework.AssertionFailedError:
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected attribute value '14' but was '15' - comparing <resultset chunksize="14"...> at /datasource[1]/data[1]/resultset[1]/@chunksize to <resultset chunksize="15"...> 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="15" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="15">
<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>
<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.2</value>
</field>
<field name="description" type="text">
<value>add property type</value>
</field>
<field name="checksum" type="text">
<value>-1851785451</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.2</value>
</field>
<field name="description" type="text">
<value>add subject columns</value>
</field>
<field name="checksum" type="text">
<value>-1022623583</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 '14' but was '15' - comparing <resultset chunksize="14"...> at /datasource[1]/data[1]/resultset[1]/@chunksize to <resultset chunksize="15"...> 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.036 s - in org.appng.application.manager.business.webservice.LogViewerTest
[INFO] Running org.appng.application.manager.business.SubjectsTest
2020-02-04 12:16:56,091 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2020-02-04 12:16:56,092 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5ffe11a4, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4a10d608, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4a519a9b, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3058804a, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1f04c4d4, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@53e8f1aa]
2020-02-04 12:16:56,104 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:16:56,137 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2020-02-04 12:16:56,144 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2020-02-04 12:16:56,176 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2020-02-04 12:16:56,185 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@6105a421: startup date [Tue Feb 04 12:16:56 CET 2020]; root of context hierarchy
2020-02-04 12:16:56,213 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:16:56,337 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:16:56,337 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:16:56,479 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:16:56,489 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:16:57,023 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-02-04 12:16:57,023 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:16:57,339 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@6105a421: startup date [Tue Feb 04 12:16:56 CET 2020]; root of context hierarchy
2020-02-04 12:16:57,539 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:16:57,646 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admins
2020-02-04 12:17:01,315 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2020-02-04 12:17:01,529 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:01,529 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:01,530 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:01,530 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:01,531 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:01,532 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:01,532 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:01,532 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:01,532 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:01,533 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:01,533 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:02,470 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject admin
2020-02-04 12:17:02,484 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin
2020-02-04 12:17:03,668 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject user
2020-02-04 12:17:03,679 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject user
2020-02-04 12:17:04,053 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:1231)
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$$b54e7033.createSubject(<generated>)
at org.appng.application.manager.business.Subjects.perform(Subjects.java:64)
at org.appng.application.manager.business.Subjects.perform(Subjects.java:48)
at org.appng.api.support.CallableAction.execute(CallableAction.java:427)
at org.appng.api.support.CallableAction.perform(CallableAction.java:325)
at org.appng.api.support.CallableAction.perform(CallableAction.java:299)
at org.appng.application.manager.business.SubjectsTest.testCreateNameExists(SubjectsTest.java: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:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-02-04 12:17:04,649 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Subject user
2020-02-04 12:17:06,227 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin
2020-02-04 12:17:06,389 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@6105a421: startup date [Tue Feb 04 12:16:56 CET 2020]; root of context hierarchy
2020-02-04 12:17:06,390 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:06,391 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2020-02-04 12:17:06,654 INFO [HSQLDB Connection @2db869d5] hsqldb.db.HSQLDB700FEA6346.ENGINE: Database closed
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.77 s - in org.appng.application.manager.business.SubjectsTest
[INFO] Running org.appng.application.manager.business.SessionsTest
2020-02-04 12:17:06,867 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2020-02-04 12:17:06,867 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@f0e3a57, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3e6f9de0, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@373fee20, org.springframework.test.context.support.DirtiesContextTestExecutionListener@38c86906, org.springframework.test.context.transaction.TransactionalTestExecutionListener@466a30ca, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@428257a]
2020-02-04 12:17:06,877 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:17:06,900 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2020-02-04 12:17:06,905 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2020-02-04 12:17:06,931 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2020-02-04 12:17:06,937 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2020-02-04 12:17:06,943 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'sessions' with a different definition: replacing [Generic bean: class [org.appng.application.manager.business.Sessions]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/var/lib/jenkins/workspace/appNG_Manager/target/classes/org/appng/application/manager/business/Sessions.class]] with [Generic bean: class [org.appng.application.manager.business.SessionsTestBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test.xml]]
2020-02-04 12:17:06,944 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@375545fb: startup date [Tue Feb 04 12:17:06 CET 2020]; root of context hierarchy
2020-02-04 12:17:06,968 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:17:07,093 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:07,093 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:17:07,231 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:17:07,242 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:17:07,703 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-02-04 12:17:07,703 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:07,956 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@375545fb: startup date [Tue Feb 04 12:17:06 CET 2020]; root of context hierarchy
2020-02-04 12:17:08,265 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2020-02-04 12:17:08,268 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 3 ms.
2020-02-04 12:17:08,323 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:17:08,476 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@375545fb: startup date [Tue Feb 04 12:17:06 CET 2020]; root of context hierarchy
2020-02-04 12:17:08,580 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:08,581 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2020-02-04 12:17:09,461 INFO [HSQLDB Connection @5e40b0a9] hsqldb.db.HSQLDB700FEA6346.ENGINE: Database closed
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.8 s - in org.appng.application.manager.business.SessionsTest
[INFO] Running org.appng.application.manager.business.SqlExecutorTest
2020-02-04 12:17:09,674 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2020-02-04 12:17:09,674 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@112ab01, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@32e8b4b6, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@460349da, org.springframework.test.context.support.DirtiesContextTestExecutionListener@498370a4, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5ddd8036, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2a67d23f]
2020-02-04 12:17:09,683 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:17:09,707 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2020-02-04 12:17:09,712 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2020-02-04 12:17:09,741 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2020-02-04 12:17:09,748 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2020-02-04 12:17:09,755 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'sessions' with a different definition: replacing [Generic bean: class [org.appng.application.manager.business.Sessions]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [/var/lib/jenkins/workspace/appNG_Manager/target/classes/org/appng/application/manager/business/Sessions.class]] with [Generic bean: class [org.appng.application.manager.business.SessionsTestBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test.xml]]
2020-02-04 12:17:09,755 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@24224b1a: startup date [Tue Feb 04 12:17:09 CET 2020]; root of context hierarchy
2020-02-04 12:17:09,781 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:17:09,905 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:09,906 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:17:10,046 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:17:10,057 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:17:10,501 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-02-04 12:17:10,501 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:10,797 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@24224b1a: startup date [Tue Feb 04 12:17:09 CET 2020]; root of context hierarchy
2020-02-04 12:17:11,048 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2020-02-04 12:17:11,051 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 3 ms.
2020-02-04 12:17:11,107 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:17:11,268 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2020-02-04 12:17:11,371 INFO [main] org.flywaydb.core.internal.database.DatabaseFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2020-02-04 12:17:11,372 WARN [main] org.flywaydb.core.internal.database.base.Database: Flyway upgrade recommended: HSQLDB 2.5 is newer than this version of Flyway and support has not been tested.
2020-02-04 12:17:11,504 INFO [main] org.flywaydb.core.internal.database.DatabaseFactory: Database: jdbc:hsqldb:hsql://localhost:9001/hsql-testdb (HSQL Database Engine 2.5)
2020-02-04 12:17:11,508 WARN [main] org.flywaydb.core.internal.database.base.Database: Flyway upgrade recommended: HSQLDB 2.5 is newer than this version of Flyway and support has not been tested.
2020-02-04 12:17:11,614 INFO [main] org.springframework.jdbc.datasource.SingleConnectionDataSource: Established shared JDBC Connection: org.hsqldb.jdbc.JDBCConnection@28e94f86
2020-02-04 12:17:11,659 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@24224b1a: startup date [Tue Feb 04 12:17:09 CET 2020]; root of context hierarchy
2020-02-04 12:17:11,762 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:11,763 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2020-02-04 12:17:12,088 INFO [HSQLDB Connection @14f3f9dd] hsqldb.db.HSQLDB700FEA6346.ENGINE: Database closed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.622 s - in org.appng.application.manager.business.SqlExecutorTest
[INFO] Running org.appng.application.manager.business.PlatformPropertiesTest
2020-02-04 12:17:12,301 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2020-02-04 12:17:12,301 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@16e97c11, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@73276ebc, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5baf6f48, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4c64b2f4, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1130469d, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@592a9889]
2020-02-04 12:17:12,311 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:17:12,336 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2020-02-04 12:17:12,341 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2020-02-04 12:17:12,367 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2020-02-04 12:17:12,374 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@10458716: startup date [Tue Feb 04 12:17:12 CET 2020]; root of context hierarchy
2020-02-04 12:17:12,399 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:17:12,525 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:12,526 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:17:12,681 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:17:12,689 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:17:13,103 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-02-04 12:17:13,104 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:13,388 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@10458716: startup date [Tue Feb 04 12:17:12 CET 2020]; root of context hierarchy
2020-02-04 12:17:13,958 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:17:14,102 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:14,102 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:14,102 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:14,103 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:14,103 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:14,103 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:14,103 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:14,103 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:14,103 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:14,103 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:14,103 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:14,103 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:14,217 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.testproperty
2020-02-04 12:17:14,550 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.anotherproperty
2020-02-04 12:17:15,420 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.testproperty
2020-02-04 12:17:18,525 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@10458716: startup date [Tue Feb 04 12:17:12 CET 2020]; root of context hierarchy
2020-02-04 12:17:18,526 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:18,527 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2020-02-04 12:17:18,767 INFO [HSQLDB Connection @10ec9766] hsqldb.db.HSQLDB700FEA6346.ENGINE: Database closed
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.675 s - in org.appng.application.manager.business.PlatformPropertiesTest
[INFO] Running org.appng.application.manager.business.GroupsTest
2020-02-04 12:17:18,976 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2020-02-04 12:17:18,976 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1df486f6, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3cd38948, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@339e770f, org.springframework.test.context.support.DirtiesContextTestExecutionListener@38ec2db2, org.springframework.test.context.transaction.TransactionalTestExecutionListener@116cf6f, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@212f8fcc]
2020-02-04 12:17:18,989 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:17:19,020 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2020-02-04 12:17:19,026 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2020-02-04 12:17:19,053 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2020-02-04 12:17:19,060 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@389182df: startup date [Tue Feb 04 12:17:19 CET 2020]; root of context hierarchy
2020-02-04 12:17:19,087 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:17:19,209 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:19,210 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:17:19,357 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:17:19,366 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:17:19,804 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-02-04 12:17:19,805 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:20,058 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@389182df: startup date [Tue Feb 04 12:17:19 CET 2020]; root of context hierarchy
2020-02-04 12:17:20,258 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:17:20,364 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2020-02-04 12:17:20,471 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2020-02-04 12:17:20,577 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2
2020-02-04 12:17:20,683 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost
2020-02-04 12:17:20,959 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:20,959 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:20,960 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:20,960 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:20,960 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:21,070 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admin
2020-02-04 12:17:21,678 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2020-02-04 12:17:21,793 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Group users
2020-02-04 12:17:22,061 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2020-02-04 12:17:22,167 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group Administrators
2020-02-04 12:17:22,681 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Group Administrators
2020-02-04 12:17:23,202 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@389182df: startup date [Tue Feb 04 12:17:19 CET 2020]; root of context hierarchy
2020-02-04 12:17:23,203 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:23,203 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2020-02-04 12:17:24,070 INFO [HSQLDB Connection @5e58f1bd] hsqldb.db.HSQLDB700FEA6346.ENGINE: Database closed
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.305 s - in org.appng.application.manager.business.GroupsTest
[INFO] Running org.appng.application.manager.business.SitePropertiesTest
2020-02-04 12:17:24,279 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2020-02-04 12:17:24,279 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@647050c9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@2e61fd9d, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@63443c3, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6cb38928, org.springframework.test.context.transaction.TransactionalTestExecutionListener@a237a6f, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2b8ff3a3]
2020-02-04 12:17:24,288 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:17:24,320 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2020-02-04 12:17:24,327 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2020-02-04 12:17:24,364 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2020-02-04 12:17:24,371 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7f0bb55b: startup date [Tue Feb 04 12:17:24 CET 2020]; root of context hierarchy
2020-02-04 12:17:24,396 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:17:24,520 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:24,520 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:17:24,658 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:17:24,667 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:17:25,076 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-02-04 12:17:25,077 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:25,320 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7f0bb55b: startup date [Tue Feb 04 12:17:24 CET 2020]; root of context hierarchy
2020-02-04 12:17:25,546 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:17:25,651 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost
2020-02-04 12:17:25,799 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:25,799 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:25,799 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:25,800 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:25,800 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:25,800 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:25,800 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:25,800 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:25,800 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:25,800 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:25,800 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:25,801 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:25,912 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.testproperty
2020-02-04 12:17:26,240 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.anotherproperty
2020-02-04 12:17:26,555 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.multiline
2020-02-04 12:17:29,454 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.site.localhost.testproperty
2020-02-04 12:17:29,686 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7f0bb55b: startup date [Tue Feb 04 12:17:24 CET 2020]; root of context hierarchy
2020-02-04 12:17:29,687 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:29,687 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2020-02-04 12:17:30,007 INFO [HSQLDB Connection @24e03a8f] hsqldb.db.HSQLDB700FEA6346.ENGINE: Database closed
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.927 s - in org.appng.application.manager.business.SitePropertiesTest
[INFO] Running org.appng.application.manager.business.AbstractTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 s - in org.appng.application.manager.business.AbstractTest
[INFO] Running org.appng.application.manager.business.ClusterStateTest
2020-02-04 12:17:30,217 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2020-02-04 12:17:30,217 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@330d440e, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@76366b51, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3d1c887d, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2054cba8, org.springframework.test.context.transaction.TransactionalTestExecutionListener@79a0d698, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@3c89461e]
2020-02-04 12:17:30,226 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:17:30,253 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2020-02-04 12:17:30,258 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2020-02-04 12:17:30,288 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2020-02-04 12:17:30,295 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@6300f000: startup date [Tue Feb 04 12:17:30 CET 2020]; root of context hierarchy
2020-02-04 12:17:30,326 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:17:30,450 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:30,450 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:17:30,590 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:17:30,617 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:17:31,030 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-02-04 12:17:31,030 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:31,302 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@6300f000: startup date [Tue Feb 04 12:17:30 CET 2020]; root of context hierarchy
2020-02-04 12:17:31,499 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:17:31,530 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@6300f000: startup date [Tue Feb 04 12:17:30 CET 2020]; root of context hierarchy
2020-02-04 12:17:31,531 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:31,531 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2020-02-04 12:17:31,784 INFO [HSQLDB Connection @1e048d45] hsqldb.db.HSQLDB700FEA6346.ENGINE: Database closed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.767 s - in org.appng.application.manager.business.ClusterStateTest
[INFO] Running org.appng.application.manager.business.PermissionsTest
2020-02-04 12:17:31,993 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2020-02-04 12:17:31,993 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@304bf388, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@5a3e6242, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@362e33f8, org.springframework.test.context.support.DirtiesContextTestExecutionListener@58001540, org.springframework.test.context.transaction.TransactionalTestExecutionListener@37b86a7b, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1ebd22bc]
2020-02-04 12:17:32,008 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:17:32,030 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2020-02-04 12:17:32,036 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2020-02-04 12:17:32,065 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2020-02-04 12:17:32,073 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@1b9c70c: startup date [Tue Feb 04 12:17:32 CET 2020]; root of context hierarchy
2020-02-04 12:17:32,097 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:17:32,221 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:32,221 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:17:32,358 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:17:32,366 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:17:32,776 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-02-04 12:17:32,777 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:33,049 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@1b9c70c: startup date [Tue Feb 04 12:17:32 CET 2020]; root of context hierarchy
2020-02-04 12:17:33,260 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:17:33,366 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2020-02-04 12:17:33,472 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2020-02-04 12:17:33,577 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this
2020-02-04 12:17:33,683 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that
2020-02-04 12:17:33,829 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:33,829 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:33,829 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:33,830 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:33,830 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:33,941 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.something
2020-02-04 12:17:34,531 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Permission do.something
2020-02-04 12:17:35,055 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Permission do.somethingelse
2020-02-04 12:17:35,179 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@1b9c70c: startup date [Tue Feb 04 12:17:32 CET 2020]; root of context hierarchy
2020-02-04 12:17:35,181 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:35,181 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2020-02-04 12:17:35,420 INFO [HSQLDB Connection @4563fa3b] hsqldb.db.HSQLDB700FEA6346.ENGINE: Database closed
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.626 s - in org.appng.application.manager.business.PermissionsTest
[INFO] Running org.appng.application.manager.business.RoleTest
2020-02-04 12:17:35,630 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2020-02-04 12:17:35,631 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@3a94818f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@5401db97, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@52a4e63e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@13b5c8f9, org.springframework.test.context.transaction.TransactionalTestExecutionListener@db3bbf9, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@573404bb]
2020-02-04 12:17:35,640 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:17:35,709 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2020-02-04 12:17:35,714 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2020-02-04 12:17:35,742 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2020-02-04 12:17:35,748 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@1f9b6bc6: startup date [Tue Feb 04 12:17:35 CET 2020]; root of context hierarchy
2020-02-04 12:17:35,772 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:17:35,895 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:35,895 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:17:36,038 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:17:36,046 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:17:38,329 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-02-04 12:17:38,330 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:38,613 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@1f9b6bc6: startup date [Tue Feb 04 12:17:35 CET 2020]; root of context hierarchy
2020-02-04 12:17:38,803 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:17:38,909 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2020-02-04 12:17:39,017 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this
2020-02-04 12:17:39,123 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that
2020-02-04 12:17:39,229 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2020-02-04 12:17:39,410 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:39,410 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:39,410 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:39,410 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:39,410 WARN [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [manager-messages] not found for MessageSource: Can't find bundle for base name manager-messages, locale en
2020-02-04 12:17:39,525 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2
2020-02-04 12:17:39,889 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:811)
at org.appng.application.manager.service.ManagerService.createRole(ManagerService.java:785)
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$$b54e7033.createRole(<generated>)
at org.appng.application.manager.business.Roles.perform(Roles.java:57)
at org.appng.application.manager.business.Roles.perform(Roles.java:42)
at org.appng.api.support.CallableAction.execute(CallableAction.java:427)
at org.appng.api.support.CallableAction.perform(CallableAction.java:325)
at org.appng.api.support.CallableAction.perform(CallableAction.java:299)
at org.appng.application.manager.business.RoleTest.testCreateNameExists(RoleTest.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2020-02-04 12:17:40,239 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Role role2
2020-02-04 12:17:40,931 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Role role.updated
2020-02-04 12:17:41,065 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@1f9b6bc6: startup date [Tue Feb 04 12:17:35 CET 2020]; root of context hierarchy
2020-02-04 12:17:41,066 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:17:41,066 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2020-02-04 12:17:41,312 INFO [HSQLDB Connection @683a87fc] hsqldb.db.HSQLDB700FEA6346.ENGINE: Database closed
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.879 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 '14' but was '15' - comparing <resultset chunksize="14"...> at /datasource[1]/data[1]/resultset[1]/@chunksize to <resultset chunksize="15"...> 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="15" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="15">
<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>
<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.2</value>
</field>
<field name="description" type="text">
<value>add property type</value>
</field>
<field name="checksum" type="text">
<value>-1851785451</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.2</value>
</field>
<field name="description" type="text">
<value>add subject columns</value>
</field>
<field name="checksum" type="text">
<value>-1022623583</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 '14' but was '15' - comparing <resultset chunksize="14"...> at /datasource[1]/data[1]/resultset[1]/@chunksize to <resultset chunksize="15"...> 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:27 min
[INFO] Finished at: 2020-02-04T12:17:41+01:00
[INFO] Final Memory: 56M/598M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project appng-manager: There are test failures.
[ERROR]
[ERROR] Please refer to /var/lib/jenkins/workspace/appNG_Manager/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE