Platform 2.5

Build: #212 failed Changes by Rafal Korytkowski

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
40 minutes
Labels
None
Revisions
openmrs-core-2.5.x
89d7aa2e1c4bd77fa3a40cac5f0c0ac56b8809cc 89d7aa2e1c4bd77fa3a40cac5f0c0ac56b8809cc
Release scripts
ced9ff00825ca1cb8c744547be4ba8ff994bd71b ced9ff00825ca1cb8c744547be4ba8ff994bd71b
Fixed in
#213 (Specs configuration updated)
No failed test found. A possible compilation error occurred.

Responsible

Code commits

openmrs-core-2.5.x
Author Commit Message Commit date
Rafal Korytkowski Rafal Korytkowski 89d7aa2e1c4bd77fa3a40cac5f0c0ac56b8809cc 89d7aa2e1c4bd77fa3a40cac5f0c0ac56b8809cc TRUNK-6234 Provide JDK 11 and JDK 18 docker images
(cherry picked from commits 9369eee6361b5a79eaff2762b55dfb9dc64574b8 - 7d70503404031469b8e3fa98cc4dd39edb38e0c8)

(cherry picked from commit ee1344f3878af388cee104022c3316ef79f537c1)

Configuration changes

Some of the jobs or stages referenced by this result no longer exist.

Restarting failed/incomplete builds only is not possible as some of the affected jobs no longer exist.

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-6234Could not obtain issue details from Jira

Error summary for Deploy to docker JDK 17

The job generated some errors, drill down into the full build log for more details.

#32 6.005 [INFO]
#32 6.005 [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-test ---
#32 6.007 [INFO] Installing /openmrs_core/test/pom.xml to /usr/share/maven/ref/repository/org/openmrs/test/openmrs-test/2.5.13-SNAPSHOT/openmrs-test-2.5.13-SNAPSHOT.pom
#32 6.014 [INFO] Installing /openmrs_core/test/target/openmrs-test-2.5.13-SNAPSHOT-tests.jar to /usr/share/maven/ref/repository/org/openmrs/test/openmrs-test/2.5.13-SNAPSHOT/openmrs-test-2.5.13-SNAPSHOT-tests.jar
#32 6.017 [INFO]
#32 6.018 [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
#32 6.018 [INFO] Building openmrs-api 2.5.13-SNAPSHOT                               [4/7]
#32 6.019 [INFO]   from api/pom.xml
#32 6.019 [INFO] --------------------------------[ jar ]---------------------------------
#32 6.411 [INFO]
#32 6.414 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
#32 6.418 [INFO]
#32 6.419 [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-api ---
#32 6.423 [INFO]
#32 6.423 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-api ---
#32 6.425 [INFO]
#32 6.434 [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
#32 6.491 [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.492 [INFO]
#32 6.492 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
#32 6.858 [INFO] Using 'UTF-8' encoding to format source files.
#32 11.82 [INFO] Number of files to be formatted: 1105
#32 16.02 [INFO] Successfully formatted: 0 file(s)
#32 16.02 [INFO] Fail to format        : 0 file(s)
#32 16.02 [INFO] Skipped               : 1105 file(s)
#32 16.02 [INFO] Approximate time taken: 9s
#32 16.02 [INFO]
#32 16.03 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-api ---
#32 16.03 [INFO] Using 'UTF-8' encoding to copy filtered resources.
#32 16.03 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
#32 16.05 [INFO] Copying 1 resource
#32 16.08 [INFO] Copying 161 resources
#32 16.15 [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 16.15 [INFO]
#32 16.15 [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-api ---
#32 16.26 [INFO] Changes detected - recompiling the module!
#32 16.27 [INFO] Compiling 740 source files to /openmrs_core/api/target/classes
#32 22.95 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
#32 22.95 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
#32 22.95 [INFO] -------------------------------------------------------------
#32 22.95 [ERROR] COMPILATION ERROR :
#32 22.96 [INFO] -------------------------------------------------------------
#32 22.96 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/module/ModuleFactory.java:[17,27] package java.rmi.activation does not exist
#32 22.96 [INFO] 1 error
#32 22.96 [INFO] -------------------------------------------------------------
#32 22.96 [INFO] ------------------------------------------------------------------------
#32 22.96 [INFO] Reactor Summary for OpenMRS 2.5.13-SNAPSHOT:
#32 22.96 [INFO]
#32 22.96 [INFO] OpenMRS ............................................ SUCCESS [  2.699 s]
#32 22.96 [INFO] openmrs-tools ...................................... SUCCESS [  0.835 s]
#32 22.97 [INFO] openmrs-test ....................................... SUCCESS [  0.178 s]
#32 22.97 [INFO] openmrs-api ........................................ FAILURE [ 16.943 s]
#32 22.97 [INFO] openmrs-web ........................................ SKIPPED
#32 22.97 [INFO] openmrs-webapp ..................................... SKIPPED
#32 22.97 [INFO] openmrs-liquibase .................................. SKIPPED
#32 22.97 [INFO] ------------------------------------------------------------------------
#32 22.97 [INFO] BUILD FAILURE
#32 22.97 [INFO] ------------------------------------------------------------------------
#32 22.98 [INFO] Total time:  20.987 s
#32 22.98 [INFO] Finished at: 2024-05-23T12:31:33Z
#32 22.98 [INFO] ------------------------------------------------------------------------
#32 22.98 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project openmrs-api: Compilation failure
#32 22.99 [ERROR] /openmrs_core/api/src/main/java/org/openmrs/module/ModuleFactory.java:[17,27] package java.rmi.activation does not exist
#32 22.99 [ERROR]
#32 22.99 [ERROR] -> [Help 1]
#32 22.99 [ERROR]
#32 22.99 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#32 23.00 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#32 23.00 [ERROR]
#32 23.00 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#32 23.00 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#32 23.00 [ERROR]
#32 23.00 [ERROR] After correcting the problems, you can resume the build with the command
#32 23.00 [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.5.x-amazoncorretto-17-cache:
------
------
> [linux/amd64 compile 15/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests:
#32 22.99 [ERROR] -> [Help 1]
#32 22.99 [ERROR]
#32 22.99 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#32 23.00 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#32 23.00 [ERROR]
#32 23.00 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#32 23.00 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#32 23.00 [ERROR]
#32 23.00 [ERROR] After correcting the problems, you can resume the build with the command
#32 23.00 [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