OpenMRS Core Master
Build: #3215 failed Changes by Rafal Korytkowski
Build result summary
Details
- Completed
- Queue duration
- 14 minutes
- Duration
- 4 minutes
- Labels
- None
- Revisions
-
- openmrs-core
-
1b734d666e5ba54ecfc2a2d3340897e6b54df393
1b734d666e5ba54ecfc2a2d3340897e6b54df393 - Release scripts
-
ced9ff00825ca1cb8c744547be4ba8ff994bd71b
ced9ff00825ca1cb8c744547be4ba8ff994bd71b
- Fixed in
- #3217 (Manual run by Rafal Korytkowski)
Responsible
- Rafal Korytkowski Automatically assigned
Code commits
Author | Commit | Commit date | |
---|---|---|---|
Rafal Korytkowski |
1b734d666e5ba54ecfc2a2d3340897e6b54df393
|
Error summary for Build
The job generated some errors, drill down into the full build log for more details.
#29 215.1 [INFO] Copying 1 resource from src/main/resources to target/classes
#29 215.1 [INFO] Copying 158 resources from src/main/resources to target/classes
#29 215.2 [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
#29 215.2 [INFO]
#29 215.2 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ openmrs-api ---
#29 215.4 [INFO] Changes detected - recompiling the module! :dependency
#29 215.4 [INFO] Compiling 746 source files with javac [debug target 1.8] to target/classes
#29 ...
#28 [linux/arm64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests
#28 224.3 [INFO] Number of files to be formatted: 1117
#28 ...
#29 [linux/amd64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests
#29 226.5 [INFO] Processing Log4j annotations
#29 226.5 [INFO] Annotations processed
#29 226.5 [INFO] Processing Log4j annotations
#29 226.5 [INFO] No elements to process
#29 226.5 [WARNING] /openmrs_core/api/src/main/java/org/openmrs/util/DatabaseUpdater.java:[762,17] unreachable catch clause
#29 226.5 thrown type java.io.FileNotFoundException has already been caught
#29 226.5 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
#29 226.5 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
#29 226.5 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Some input files use unchecked or unsafe operations.
#29 226.5 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Recompile with -Xlint:unchecked for details.
#29 226.5 [INFO]
#29 226.5 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ openmrs-api ---
#29 226.5 [INFO] Copying 153 resources from src/test/resources to target/test-classes
#29 226.6 [INFO]
#29 226.6 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ openmrs-api ---
#29 226.7 [INFO] Changes detected - recompiling the module! :dependency
#29 226.7 [INFO] Compiling 371 source files with javac [debug target 1.8] to target/test-classes
#29 236.7 [INFO] /openmrs_core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Some input files use or override a deprecated API.
#29 236.7 [INFO] /openmrs_core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Recompile with -Xlint:deprecation for details.
#29 236.7 [INFO] /openmrs_core/api/src/test/java/org/openmrs/api/db/hibernate/PersonAttributeHelper.java: Some input files use unchecked or unsafe operations.
#29 236.7 [INFO] /openmrs_core/api/src/test/java/org/openmrs/api/db/hibernate/PersonAttributeHelper.java: Recompile with -Xlint:unchecked for details.
#29 236.7 [INFO] -------------------------------------------------------------
#29 236.7 [ERROR] COMPILATION ERROR :
#29 236.7 [INFO] -------------------------------------------------------------
#29 236.7 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/PersonServiceTest.java:[2324,36] cannot find symbol
#29 236.7 symbol: method containsInAnyOrder(java.lang.Object[])
#29 236.7 location: class org.openmrs.api.PersonServiceTest
#29 236.7 [INFO] 1 error
#29 236.7 [INFO] -------------------------------------------------------------
#29 236.7 [INFO] ------------------------------------------------------------------------
#29 236.7 [INFO] Reactor Summary for OpenMRS 2.7.0-SNAPSHOT:
#29 236.7 [INFO]
#29 236.7 [INFO] OpenMRS ............................................ SUCCESS [01:30 min]
#29 236.7 [INFO] openmrs-tools ...................................... SUCCESS [ 21.296 s]
#29 236.7 [INFO] openmrs-test ....................................... SUCCESS [ 14.376 s]
#29 236.7 [INFO] openmrs-api ........................................ FAILURE [01:43 min]
#29 236.7 [INFO] openmrs-web ........................................ SKIPPED
#29 236.7 [INFO] openmrs-webapp ..................................... SKIPPED
#29 236.7 [INFO] openmrs-liquibase .................................. SKIPPED
#29 236.7 [INFO] ------------------------------------------------------------------------
#29 236.7 [INFO] BUILD FAILURE
#29 236.7 [INFO] ------------------------------------------------------------------------
#29 236.7 [INFO] Total time: 03:54 min
#29 236.7 [INFO] Finished at: 2023-03-29T12:16:50Z
#29 236.7 [INFO] ------------------------------------------------------------------------
#29 236.7 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project openmrs-api: Compilation failure
#29 236.7 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/PersonServiceTest.java:[2324,36] cannot find symbol
#29 236.7 [ERROR] symbol: method containsInAnyOrder(java.lang.Object[])
#29 236.7 [ERROR] location: class org.openmrs.api.PersonServiceTest
#29 236.7 [ERROR]
#29 236.7 [ERROR] -> [Help 1]
#29 236.7 [ERROR]
#29 236.7 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#29 236.7 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#29 236.7 [ERROR]
#29 236.7 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#29 236.7 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#29 236.7 [ERROR]
#29 236.7 [ERROR] After correcting the problems, you can resume the build with the command
#29 236.7 [ERROR] mvn <args> -rf :openmrs-api
#29 ERROR: process "/bin/sh -c mvn $MVN_ARGS" did not complete successfully: exit code: 1
#28 [linux/arm64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests
#28 CANCELED
------
> [linux/amd64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests:
#29 236.7 [ERROR] -> [Help 1]
#29 236.7 [ERROR]
#29 236.7 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#29 236.7 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#29 236.7 [ERROR]
#29 236.7 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#29 236.7 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#29 236.7 [ERROR]
#29 236.7 [ERROR] After correcting the problems, you can resume the build with the command
#29 236.7 [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
#29 215.1 [INFO] Copying 158 resources from src/main/resources to target/classes
#29 215.2 [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
#29 215.2 [INFO]
#29 215.2 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ openmrs-api ---
#29 215.4 [INFO] Changes detected - recompiling the module! :dependency
#29 215.4 [INFO] Compiling 746 source files with javac [debug target 1.8] to target/classes
#29 ...
#28 [linux/arm64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests
#28 224.3 [INFO] Number of files to be formatted: 1117
#28 ...
#29 [linux/amd64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests
#29 226.5 [INFO] Processing Log4j annotations
#29 226.5 [INFO] Annotations processed
#29 226.5 [INFO] Processing Log4j annotations
#29 226.5 [INFO] No elements to process
#29 226.5 [WARNING] /openmrs_core/api/src/main/java/org/openmrs/util/DatabaseUpdater.java:[762,17] unreachable catch clause
#29 226.5 thrown type java.io.FileNotFoundException has already been caught
#29 226.5 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
#29 226.5 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
#29 226.5 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Some input files use unchecked or unsafe operations.
#29 226.5 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Recompile with -Xlint:unchecked for details.
#29 226.5 [INFO]
#29 226.5 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ openmrs-api ---
#29 226.5 [INFO] Copying 153 resources from src/test/resources to target/test-classes
#29 226.6 [INFO]
#29 226.6 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ openmrs-api ---
#29 226.7 [INFO] Changes detected - recompiling the module! :dependency
#29 226.7 [INFO] Compiling 371 source files with javac [debug target 1.8] to target/test-classes
#29 236.7 [INFO] /openmrs_core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Some input files use or override a deprecated API.
#29 236.7 [INFO] /openmrs_core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Recompile with -Xlint:deprecation for details.
#29 236.7 [INFO] /openmrs_core/api/src/test/java/org/openmrs/api/db/hibernate/PersonAttributeHelper.java: Some input files use unchecked or unsafe operations.
#29 236.7 [INFO] /openmrs_core/api/src/test/java/org/openmrs/api/db/hibernate/PersonAttributeHelper.java: Recompile with -Xlint:unchecked for details.
#29 236.7 [INFO] -------------------------------------------------------------
#29 236.7 [ERROR] COMPILATION ERROR :
#29 236.7 [INFO] -------------------------------------------------------------
#29 236.7 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/PersonServiceTest.java:[2324,36] cannot find symbol
#29 236.7 symbol: method containsInAnyOrder(java.lang.Object[])
#29 236.7 location: class org.openmrs.api.PersonServiceTest
#29 236.7 [INFO] 1 error
#29 236.7 [INFO] -------------------------------------------------------------
#29 236.7 [INFO] ------------------------------------------------------------------------
#29 236.7 [INFO] Reactor Summary for OpenMRS 2.7.0-SNAPSHOT:
#29 236.7 [INFO]
#29 236.7 [INFO] OpenMRS ............................................ SUCCESS [01:30 min]
#29 236.7 [INFO] openmrs-tools ...................................... SUCCESS [ 21.296 s]
#29 236.7 [INFO] openmrs-test ....................................... SUCCESS [ 14.376 s]
#29 236.7 [INFO] openmrs-api ........................................ FAILURE [01:43 min]
#29 236.7 [INFO] openmrs-web ........................................ SKIPPED
#29 236.7 [INFO] openmrs-webapp ..................................... SKIPPED
#29 236.7 [INFO] openmrs-liquibase .................................. SKIPPED
#29 236.7 [INFO] ------------------------------------------------------------------------
#29 236.7 [INFO] BUILD FAILURE
#29 236.7 [INFO] ------------------------------------------------------------------------
#29 236.7 [INFO] Total time: 03:54 min
#29 236.7 [INFO] Finished at: 2023-03-29T12:16:50Z
#29 236.7 [INFO] ------------------------------------------------------------------------
#29 236.7 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project openmrs-api: Compilation failure
#29 236.7 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/PersonServiceTest.java:[2324,36] cannot find symbol
#29 236.7 [ERROR] symbol: method containsInAnyOrder(java.lang.Object[])
#29 236.7 [ERROR] location: class org.openmrs.api.PersonServiceTest
#29 236.7 [ERROR]
#29 236.7 [ERROR] -> [Help 1]
#29 236.7 [ERROR]
#29 236.7 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#29 236.7 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#29 236.7 [ERROR]
#29 236.7 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#29 236.7 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#29 236.7 [ERROR]
#29 236.7 [ERROR] After correcting the problems, you can resume the build with the command
#29 236.7 [ERROR] mvn <args> -rf :openmrs-api
#29 ERROR: process "/bin/sh -c mvn $MVN_ARGS" did not complete successfully: exit code: 1
#28 [linux/arm64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests
#28 CANCELED
------
> [linux/amd64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests:
#29 236.7 [ERROR] -> [Help 1]
#29 236.7 [ERROR]
#29 236.7 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#29 236.7 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#29 236.7 [ERROR]
#29 236.7 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#29 236.7 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#29 236.7 [ERROR]
#29 236.7 [ERROR] After correcting the problems, you can resume the build with the command
#29 236.7 [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