OpenMRS Core 2.6

Build: #145 failed

Job: Build failed

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually
  5. Release image variants

Job result summary

Completed
Duration
59 seconds
Agent
yu.openmrs.org
Revision
54dfbbd330a671e0866ff15554cc50a3cfc2985e 54dfbbd330a671e0866ff15554cc50a3cfc2985e
Fixed in
#146 (Code changes detected)
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

#27 15.83 [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 15.83 [INFO]
#27 15.84 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-api ---
#27 15.98 [INFO] Changes detected - recompiling the module!
#27 16.00 [INFO] Compiling 749 source files to /openmrs_core/api/target/classes
#27 24.10 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
#27 24.10 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
#27 24.10 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Some input files use unchecked or unsafe operations.
#27 24.10 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Recompile with -Xlint:unchecked for details.
#27 24.10 [INFO] -------------------------------------------------------------
#27 24.10 [ERROR] COMPILATION ERROR :
#27 24.10 [INFO] -------------------------------------------------------------
#27 24.10 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java:[235,17] cannot find symbol
#27 24.10   symbol:   class CriteriaBuilder
#27 24.10   location: class org.openmrs.api.db.hibernate.HibernateVisitDAO
#27 24.10 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java:[236,17] cannot find symbol
#27 24.10   symbol:   class CriteriaQuery
#27 24.10   location: class org.openmrs.api.db.hibernate.HibernateVisitDAO
#27 24.10 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java:[237,17] cannot find symbol
#27 24.10   symbol:   class Root
#27 24.10   location: class org.openmrs.api.db.hibernate.HibernateVisitDAO
#27 24.10 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java:[239,22] cannot find symbol
#27 24.10   symbol:   class Predicate
#27 24.10   location: class org.openmrs.api.db.hibernate.HibernateVisitDAO
#27 24.10 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java:[239,50] cannot find symbol
#27 24.10   symbol:   class ArrayList
#27 24.10   location: class org.openmrs.api.db.hibernate.HibernateVisitDAO
#27 24.10 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java:[276,49] cannot find symbol
#27 24.10   symbol:   class Predicate
#27 24.10   location: class org.openmrs.api.db.hibernate.HibernateVisitDAO
#27 24.10 [INFO] 6 errors
#27 24.10 [INFO] -------------------------------------------------------------
#27 24.10 [INFO] ------------------------------------------------------------------------
#27 24.10 [INFO] Reactor Summary for OpenMRS 2.6.8-SNAPSHOT:
#27 24.10 [INFO]
#27 24.10 [INFO] OpenMRS ............................................ SUCCESS [  2.445 s]
#27 24.11 [INFO] openmrs-tools ...................................... SUCCESS [  0.629 s]
#27 24.11 [INFO] openmrs-test ....................................... SUCCESS [  0.237 s]
#27 24.11 [INFO] openmrs-api ........................................ FAILURE [ 17.926 s]
#27 24.11 [INFO] openmrs-web ........................................ SKIPPED
#27 24.11 [INFO] openmrs-webapp ..................................... SKIPPED
#27 24.11 [INFO] openmrs-liquibase .................................. SKIPPED
#27 24.11 [INFO] ------------------------------------------------------------------------
#27 24.11 [INFO] BUILD FAILURE
#27 24.11 [INFO] ------------------------------------------------------------------------
#27 24.11 [INFO] Total time:  22.154 s
#27 24.11 [INFO] Finished at: 2024-09-05T11:47:36Z
#27 24.11 [INFO] ------------------------------------------------------------------------
#27 24.11 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project openmrs-api: Compilation failure: Compilation failure:
#27 24.11 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java:[235,17] cannot find symbol
#27 24.11 [ERROR]   symbol:   class CriteriaBuilder
#27 24.11 [ERROR]   location: class org.openmrs.api.db.hibernate.HibernateVisitDAO
#27 24.11 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java:[236,17] cannot find symbol
#27 24.11 [ERROR]   symbol:   class CriteriaQuery
#27 24.11 [ERROR]   location: class org.openmrs.api.db.hibernate.HibernateVisitDAO
#27 24.11 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java:[237,17] cannot find symbol
#27 24.11 [ERROR]   symbol:   class Root
#27 24.11 [ERROR]   location: class org.openmrs.api.db.hibernate.HibernateVisitDAO
#27 24.11 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java:[239,22] cannot find symbol
#27 24.11 [ERROR]   symbol:   class Predicate
#27 24.11 [ERROR]   location: class org.openmrs.api.db.hibernate.HibernateVisitDAO
#27 24.11 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java:[239,50] cannot find symbol
#27 24.11 [ERROR]   symbol:   class ArrayList
#27 24.11 [ERROR]   location: class org.openmrs.api.db.hibernate.HibernateVisitDAO
#27 24.11 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java:[276,49] cannot find symbol
#27 24.11 [ERROR]   symbol:   class Predicate
#27 24.12 [ERROR]   location: class org.openmrs.api.db.hibernate.HibernateVisitDAO
#27 24.12 [ERROR] -> [Help 1]
#27 24.12 [ERROR]
#27 24.12 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#27 24.12 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#27 24.12 [ERROR]
#27 24.12 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#27 24.12 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#27 24.12 [ERROR]
#27 24.12 [ERROR] After correcting the problems, you can resume the build with the command
#27 24.12 [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 24.12 [ERROR] -> [Help 1]
#27 24.12 [ERROR]
#27 24.12 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#27 24.12 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#27 24.12 [ERROR]
#27 24.12 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#27 24.12 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#27 24.12 [ERROR]
#27 24.12 [ERROR] After correcting the problems, you can resume the build with the command
#27 24.12 [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