[midPoint-ci] Build failed in Jenkins: midPoint - master - compile #1490
Jenkins
noreply at evolveum.com
Fri Jul 21 13:25:52 CEST 2023
See <https://jenkins.evolveum.com/job/midpoint-master-compile/1490/display/redirect>
Changes:
------------------------------------------
[...truncated 1614 lines...]
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 2 source files with javac [debug target 17] to target/test-classes
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/MidPointPrincipalManagerMock.java: /home/jenkins/agent/workspace/midpoint-master-compile/repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/MidPointPrincipalManagerMock.java uses or overrides a deprecated API.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/MidPointPrincipalManagerMock.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/MidPointPrincipalManagerMock.java: /home/jenkins/agent/workspace/midpoint-master-compile/repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/MidPointPrincipalManagerMock.java uses unchecked or unsafe operations.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/MidPointPrincipalManagerMock.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ security-impl ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ security-impl ---
[INFO] Building jar: /home/jenkins/agent/workspace/midpoint-master-compile/repo/security-impl/target/security-impl-4.8-SNAPSHOT.jar
[INFO]
[INFO] >>> maven-source-plugin:3.1.0:jar (attach-sources) > generate-sources @ security-impl >>>
[INFO]
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce) @ security-impl ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ security-impl ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO]
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ security-impl ---
[INFO]
[INFO] <<< maven-source-plugin:3.1.0:jar (attach-sources) < generate-sources @ security-impl <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:3.1.0:jar (attach-sources) @ security-impl ---
[INFO] Building jar: /home/jenkins/agent/workspace/midpoint-master-compile/repo/security-impl/target/security-impl-4.8-SNAPSHOT-sources.jar
[INFO]
[INFO] ------------< com.evolveum.midpoint.repo:task-quartz-impl >-------------
[INFO] Building midPoint Task Manager - Quartz impl 4.8-SNAPSHOT [22/63]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ task-quartz-impl ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce) @ task-quartz-impl ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ task-quartz-impl ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO]
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ task-quartz-impl ---
[INFO] Setting Git Describe: v4.8devel-568-g5f1bd6fc6b4
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ task-quartz-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ task-quartz-impl ---
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 68 source files with javac [debug target 17] to target/classes
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/statistics/Statistics.java: Some input files use or override a deprecated API.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/statistics/Statistics.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerQuartzImpl.java: Some input files use unchecked or unsafe operations.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerQuartzImpl.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ task-quartz-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 43 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ task-quartz-impl ---
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 6 source files with javac [debug target 17] to target/test-classes
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/AbstractTaskManagerTest.java: Some input files use or override a deprecated API.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/AbstractTaskManagerTest.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/AbstractTaskManagerTest.java: Some input files use unchecked or unsafe operations.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/AbstractTaskManagerTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ task-quartz-impl ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ task-quartz-impl ---
[INFO] Building jar: /home/jenkins/agent/workspace/midpoint-master-compile/repo/task-quartz-impl/target/task-quartz-impl-4.8-SNAPSHOT.jar
[INFO]
[INFO] >>> maven-source-plugin:3.1.0:jar (attach-sources) > generate-sources @ task-quartz-impl >>>
[INFO]
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce) @ task-quartz-impl ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ task-quartz-impl ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO]
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ task-quartz-impl ---
[INFO]
[INFO] <<< maven-source-plugin:3.1.0:jar (attach-sources) < generate-sources @ task-quartz-impl <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:3.1.0:jar (attach-sources) @ task-quartz-impl ---
[INFO] Building jar: /home/jenkins/agent/workspace/midpoint-master-compile/repo/task-quartz-impl/target/task-quartz-impl-4.8-SNAPSHOT-sources.jar
[INFO]
[INFO] -----------------< com.evolveum.midpoint.tools:tools >------------------
[INFO] Building midPoint Tools 4.8-SNAPSHOT [23/63]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ tools ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce) @ tools ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ tools ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO]
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ tools ---
[INFO] Setting Git Describe: v4.8devel-568-g5f1bd6fc6b4
[INFO]
[INFO] >>> maven-source-plugin:3.1.0:jar (attach-sources) > generate-sources @ tools >>>
[INFO]
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce) @ tools ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ tools ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO]
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ tools ---
[INFO]
[INFO] <<< maven-source-plugin:3.1.0:jar (attach-sources) < generate-sources @ tools <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:3.1.0:jar (attach-sources) @ tools ---
[INFO]
[INFO] -----------------< com.evolveum.midpoint.tools:ninja >------------------
[INFO] Building midPoint Tools - Ninja 4.8-SNAPSHOT [24/63]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ ninja ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce) @ ninja ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ ninja ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO]
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ ninja ---
[INFO] Setting Git Describe: v4.8devel-568-g5f1bd6fc6b4
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ninja ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ ninja ---
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 94 source files with javac [debug target 17] to target/classes
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/AbstractRepositorySearchAction.java: Some input files use or override a deprecated API.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/AbstractRepositorySearchAction.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/tools/ninja/src/main/java/com/evolveum/midpoint/ninja/impl/Command.java: Some input files use unchecked or unsafe operations.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/tools/ninja/src/main/java/com/evolveum/midpoint/ninja/impl/Command.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/jenkins/agent/workspace/midpoint-master-compile/tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/UpgradeObjectsAction.java:[104,50] unreported exception java.lang.Exception; must be caught or declared to be thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for midPoint Project 4.8-SNAPSHOT:
[INFO]
[INFO] midPoint Project ................................... SUCCESS [ 12.854 s]
[INFO] midPoint Infrastructure ............................ SUCCESS [ 0.128 s]
[INFO] midPoint Infrastructure - schema ................... SUCCESS [01:33 min]
[INFO] midPoint Repository ................................ SUCCESS [ 0.081 s]
[INFO] midPoint Repository - api .......................... SUCCESS [ 0.462 s]
[INFO] midPoint Task Manager - api ........................ SUCCESS [ 1.064 s]
[INFO] midPoint Infrastructure - testing utils (lvl 2) .... SUCCESS [ 5.919 s]
[INFO] midPoint Infrastructure - common ................... SUCCESS [ 1.169 s]
[INFO] midPoint Audit - api ............................... SUCCESS [ 0.334 s]
[INFO] midPoint Security - api ............................ SUCCESS [ 0.773 s]
[INFO] midPoint Repository - SQL common support ........... SUCCESS [ 1.122 s]
[INFO] midPoint Repository - sql repository ............... SUCCESS [ 7.720 s]
[INFO] midPoint System Initialization ..................... SUCCESS [ 20.496 s]
[INFO] midPoint Repository - new SQL repository ........... SUCCESS [ 7.980 s]
[INFO] midPoint Repository - sql repository test .......... SUCCESS [ 4.346 s]
[INFO] midPoint Repository Cache .......................... SUCCESS [ 1.156 s]
[INFO] midPoint Audit - logging impl ...................... SUCCESS [ 0.259 s]
[INFO] midPoint Icf Connectors ............................ SUCCESS [ 0.071 s]
[INFO] Dummy Resource ..................................... SUCCESS [ 0.376 s]
[INFO] midPoint Repository - test utils ................... SUCCESS [ 3.471 s]
[INFO] midPoint Security - impl ........................... SUCCESS [ 0.694 s]
[INFO] midPoint Task Manager - Quartz impl ................ SUCCESS [ 2.370 s]
[INFO] midPoint Tools ..................................... SUCCESS [ 0.067 s]
[INFO] midPoint Tools - Ninja ............................. FAILURE [ 1.406 s]
[INFO] midPoint Tools - custom Spring Boot JAR layout ..... SKIPPED
[INFO] midPoint Repo Commons .............................. SKIPPED
[INFO] midPoint Security Enforcer - api ................... SKIPPED
[INFO] midPoint Security Enforcer - impl .................. SKIPPED
[INFO] midPoint Provisioning .............................. SKIPPED
[INFO] midPoint Provisioning - api ........................ SKIPPED
[INFO] Unified Connector Framework - api .................. SKIPPED
[INFO] Dummy Connector .................................... SKIPPED
[INFO] Unified Connector Framework - ConnId impl .......... SKIPPED
[INFO] Unified Connector Framework - Built-in impl ........ SKIPPED
[INFO] midPoint Provisioning - impl ....................... SKIPPED
[INFO] midPoint Model ..................................... SKIPPED
[INFO] midPoint Model - api ............................... SKIPPED
[INFO] midPoint Model - common ............................ SKIPPED
[INFO] midPoint Notifications - api ....................... SKIPPED
[INFO] Dummy Connector Fake ............................... SKIPPED
[INFO] midPoint Authentication - api ...................... SKIPPED
[INFO] midPoint Model - test .............................. SKIPPED
[INFO] midPoint Report - api .............................. SKIPPED
[INFO] midPoint Cases - api ............................... SKIPPED
[INFO] midPoint Access Certification - api ................ SKIPPED
[INFO] midPoint Model - impl .............................. SKIPPED
[INFO] midPoint Notifications - impl ...................... SKIPPED
[INFO] midPoint Report - impl ............................. SKIPPED
[INFO] midPoint Model - integration tests ................. SKIPPED
[INFO] midPoint Workflow - api ............................ SKIPPED
[INFO] midPoint Cases - impl .............................. SKIPPED
[INFO] midPoint Workflow - impl ........................... SKIPPED
[INFO] midPoint Access Certification - impl ............... SKIPPED
[INFO] midPoint Authentication - impl ..................... SKIPPED
[INFO] midPoint REST-ish service implementation ........... SKIPPED
[INFO] midPoint Customizations ............................ SKIPPED
[INFO] midPoint User Interface ............................ SKIPPED
[INFO] midPoint User Interface - admin web gui ............ SKIPPED
[INFO] midPoint Testing Infrastructure .................... SKIPPED
[INFO] midPoint Testing - Resource Connection Tests ....... SKIPPED
[INFO] midPoint Testing - Long Tests ...................... SKIPPED
[INFO] midPoint Testing - Story Tests ..................... SKIPPED
[INFO] midPoint Testing - REST API ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:50 min
[INFO] Finished at: 2023-07-21T11:25:52Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project ninja: Compilation failure
[ERROR] /home/jenkins/agent/workspace/midpoint-master-compile/tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/UpgradeObjectsAction.java:[104,50] unreported exception java.lang.Exception; must be caught or declared to be thrown
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :ninja
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] error
[Pipeline] step
More information about the midPoint-ci
mailing list