[midPoint-ci] Build failed in Jenkins: midPoint - support 4.8 - Native repo, PG 14, JDK 21 (Eclipse Temurin) #39

Jenkins noreply at evolveum.com
Thu Jan 25 11:15:56 CET 2024


See <https://jenkins.evolveum.com/job/midpoint-support-4-8-native-pg14-jdk21/39/display/redirect>

Changes:


------------------------------------------
[...truncated 67102 lines...]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:435)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
	at org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$3(SpringBootContextLoader.java:137)
	at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
	at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
	at org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1385)
	at org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:545)
	at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:137)
	at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:108)
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:187)
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:119)
	... 33 more
Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:142)
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:104)
	at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:488)
	at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:210)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:183)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:161)
	... 47 more
Caused by: java.lang.IllegalStateException: StandardEngine[Tomcat-5].StandardHost[localhost].TomcatEmbeddedContext[] failed to start
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.rethrowDeferredStartupExceptions(TomcatWebServer.java:187)
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:126)
	... 52 more

[ERROR] com.evolveum.midpoint.testing.rest.TestSecurityQuestionChallengeResponse.springTestContextPrepareTestInstance -- Time elapsed: 3.257 s <<< FAILURE!
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration at 2cddaabd testClass = com.evolveum.midpoint.testing.rest.TestSecurityQuestionChallengeResponse, locations = [], classes = [com.evolveum.midpoint.gui.test.TestMidPointSpringApplication], contextInitializerClasses = [], activeProfiles = ["test"], propertySourceLocations = [], propertySourceProperties = ["server.port=18088", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer at 5290b819, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer at 68b2a686, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer at 0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer at 14944a7b, org.springframework.boot.test.context.SpringBootTestAnnotation at 32f46730], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:143)
	at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:127)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:141)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:97)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:241)
	at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance(AbstractTestNGSpringContextTests.java:119)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)
	at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:390)
	at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:325)
	at org.testng.internal.invokers.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:180)
	at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:122)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.testng.TestRunner.privateRun(TestRunner.java:848)
	at org.testng.TestRunner.run(TestRunner.java:621)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:443)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:437)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:397)
	at org.testng.SuiteRunner.run(SuiteRunner.java:336)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1280)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1200)
	at org.testng.TestNG.runSuites(TestNG.java:1114)
	at org.testng.TestNG.run(TestNG.java:1082)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:308)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:71)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:113)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.springframework.context.ApplicationContextException: Unable to start web server
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:164)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:610)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:733)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:435)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
	at org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$3(SpringBootContextLoader.java:137)
	at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
	at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
	at org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1385)
	at org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:545)
	at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:137)
	at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:108)
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:187)
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:119)
	... 33 more
Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:142)
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:104)
	at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:488)
	at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:210)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:183)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:161)
	... 47 more
Caused by: java.lang.IllegalStateException: StandardEngine[Tomcat-6].StandardHost[localhost].TomcatEmbeddedContext[] failed to start
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.rethrowDeferredStartupExceptions(TomcatWebServer.java:187)
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:126)
	... 52 more

[ERROR] com.evolveum.midpoint.testing.rest.authentication.TestOptionForSkipUpdatingAuthFocusBehavior.springTestContextPrepareTestInstance -- Time elapsed: 3.199 s <<< FAILURE!
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration at 2e649561 testClass = com.evolveum.midpoint.testing.rest.authentication.TestOptionForSkipUpdatingAuthFocusBehavior, locations = [], classes = [com.evolveum.midpoint.gui.test.TestMidPointSpringApplication], contextInitializerClasses = [], activeProfiles = ["test"], propertySourceLocations = [], propertySourceProperties = ["server.port=18088", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer at 5290b819, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer at 68b2a686, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer at 0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer at 14944a7b, org.springframework.boot.test.context.SpringBootTestAnnotation at 32f46730], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:143)
	at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:127)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:141)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:97)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:241)
	at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance(AbstractTestNGSpringContextTests.java:119)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)
	at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:390)
	at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:325)
	at org.testng.internal.invokers.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:180)
	at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:122)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.testng.TestRunner.privateRun(TestRunner.java:848)
	at org.testng.TestRunner.run(TestRunner.java:621)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:443)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:437)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:397)
	at org.testng.SuiteRunner.run(SuiteRunner.java:336)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1280)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1200)
	at org.testng.TestNG.runSuites(TestNG.java:1114)
	at org.testng.TestNG.run(TestNG.java:1082)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:308)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:71)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:113)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.springframework.context.ApplicationContextException: Unable to start web server
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:164)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:610)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:733)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:435)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
	at org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$3(SpringBootContextLoader.java:137)
	at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
	at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
	at org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1385)
	at org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:545)
	at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:137)
	at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:108)
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:187)
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:119)
	... 33 more
Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:142)
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:104)
	at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:488)
	at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:210)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:183)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:161)
	... 47 more
Caused by: java.lang.IllegalStateException: StandardEngine[Tomcat-7].StandardHost[localhost].TomcatEmbeddedContext[] failed to start
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.rethrowDeferredStartupExceptions(TomcatWebServer.java:187)
	at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:126)
	... 52 more

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   TestRestServiceJson>AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance:119 » IllegalState Failed to load ApplicationContext for [WebMergedContextConfiguration at 27d746ce testClass = com.evolveum.midpoint.testing.rest.TestRestServiceJson, locations = [], classes = [com.evolveum.midpoint.gui.test.TestMidPointSpringApplication], contextInitializerClasses = [], activeProfiles = ["test"], propertySourceLocations = [], propertySourceProperties = ["server.port=18088", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer at 5290b819, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer at 68b2a686, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer at 0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer at 14944a7b, org.springframework.boot.test.context.SpringBootTestAnnotation at 32f46730], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
[ERROR]   TestRestServiceJsonSecQ>AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance:119 » IllegalState Failed to load ApplicationContext for [WebMergedContextConfiguration at 5e14da1b testClass = com.evolveum.midpoint.testing.rest.TestRestServiceJsonSecQ, locations = [], classes = [com.evolveum.midpoint.gui.test.TestMidPointSpringApplication], contextInitializerClasses = [], activeProfiles = ["test"], propertySourceLocations = [], propertySourceProperties = ["server.port=18088", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer at 5290b819, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer at 68b2a686, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer at 0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer at 14944a7b, org.springframework.boot.test.context.SpringBootTestAnnotation at 32f46730], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
[ERROR]   TestRestServiceProxyAuthentication>AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance:119 » IllegalState Failed to load ApplicationContext for [WebMergedContextConfiguration at e1e7f6f testClass = com.evolveum.midpoint.testing.rest.TestRestServiceProxyAuthentication, locations = [], classes = [com.evolveum.midpoint.gui.test.TestMidPointSpringApplication], contextInitializerClasses = [], activeProfiles = ["test"], propertySourceLocations = [], propertySourceProperties = ["server.port=18088", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer at 5290b819, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer at 68b2a686, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer at 0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer at 14944a7b, org.springframework.boot.test.context.SpringBootTestAnnotation at 32f46730], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
[ERROR]   TestRestServiceXml>AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance:119 » IllegalState Failed to load ApplicationContext for [WebMergedContextConfiguration at 451e19cd testClass = com.evolveum.midpoint.testing.rest.TestRestServiceXml, locations = [], classes = [com.evolveum.midpoint.gui.test.TestMidPointSpringApplication], contextInitializerClasses = [], activeProfiles = ["test"], propertySourceLocations = [], propertySourceProperties = ["server.port=18088", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer at 5290b819, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer at 68b2a686, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer at 0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer at 14944a7b, org.springframework.boot.test.context.SpringBootTestAnnotation at 32f46730], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
[ERROR]   TestRestServiceYaml>AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance:119 » IllegalState Failed to load ApplicationContext for [WebMergedContextConfiguration at 432f67d0 testClass = com.evolveum.midpoint.testing.rest.TestRestServiceYaml, locations = [], classes = [com.evolveum.midpoint.gui.test.TestMidPointSpringApplication], contextInitializerClasses = [], activeProfiles = ["test"], propertySourceLocations = [], propertySourceProperties = ["server.port=18088", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer at 5290b819, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer at 68b2a686, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer at 0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer at 14944a7b, org.springframework.boot.test.context.SpringBootTestAnnotation at 32f46730], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
[ERROR]   TestRestWithoutAuditingLoginAndLogout>AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance:119 » IllegalState Failed to load ApplicationContext for [WebMergedContextConfiguration at 3eacbed4 testClass = com.evolveum.midpoint.testing.rest.TestRestWithoutAuditingLoginAndLogout, locations = [], classes = [com.evolveum.midpoint.gui.test.TestMidPointSpringApplication], contextInitializerClasses = [], activeProfiles = ["test"], propertySourceLocations = [], propertySourceProperties = ["server.port=18088", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer at 5290b819, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer at 68b2a686, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer at 0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer at 14944a7b, org.springframework.boot.test.context.SpringBootTestAnnotation at 32f46730], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
[ERROR]   TestSecurityQuestionChallengeResponse>AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance:119 » IllegalState Failed to load ApplicationContext for [WebMergedContextConfiguration at 2cddaabd testClass = com.evolveum.midpoint.testing.rest.TestSecurityQuestionChallengeResponse, locations = [], classes = [com.evolveum.midpoint.gui.test.TestMidPointSpringApplication], contextInitializerClasses = [], activeProfiles = ["test"], propertySourceLocations = [], propertySourceProperties = ["server.port=18088", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer at 5290b819, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer at 68b2a686, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer at 0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer at 14944a7b, org.springframework.boot.test.context.SpringBootTestAnnotation at 32f46730], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
[ERROR]   TestOptionForSkipUpdatingAuthFocusBehavior>AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance:119 » IllegalState Failed to load ApplicationContext for [WebMergedContextConfiguration at 2e649561 testClass = com.evolveum.midpoint.testing.rest.authentication.TestOptionForSkipUpdatingAuthFocusBehavior, locations = [], classes = [com.evolveum.midpoint.gui.test.TestMidPointSpringApplication], contextInitializerClasses = [], activeProfiles = ["test"], propertySourceLocations = [], propertySourceProperties = ["server.port=18088", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer at 5290b819, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer at 68b2a686, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer at 0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer at 14944a7b, org.springframework.boot.test.context.SpringBootTestAnnotation at 32f46730], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
[INFO] 
[ERROR] Tests run: 360, Failures: 8, Errors: 0, Skipped: 352
[INFO] 
[INFO] 
[INFO] --- failsafe:3.1.2:verify (integration-test) @ rest ---
[ERROR] There are test failures.

Please refer to /home/jenkins/agent/workspace/midpoint-support-4-8-native-pg14-jdk21/testing/rest/target/failsafe-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[INFO] 
[INFO] --- dependency:3.3.0:analyze-only (analyze) @ rest ---
[INFO] No dependency problems found
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for midPoint Testing Infrastructure 4.8.1-SNAPSHOT:
[INFO] 
[INFO] midPoint Testing Infrastructure .................... SUCCESS [  2.058 s]
[INFO] midPoint Testing - Resource Connection Tests ....... SUCCESS [  3.251 s]
[INFO] midPoint Testing - Long Tests ...................... SUCCESS [ 29.887 s]
[INFO] midPoint Testing - Story Tests ..................... SUCCESS [02:46 min]
[INFO] midPoint Testing - REST API ........................ SUCCESS [ 44.246 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:07 min
[INFO] Finished at: 2024-01-25T10:15:37Z
[INFO] ------------------------------------------------------------------------
+ '[' 0 -ge 1 ']'
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (collect-test-results)
[Pipeline] container
[Pipeline] {
[Pipeline] testNG
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
Saving reports...
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-1.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-10.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-11.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-12.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-13.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-14.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-15.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-16.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-17.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-18.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-19.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-2.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-20.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-21.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-22.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-23.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-24.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-25.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-26.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-27.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-28.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-29.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-3.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-30.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-31.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-32.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-33.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-4.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-5.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-6.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-7.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-8.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results-9.xml'
Processing '/var/jenkins_home/jobs/midpoint-support-4-8-native-pg14-jdk21/builds/39/testng/testng-results.xml'
Failed configuration methods found. Marking build as FAILURE.
TestNG Reports Processing: FINISH
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] step


More information about the midPoint-ci mailing list