[midPoint-ci] Build failed in Jenkins: Prism - master #451

Jenkins noreply at evolveum.com
Wed Sep 18 23:12:53 CEST 2024


See <https://jenkins.evolveum.com/job/prism-master/451/display/redirect>

Changes:


------------------------------------------
[...truncated 368 lines...]
[INFO] 
[INFO] --- checkstyle:3.3.0:check (validate) @ util ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe:3.0:gitdescribe (git-describe) @ util ---
[INFO] 
[INFO] <<< source:3.1.0:jar (attach-sources) < generate-sources @ util <<<
[INFO] 
[INFO] 
[INFO] --- source:3.1.0:jar (attach-sources) @ util ---
[INFO] Building jar: /home/jenkins/agent/workspace/prism-master/infra/util/target/util-4.9-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- dependency:3.3.0:analyze-only (analyze) @ util ---
[INFO] No dependency problems found
[INFO] 
[INFO] --- install:3.0.1:install (default-install) @ util ---
[INFO] Installing /home/jenkins/agent/workspace/prism-master/infra/util/pom.xml to /root/.m2/repository/com/evolveum/commons/util/4.9-SNAPSHOT/util-4.9-SNAPSHOT.pom
[INFO] Installing /home/jenkins/agent/workspace/prism-master/infra/util/target/util-4.9-SNAPSHOT.jar to /root/.m2/repository/com/evolveum/commons/util/4.9-SNAPSHOT/util-4.9-SNAPSHOT.jar
[INFO] Installing /home/jenkins/agent/workspace/prism-master/infra/util/target/util-4.9-SNAPSHOT-sources.jar to /root/.m2/repository/com/evolveum/commons/util/4.9-SNAPSHOT/util-4.9-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- deploy:2.8.2:deploy (default-deploy) @ util ---
[INFO] Deploying com.evolveum.commons:util:4.9-SNAPSHOT at end
[INFO] 
[INFO] ---------< com.evolveum.prism.tools:schema-dist-maven-plugin >----------
[INFO] Building midPoint Tools - schema dist maven plugin 4.9-SNAPSHOT   [5/13]
[INFO]   from tools/schema-dist-maven-plugin/pom.xml
[INFO] ----------------------------[ maven-plugin ]----------------------------
[WARNING] Parameter 'encoding' is unknown for plugin 'maven-checkstyle-plugin:3.3.0:check (validate)'
[WARNING] Parameter 'encoding' is unknown for plugin 'maven-checkstyle-plugin:3.3.0:check (validate)'
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ schema-dist-maven-plugin ---
[INFO] 
[INFO] --- enforcer:3.1.0:enforce (enforce) @ schema-dist-maven-plugin ---
[INFO] 
[INFO] --- checkstyle:3.3.0:check (validate) @ schema-dist-maven-plugin ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe:3.0:gitdescribe (git-describe) @ schema-dist-maven-plugin ---
[INFO] Setting Git Describe: v4.9-RC2-5-g4d6972e4a
[INFO] 
[INFO] --- resources:3.1.0:resources (default-resources) @ schema-dist-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/prism-master/tools/schema-dist-maven-plugin/src/main/resources
[INFO] 
[INFO] --- compiler:3.10.1:compile (default-compile) @ schema-dist-maven-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /home/jenkins/agent/workspace/prism-master/tools/schema-dist-maven-plugin/target/classes
[INFO] /home/jenkins/agent/workspace/prism-master/tools/schema-dist-maven-plugin/src/main/java/com/evolveum/midpoint/tools/schemadist/SchemaDistMojo.java: /home/jenkins/agent/workspace/prism-master/tools/schema-dist-maven-plugin/src/main/java/com/evolveum/midpoint/tools/schemadist/SchemaDistMojo.java uses or overrides a deprecated API.
[INFO] /home/jenkins/agent/workspace/prism-master/tools/schema-dist-maven-plugin/src/main/java/com/evolveum/midpoint/tools/schemadist/SchemaDistMojo.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- plugin:3.8.2:descriptor (default-descriptor) @ schema-dist-maven-plugin ---
[WARNING] 

Some dependencies of Maven Plugins are expected to be in provided scope.
Please make sure that dependencies listed below declared in POM
have set '<scope>provided</scope>' as well.

The following dependencies are in wrong scope:
 * org.apache.maven:maven-plugin-api:jar:3.8.5:compile
 * org.apache.maven:maven-core:jar:3.8.5:compile
 * org.apache.maven:maven-settings:jar:3.8.5:compile
 * org.apache.maven:maven-settings-builder:jar:3.8.5:compile
 * org.apache.maven:maven-builder-support:jar:3.8.5:compile
 * org.apache.maven:maven-repository-metadata:jar:3.8.5:compile
 * org.apache.maven:maven-model-builder:jar:3.8.5:compile
 * org.apache.maven:maven-resolver-provider:jar:3.8.5:compile
 * org.apache.maven:maven-model:jar:3.8.5:compile
 * org.apache.maven:maven-artifact:jar:3.8.5:compile



[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-annotations mojo extractor found 1 mojo descriptor.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] ant mojo extractor found 0 mojo descriptor.
[INFO] bsh mojo extractor found 0 mojo descriptor.
[INFO] 
[INFO] --- resources:3.1.0:testResources (default-testResources) @ schema-dist-maven-plugin ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ schema-dist-maven-plugin ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- surefire:3.0.0-M5:test (default-test) @ schema-dist-maven-plugin ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- jar:3.3.0:jar (default-jar) @ schema-dist-maven-plugin ---
[INFO] Building jar: /home/jenkins/agent/workspace/prism-master/tools/schema-dist-maven-plugin/target/schema-dist-maven-plugin-4.9-SNAPSHOT.jar
[INFO] 
[INFO] --- plugin:3.8.2:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ schema-dist-maven-plugin ---
[INFO] 
[INFO] >>> source:3.1.0:jar (attach-sources) > generate-sources @ schema-dist-maven-plugin >>>
[INFO] 
[INFO] --- enforcer:3.1.0:enforce (enforce) @ schema-dist-maven-plugin ---
[INFO] 
[INFO] --- checkstyle:3.3.0:check (validate) @ schema-dist-maven-plugin ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe:3.0:gitdescribe (git-describe) @ schema-dist-maven-plugin ---
[INFO] 
[INFO] <<< source:3.1.0:jar (attach-sources) < generate-sources @ schema-dist-maven-plugin <<<
[INFO] 
[INFO] 
[INFO] --- source:3.1.0:jar (attach-sources) @ schema-dist-maven-plugin ---
[INFO] Building jar: /home/jenkins/agent/workspace/prism-master/tools/schema-dist-maven-plugin/target/schema-dist-maven-plugin-4.9-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- dependency:3.3.0:analyze-only (analyze) @ schema-dist-maven-plugin ---
[INFO] No dependency problems found
[INFO] 
[INFO] --- install:3.0.1:install (default-install) @ schema-dist-maven-plugin ---
[INFO] Installing /home/jenkins/agent/workspace/prism-master/tools/schema-dist-maven-plugin/pom.xml to /root/.m2/repository/com/evolveum/prism/tools/schema-dist-maven-plugin/4.9-SNAPSHOT/schema-dist-maven-plugin-4.9-SNAPSHOT.pom
[INFO] Installing /home/jenkins/agent/workspace/prism-master/tools/schema-dist-maven-plugin/target/schema-dist-maven-plugin-4.9-SNAPSHOT.jar to /root/.m2/repository/com/evolveum/prism/tools/schema-dist-maven-plugin/4.9-SNAPSHOT/schema-dist-maven-plugin-4.9-SNAPSHOT.jar
[INFO] Installing /home/jenkins/agent/workspace/prism-master/tools/schema-dist-maven-plugin/target/schema-dist-maven-plugin-4.9-SNAPSHOT-sources.jar to /root/.m2/repository/com/evolveum/prism/tools/schema-dist-maven-plugin/4.9-SNAPSHOT/schema-dist-maven-plugin-4.9-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- deploy:2.8.2:deploy (default-deploy) @ schema-dist-maven-plugin ---
[INFO] Deploying com.evolveum.prism.tools:schema-dist-maven-plugin:4.9-SNAPSHOT at end
[INFO] 
[INFO] -------------------< com.evolveum.commons:concepts >--------------------
[INFO] Building Concepts 4.9-SNAPSHOT                                    [6/13]
[INFO]   from infra/concepts/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] Parameter 'encoding' is unknown for plugin 'maven-checkstyle-plugin:3.3.0:check (validate)'
[WARNING] Parameter 'encoding' is unknown for plugin 'maven-checkstyle-plugin:3.3.0:check (validate)'
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ concepts ---
[INFO] 
[INFO] --- enforcer:3.1.0:enforce (enforce) @ concepts ---
[INFO] 
[INFO] --- checkstyle:3.3.0:check (validate) @ concepts ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe:3.0:gitdescribe (git-describe) @ concepts ---
[INFO] Setting Git Describe: v4.9-RC2-5-g4d6972e4a
[INFO] 
[INFO] --- antlr4:4.9.2:antlr4 (default) @ concepts ---
[INFO] No ANTLR 4 grammars to compile in /home/jenkins/agent/workspace/prism-master/infra/concepts/src/main/antlr4
[INFO] 
[INFO] --- resources:3.1.0:resources (default-resources) @ concepts ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/prism-master/infra/concepts/src/main/resources
[INFO] 
[INFO] --- compiler:3.10.1:compile (default-compile) @ concepts ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to /home/jenkins/agent/workspace/prism-master/infra/concepts/target/classes
[INFO] 
[INFO] --- resources:3.1.0:testResources (default-testResources) @ concepts ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ concepts ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- surefire:3.0.0-M5:test (default-test) @ concepts ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- jar:3.3.0:jar (default-jar) @ concepts ---
[INFO] Building jar: /home/jenkins/agent/workspace/prism-master/infra/concepts/target/concepts-4.9-SNAPSHOT.jar
[INFO] 
[INFO] >>> source:3.1.0:jar (attach-sources) > generate-sources @ concepts >>>
[INFO] 
[INFO] --- enforcer:3.1.0:enforce (enforce) @ concepts ---
[INFO] 
[INFO] --- checkstyle:3.3.0:check (validate) @ concepts ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe:3.0:gitdescribe (git-describe) @ concepts ---
[INFO] 
[INFO] --- antlr4:4.9.2:antlr4 (default) @ concepts ---
[INFO] No ANTLR 4 grammars to compile in /home/jenkins/agent/workspace/prism-master/infra/concepts/src/main/antlr4
[INFO] 
[INFO] <<< source:3.1.0:jar (attach-sources) < generate-sources @ concepts <<<
[INFO] 
[INFO] 
[INFO] --- source:3.1.0:jar (attach-sources) @ concepts ---
[INFO] Building jar: /home/jenkins/agent/workspace/prism-master/infra/concepts/target/concepts-4.9-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- dependency:3.3.0:analyze-only (analyze) @ concepts ---
[INFO] No dependency problems found
[INFO] 
[INFO] --- install:3.0.1:install (default-install) @ concepts ---
[INFO] Installing /home/jenkins/agent/workspace/prism-master/infra/concepts/pom.xml to /root/.m2/repository/com/evolveum/commons/concepts/4.9-SNAPSHOT/concepts-4.9-SNAPSHOT.pom
[INFO] Installing /home/jenkins/agent/workspace/prism-master/infra/concepts/target/concepts-4.9-SNAPSHOT.jar to /root/.m2/repository/com/evolveum/commons/concepts/4.9-SNAPSHOT/concepts-4.9-SNAPSHOT.jar
[INFO] Installing /home/jenkins/agent/workspace/prism-master/infra/concepts/target/concepts-4.9-SNAPSHOT-sources.jar to /root/.m2/repository/com/evolveum/commons/concepts/4.9-SNAPSHOT/concepts-4.9-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- deploy:2.8.2:deploy (default-deploy) @ concepts ---
[INFO] Deploying com.evolveum.commons:concepts:4.9-SNAPSHOT at end
[INFO] 
[INFO] ----------------------< com.evolveum.axiom:axiom >----------------------
[INFO] Building Axiom 4.9-SNAPSHOT                                       [7/13]
[INFO]   from infra/axiom/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] Parameter 'encoding' is unknown for plugin 'maven-checkstyle-plugin:3.3.0:check (validate)'
[WARNING] Parameter 'encoding' is unknown for plugin 'maven-checkstyle-plugin:3.3.0:check (validate)'
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ axiom ---
[INFO] 
[INFO] --- enforcer:3.1.0:enforce (enforce) @ axiom ---
[INFO] 
[INFO] --- checkstyle:3.3.0:check (validate) @ axiom ---
[INFO] Starting audit...
[ERROR] /home/jenkins/agent/workspace/prism-master/infra/axiom/src/main/java/com/evolveum/axiom/lang/antlr/TokenWithCtx.java:13:5: Definition of 'equals()' without corresponding definition of 'hashCode()'. [EqualsHashCode]
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Prism Project 4.9-SNAPSHOT:
[INFO] 
[INFO] Prism Project ...................................... SUCCESS [ 17.337 s]
[INFO] midPoint Tools ..................................... SUCCESS [  0.279 s]
[INFO] midPoint Tools - testing utils (lvl 1) ............. SUCCESS [  6.707 s]
[INFO] midPoint Infrastructure - java utils ............... SUCCESS [ 10.815 s]
[INFO] midPoint Tools - schema dist maven plugin .......... SUCCESS [  4.005 s]
[INFO] Concepts ........................................... SUCCESS [  1.028 s]
[INFO] Axiom .............................................. FAILURE [  0.624 s]
[INFO] midPoint Infrastructure ............................ SKIPPED
[INFO] midPoint Infrastructure - prism-api ................ SKIPPED
[INFO] midPoint Infrastructure - prism-impl ............... SKIPPED
[INFO] midPoint Infrastructure - prism maven plugin ....... SKIPPED
[INFO] midPoint Tools - Prism Codegen ..................... SKIPPED
[INFO] midPoint Infrastructure - Prism Codegen maven plugin SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  43.952 s
[INFO] Finished at: 2024-09-18T21:12:52Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:check (validate) on project axiom: Failed during checkstyle execution: There is 1 error reported by Checkstyle 8.43 with /home/jenkins/agent/workspace/prism-master/config/checkstyle/checkstyle.xml ruleset. -> [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 :axiom
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] error
[Pipeline] step


More information about the midPoint-ci mailing list