Platform 2.5
Build: #178 failed Changes by Rafal Korytkowski
Build result summary
Details
- Completed
- Queue duration
- 13 minutes
- Duration
- 2 minutes
- Labels
- None
- Revisions
-
- openmrs-core-2.5.x
-
4ea7f7927e5be18192a04db584aee6d226df736f
4ea7f7927e5be18192a04db584aee6d226df736f - Release scripts
-
ced9ff00825ca1cb8c744547be4ba8ff994bd71b
ced9ff00825ca1cb8c744547be4ba8ff994bd71b
- Fixed in
- #179 (Changes by Rafal Korytkowski)
Responsible
- Rafal Korytkowski Automatically assigned
Code commits
Author | Commit | Commit date | |
---|---|---|---|
Rafal Korytkowski |
4ea7f7927e5be18192a04db584aee6d226df736f
|
Error summary for Build
The job generated some errors, drill down into the full build log for more details.
#29 [linux/arm64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests
#29 79.92 [INFO]
#29 79.95 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
#29 80.08 [INFO]
#29 80.10 [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-api ---
#29 80.14 [INFO]
#29 80.14 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-api ---
#29 80.18 [INFO]
#29 80.18 [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
#29 81.60 [INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar=destfile=/openmrs_core/api/target/jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -Djava.locale.providers=COMPAT
#29 81.60 [INFO]
#29 81.61 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
#29 83.08 [INFO] Using 'UTF-8' encoding to format source files.
#29 95.16 [INFO] Number of files to be formatted: 1103
#29 ...
#31 [linux/amd64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests
#31 97.56 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
#31 97.56 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
#31 97.56 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Some input files use unchecked or unsafe operations.
#31 97.57 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Recompile with -Xlint:unchecked for details.
#31 97.57 [INFO]
#31 97.57 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ openmrs-api ---
#31 97.57 [INFO] Using 'UTF-8' encoding to copy filtered resources.
#31 97.57 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
#31 97.58 [INFO] Copying 151 resources
#31 97.66 [INFO]
#31 97.66 [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-api ---
#31 97.86 [INFO] Changes detected - recompiling the module!
#31 97.87 [INFO] Compiling 364 source files to /openmrs_core/api/target/test-classes
#31 109.0 [INFO] /openmrs_core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Some input files use or override a deprecated API.
#31 109.0 [INFO] /openmrs_core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Recompile with -Xlint:deprecation for details.
#31 109.0 [INFO] /openmrs_core/api/src/test/java/org/openmrs/api/db/hibernate/PersonAttributeHelper.java: Some input files use unchecked or unsafe operations.
#31 109.0 [INFO] /openmrs_core/api/src/test/java/org/openmrs/api/db/hibernate/PersonAttributeHelper.java: Recompile with -Xlint:unchecked for details.
#31 109.0 [INFO] -------------------------------------------------------------
#31 109.0 [ERROR] COMPILATION ERROR :
#31 109.0 [INFO] -------------------------------------------------------------
#31 109.0 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/PersonServiceTest.java:[2324,36] cannot find symbol
#31 109.0 symbol: method containsInAnyOrder(java.lang.Object[])
#31 109.0 location: class org.openmrs.api.PersonServiceTest
#31 109.0 [INFO] 1 error
#31 109.0 [INFO] -------------------------------------------------------------
#31 109.0 [INFO] ------------------------------------------------------------------------
#31 109.0 [INFO] Reactor Summary for OpenMRS 2.5.12-SNAPSHOT:
#31 109.0 [INFO]
#31 109.0 [INFO] OpenMRS ............................................ SUCCESS [ 30.665 s]
#31 109.0 [INFO] openmrs-tools ...................................... SUCCESS [ 12.280 s]
#31 109.0 [INFO] openmrs-test ....................................... SUCCESS [ 4.571 s]
#31 109.0 [INFO] openmrs-api ........................................ FAILURE [ 54.811 s]
#31 109.0 [INFO] openmrs-web ........................................ SKIPPED
#31 109.0 [INFO] openmrs-webapp ..................................... SKIPPED
#31 109.0 [INFO] openmrs-liquibase .................................. SKIPPED
#31 109.0 [INFO] ------------------------------------------------------------------------
#31 109.0 [INFO] BUILD FAILURE
#31 109.0 [INFO] ------------------------------------------------------------------------
#31 109.0 [INFO] Total time: 01:45 min
#31 109.0 [INFO] Finished at: 2023-03-29T12:17:14Z
#31 109.0 [INFO] ------------------------------------------------------------------------
#31 109.0 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project openmrs-api: Compilation failure
#31 109.0 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/PersonServiceTest.java:[2324,36] cannot find symbol
#31 109.0 [ERROR] symbol: method containsInAnyOrder(java.lang.Object[])
#31 109.0 [ERROR] location: class org.openmrs.api.PersonServiceTest
#31 109.0 [ERROR]
#31 109.0 [ERROR] -> [Help 1]
#31 109.0 [ERROR]
#31 109.0 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#31 109.0 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#31 109.0 [ERROR]
#31 109.0 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#31 109.0 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#31 109.0 [ERROR]
#31 109.0 [ERROR] After correcting the problems, you can resume the build with the command
#31 109.0 [ERROR] mvn <args> -rf :openmrs-api
#31 ERROR: process "/bin/sh -c mvn $MVN_ARGS" did not complete successfully: exit code: 1
#29 [linux/arm64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests
#29 CANCELED
------
> [linux/amd64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests:
#31 109.0 [ERROR] -> [Help 1]
#31 109.0 [ERROR]
#31 109.0 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#31 109.0 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#31 109.0 [ERROR]
#31 109.0 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#31 109.0 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#31 109.0 [ERROR]
#31 109.0 [ERROR] After correcting the problems, you can resume the build with the command
#31 109.0 [ERROR] mvn <args> -rf :openmrs-api
------
Dockerfile:57
--------------------
55 |
56 | # Build the project
57 | >>> RUN --mount=type=cache,target=/root/.m2 mvn $MVN_ARGS
58 |
59 | RUN mkdir -p /openmrs/distribution/openmrs_core/ \
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_ARGS" did not complete successfully: exit code: 1