Platform 2.5
Build: #199 failed
Job: Build failed
Job result summary
- Completed
- Duration
- 43 seconds
- Agent
- yu.openmrs.org
- Revision
-
5dee0daf4176a81efb57d60ef90ce6d77cad8f87
5dee0daf4176a81efb57d60ef90ce6d77cad8f87 - Failing since
- #198 (Code changes detected – )
- Fixed in
- #200 (Code changes detected)
Error summary
The build generated some errors. See the full build log for more details.
#26 6.157 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-api ---
#26 6.158 [INFO]
#26 6.160 [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
#26 6.213 [INFO] argLine set to -javaagent:/usr/share/maven/ref/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
#26 6.218 [INFO]
#26 6.219 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
#26 6.314 [INFO] Using 'UTF-8' encoding to format source files.
#26 10.14 [INFO] Number of files to be formatted: 1105
#26 14.53 [INFO] Successfully formatted: 0 file(s)
#26 14.53 [INFO] Fail to format : 0 file(s)
#26 14.53 [INFO] Skipped : 1105 file(s)
#26 14.53 [INFO] Approximate time taken: 8s
#26 14.54 [INFO]
#26 14.54 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-api ---
#26 14.55 [INFO] Using 'UTF-8' encoding to copy filtered resources.
#26 14.55 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
#26 14.55 [INFO] Copying 1 resource
#26 14.59 [INFO] Copying 161 resources
#26 14.72 [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
#26 14.72 [INFO]
#26 14.72 [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-api ---
#26 15.01 [INFO] Changes detected - recompiling the module!
#26 15.04 [INFO] Compiling 740 source files to /openmrs_core/api/target/classes
#26 22.90 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
#26 22.90 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
#26 22.90 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Some input files use unchecked or unsafe operations.
#26 22.90 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Recompile with -Xlint:unchecked for details.
#26 22.90 [INFO] -------------------------------------------------------------
#26 22.90 [ERROR] COMPILATION ERROR :
#26 22.91 [INFO] -------------------------------------------------------------
#26 22.91 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java:[757,78] cannot find symbol
#26 22.91 symbol: variable GP_PASSWORD_RESET_URL
#26 22.91 location: class org.openmrs.util.OpenmrsConstants
#26 22.91 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java:[781,89] cannot find symbol
#26 22.91 symbol: variable GP_PASSWORD_RESET_URL
#26 22.91 location: class org.openmrs.util.OpenmrsConstants
#26 22.91 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java:[783,72] cannot find symbol
#26 22.91 symbol: variable GP_PASSWORD_RESET_URL
#26 22.91 location: class org.openmrs.util.OpenmrsConstants
#26 22.91 [INFO] 3 errors
#26 22.91 [INFO] -------------------------------------------------------------
#26 22.91 [INFO] ------------------------------------------------------------------------
#26 22.91 [INFO] Reactor Summary for OpenMRS 2.5.13-SNAPSHOT:
#26 22.91 [INFO]
#26 22.91 [INFO] OpenMRS ............................................ SUCCESS [ 1.408 s]
#26 22.91 [INFO] openmrs-tools ...................................... SUCCESS [ 0.523 s]
#26 22.91 [INFO] openmrs-test ....................................... SUCCESS [ 0.100 s]
#26 22.92 [INFO] openmrs-api ........................................ FAILURE [ 16.989 s]
#26 22.92 [INFO] openmrs-web ........................................ SKIPPED
#26 22.92 [INFO] openmrs-webapp ..................................... SKIPPED
#26 22.92 [INFO] openmrs-liquibase .................................. SKIPPED
#26 22.92 [INFO] ------------------------------------------------------------------------
#26 22.92 [INFO] BUILD FAILURE
#26 22.92 [INFO] ------------------------------------------------------------------------
#26 22.92 [INFO] Total time: 20.986 s
#26 22.92 [INFO] Finished at: 2023-09-05T13:37:03Z
#26 22.92 [INFO] ------------------------------------------------------------------------
#26 22.93 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project openmrs-api: Compilation failure: Compilation failure:
#26 22.93 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java:[757,78] cannot find symbol
#26 22.93 [ERROR] symbol: variable GP_PASSWORD_RESET_URL
#26 22.93 [ERROR] location: class org.openmrs.util.OpenmrsConstants
#26 22.93 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java:[781,89] cannot find symbol
#26 22.93 [ERROR] symbol: variable GP_PASSWORD_RESET_URL
#26 22.93 [ERROR] location: class org.openmrs.util.OpenmrsConstants
#26 22.93 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java:[783,72] cannot find symbol
#26 22.93 [ERROR] symbol: variable GP_PASSWORD_RESET_URL
#26 22.93 [ERROR] location: class org.openmrs.util.OpenmrsConstants
#26 22.93 [ERROR] -> [Help 1]
#26 22.93 [ERROR]
#26 22.93 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#26 22.94 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#26 22.94 [ERROR]
#26 22.94 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#26 22.94 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#26 22.94 [ERROR]
#26 22.94 [ERROR] After correcting the problems, you can resume the build with the command
#26 22.94 [ERROR] mvn <args> -rf :openmrs-api
#26 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:
#26 22.93 [ERROR] -> [Help 1]
#26 22.93 [ERROR]
#26 22.93 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#26 22.94 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#26 22.94 [ERROR]
#26 22.94 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#26 22.94 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#26 22.94 [ERROR]
#26 22.94 [ERROR] After correcting the problems, you can resume the build with the command
#26 22.94 [ERROR] mvn <args> -rf :openmrs-api
------
Dockerfile:46
--------------------
44 |
45 | # Build the project
46 | >>> RUN mvn $MVN_SETTINGS $MVN_ARGS
47 |
48 | ### Development Stage
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
#26 6.158 [INFO]
#26 6.160 [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
#26 6.213 [INFO] argLine set to -javaagent:/usr/share/maven/ref/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
#26 6.218 [INFO]
#26 6.219 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
#26 6.314 [INFO] Using 'UTF-8' encoding to format source files.
#26 10.14 [INFO] Number of files to be formatted: 1105
#26 14.53 [INFO] Successfully formatted: 0 file(s)
#26 14.53 [INFO] Fail to format : 0 file(s)
#26 14.53 [INFO] Skipped : 1105 file(s)
#26 14.53 [INFO] Approximate time taken: 8s
#26 14.54 [INFO]
#26 14.54 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-api ---
#26 14.55 [INFO] Using 'UTF-8' encoding to copy filtered resources.
#26 14.55 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
#26 14.55 [INFO] Copying 1 resource
#26 14.59 [INFO] Copying 161 resources
#26 14.72 [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
#26 14.72 [INFO]
#26 14.72 [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-api ---
#26 15.01 [INFO] Changes detected - recompiling the module!
#26 15.04 [INFO] Compiling 740 source files to /openmrs_core/api/target/classes
#26 22.90 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
#26 22.90 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
#26 22.90 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Some input files use unchecked or unsafe operations.
#26 22.90 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Recompile with -Xlint:unchecked for details.
#26 22.90 [INFO] -------------------------------------------------------------
#26 22.90 [ERROR] COMPILATION ERROR :
#26 22.91 [INFO] -------------------------------------------------------------
#26 22.91 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java:[757,78] cannot find symbol
#26 22.91 symbol: variable GP_PASSWORD_RESET_URL
#26 22.91 location: class org.openmrs.util.OpenmrsConstants
#26 22.91 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java:[781,89] cannot find symbol
#26 22.91 symbol: variable GP_PASSWORD_RESET_URL
#26 22.91 location: class org.openmrs.util.OpenmrsConstants
#26 22.91 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java:[783,72] cannot find symbol
#26 22.91 symbol: variable GP_PASSWORD_RESET_URL
#26 22.91 location: class org.openmrs.util.OpenmrsConstants
#26 22.91 [INFO] 3 errors
#26 22.91 [INFO] -------------------------------------------------------------
#26 22.91 [INFO] ------------------------------------------------------------------------
#26 22.91 [INFO] Reactor Summary for OpenMRS 2.5.13-SNAPSHOT:
#26 22.91 [INFO]
#26 22.91 [INFO] OpenMRS ............................................ SUCCESS [ 1.408 s]
#26 22.91 [INFO] openmrs-tools ...................................... SUCCESS [ 0.523 s]
#26 22.91 [INFO] openmrs-test ....................................... SUCCESS [ 0.100 s]
#26 22.92 [INFO] openmrs-api ........................................ FAILURE [ 16.989 s]
#26 22.92 [INFO] openmrs-web ........................................ SKIPPED
#26 22.92 [INFO] openmrs-webapp ..................................... SKIPPED
#26 22.92 [INFO] openmrs-liquibase .................................. SKIPPED
#26 22.92 [INFO] ------------------------------------------------------------------------
#26 22.92 [INFO] BUILD FAILURE
#26 22.92 [INFO] ------------------------------------------------------------------------
#26 22.92 [INFO] Total time: 20.986 s
#26 22.92 [INFO] Finished at: 2023-09-05T13:37:03Z
#26 22.92 [INFO] ------------------------------------------------------------------------
#26 22.93 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project openmrs-api: Compilation failure: Compilation failure:
#26 22.93 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java:[757,78] cannot find symbol
#26 22.93 [ERROR] symbol: variable GP_PASSWORD_RESET_URL
#26 22.93 [ERROR] location: class org.openmrs.util.OpenmrsConstants
#26 22.93 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java:[781,89] cannot find symbol
#26 22.93 [ERROR] symbol: variable GP_PASSWORD_RESET_URL
#26 22.93 [ERROR] location: class org.openmrs.util.OpenmrsConstants
#26 22.93 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/impl/UserServiceImpl.java:[783,72] cannot find symbol
#26 22.93 [ERROR] symbol: variable GP_PASSWORD_RESET_URL
#26 22.93 [ERROR] location: class org.openmrs.util.OpenmrsConstants
#26 22.93 [ERROR] -> [Help 1]
#26 22.93 [ERROR]
#26 22.93 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#26 22.94 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#26 22.94 [ERROR]
#26 22.94 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#26 22.94 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#26 22.94 [ERROR]
#26 22.94 [ERROR] After correcting the problems, you can resume the build with the command
#26 22.94 [ERROR] mvn <args> -rf :openmrs-api
#26 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:
#26 22.93 [ERROR] -> [Help 1]
#26 22.93 [ERROR]
#26 22.93 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#26 22.94 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#26 22.94 [ERROR]
#26 22.94 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#26 22.94 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#26 22.94 [ERROR]
#26 22.94 [ERROR] After correcting the problems, you can resume the build with the command
#26 22.94 [ERROR] mvn <args> -rf :openmrs-api
------
Dockerfile:46
--------------------
44 |
45 | # Build the project
46 | >>> RUN mvn $MVN_SETTINGS $MVN_ARGS
47 |
48 | ### Development Stage
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1