[midPoint-ci] Build failed in Jenkins: midPoint - support 4.8 - main build, JDK 21 #347

Jenkins noreply at evolveum.com
Mon Aug 5 20:04:49 CEST 2024


See <https://jenkins.evolveum.com/job/midpoint-support-4-8-main-jdk21/347/display/redirect>

Changes:


------------------------------------------
[...truncated 15153 lines...]
	at net.ttddyy.dsproxy.proxy.jdk.ConnectionInvocationHandler.invoke(ConnectionInvocationHandler.java:25)
	at jdk.proxy2/jdk.proxy2.$Proxy57.close(Unknown Source)
	at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.closeConnection(DatasourceConnectionProviderImpl.java:127)
	at org.hibernate.internal.NonContextualJdbcConnectionAccess.releaseConnection(NonContextualJdbcConnectionAccess.java:64)
	at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.releaseConnection(LogicalConnectionManagedImpl.java:224)
	... 56 more

[ERROR] com.evolveum.midpoint.testing.longtest.TestLdap.test910DeleteAccounts -- Time elapsed: 0.014 s <<< FAILURE!
java.lang.AssertionError: Operation TestLdap.test910DeleteAccounts.importObjectFromFile result: FATAL_ERROR: Unable to release JDBC Connection [The database has been closed [90098-230]] [n/a]
	at com.evolveum.midpoint.test.util.TestUtil.assertSuccess(TestUtil.java:187)
	at com.evolveum.midpoint.test.util.TestUtil.assertSuccess(TestUtil.java:206)
	at com.evolveum.midpoint.test.util.TestUtil.assertSuccess(TestUtil.java:210)
	at com.evolveum.midpoint.test.util.TestUtil.assertSuccess(TestUtil.java:268)
	at com.evolveum.midpoint.model.test.AbstractModelIntegrationTest.importObjectFromFile(AbstractModelIntegrationTest.java:420)
	at com.evolveum.midpoint.testing.longtest.TestLdap.test910DeleteAccounts(TestLdap.java:429)
	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$1.runTestMethod(MethodInvocationHelper.java:258)
	at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:154)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:272)
	at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:656)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
	at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
	at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
	at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
	at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
	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)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   TestLdap>AbstractTestNGSpringContextTests.run:154->test820BigReconciliation:370->AbstractIntegrationTest.waitForTaskFinish:3914->AbstractIntegrationTest.waitForTaskFinish:3944 » JDBCConnection Unable to release JDBC Connection [The database has been closed [90098-230]] [n/a]
[ERROR]   TestLdap>AbstractTestNGSpringContextTests.run:154->test900DeleteShadows:384->AbstractModelIntegrationTest.getUser:1818->AbstractModelIntegrationTest.getUser:1826 » System Error resolving object with oid '00000000-0000-0000-0000-000000000002': Unable to release JDBC Connection [The database has been closed [90098-230]] [n/a]
[ERROR]   TestLdap>AbstractTestNGSpringContextTests.run:154->test910DeleteAccounts:429->AbstractModelIntegrationTest.importObjectFromFile:420 Operation TestLdap.test910DeleteAccounts.importObjectFromFile result: FATAL_ERROR: Unable to release JDBC Connection [The database has been closed [90098-230]] [n/a]
[INFO] 
[ERROR] Tests run: 27, Failures: 3, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- failsafe:3.1.2:verify (integration-test) @ longtest ---
[ERROR] There are test failures.

Please refer to /home/jenkins/agent/workspace/midpoint-support-4-8-main-jdk21/testing/longtest/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) @ longtest ---
[INFO] No dependency problems found
[INFO] 
[INFO] ----------------< com.evolveum.midpoint.testing:story >-----------------
[INFO] Building midPoint Testing - Story Tests 4.8.4-SNAPSHOT             [4/5]
[INFO]   from story/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- enforcer:3.4.1:enforce (enforce) @ story ---
[INFO] Rule 1: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[INFO] 
[INFO] --- checkstyle:3.1.2:check (validate) @ story ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe:3.0:gitdescribe (git-describe) @ story ---
[INFO] Setting Git Describe: v4.8.4devel-100-g70632ad0a33
[INFO] 
[INFO] --- resources:3.1.0:resources (default-resources) @ story ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/midpoint-support-4-8-main-jdk21/testing/story/src/main/resources
[INFO] 
[INFO] --- compiler:3.11.0:compile (default-compile) @ story ---
[INFO] No sources to compile
[INFO] 
[INFO] --- resources:3.1.0:testResources (default-testResources) @ story ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 573 resources
[INFO] 
[INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ story ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- surefire:3.1.2:test (default-test) @ story ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- jar:3.4.2:jar (default-jar) @ story ---
[INFO] Skipping packaging of the jar
[INFO] 
[INFO] >>> source:3.1.0:jar (attach-sources) > generate-sources @ story >>>
[INFO] 
[INFO] --- enforcer:3.4.1:enforce (enforce) @ story ---
[INFO] Rule 1: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[INFO] 
[INFO] --- checkstyle:3.1.2:check (validate) @ story ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe:3.0:gitdescribe (git-describe) @ story ---
[INFO] 
[INFO] <<< source:3.1.0:jar (attach-sources) < generate-sources @ story <<<
[INFO] 
[INFO] 
[INFO] --- source:3.1.0:jar (attach-sources) @ story ---
[INFO] No sources in project. Archive not created.
[INFO] 
[INFO] --- failsafe:3.1.2:integration-test (integration-test) @ story ---
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running Integration
Killed
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- failsafe:3.1.2:verify (integration-test) @ story ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for midPoint Testing Infrastructure 4.8.4-SNAPSHOT:
[INFO] 
[INFO] midPoint Testing Infrastructure .................... SUCCESS [  3.009 s]
[INFO] midPoint Testing - Resource Connection Tests ....... SUCCESS [  3.274 s]
[INFO] midPoint Testing - Long Tests ...................... SUCCESS [30:21 min]
[INFO] midPoint Testing - Story Tests ..................... FAILURE [27:14 min]
[INFO] midPoint Testing - REST API ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  57:44 min
[INFO] Finished at: 2024-08-05T18:04:39Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.1.2:verify (integration-test) on project story: 
[ERROR] 
[ERROR] Please refer to /home/jenkins/agent/workspace/midpoint-support-4-8-main-jdk21/testing/story/target/failsafe-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] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd '/home/jenkins/agent/workspace/midpoint-support-4-8-main-jdk21/testing/story' && '/opt/java/openjdk/bin/java' '-Xms2g' '-Xmx6g' '-Duser.language=en' '--add-exports' 'java.management/sun.management=ALL-UNNAMED' '-jar' '/home/jenkins/agent/workspace/midpoint-support-4-8-main-jdk21/testing/story/target/surefire/surefirebooter-20240805173725285_35.jar' '/home/jenkins/agent/workspace/midpoint-support-4-8-main-jdk21/testing/story/target/surefire' '2024-08-05T17-07-01_861-jvmRun1' 'surefire-20240805173725285_33tmp' 'surefire_1-20240805173725285_34tmp'
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 137
[ERROR] Crashed tests:
[ERROR] com.evolveum.midpoint.testing.story.grouper.TestGrouperAsyncUpdate
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:643)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:285)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1203)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1055)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:871)
[ERROR] 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:126)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
[ERROR] 	at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
[ERROR] 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
[ERROR] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
[ERROR] 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
[ERROR] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
[ERROR] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
[ERROR] 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:283)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:226)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:407)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:348)
[ERROR] 
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd '/home/jenkins/agent/workspace/midpoint-support-4-8-main-jdk21/testing/story' && '/opt/java/openjdk/bin/java' '-Xms2g' '-Xmx6g' '-Duser.language=en' '--add-exports' 'java.management/sun.management=ALL-UNNAMED' '-jar' '/home/jenkins/agent/workspace/midpoint-support-4-8-main-jdk21/testing/story/target/surefire/surefirebooter-20240805173725285_35.jar' '/home/jenkins/agent/workspace/midpoint-support-4-8-main-jdk21/testing/story/target/surefire' '2024-08-05T17-07-01_861-jvmRun1' 'surefire-20240805173725285_33tmp' 'surefire_1-20240805173725285_34tmp'
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 137
[ERROR] Crashed tests:
[ERROR] com.evolveum.midpoint.testing.story.grouper.TestGrouperAsyncUpdate
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:643)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:285)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1203)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1055)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:871)
[ERROR] 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:126)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
[ERROR] 	at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
[ERROR] 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
[ERROR] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
[ERROR] 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
[ERROR] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
[ERROR] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
[ERROR] 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:283)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:226)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:407)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:348)
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :story
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] error
[Pipeline] step


More information about the midPoint-ci mailing list