OpenMRS Core Master

Build: #3807 failed Manual run by Daniel Kayiwa

Build result summary

Details

Completed
Queue duration
1 second
Duration
20 seconds
Labels
None
Revisions
openmrs-core
2479e9051d2de9ea382027c69bf6dc533fd0e574
Release scripts
ced9ff00825ca1cb8c744547be4ba8ff994bd71b
Fixed in
#3808 (Rebuilt by Daniel Kayiwa)
No failed test found. A possible compilation error occurred.

Responsible

No one has taken responsibility for this failure

Error summary for Build

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


#27 [linux/amd64 compile 13/18] COPY test-module/pom.xml test-module/
#27 CACHED

#28 [linux/amd64 compile 16/18] RUN mvn -s /usr/share/maven/ref/settings-docker.xml -B dependency:go-offline -P !default-tools.jar,!mac-tools.jar
#28 CACHED

#29 [linux/amd64 compile 17/18] COPY . .
#29 DONE 2.1s

#30 [linux/amd64 compile 18/18] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests
#30 2.484 [INFO] Scanning for projects...
#30 2.926 [INFO] ------------------------------------------------------------------------
#30 2.927 [INFO] Reactor Build Order:
#30 2.928 [INFO]
#30 2.930 [INFO] OpenMRS                                                            [pom]
#30 2.935 [INFO] openmrs-tools                                                      [jar]
#30 2.937 [INFO] openmrs-test                                                       [pom]
#30 2.937 [INFO] openmrs-api                                                        [jar]
#30 2.938 [INFO] openmrs-web                                                        [jar]
#30 2.940 [INFO] openmrs-webapp                                                     [war]
#30 2.941 [INFO] openmrs-liquibase                                                  [jar]
#30 2.941 [INFO] openmrs-test-module                                                [pom]
#30 2.942 [INFO] openmrs-test-module-api                                            [jar]
#30 2.943 [INFO] openmrs-test-module-omod                                           [jar]
#30 2.951 [INFO]
#30 2.953 [INFO] ------------------------< org.openmrs:openmrs >-------------------------
#30 2.953 [INFO] Building OpenMRS 2.8.0-SNAPSHOT                                   [1/10]
#30 2.955 [INFO]   from pom.xml
#30 2.955 [INFO] --------------------------------[ pom ]---------------------------------
#30 3.037 [INFO]
#30 3.039 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
#30 3.089 [INFO]
#30 3.090 [INFO] --- buildnumber-maven-plugin:3.2.1:create (default) @ openmrs ---
#30 3.649 [INFO] ShortRevision tag detected. The value is '6'.
#30 3.660 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
#30 3.660 [INFO] Working directory: /openmrs_core
#30 3.761 [INFO] Storing buildNumber: 2479e9 at timestamp: 1749505031167
#30 3.763 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'symbolic-ref' 'HEAD'
#30 3.763 [INFO] Working directory: /openmrs_core
#30 3.768 [INFO] Storing scmBranch: master
#30 3.768 [INFO]
#30 3.769 [INFO] --- build-helper-maven-plugin:3.6.1:parse-version (parse-version) @ openmrs ---
#30 3.810 [INFO]
#30 3.810 [INFO] --- maven-jar-plugin:3.4.2:test-jar (default) @ openmrs ---
#30 4.078 [WARNING] JAR will be empty - no content was marked for inclusion!
#30 4.103 [INFO] Building jar: /openmrs_core/target/openmrs-2.8.0-SNAPSHOT-tests.jar
#30 4.173 [INFO]
#30 4.174 [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs ---
#30 4.423 [INFO] Checking licenses...
#30 4.819 [WARNING] Missing header in: /openmrs_core/docker-image.txt
#30 4.822 [INFO] ------------------------------------------------------------------------
#30 4.823 [INFO] Reactor Summary for OpenMRS 2.8.0-SNAPSHOT:
#30 4.824 [INFO]
#30 4.825 [INFO] OpenMRS ............................................ FAILURE [  1.870 s]
#30 4.825 [INFO] openmrs-tools ...................................... SKIPPED
#30 4.826 [INFO] openmrs-test ....................................... SKIPPED
#30 4.827 [INFO] openmrs-api ........................................ SKIPPED
#30 4.828 [INFO] openmrs-web ........................................ SKIPPED
#30 4.829 [INFO] openmrs-webapp ..................................... SKIPPED
#30 4.830 [INFO] openmrs-liquibase .................................. SKIPPED
#30 4.830 [INFO] openmrs-test-module ................................ SKIPPED
#30 4.831 [INFO] openmrs-test-module-api ............................ SKIPPED
#30 4.832 [INFO] openmrs-test-module-omod ........................... SKIPPED
#30 4.834 [INFO] ------------------------------------------------------------------------
#30 4.834 [INFO] BUILD FAILURE
#30 4.835 [INFO] ------------------------------------------------------------------------
#30 4.835 [INFO] Total time:  2.379 s
#30 4.836 [INFO] Finished at: 2025-06-09T21:37:12Z
#30 4.837 [INFO] ------------------------------------------------------------------------
#30 4.839 [ERROR] Failed to execute goal com.mycila:license-maven-plugin:3.0:check (default) on project openmrs: Some files do not have the expected license header -> [Help 1]
#30 4.839 [ERROR]
#30 4.841 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#30 4.841 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#30 4.842 [ERROR]
#30 4.843 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#30 4.844 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#30 ERROR: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
------
> [linux/amd64 compile 18/18] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests:
#30 4.835 [INFO] Total time:  2.379 s
#30 4.836 [INFO] Finished at: 2025-06-09T21:37:12Z
#30 4.837 [INFO] ------------------------------------------------------------------------
#30 4.839 [ERROR] Failed to execute goal com.mycila:license-maven-plugin:3.0:check (default) on project openmrs: Some files do not have the expected license header -> [Help 1]
#30 4.839 [ERROR]
#30 4.841 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#30 4.841 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#30 4.842 [ERROR]
#30 4.843 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#30 4.844 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
------
Dockerfile:52
--------------------
  50 |     
  51 |     # Build the project
  52 | >>> RUN mvn $MVN_SETTINGS $MVN_ARGS
  53 |     
  54 |     ### Development Stage
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1