2020-02-04 12:28:50,773 WARN [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:28:50,773 WARN [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:28:50,773 WARN [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:28:50,773 WARN [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:28:50,773 WARN [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:28:50,773 WARN [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:28:50,774 WARN [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:28:50,885 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:28:51,144 WARN [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:28:51,145 WARN [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:28:51,145 WARN [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:28:51,145 WARN [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:28:51,146 WARN [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:28:51,146 WARN [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:28:51,272 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.template
2020-02-04 12:28:51,273 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.DatasourceConfigurer
2020-02-04 12:28:51,274 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.wwwDir
2020-02-04 12:28:51,276 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.tagPrefix
2020-02-04 12:28:51,277 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapIdAttribute
2020-02-04 12:28:51,278 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginPage
2020-02-04 12:28:51,278 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheEnabled
2020-02-04 12:28:51,279 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUser
2020-02-04 12:28:51,280 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputType
2020-02-04 12:28:51,281 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.encoding
2020-02-04 12:28:51,281 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexDir
2020-02-04 12:28:51,282 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultApplication
2020-02-04 12:28:51,283 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailHost
2020-02-04 12:28:51,283 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLoginRef
2020-02-04 12:28:51,284 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.serviceOutputFormat
2020-02-04 12:28:51,284 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileTypes
2020-02-04 12:28:51,285 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authApplication
2020-02-04 12:28:51,285 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPage
2020-02-04 12:28:51,286 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapGroupBaseDn
2020-02-04 12:28:51,286 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapStartTls
2020-02-04 12:28:51,286 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheClearOnShutdown
2020-02-04 12:28:51,287 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.appendTabId
2020-02-04 12:28:51,287 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheTimeToLive
2020-02-04 12:28:51,288 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedMethods
2020-02-04 12:28:51,288 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapDomain
2020-02-04 12:28:51,289 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchChunkSize
2020-02-04 12:28:51,289 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.rewriteConfig
2020-02-04 12:28:51,290 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexTimeout
2020-02-04 12:28:51,290 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.xssExceptions
2020-02-04 12:28:51,291 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.service-path
2020-02-04 12:28:51,291 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportReloadFile
2020-02-04 12:28:51,292 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionValue
2020-02-04 12:28:51,292 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheTimeoutsAntStyle
2020-02-04 12:28:51,293 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutActionName
2020-02-04 12:28:51,293 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutPage
2020-02-04 12:28:51,294 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.siteRootDir
2020-02-04 12:28:51,294 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexFileSystemQueueSize
2020-02-04 12:28:51,295 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.name
2020-02-04 12:28:51,295 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.allowSkipRender
2020-02-04 12:28:51,296 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheStatistics
2020-02-04 12:28:51,296 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPage
2020-02-04 12:28:51,297 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectionEnabled
2020-02-04 12:28:51,297 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.supportedLanguages
2020-02-04 12:28:51,298 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.assetsDir
2020-02-04 12:28:51,298 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.errorPages
2020-02-04 12:28:51,299 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.authLogoutRef
2020-02-04 12:28:51,299 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.locale
2020-02-04 12:28:51,300 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailDisabled
2020-02-04 12:28:51,300 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.timeZone
2020-02-04 12:28:51,301 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.csrfProtectedPaths
2020-02-04 12:28:51,301 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapUserBaseDn
2020-02-04 12:28:51,302 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheExceptions
2020-02-04 12:28:51,302 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.enforcePrimaryDomain
2020-02-04 12:28:51,302 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPassword
2020-02-04 12:28:51,303 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexConfig
2020-02-04 12:28:51,304 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.cacheTimeouts
2020-02-04 12:28:51,304 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.defaultPageSize
2020-02-04 12:28:51,304 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.documentDir
2020-02-04 12:28:51,305 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapPrincipalScheme
2020-02-04 12:28:51,305 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.searchMaxHits
2020-02-04 12:28:51,306 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.indexQueueSize
2020-02-04 12:28:51,306 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.mailPort
2020-02-04 12:28:51,307 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.host
2020-02-04 12:28:51,307 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.ldapHost
2020-02-04 12:28:51,308 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.manager-path
2020-02-04 12:28:51,309 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost
2020-02-04 12:28:52,473 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2
2020-02-04 12:28:52,586 INFO [main] org.appng.core.service.CoreService: starting deletion of site site2
2020-02-04 12:28:52,611 INFO [main] org.appng.core.service.CoreService: deleting 0 orphaned database connections
2020-02-04 12:28:52,613 INFO [main] org.appng.core.service.CoreService: done deleting site site2
2020-02-04 12:28:52,615 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Site site2
2020-02-04 12:28:52,836 INFO [main] org.appng.core.service.InitializerService: prepare reload of site Mock for Site, hashCode: 1901862863, shutting down first
2020-02-04 12:28:52,860 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:28:53,168 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site site2
2020-02-04 12:28:53,465 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@599c9ab7: startup date [Tue Feb 04 12:28:48 CET 2020]; root of context hierarchy
2020-02-04 12:28:53,467 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:28:53,467 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:28:53,818 INFO [HSQLDB Connection @2043f1fa] hsqldb.db.HSQLDB700FF56065.ENGINE: Database closed
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.308 s - in org.appng.application.manager.business.SitesTest
[INFO] Running org.appng.application.manager.business.PlatformEventsTest
2020-02-04 12:28:54,028 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:28:54,028 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:28:54,039 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:28:54,067 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:28:54,074 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:28:54,108 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:28:54,115 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@7e33706e: startup date [Tue Feb 04 12:28:54 CET 2020]; root of context hierarchy
2020-02-04 12:28:54,143 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:28:54,269 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:28:54,270 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:28:54,412 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:28:54,423 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:28:56,514 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:28:56,514 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:28:56,872 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@7e33706e: startup date [Tue Feb 04 12:28:54 CET 2020]; root of context hierarchy
2020-02-04 12:28:57,135 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:28:57,703 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@7e33706e: startup date [Tue Feb 04 12:28:54 CET 2020]; root of context hierarchy
2020-02-04 12:28:57,705 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:28:57,705 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:28:57,965 INFO [HSQLDB Connection @57badf55] hsqldb.db.HSQLDB700FF56065.ENGINE: Database closed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.136 s - in org.appng.application.manager.business.PlatformEventsTest
[INFO] Running org.appng.application.manager.business.DataBaseConnectionsTest
2020-02-04 12:28:58,182 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:28:58,183 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:28:58,194 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:28:58,221 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:28:58,227 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:28:58,254 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:28:58,261 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2020-02-04 12:28:58,272 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:28:58,272 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@333bea43: startup date [Tue Feb 04 12:28:58 CET 2020]; root of context hierarchy
2020-02-04 12:28:58,296 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:28:58,423 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:28:58,424 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:28:58,561 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:28:58,571 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:28:59,055 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:28:59,055 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:28:59,329 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@333bea43: startup date [Tue Feb 04 12:28:58 CET 2020]; root of context hierarchy
2020-02-04 12:28:59,621 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2020-02-04 12:28:59,625 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 4 ms.
2020-02-04 12:28:59,682 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:28:59,851 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2020-02-04 12:28:59,875 INFO [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 5.2.4 by Boxfuse
2020-02-04 12:28:59,992 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:28:59,998 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:29:00,282 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2020-02-04 12:29:00,384 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:29:00,386 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:29:00,428 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@333bea43: startup date [Tue Feb 04 12:28:58 CET 2020]; root of context hierarchy
2020-02-04 12:29:00,533 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:00,533 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:29:00,816 INFO [HSQLDB Connection @27588dec] hsqldb.db.HSQLDB700FF56065.ENGINE: Database closed
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.846 s <<< FAILURE! - in org.appng.application.manager.business.DataBaseConnectionsTest
[ERROR] testMigrations(org.appng.application.manager.business.DataBaseConnectionsTest) Time elapsed: 0.493 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.017 s - in org.appng.application.manager.business.webservice.LogViewerTest
[INFO] Running org.appng.application.manager.business.SubjectsTest
2020-02-04 12:29:01,062 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:29:01,063 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4a519a9b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3058804a, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1f04c4d4, org.springframework.test.context.support.DirtiesContextTestExecutionListener@53e8f1aa, org.springframework.test.context.transaction.TransactionalTestExecutionListener@15ab3c0e, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@6105a421]
2020-02-04 12:29:01,074 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:29:01,107 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:29:01,115 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:29:01,145 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:29:01,152 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@4c6f21b9: startup date [Tue Feb 04 12:29:01 CET 2020]; root of context hierarchy
2020-02-04 12:29:01,180 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:29:01,304 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:01,304 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:29:01,446 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:29:01,463 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:29:01,936 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:29:01,936 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:02,283 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@4c6f21b9: startup date [Tue Feb 04 12:29:01 CET 2020]; root of context hierarchy
2020-02-04 12:29:02,536 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:29:02,643 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admins
2020-02-04 12:29:02,751 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2020-02-04 12:29:02,951 WARN [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:29:02,952 WARN [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:29:02,952 WARN [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:29:02,952 WARN [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:29:02,952 WARN [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:29:02,952 WARN [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:29:02,953 WARN [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:29:02,953 WARN [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:29:02,953 WARN [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:29:02,953 WARN [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:29:02,953 WARN [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:29:03,843 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject admin
2020-02-04 12:29:03,863 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin
2020-02-04 12:29:05,035 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Subject user
2020-02-04 12:29:05,046 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject user
2020-02-04 12:29:05,676 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:29:06,258 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Subject user
2020-02-04 12:29:07,781 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Subject admin
2020-02-04 12:29:07,948 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@4c6f21b9: startup date [Tue Feb 04 12:29:01 CET 2020]; root of context hierarchy
2020-02-04 12:29:07,949 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:07,950 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:29:08,225 INFO [HSQLDB Connection @2ade9c54] hsqldb.db.HSQLDB700FF56065.ENGINE: Database closed
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.369 s - in org.appng.application.manager.business.SubjectsTest
[INFO] Running org.appng.application.manager.business.SessionsTest
2020-02-04 12:29:08,436 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:29:08,437 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:29:08,449 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:29:08,478 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:29:08,483 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:29:08,513 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:29:08,523 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2020-02-04 12:29:08,529 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:29:08,529 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@375545fb: startup date [Tue Feb 04 12:29:08 CET 2020]; root of context hierarchy
2020-02-04 12:29:08,556 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:29:08,679 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:08,679 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:29:08,818 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:29:08,831 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:29:09,292 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:29:09,292 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:09,614 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@375545fb: startup date [Tue Feb 04 12:29:08 CET 2020]; root of context hierarchy
2020-02-04 12:29:09,874 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2020-02-04 12:29:09,876 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 2 ms.
2020-02-04 12:29:09,935 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:29:10,077 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@375545fb: startup date [Tue Feb 04 12:29:08 CET 2020]; root of context hierarchy
2020-02-04 12:29:10,182 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:10,182 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:29:11,847 INFO [HSQLDB Connection @78f3e174] hsqldb.db.HSQLDB700FF56065.ENGINE: Database closed
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.616 s - in org.appng.application.manager.business.SessionsTest
[INFO] Running org.appng.application.manager.business.SqlExecutorTest
2020-02-04 12:29:12,057 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:29:12,058 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@460349da, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@498370a4, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5ddd8036, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2a67d23f, org.springframework.test.context.transaction.TransactionalTestExecutionListener@76f60330, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@24224b1a]
2020-02-04 12:29:12,069 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:29:12,098 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:29:12,103 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:29:12,134 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:29:12,141 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2020-02-04 12:29:12,147 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:29:12,147 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@12d7d34: startup date [Tue Feb 04 12:29:12 CET 2020]; root of context hierarchy
2020-02-04 12:29:12,175 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:29:12,298 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:12,298 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:29:12,504 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:29:12,513 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:29:13,019 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:29:13,019 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:13,325 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@12d7d34: startup date [Tue Feb 04 12:29:12 CET 2020]; root of context hierarchy
2020-02-04 12:29:13,591 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/testdata.sql]
2020-02-04 12:29:13,594 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/testdata.sql] in 2 ms.
2020-02-04 12:29:13,650 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:29:13,806 INFO [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:hsql://localhost:9001/hsql-testdb ()
2020-02-04 12:29:13,909 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:29:13,909 WARN [main] org.flywaydb.core.internal.database.base.Database: Flyway upgrade recommended: HSQLDB 2.5 is newer than this version of Flyway and support has not been tested.
2020-02-04 12:29:14,032 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:29:14,033 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:29:14,138 INFO [main] org.springframework.jdbc.datasource.SingleConnectionDataSource: Established shared JDBC Connection: org.hsqldb.jdbc.JDBCConnection@4b61f9e2
2020-02-04 12:29:14,175 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@12d7d34: startup date [Tue Feb 04 12:29:12 CET 2020]; root of context hierarchy
2020-02-04 12:29:14,278 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:14,278 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:29:14,524 INFO [HSQLDB Connection @1829a43d] hsqldb.db.HSQLDB700FF56065.ENGINE: Database closed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.679 s - in org.appng.application.manager.business.SqlExecutorTest
[INFO] Running org.appng.application.manager.business.PlatformPropertiesTest
2020-02-04 12:29:14,739 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:29:14,739 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1130469d, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@592a9889, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@79df69cb, org.springframework.test.context.support.DirtiesContextTestExecutionListener@10458716, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3d22f2d, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@e31010e]
2020-02-04 12:29:14,992 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:29:15,015 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:29:15,020 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:29:15,045 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:29:15,051 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@3063fb97: startup date [Tue Feb 04 12:29:15 CET 2020]; root of context hierarchy
2020-02-04 12:29:15,074 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:29:15,195 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:15,195 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:29:15,344 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:29:15,355 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:29:15,816 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:29:15,816 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:16,121 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@3063fb97: startup date [Tue Feb 04 12:29:15 CET 2020]; root of context hierarchy
2020-02-04 12:29:16,657 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:29:16,806 WARN [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:29:16,807 WARN [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:29:16,807 WARN [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:29:16,807 WARN [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:29:16,807 WARN [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:29:16,807 WARN [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:29:16,807 WARN [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:29:16,808 WARN [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:29:16,808 WARN [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:29:16,808 WARN [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:29:16,808 WARN [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:29:16,808 WARN [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:29:16,924 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.testproperty
2020-02-04 12:29:17,256 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.anotherproperty
2020-02-04 12:29:19,215 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.testproperty
2020-02-04 12:29:19,977 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@3063fb97: startup date [Tue Feb 04 12:29:15 CET 2020]; root of context hierarchy
2020-02-04 12:29:19,978 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:19,978 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:29:20,322 INFO [HSQLDB Connection @75355d78] hsqldb.db.HSQLDB700FF56065.ENGINE: Database closed
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.788 s - in org.appng.application.manager.business.PlatformPropertiesTest
[INFO] Running org.appng.application.manager.business.GroupsTest
2020-02-04 12:29:20,532 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2020-02-04 12:29:20,533 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:29:20,544 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:29:20,573 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:29:20,579 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:29:20,606 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:29:20,612 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@389182df: startup date [Tue Feb 04 12:29:20 CET 2020]; root of context hierarchy
2020-02-04 12:29:20,638 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:29:20,761 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:20,762 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:29:20,900 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:29:20,908 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:29:21,317 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:29:21,318 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:21,589 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@389182df: startup date [Tue Feb 04 12:29:20 CET 2020]; root of context hierarchy
2020-02-04 12:29:21,815 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:29:21,921 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2020-02-04 12:29:22,030 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2020-02-04 12:29:22,143 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2
2020-02-04 12:29:22,250 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost
2020-02-04 12:29:22,536 WARN [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:29:22,536 WARN [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:29:22,537 WARN [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:29:22,537 WARN [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:29:22,537 WARN [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:29:22,647 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group admin
2020-02-04 12:29:23,253 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2020-02-04 12:29:23,395 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Group users
2020-02-04 12:29:23,692 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group users
2020-02-04 12:29:23,974 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Group Administrators
2020-02-04 12:29:24,506 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Group Administrators
2020-02-04 12:29:25,030 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@389182df: startup date [Tue Feb 04 12:29:20 CET 2020]; root of context hierarchy
2020-02-04 12:29:25,031 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:25,032 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:29:25,277 INFO [HSQLDB Connection @2590c25d] hsqldb.db.HSQLDB700FF56065.ENGINE: Database closed
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.957 s - in org.appng.application.manager.business.GroupsTest
[INFO] Running org.appng.application.manager.business.SitePropertiesTest
2020-02-04 12:29:25,487 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2020-02-04 12:29:25,487 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@63443c3, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6cb38928, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@a237a6f, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2b8ff3a3, org.springframework.test.context.transaction.TransactionalTestExecutionListener@f81974a, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7f0bb55b]
2020-02-04 12:29:25,498 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:29:25,525 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:29:25,531 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:29:25,558 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:29:25,564 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@3aacac52: startup date [Tue Feb 04 12:29:25 CET 2020]; root of context hierarchy
2020-02-04 12:29:25,590 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:29:25,713 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:25,713 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:29:25,856 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:29:25,866 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:29:26,398 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:29:26,398 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:26,727 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@3aacac52: startup date [Tue Feb 04 12:29:25 CET 2020]; root of context hierarchy
2020-02-04 12:29:26,920 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:29:27,025 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Site localhost
2020-02-04 12:29:27,214 WARN [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:29:27,215 WARN [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:29:27,215 WARN [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:29:27,215 WARN [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:29:27,215 WARN [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:29:27,215 WARN [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:29:27,215 WARN [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:29:27,216 WARN [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:29:27,216 WARN [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:29:27,216 WARN [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:29:27,216 WARN [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:29:27,217 WARN [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:29:27,330 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.testproperty
2020-02-04 12:29:27,655 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.anotherproperty
2020-02-04 12:29:27,970 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Property platform.site.localhost.multiline
2020-02-04 12:29:29,185 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Property platform.site.localhost.testproperty
2020-02-04 12:29:29,413 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@3aacac52: startup date [Tue Feb 04 12:29:25 CET 2020]; root of context hierarchy
2020-02-04 12:29:29,414 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:29,414 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:29:29,656 INFO [HSQLDB Connection @37d76cf9] hsqldb.db.HSQLDB700FF56065.ENGINE: Database closed
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.369 s - in org.appng.application.manager.business.SitePropertiesTest
[INFO] Running org.appng.application.manager.business.AbstractTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.appng.application.manager.business.AbstractTest
[INFO] Running org.appng.application.manager.business.ClusterStateTest
2020-02-04 12:29:29,864 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:29:29,864 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:29:29,876 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:29:29,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:29:29,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:29:29,930 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:29:29,937 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@6300f000: startup date [Tue Feb 04 12:29:29 CET 2020]; root of context hierarchy
2020-02-04 12:29:29,963 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:29:30,091 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:30,091 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:29:30,235 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:29:30,243 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:29:30,708 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:29:30,709 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:30,978 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@6300f000: startup date [Tue Feb 04 12:29:29 CET 2020]; root of context hierarchy
2020-02-04 12:29:31,153 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:29:31,183 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@6300f000: startup date [Tue Feb 04 12:29:29 CET 2020]; root of context hierarchy
2020-02-04 12:29:31,184 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:31,184 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:29:31,424 INFO [HSQLDB Connection @74f85bd4] hsqldb.db.HSQLDB700FF56065.ENGINE: Database closed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.756 s - in org.appng.application.manager.business.ClusterStateTest
[INFO] Running org.appng.application.manager.business.PermissionsTest
2020-02-04 12:29:31,634 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:29:31,634 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@3f0a6ecb, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6e80180d, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@304bf388, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5a3e6242, org.springframework.test.context.transaction.TransactionalTestExecutionListener@362e33f8, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@58001540]
2020-02-04 12:29:31,642 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:29:31,666 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:29:31,670 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:29:31,701 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:29:31,707 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@1ebd22bc: startup date [Tue Feb 04 12:29:31 CET 2020]; root of context hierarchy
2020-02-04 12:29:31,734 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:29:31,857 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:31,857 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:29:31,994 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:29:32,003 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:29:32,414 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:29:32,414 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:32,730 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@1ebd22bc: startup date [Tue Feb 04 12:29:31 CET 2020]; root of context hierarchy
2020-02-04 12:29:32,924 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:29:33,029 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2020-02-04 12:29:33,134 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2020-02-04 12:29:33,243 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this
2020-02-04 12:29:33,350 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that
2020-02-04 12:29:33,497 WARN [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:29:33,497 WARN [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:29:33,498 WARN [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:29:33,498 WARN [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:29:33,498 WARN [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:29:33,608 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.something
2020-02-04 12:29:34,238 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Permission do.something
2020-02-04 12:29:34,788 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Permission do.somethingelse
2020-02-04 12:29:34,910 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@1ebd22bc: startup date [Tue Feb 04 12:29:31 CET 2020]; root of context hierarchy
2020-02-04 12:29:34,911 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:34,911 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:29:35,606 INFO [HSQLDB Connection @276b2460] hsqldb.db.HSQLDB700FF56065.ENGINE: Database closed
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.178 s - in org.appng.application.manager.business.PermissionsTest
[INFO] Running org.appng.application.manager.business.RoleTest
2020-02-04 12:29:35,815 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:29:35,815 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@11c2fc3d, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7fb7dcf7, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3a94818f, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5401db97, org.springframework.test.context.transaction.TransactionalTestExecutionListener@52a4e63e, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@13b5c8f9]
2020-02-04 12:29:35,824 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2020-02-04 12:29:35,856 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:29:35,862 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:29:35,886 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:29:35,892 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@573404bb: startup date [Tue Feb 04 12:29:35 CET 2020]; root of context hierarchy
2020-02-04 12:29:35,915 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-02-04 12:29:36,037 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:36,037 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2020-02-04 12:29:36,216 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2020-02-04 12:29:36,222 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2020-02-04 12:29:36,639 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:29:36,640 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:36,928 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@573404bb: startup date [Tue Feb 04 12:29:35 CET 2020]; root of context hierarchy
2020-02-04 12:29:37,120 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2020-02-04 12:29:37,225 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Application application
2020-02-04 12:29:37,332 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.this
2020-02-04 12:29:37,438 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Permission do.that
2020-02-04 12:29:37,544 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role1
2020-02-04 12:29:37,700 WARN [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:29:37,700 WARN [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:29:37,701 WARN [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:29:37,701 WARN [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:29:37,701 WARN [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:29:37,813 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null CREATE appNG testsupport Role role2
2020-02-04 12:29:38,173 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:29:38,417 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null DELETE appNG testsupport Role role2
2020-02-04 12:29:38,960 INFO [main] org.appng.core.domain.PlatformEventListener: Created entry null UPDATE appNG testsupport Role role.updated
2020-02-04 12:29:39,091 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@573404bb: startup date [Tue Feb 04 12:29:35 CET 2020]; root of context hierarchy
2020-02-04 12:29:39,091 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2020-02-04 12:29:39,092 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:29:39,348 INFO [HSQLDB Connection @5bb77f91] hsqldb.db.HSQLDB700FF56065.ENGINE: Database closed
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.737 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:25 min
[INFO] Finished at: 2020-02-04T12:29:39+01:00
[INFO] Final Memory: 59M/742M
[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