Platform 2.5

Build: #237 failed Changes by Rafal Korytkowski

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually
  5. Release image variants

Build result summary

Details

Completed
Queue duration
3 minutes
Duration
1 minute
Labels
None
Revisions
openmrs-core-2.5.x
8c7754741aa4c2d86d122bd1812f5fcb3fba6b57
Release scripts
ced9ff00825ca1cb8c744547be4ba8ff994bd71b
Fixed in
#239 (Changes by Rafal Korytkowski)
No failed test found. A possible compilation error occurred.

Responsible

  • Rafal Korytkowski Rafal Korytkowski Automatically assigned

Code commits

openmrs-core-2.5.x
Author Commit Message Commit date
Rafal Korytkowski Rafal Korytkowski 8c7754741aa4c2d86d122bd1812f5fcb3fba6b57 TRUNK-6337 Run build on Windows
(cherry picked from commit 01f6989a1080797e8c5f91ed236e9a47d4bf739b)
(cherry picked from commit 6fbe8850d1e5106fef59d424b525dfc5e83d06ff)
Rafal Korytkowski Rafal Korytkowski e549a0fb3a6de84630b6817698b1093b53d81607 TRUNK-6300 Add Storage Service
(cherry picked from commits 8a14c70a3095b10a56d04a1e3bc20ad8bbb97b0c, a06f7f531fda509d52ad0e41c6ee51018fc4e98f, 26aacfe897addcefe324a3dd390d272088998f97, 689f752cfe69420eeaf018cfc34a7d1b20910837, 01472b35111365afbaad3c2e185d8d8a83367a68)

(cherry picked from commit 718b422dd5494652b273f762cee836ebead26e42)

Jira issues

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

Error summary for Build

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

#27 7.974 [INFO]
#27 7.976 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-api ---
#27 7.977 [INFO]
#27 7.978 [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
#27 8.033 [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
#27 8.035 [INFO]
#27 8.035 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
#27 8.139 [INFO] Using 'UTF-8' encoding to format source files.
#27 13.22 [INFO] Number of files to be formatted: 1113
#27 16.14 [INFO] Successfully formatted: 0 file(s)
#27 16.14 [INFO] Fail to format        : 0 file(s)
#27 16.14 [INFO] Skipped               : 1113 file(s)
#27 16.14 [INFO] Approximate time taken: 8s
#27 16.15 [INFO]
#27 16.15 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-api ---
#27 16.15 [INFO] Using 'UTF-8' encoding to copy filtered resources.
#27 16.15 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
#27 16.15 [INFO] Copying 1 resource
#27 16.18 [INFO] Copying 161 resources
#27 16.27 [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 16.28 [INFO]
#27 16.28 [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-api ---
#27 16.42 [INFO] Changes detected - recompiling the module!
#27 16.43 [INFO] Compiling 747 source files to /openmrs_core/api/target/classes
#27 25.27 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
#27 25.27 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
#27 25.27 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Some input files use unchecked or unsafe operations.
#27 25.27 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Recompile with -Xlint:unchecked for details.
#27 25.27 [INFO]
#27 25.27 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ openmrs-api ---
#27 25.28 [INFO] Using 'UTF-8' encoding to copy filtered resources.
#27 25.28 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
#27 25.28 [INFO] Copying 151 resources
#27 25.35 [INFO]
#27 25.35 [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-api ---
#27 25.37 [INFO] Changes detected - recompiling the module!
#27 25.37 [INFO] Compiling 366 source files to /openmrs_core/api/target/test-classes
#27 26.01 [INFO] -------------------------------------------------------------
#27 26.01 [ERROR] COMPILATION ERROR :
#27 26.01 [INFO] -------------------------------------------------------------
#27 26.01 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/StorageServiceTest.java:[42,33] package org.jetbrains.annotations does not exist
#27 26.02 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/StorageServiceTest.java:[232,25] cannot find symbol
#27 26.02   symbol:   class NotNull
#27 26.02   location: class org.openmrs.api.StorageServiceTest
#27 26.02 [INFO] 2 errors
#27 26.02 [INFO] -------------------------------------------------------------
#27 26.02 [INFO] ------------------------------------------------------------------------
#27 26.02 [INFO] Reactor Summary for OpenMRS 2.5.15-SNAPSHOT:
#27 26.02 [INFO]
#27 26.02 [INFO] OpenMRS ............................................ SUCCESS [  2.245 s]
#27 26.02 [INFO] openmrs-tools ...................................... SUCCESS [  0.459 s]
#27 26.02 [INFO] openmrs-test ....................................... SUCCESS [  0.090 s]
#27 26.02 [INFO] openmrs-api ........................................ FAILURE [ 18.240 s]
#27 26.02 [INFO] openmrs-web ........................................ SKIPPED
#27 26.02 [INFO] openmrs-webapp ..................................... SKIPPED
#27 26.02 [INFO] openmrs-liquibase .................................. SKIPPED
#27 26.02 [INFO] ------------------------------------------------------------------------
#27 26.02 [INFO] BUILD FAILURE
#27 26.02 [INFO] ------------------------------------------------------------------------
#27 26.02 [INFO] Total time:  23.256 s
#27 26.03 [INFO] Finished at: 2025-05-26T11:51:39Z
#27 26.03 [INFO] ------------------------------------------------------------------------
#27 26.03 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project openmrs-api: Compilation failure: Compilation failure:
#27 26.03 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/StorageServiceTest.java:[42,33] package org.jetbrains.annotations does not exist
#27 26.03 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/StorageServiceTest.java:[232,25] cannot find symbol
#27 26.03 [ERROR]   symbol:   class NotNull
#27 26.03 [ERROR]   location: class org.openmrs.api.StorageServiceTest
#27 26.03 [ERROR] -> [Help 1]
#27 26.03 [ERROR]
#27 26.03 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#27 26.03 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#27 26.03 [ERROR]
#27 26.03 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#27 26.03 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#27 26.03 [ERROR]
#27 26.03 [ERROR] After correcting the problems, you can resume the build with the command
#27 26.03 [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 26.03 [ERROR] -> [Help 1]
#27 26.03 [ERROR]
#27 26.03 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#27 26.03 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#27 26.03 [ERROR]
#27 26.03 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#27 26.03 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#27 26.03 [ERROR]
#27 26.03 [ERROR] After correcting the problems, you can resume the build with the command
#27 26.03 [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