[midPoint-ci] Build failed in Jenkins: midPoint - master - compile #59

Jenkins noreply at evolveum.com
Thu Jul 7 16:26:15 CEST 2022


See <https://jenkins.evolveum.com/job/midpoint-master-compile/59/display/redirect>

Changes:


------------------------------------------
[...truncated 2523 lines...]
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce) @ notifications-api ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ notifications-api ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ notifications-api ---
[INFO] 
[INFO] <<< maven-source-plugin:3.1.0:jar (attach-sources) < generate-sources @ notifications-api <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.1.0:jar (attach-sources) @ notifications-api ---
[INFO] Building jar: /home/jenkins/agent/workspace/midpoint-master-compile/model/notifications-api/target/notifications-api-4.6-SNAPSHOT-sources.jar
[INFO] 
[INFO] ---------------< com.evolveum.icf:dummy-connector-fake >----------------
[INFO] Building Dummy Connector Fake 4.6-SNAPSHOT                       [41/64]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ dummy-connector-fake ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce) @ dummy-connector-fake ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ dummy-connector-fake ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ dummy-connector-fake ---
[INFO] Setting Git Describe: v4.6devel-1036-g934dd9340b
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ dummy-connector-fake ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/midpoint-master-compile/icf-connectors/dummy-connector-fake/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ dummy-connector-fake ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /home/jenkins/agent/workspace/midpoint-master-compile/icf-connectors/dummy-connector-fake/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ dummy-connector-fake ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ dummy-connector-fake ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ dummy-connector-fake ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ dummy-connector-fake ---
[INFO] Building jar: /home/jenkins/agent/workspace/midpoint-master-compile/icf-connectors/dummy-connector-fake/target/dummy-connector-fake-4.6-SNAPSHOT.jar
[INFO] 
[INFO] >>> maven-source-plugin:3.1.0:jar (attach-sources) > generate-sources @ dummy-connector-fake >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce) @ dummy-connector-fake ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ dummy-connector-fake ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ dummy-connector-fake ---
[INFO] 
[INFO] <<< maven-source-plugin:3.1.0:jar (attach-sources) < generate-sources @ dummy-connector-fake <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.1.0:jar (attach-sources) @ dummy-connector-fake ---
[INFO] Building jar: /home/jenkins/agent/workspace/midpoint-master-compile/icf-connectors/dummy-connector-fake/target/dummy-connector-fake-4.6-SNAPSHOT-sources.jar
[INFO] 
[INFO] -----------< com.evolveum.midpoint.model:authentication-api >-----------
[INFO] Building midPoint Authentication - api 4.6-SNAPSHOT              [42/64]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ authentication-api ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce) @ authentication-api ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ authentication-api ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ authentication-api ---
[INFO] Setting Git Describe: v4.6devel-1036-g934dd9340b
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ authentication-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ authentication-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 22 source files to /home/jenkins/agent/workspace/midpoint-master-compile/model/authentication-api/target/classes
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/model/authentication-api/src/main/java/com/evolveum/midpoint/authentication/api/config/MidpointAuthentication.java: /home/jenkins/agent/workspace/midpoint-master-compile/model/authentication-api/src/main/java/com/evolveum/midpoint/authentication/api/config/MidpointAuthentication.java uses unchecked or unsafe operations.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/model/authentication-api/src/main/java/com/evolveum/midpoint/authentication/api/config/MidpointAuthentication.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ authentication-api ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ authentication-api ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ authentication-api ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ authentication-api ---
[INFO] Building jar: /home/jenkins/agent/workspace/midpoint-master-compile/model/authentication-api/target/authentication-api-4.6-SNAPSHOT.jar
[INFO] 
[INFO] >>> maven-source-plugin:3.1.0:jar (attach-sources) > generate-sources @ authentication-api >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce) @ authentication-api ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ authentication-api ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ authentication-api ---
[INFO] 
[INFO] <<< maven-source-plugin:3.1.0:jar (attach-sources) < generate-sources @ authentication-api <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.1.0:jar (attach-sources) @ authentication-api ---
[INFO] Building jar: /home/jenkins/agent/workspace/midpoint-master-compile/model/authentication-api/target/authentication-api-4.6-SNAPSHOT-sources.jar
[INFO] 
[INFO] ---------------< com.evolveum.midpoint.model:model-test >---------------
[INFO] Building midPoint Model - test 4.6-SNAPSHOT                      [43/64]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ model-test ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce) @ model-test ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ model-test ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ model-test ---
[INFO] Setting Git Describe: v4.6devel-1036-g934dd9340b
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ model-test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ model-test ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 31 source files to /home/jenkins/agent/workspace/midpoint-master-compile/model/model-test/target/classes
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java: /home/jenkins/agent/workspace/midpoint-master-compile/model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java uses or overrides a deprecated API.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/FocusContextAsserter.java: Some input files use unchecked or unsafe operations.
[INFO] /home/jenkins/agent/workspace/midpoint-master-compile/model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/FocusContextAsserter.java: Recompile with -Xlint:unchecked for details.
[INFO] Some messages have been simplified; recompile with -Xdiags:verbose to get full output
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/jenkins/agent/workspace/midpoint-master-compile/model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java:[1998,82] incompatible types: com.evolveum.midpoint.prism.PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType> cannot be converted to com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for midPoint Project 4.6-SNAPSHOT:
[INFO] 
[INFO] midPoint Project ................................... SUCCESS [ 12.887 s]
[INFO] midPoint Infrastructure ............................ SUCCESS [  0.156 s]
[INFO] midPoint Infrastructure - schema ................... SUCCESS [01:37 min]
[INFO] midPoint Repository ................................ SUCCESS [  0.116 s]
[INFO] midPoint Repository - api .......................... SUCCESS [  0.494 s]
[INFO] midPoint Task Manager - api ........................ SUCCESS [  4.121 s]
[INFO] midPoint Infrastructure - testing utils (lvl 2) .... SUCCESS [  8.665 s]
[INFO] midPoint Infrastructure - common ................... SUCCESS [  1.224 s]
[INFO] midPoint Audit - api ............................... SUCCESS [  0.424 s]
[INFO] midPoint Security - api ............................ SUCCESS [  0.763 s]
[INFO] midPoint Repository - SQL common support ........... SUCCESS [  1.427 s]
[INFO] midPoint Repository - sql repository ............... SUCCESS [  7.883 s]
[INFO] midPoint System Initialization ..................... SUCCESS [ 22.777 s]
[INFO] midPoint Repository - new SQL repository ........... SUCCESS [  3.726 s]
[INFO] midPoint Repository - sql repository test .......... SUCCESS [  4.915 s]
[INFO] midPoint Repository Cache .......................... SUCCESS [  1.563 s]
[INFO] midPoint Icf Connectors ............................ SUCCESS [  0.435 s]
[INFO] Dummy Resource ..................................... SUCCESS [  0.383 s]
[INFO] midPoint Repository - test utils ................... SUCCESS [  3.120 s]
[INFO] midPoint Audit - logging impl ...................... SUCCESS [  0.708 s]
[INFO] midPoint Tools ..................................... SUCCESS [  0.083 s]
[INFO] midPoint Tools - Ninja ............................. SUCCESS [  3.542 s]
[INFO] midPoint Tools - custom Spring Boot JAR layout ..... SUCCESS [  0.254 s]
[INFO] midPoint Infrastructure - pure JAXB schema ......... SUCCESS [ 14.508 s]
[INFO] midPoint Security - impl ........................... SUCCESS [  0.802 s]
[INFO] midPoint Task Manager - Quartz impl ................ SUCCESS [  2.624 s]
[INFO] midPoint Repo Commons .............................. SUCCESS [  4.611 s]
[INFO] midPoint Security Enforcer - api ................... SUCCESS [  0.386 s]
[INFO] midPoint Security Enforcer - impl .................. SUCCESS [  0.568 s]
[INFO] midPoint Provisioning .............................. SUCCESS [  0.103 s]
[INFO] midPoint Provisioning - api ........................ SUCCESS [  0.420 s]
[INFO] Unified Connector Framework - api .................. SUCCESS [  0.512 s]
[INFO] Dummy Connector .................................... SUCCESS [  0.528 s]
[INFO] Unified Connector Framework - ConnId impl .......... SUCCESS [  3.434 s]
[INFO] Unified Connector Framework - Built-in impl ........ SUCCESS [  2.147 s]
[INFO] midPoint Provisioning - impl ....................... SUCCESS [  6.053 s]
[INFO] midPoint Model ..................................... SUCCESS [  0.080 s]
[INFO] midPoint Model - api ............................... SUCCESS [  1.114 s]
[INFO] midPoint Model - common ............................ SUCCESS [  8.757 s]
[INFO] midPoint Notifications - api ....................... SUCCESS [  1.204 s]
[INFO] Dummy Connector Fake ............................... SUCCESS [  0.185 s]
[INFO] midPoint Authentication - api ...................... SUCCESS [  0.524 s]
[INFO] midPoint Model - test .............................. FAILURE [  1.385 s]
[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 Model - integration tests ................. SKIPPED
[INFO] midPoint Workflow - api ............................ SKIPPED
[INFO] midPoint Cases - impl .............................. SKIPPED
[INFO] midPoint Report - 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:  03:49 min
[INFO] Finished at: 2022-07-07T14:26:14Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project model-test: Compilation failure
[ERROR] /home/jenkins/agent/workspace/midpoint-master-compile/model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java:[1998,82] incompatible types: com.evolveum.midpoint.prism.PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType> cannot be converted to com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType
[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 :model-test
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] error
[Pipeline] step


More information about the midPoint-ci mailing list