OpenMRS Core Master

Build: #3816 failed

Job: Build failed

Job result summary

Completed
Duration
11 seconds
Agent
xindi.openmrs.org
Revision
21f561c341bbf89f7bc459b3046ecf1e8686eff7
Fixed in
#3817 (Manual run by Daniel Kayiwa)
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 [linux/amd64 compile  3/18] WORKDIR /openmrs_core
#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.423 [INFO] Scanning for projects...
#30 2.992 [INFO] ------------------------------------------------------------------------
#30 2.993 [INFO] Reactor Build Order:
#30 2.993 [INFO]
#30 2.995 [INFO] OpenMRS                                                            [pom]
#30 2.995 [INFO] openmrs-tools                                                      [jar]
#30 2.996 [INFO] openmrs-test                                                       [pom]
#30 2.997 [INFO] openmrs-api                                                        [jar]
#30 2.997 [INFO] openmrs-web                                                        [jar]
#30 2.998 [INFO] openmrs-webapp                                                     [war]
#30 2.999 [INFO] openmrs-liquibase                                                  [jar]
#30 2.999 [INFO] openmrs-test-module                                                [pom]
#30 3.000 [INFO] openmrs-test-module-api                                            [jar]
#30 3.000 [INFO] openmrs-test-module-omod                                           [jar]
#30 3.008 [INFO]
#30 3.009 [INFO] ------------------------< org.openmrs:openmrs >-------------------------
#30 3.009 [INFO] Building OpenMRS 2.8.0-SNAPSHOT                                   [1/10]
#30 3.011 [INFO]   from pom.xml
#30 3.012 [INFO] --------------------------------[ pom ]---------------------------------
#30 3.122 [INFO]
#30 3.123 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
#30 3.170 [INFO]
#30 3.170 [INFO] --- buildnumber-maven-plugin:3.2.1:create (default) @ openmrs ---
#30 3.894 [INFO] ShortRevision tag detected. The value is '6'.
#30 3.903 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
#30 3.904 [INFO] Working directory: /openmrs_core
#30 4.003 [INFO] Storing buildNumber: 21f561 at timestamp: 1749724315831
#30 4.005 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'symbolic-ref' 'HEAD'
#30 4.005 [INFO] Working directory: /openmrs_core
#30 4.009 [INFO] Storing scmBranch: master
#30 4.010 [INFO]
#30 4.010 [INFO] --- build-helper-maven-plugin:3.6.1:parse-version (parse-version) @ openmrs ---
#30 4.107 [INFO]
#30 4.107 [INFO] --- maven-jar-plugin:3.4.2:test-jar (default) @ openmrs ---
#30 4.461 [WARNING] JAR will be empty - no content was marked for inclusion!
#30 4.487 [INFO] Building jar: /openmrs_core/target/openmrs-2.8.0-SNAPSHOT-tests.jar
#30 4.564 [INFO]
#30 4.565 [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs ---
#30 4.961 [INFO] Checking licenses...
#30 5.349 [WARNING] Missing header in: /openmrs_core/docker-image.txt
#30 5.359 [INFO] ------------------------------------------------------------------------
#30 5.360 [INFO] Reactor Summary for OpenMRS 2.8.0-SNAPSHOT:
#30 5.361 [INFO]
#30 5.362 [INFO] OpenMRS ............................................ FAILURE [  2.351 s]
#30 5.363 [INFO] openmrs-tools ...................................... SKIPPED
#30 5.364 [INFO] openmrs-test ....................................... SKIPPED
#30 5.364 [INFO] openmrs-api ........................................ SKIPPED
#30 5.364 [INFO] openmrs-web ........................................ SKIPPED
#30 5.364 [INFO] openmrs-webapp ..................................... SKIPPED
#30 5.364 [INFO] openmrs-liquibase .................................. SKIPPED
#30 5.364 [INFO] openmrs-test-module ................................ SKIPPED
#30 5.365 [INFO] openmrs-test-module-api ............................ SKIPPED
#30 5.366 [INFO] openmrs-test-module-omod ........................... SKIPPED
#30 5.366 [INFO] ------------------------------------------------------------------------
#30 5.367 [INFO] BUILD FAILURE
#30 5.368 [INFO] ------------------------------------------------------------------------
#30 5.368 [INFO] Total time:  2.974 s
#30 5.370 [INFO] Finished at: 2025-06-12T10:31:57Z
#30 5.371 [INFO] ------------------------------------------------------------------------
#30 5.373 [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 5.373 [ERROR]
#30 5.374 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#30 5.374 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#30 5.375 [ERROR]
#30 5.376 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#30 5.377 [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 5.368 [INFO] Total time:  2.974 s
#30 5.370 [INFO] Finished at: 2025-06-12T10:31:57Z
#30 5.371 [INFO] ------------------------------------------------------------------------
#30 5.373 [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 5.373 [ERROR]
#30 5.374 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#30 5.374 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#30 5.375 [ERROR]
#30 5.376 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#30 5.377 [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