OpenMRS Core 2.6

Build: #125 failed

Job: Deploy to docker JDK 17 failed

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually

Job result summary

Completed
Duration
7 minutes
Agent
xiao.openmrs.org
Revision
ee1344f3878af388cee104022c3316ef79f537c1 ee1344f3878af388cee104022c3316ef79f537c1
No failed test found. A possible compilation error occurred.

Configuration changes

Job Deploy to docker JDK 17 with key TRUNK-OC26-DTD17 no longer exists.

Error summary

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

#32 5.471 [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-test ---
#32 5.478 [INFO] Checking licenses...
#32 5.483 [INFO]
#32 5.486 [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-test ---
#32 5.486 [INFO] Installing /openmrs_core/test/pom.xml to /usr/share/maven/ref/repository/org/openmrs/test/openmrs-test/2.6.6-SNAPSHOT/openmrs-test-2.6.6-SNAPSHOT.pom
#32 5.488 [INFO] Installing /openmrs_core/test/target/openmrs-test-2.6.6-SNAPSHOT-tests.jar to /usr/share/maven/ref/repository/org/openmrs/test/openmrs-test/2.6.6-SNAPSHOT/openmrs-test-2.6.6-SNAPSHOT-tests.jar
#32 5.498 [INFO]
#32 5.498 [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
#32 5.498 [INFO] Building openmrs-api 2.6.6-SNAPSHOT                                [4/7]
#32 5.499 [INFO]   from api/pom.xml
#32 5.499 [INFO] --------------------------------[ jar ]---------------------------------
#32 5.985 [INFO]
#32 5.985 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
#32 5.995 [INFO]
#32 5.996 [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-api ---
#32 5.998 [INFO]
#32 6.002 [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-api ---
#32 6.012 [INFO]
#32 6.012 [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
#32 6.118 [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
#32 6.118 [INFO]
#32 6.118 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
#32 6.520 [INFO] Using 'UTF-8' encoding to format source files.
#32 11.49 [INFO] Number of files to be formatted: 1120
#32 14.36 [INFO] Successfully formatted: 0 file(s)
#32 14.36 [INFO] Fail to format        : 0 file(s)
#32 14.36 [INFO] Skipped               : 1120 file(s)
#32 14.36 [INFO] Approximate time taken: 7s
#32 14.36 [INFO]
#32 14.36 [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-api ---
#32 14.36 [INFO] Copying 1 resource
#32 14.38 [INFO] Copying 161 resources
#32 14.41 [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
#32 14.41 [INFO]
#32 14.41 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-api ---
#32 14.46 [INFO] Changes detected - recompiling the module!
#32 14.46 [INFO] Compiling 747 source files to /openmrs_core/api/target/classes
#32 21.27 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
#32 21.28 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
#32 21.28 [INFO] -------------------------------------------------------------
#32 21.28 [ERROR] COMPILATION ERROR :
#32 21.28 [INFO] -------------------------------------------------------------
#32 21.28 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/module/ModuleFactory.java:[17,27] package java.rmi.activation does not exist
#32 21.28 [INFO] 1 error
#32 21.28 [INFO] -------------------------------------------------------------
#32 21.29 [INFO] ------------------------------------------------------------------------
#32 21.29 [INFO] Reactor Summary for OpenMRS 2.6.6-SNAPSHOT:
#32 21.29 [INFO]
#32 21.29 [INFO] OpenMRS ............................................ SUCCESS [  2.762 s]
#32 21.29 [INFO] openmrs-tools ...................................... SUCCESS [  0.738 s]
#32 21.29 [INFO] openmrs-test ....................................... SUCCESS [  0.289 s]
#32 21.29 [INFO] openmrs-api ........................................ FAILURE [ 15.783 s]
#32 21.29 [INFO] openmrs-web ........................................ SKIPPED
#32 21.29 [INFO] openmrs-webapp ..................................... SKIPPED
#32 21.29 [INFO] openmrs-liquibase .................................. SKIPPED
#32 21.29 [INFO] ------------------------------------------------------------------------
#32 21.29 [INFO] BUILD FAILURE
#32 21.29 [INFO] ------------------------------------------------------------------------
#32 21.29 [INFO] Total time:  19.909 s
#32 21.30 [INFO] Finished at: 2024-05-23T12:24:12Z
#32 21.30 [INFO] ------------------------------------------------------------------------
#32 21.30 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project openmrs-api: Compilation failure
#32 21.30 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/module/ModuleFactory.java:[17,27] package java.rmi.activation does not exist
#32 21.30 [ERROR]
#32 21.30 [ERROR] -> [Help 1]
#32 21.30 [ERROR]
#32 21.30 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#32 21.30 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#32 21.30 [ERROR]
#32 21.30 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#32 21.30 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#32 21.30 [ERROR]
#32 21.30 [ERROR] After correcting the problems, you can resume the build with the command
#32 21.30 [ERROR]   mvn <args> -rf :openmrs-api
#32 ERROR: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
------
> importing cache manifest from openmrs/openmrs-core:2.6.x-amazoncorretto-17-cache:
------
------
> [linux/amd64 compile 15/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests:
#32 21.30 [ERROR] -> [Help 1]
#32 21.30 [ERROR]
#32 21.30 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#32 21.30 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#32 21.30 [ERROR]
#32 21.30 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#32 21.30 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#32 21.30 [ERROR]
#32 21.30 [ERROR] After correcting the problems, you can resume the build with the command
#32 21.30 [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