[midPoint-ci] Build failed in Jenkins: midPoint - master - main build, JDK 21 (Eclipse Temurin) #119

Jenkins noreply at evolveum.com
Wed Feb 14 22:28:09 CET 2024


See <https://jenkins.evolveum.com/job/midpoint-master-main-jdk21/119/display/redirect>

Changes:


------------------------------------------
[...truncated 32761 lines...]
[INFO] 
[INFO] 
[INFO] --- failsafe:3.1.2:verify (integration-test) @ longtest ---
[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.9-SNAPSHOT               [4/5]
[INFO]   from story/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- enforcer:3.1.0:enforce (enforce) @ story ---
[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.9devel-611-g665c10f755d
[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-master-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.3.0: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.1.0:enforce (enforce) @ story ---
[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 auto detected provider org.apache.maven.surefire.testng.TestNGProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running Integration
[WARNING] Tests run: 909, Failures: 0, Errors: 0, Skipped: 213, Time elapsed: 1486 s -- in Integration
[INFO] 
[INFO] Results:
[INFO] 
[WARNING] Tests run: 756, Failures: 0, Errors: 0, Skipped: 60
[INFO] 
[INFO] 
[INFO] --- failsafe:3.1.2:verify (integration-test) @ story ---
[INFO] 
[INFO] --- dependency:3.3.0:analyze-only (analyze) @ story ---
[INFO] No dependency problems found
[INFO] 
[INFO] -----------------< com.evolveum.midpoint.testing:rest >-----------------
[INFO] Building midPoint Testing - REST API 4.9-SNAPSHOT                  [5/5]
[INFO]   from rest/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- enforcer:3.1.0:enforce (enforce) @ rest ---
[INFO] 
[INFO] --- checkstyle:3.1.2:check (validate) @ rest ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe:3.0:gitdescribe (git-describe) @ rest ---
[INFO] Setting Git Describe: v4.9devel-611-g665c10f755d
[INFO] 
[INFO] --- resources:3.1.0:resources (default-resources) @ rest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/midpoint-master-main-jdk21/testing/rest/src/main/resources
[INFO] 
[INFO] --- compiler:3.11.0:compile (default-compile) @ rest ---
[INFO] No sources to compile
[INFO] 
[INFO] --- resources:3.1.0:testResources (default-testResources) @ rest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 143 resources
[INFO] 
[INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ rest ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- surefire:3.1.2:test (default-test) @ rest ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- jar:3.3.0:jar (default-jar) @ rest ---
[INFO] Skipping packaging of the jar
[INFO] 
[INFO] >>> source:3.1.0:jar (attach-sources) > generate-sources @ rest >>>
[INFO] 
[INFO] --- enforcer:3.1.0:enforce (enforce) @ rest ---
[INFO] 
[INFO] --- checkstyle:3.1.2:check (validate) @ rest ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe:3.0:gitdescribe (git-describe) @ rest ---
[INFO] 
[INFO] <<< source:3.1.0:jar (attach-sources) < generate-sources @ rest <<<
[INFO] 
[INFO] 
[INFO] --- source:3.1.0:jar (attach-sources) @ rest ---
[INFO] No sources in project. Archive not created.
[INFO] 
[INFO] --- failsafe:3.1.2:integration-test (integration-test) @ rest ---
[INFO] Using auto detected provider org.apache.maven.surefire.testng.TestNGProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running Integration
[ERROR] 
Cannot instantiate class com.evolveum.midpoint.testing.rest.TestRestServiceXml
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- failsafe:3.1.2:verify (integration-test) @ rest ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for midPoint Testing Infrastructure 4.9-SNAPSHOT:
[INFO] 
[INFO] midPoint Testing Infrastructure .................... SUCCESS [  2.477 s]
[INFO] midPoint Testing - Resource Connection Tests ....... SUCCESS [  3.060 s]
[INFO] midPoint Testing - Long Tests ...................... SUCCESS [  01:01 h]
[INFO] midPoint Testing - Story Tests ..................... SUCCESS [24:50 min]
[INFO] midPoint Testing - REST API ........................ FAILURE [  4.293 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:26 h
[INFO] Finished at: 2024-02-14T21:28:09Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.1.2:verify (integration-test) on project rest: 
[ERROR] 
[ERROR] Please refer to /home/jenkins/agent/workspace/midpoint-master-main-jdk21/testing/rest/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] There was an error in the forked process
[ERROR] 
[ERROR] Cannot instantiate class com.evolveum.midpoint.testing.rest.TestRestServiceXml
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:628)
[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: There was an error in the forked process
[ERROR] 
[ERROR] Cannot instantiate class com.evolveum.midpoint.testing.rest.TestRestServiceXml
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:628)
[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 :rest
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] error
[Pipeline] step


More information about the midPoint-ci mailing list