OpenMRS Core Master
Build: #3629 failed
Job: Build failed
Job result summary
- Completed
- Duration
- 36 seconds
- Agent
- xindi.openmrs.org
- Revision
-
fc20f21306feed3d75e4766018b1681e464cbac5
fc20f21306feed3d75e4766018b1681e464cbac5 - Fixed in
- #3630 (Code changes detected)
Error summary
The build generated some errors. See the full build log for more details.
#27 8.197 [INFO] --- maven-jar-plugin:3.4.2:test-jar (default) @ openmrs-test ---
#27 8.199 [WARNING] JAR will be empty - no content was marked for inclusion!
#27 8.202 [INFO] Building jar: /openmrs_core/test/target/openmrs-test-2.8.0-SNAPSHOT-tests.jar
#27 8.219 [INFO]
#27 8.222 [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-test ---
#27 8.233 [INFO] Checking licenses...
#27 8.246 [INFO]
#27 8.247 [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-test ---
#27 8.249 [INFO] Installing /openmrs_core/test/pom.xml to /usr/share/maven/ref/repository/org/openmrs/test/openmrs-test/2.8.0-SNAPSHOT/openmrs-test-2.8.0-SNAPSHOT.pom
#27 8.259 [INFO] Installing /openmrs_core/test/target/openmrs-test-2.8.0-SNAPSHOT-tests.jar to /usr/share/maven/ref/repository/org/openmrs/test/openmrs-test/2.8.0-SNAPSHOT/openmrs-test-2.8.0-SNAPSHOT-tests.jar
#27 8.264 [INFO]
#27 8.267 [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
#27 8.268 [INFO] Building openmrs-api 2.8.0-SNAPSHOT [4/7]
#27 8.268 [INFO] from api/pom.xml
#27 8.268 [INFO] --------------------------------[ jar ]---------------------------------
#27 8.694 [WARNING] The artifact org.hibernate:hibernate-validator:jar:6.1.2.Final has been relocated to org.hibernate.validator:hibernate-validator:jar:6.1.2.Final
#27 8.704 [INFO]
#27 8.705 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
#27 8.706 [INFO]
#27 8.707 [INFO] --- buildnumber-maven-plugin:3.2.1:create (default) @ openmrs-api ---
#27 8.709 [INFO]
#27 8.709 [INFO] --- build-helper-maven-plugin:3.6.0:parse-version (parse-version) @ openmrs-api ---
#27 8.711 [INFO]
#27 8.712 [INFO] --- jacoco-maven-plugin:0.8.12:prepare-agent (prepare-agent) @ openmrs-api ---
#27 8.797 [INFO] argLine set to -javaagent:/usr/share/maven/ref/repository/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/openmrs_core/api/target/jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -Djava.locale.providers=COMPAT
#27 8.799 [INFO]
#27 8.800 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
#27 9.057 [INFO] Using 'UTF-8' encoding to format source files.
#27 14.46 [INFO] Number of files to be formatted: 1146
#27 17.27 [INFO] Successfully formatted: 0 file(s)
#27 17.27 [INFO] Fail to format : 0 file(s)
#27 17.27 [INFO] Skipped : 1146 file(s)
#27 17.27 [INFO] Approximate time taken: 8s
#27 17.27 [INFO]
#27 17.27 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ openmrs-api ---
#27 17.27 [INFO] Copying 1 resource from src/main/resources to target/classes
#27 17.30 [INFO] Copying 150 resources from src/main/resources to target/classes
#27 17.35 [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
#27 17.36 [INFO]
#27 17.36 [INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ openmrs-api ---
#27 17.46 [INFO] Recompiling the module because of changed source code.
#27 17.48 [INFO] Compiling 759 source files with javac [debug target 1.8] to target/classes
#27 19.21 [INFO] -------------------------------------------------------------
#27 19.21 [ERROR] COMPILATION ERROR :
#27 19.21 [INFO] -------------------------------------------------------------
#27 19.21 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/layout/address/AddressSupport.java:[15,49] ';' expected
#27 19.21 [INFO] 1 error
#27 19.21 [INFO] -------------------------------------------------------------
#27 19.21 [INFO] ------------------------------------------------------------------------
#27 19.21 [INFO] Reactor Summary for OpenMRS 2.8.0-SNAPSHOT:
#27 19.21 [INFO]
#27 19.21 [INFO] OpenMRS ............................................ SUCCESS [ 2.400 s]
#27 19.21 [INFO] openmrs-tools ...................................... SUCCESS [ 0.796 s]
#27 19.21 [INFO] openmrs-test ....................................... SUCCESS [ 0.170 s]
#27 19.22 [INFO] openmrs-api ........................................ FAILURE [ 10.945 s]
#27 19.22 [INFO] openmrs-web ........................................ SKIPPED
#27 19.22 [INFO] openmrs-webapp ..................................... SKIPPED
#27 19.22 [INFO] openmrs-liquibase .................................. SKIPPED
#27 19.22 [INFO] ------------------------------------------------------------------------
#27 19.22 [INFO] BUILD FAILURE
#27 19.22 [INFO] ------------------------------------------------------------------------
#27 19.22 [INFO] Total time: 16.723 s
#27 19.22 [INFO] Finished at: 2024-12-20T11:56:41Z
#27 19.22 [INFO] ------------------------------------------------------------------------
#27 19.22 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project openmrs-api: Compilation failure
#27 19.22 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/layout/address/AddressSupport.java:[15,49] ';' expected
#27 19.22 [ERROR]
#27 19.22 [ERROR] -> [Help 1]
#27 19.22 [ERROR]
#27 19.22 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#27 19.22 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#27 19.22 [ERROR]
#27 19.22 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#27 19.22 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#27 19.22 [ERROR]
#27 19.22 [ERROR] After correcting the problems, you can resume the build with the command
#27 19.22 [ERROR] mvn <args> -rf :openmrs-api
#27 ERROR: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
------
> [linux/amd64 compile 15/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests:
#27 19.22 [ERROR] -> [Help 1]
#27 19.22 [ERROR]
#27 19.22 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#27 19.22 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#27 19.22 [ERROR]
#27 19.22 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#27 19.22 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#27 19.22 [ERROR]
#27 19.22 [ERROR] After correcting the problems, you can resume the build with the command
#27 19.22 [ERROR] mvn <args> -rf :openmrs-api
------
Dockerfile:49
--------------------
47 |
48 | # Build the project
49 | >>> RUN mvn $MVN_SETTINGS $MVN_ARGS
50 |
51 | ### Development Stage
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
#27 8.199 [WARNING] JAR will be empty - no content was marked for inclusion!
#27 8.202 [INFO] Building jar: /openmrs_core/test/target/openmrs-test-2.8.0-SNAPSHOT-tests.jar
#27 8.219 [INFO]
#27 8.222 [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-test ---
#27 8.233 [INFO] Checking licenses...
#27 8.246 [INFO]
#27 8.247 [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-test ---
#27 8.249 [INFO] Installing /openmrs_core/test/pom.xml to /usr/share/maven/ref/repository/org/openmrs/test/openmrs-test/2.8.0-SNAPSHOT/openmrs-test-2.8.0-SNAPSHOT.pom
#27 8.259 [INFO] Installing /openmrs_core/test/target/openmrs-test-2.8.0-SNAPSHOT-tests.jar to /usr/share/maven/ref/repository/org/openmrs/test/openmrs-test/2.8.0-SNAPSHOT/openmrs-test-2.8.0-SNAPSHOT-tests.jar
#27 8.264 [INFO]
#27 8.267 [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
#27 8.268 [INFO] Building openmrs-api 2.8.0-SNAPSHOT [4/7]
#27 8.268 [INFO] from api/pom.xml
#27 8.268 [INFO] --------------------------------[ jar ]---------------------------------
#27 8.694 [WARNING] The artifact org.hibernate:hibernate-validator:jar:6.1.2.Final has been relocated to org.hibernate.validator:hibernate-validator:jar:6.1.2.Final
#27 8.704 [INFO]
#27 8.705 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
#27 8.706 [INFO]
#27 8.707 [INFO] --- buildnumber-maven-plugin:3.2.1:create (default) @ openmrs-api ---
#27 8.709 [INFO]
#27 8.709 [INFO] --- build-helper-maven-plugin:3.6.0:parse-version (parse-version) @ openmrs-api ---
#27 8.711 [INFO]
#27 8.712 [INFO] --- jacoco-maven-plugin:0.8.12:prepare-agent (prepare-agent) @ openmrs-api ---
#27 8.797 [INFO] argLine set to -javaagent:/usr/share/maven/ref/repository/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/openmrs_core/api/target/jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -Djava.locale.providers=COMPAT
#27 8.799 [INFO]
#27 8.800 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
#27 9.057 [INFO] Using 'UTF-8' encoding to format source files.
#27 14.46 [INFO] Number of files to be formatted: 1146
#27 17.27 [INFO] Successfully formatted: 0 file(s)
#27 17.27 [INFO] Fail to format : 0 file(s)
#27 17.27 [INFO] Skipped : 1146 file(s)
#27 17.27 [INFO] Approximate time taken: 8s
#27 17.27 [INFO]
#27 17.27 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ openmrs-api ---
#27 17.27 [INFO] Copying 1 resource from src/main/resources to target/classes
#27 17.30 [INFO] Copying 150 resources from src/main/resources to target/classes
#27 17.35 [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
#27 17.36 [INFO]
#27 17.36 [INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ openmrs-api ---
#27 17.46 [INFO] Recompiling the module because of changed source code.
#27 17.48 [INFO] Compiling 759 source files with javac [debug target 1.8] to target/classes
#27 19.21 [INFO] -------------------------------------------------------------
#27 19.21 [ERROR] COMPILATION ERROR :
#27 19.21 [INFO] -------------------------------------------------------------
#27 19.21 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/layout/address/AddressSupport.java:[15,49] ';' expected
#27 19.21 [INFO] 1 error
#27 19.21 [INFO] -------------------------------------------------------------
#27 19.21 [INFO] ------------------------------------------------------------------------
#27 19.21 [INFO] Reactor Summary for OpenMRS 2.8.0-SNAPSHOT:
#27 19.21 [INFO]
#27 19.21 [INFO] OpenMRS ............................................ SUCCESS [ 2.400 s]
#27 19.21 [INFO] openmrs-tools ...................................... SUCCESS [ 0.796 s]
#27 19.21 [INFO] openmrs-test ....................................... SUCCESS [ 0.170 s]
#27 19.22 [INFO] openmrs-api ........................................ FAILURE [ 10.945 s]
#27 19.22 [INFO] openmrs-web ........................................ SKIPPED
#27 19.22 [INFO] openmrs-webapp ..................................... SKIPPED
#27 19.22 [INFO] openmrs-liquibase .................................. SKIPPED
#27 19.22 [INFO] ------------------------------------------------------------------------
#27 19.22 [INFO] BUILD FAILURE
#27 19.22 [INFO] ------------------------------------------------------------------------
#27 19.22 [INFO] Total time: 16.723 s
#27 19.22 [INFO] Finished at: 2024-12-20T11:56:41Z
#27 19.22 [INFO] ------------------------------------------------------------------------
#27 19.22 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project openmrs-api: Compilation failure
#27 19.22 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/layout/address/AddressSupport.java:[15,49] ';' expected
#27 19.22 [ERROR]
#27 19.22 [ERROR] -> [Help 1]
#27 19.22 [ERROR]
#27 19.22 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#27 19.22 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#27 19.22 [ERROR]
#27 19.22 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#27 19.22 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#27 19.22 [ERROR]
#27 19.22 [ERROR] After correcting the problems, you can resume the build with the command
#27 19.22 [ERROR] mvn <args> -rf :openmrs-api
#27 ERROR: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
------
> [linux/amd64 compile 15/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests:
#27 19.22 [ERROR] -> [Help 1]
#27 19.22 [ERROR]
#27 19.22 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#27 19.22 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#27 19.22 [ERROR]
#27 19.22 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#27 19.22 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#27 19.22 [ERROR]
#27 19.22 [ERROR] After correcting the problems, you can resume the build with the command
#27 19.22 [ERROR] mvn <args> -rf :openmrs-api
------
Dockerfile:49
--------------------
47 |
48 | # Build the project
49 | >>> RUN mvn $MVN_SETTINGS $MVN_ARGS
50 |
51 | ### Development Stage
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1