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

Jenkins noreply at evolveum.com
Thu Aug 1 15:43:53 CEST 2024


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

Changes:


------------------------------------------
[...truncated 14783 lines...]
	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.h2.jdbc.JdbcSQLNonTransientConnectionException: The database has been closed [90098-230]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:690)
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at org.h2.message.DbException.get(DbException.java:212)
	at org.h2.engine.SessionLocal.getTransaction(SessionLocal.java:1615)
	at org.h2.engine.SessionLocal.getStatementSavepoint(SessionLocal.java:1625)
	at org.h2.engine.SessionLocal.setSavepoint(SessionLocal.java:863)
	at org.h2.command.Command.executeUpdate(Command.java:296)
	at org.h2.command.Command.executeUpdate(Command.java:248)
	at org.h2.server.TcpServerThread.process(TcpServerThread.java:386)
	at org.h2.server.TcpServerThread.run(TcpServerThread.java:193)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.h2.mvstore.MVStoreException: java.lang.AssertionError: 154140672 != 144027648 [2.3.230/3]
	at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:996)
	at org.h2.mvstore.FileStore.storeBuffer(FileStore.java:1531)
	at org.h2.mvstore.FileStore.lambda$serializeAndStore$3(FileStore.java:1434)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	... 1 more
Caused by: java.lang.AssertionError: 154140672 != 144027648
	at org.h2.mvstore.RandomAccessStore.shrinkStoreIfPossible(RandomAccessStore.java:679)
	at org.h2.mvstore.RandomAccessStore.writeChunk(RandomAccessStore.java:377)
	at org.h2.mvstore.RandomAccessStore.writeChunk(RandomAccessStore.java:28)
	at org.h2.mvstore.FileStore.storeBuffer(FileStore.java:1526)
	... 6 more

	at org.h2.message.DbException.getJdbcSQLException(DbException.java:690)
	at org.h2.engine.SessionRemote.readSQLException(SessionRemote.java:663)
	at org.h2.engine.SessionRemote.readException(SessionRemote.java:646)
	at org.h2.engine.SessionRemote.done(SessionRemote.java:620)
	at org.h2.command.CommandRemote.executeUpdate(CommandRemote.java:225)
	at org.h2.jdbc.JdbcConnection.rollbackInternal(JdbcConnection.java:1439)
	at org.h2.jdbc.JdbcConnection.rollback(JdbcConnection.java:514)
	at com.zaxxer.hikari.pool.ProxyConnection.close(ProxyConnection.java:257)
	at jdk.internal.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at net.ttddyy.dsproxy.proxy.ConnectionProxyLogic.performQueryExecutionListener(ConnectionProxyLogic.java:112)
	at net.ttddyy.dsproxy.proxy.ConnectionProxyLogic.access$000(ConnectionProxyLogic.java:25)
	at net.ttddyy.dsproxy.proxy.ConnectionProxyLogic$1.execute(ConnectionProxyLogic.java:50)
	at net.ttddyy.dsproxy.listener.MethodExecutionListenerUtils.invoke(MethodExecutionListenerUtils.java:42)
	at net.ttddyy.dsproxy.proxy.ConnectionProxyLogic.invoke(ConnectionProxyLogic.java:47)
	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)
	... 57 more

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   TestLdap>AbstractTestNGSpringContextTests.run:154->test820BigReconciliation:370->AbstractIntegrationTest.waitForTaskFinish:3914->AbstractIntegrationTest.waitForTaskFinish:3944 » System Error while committing the transaction
[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]
[ERROR]   TestLdapUniversity>AbstractTestNGSpringContextTests.run:154->test120BigReconciliation:164->AbstractIntegrationTest.waitForTaskFinish:3944 » JDBCConnection Unable to release JDBC Connection [The database has been closed [90098-230]] [n/a]
[INFO] 
[ERROR] Tests run: 27, Failures: 4, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:3.1.2:verify (integration-test) @ longtest ---
[ERROR] There are test failures.

Please refer to /home/jenkins/agent/workspace/midpoint-support-4-8-main-jdk17/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] --- maven-dependency-plugin: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] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin: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] --- maven-checkstyle-plugin:3.1.2:check (validate) @ story ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ story ---
[INFO] Setting Git Describe: v4.8.4devel-92-g8662b5740ad
[INFO] 
[INFO] --- maven-resources-plugin: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-jdk17/testing/story/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ story ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ story ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 573 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ story ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ story ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.4.2:jar (default-jar) @ story ---
[INFO] Skipping packaging of the jar
[INFO] 
[INFO] >>> maven-source-plugin:3.1.0:jar (attach-sources) > generate-sources @ story >>>
[INFO] 
[INFO] --- maven-enforcer-plugin: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] --- maven-checkstyle-plugin:3.1.2:check (validate) @ story ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ story ---
[INFO] 
[INFO] <<< maven-source-plugin:3.1.0:jar (attach-sources) < generate-sources @ story <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.1.0:jar (attach-sources) @ story ---
[INFO] No sources in project. Archive not created.
[INFO] 
[INFO] --- maven-failsafe-plugin: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
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin: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 [  2.932 s]
[INFO] midPoint Testing - Resource Connection Tests ....... SUCCESS [  3.378 s]
[INFO] midPoint Testing - Long Tests ...................... SUCCESS [31:56 min]
[INFO] midPoint Testing - Story Tests ..................... FAILURE [20:14 min]
[INFO] midPoint Testing - REST API ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  52:17 min
[INFO] Finished at: 2024-08-01T13:43:46Z
[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-jdk17/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-jdk17/testing/story' && '/usr/java/openjdk-17/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-jdk17/testing/story/target/surefire/surefirebooter-20240801132333759_35.jar' '/home/jenkins/agent/workspace/midpoint-support-4-8-main-jdk17/testing/story/target/surefire' '2024-08-01T12-51-35_755-jvmRun1' 'surefire-20240801132333759_33tmp' 'surefire_1-20240801132333759_34tmp'
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 137
[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:137)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:301)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:211)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:165)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:157)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:121)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR] 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:127)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:294)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR] 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:960)
[ERROR] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293)
[ERROR] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:196)
[ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[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-jdk17/testing/story' && '/usr/java/openjdk-17/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-jdk17/testing/story/target/surefire/surefirebooter-20240801132333759_35.jar' '/home/jenkins/agent/workspace/midpoint-support-4-8-main-jdk17/testing/story/target/surefire' '2024-08-01T12-51-35_755-jvmRun1' 'surefire-20240801132333759_33tmp' 'surefire_1-20240801132333759_34tmp'
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 137
[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:137)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:301)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:211)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:165)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:157)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:121)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR] 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:127)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:294)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR] 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:960)
[ERROR] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293)
[ERROR] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:196)
[ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[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