OpenMRS Core 2.8.x

Build: #78 failed Manual run by Daniel Kayiwa

Build result summary

Details

Completed
Queue duration
1 second
Duration
1 minute
Labels
None
Revisions
openmrs-core-2.8.x
8564dbc6596e635eb8685af28d42f0c7e734f891
Release scripts
d5831e94deff58c79f07afa118e3aad928391687
Failing since
#74 (Changes by Daniel Kayiwa)
Fixed in
#84 (Changes by Wikum Weerakutti <wikum@linuxdeveloper.space>)
No failed test found. A possible compilation error occurred.

Responsible

  • Daniel Kayiwa Daniel Kayiwa Automatically assigned

Error summary for Build

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

#30 5.022 [INFO] Scanning for projects...
#30 6.577 Downloading from central: https://repo.maven.apache.org/maven2/javax/annotation/javax.annotation-api/maven-metadata.xml
#30 6.577 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/javax/annotation/javax.annotation-api/maven-metadata.xml
#30 7.583 Progress (1): 564 B
                   
Downloaded from central: https://repo.maven.apache.org/maven2/javax/annotation/javax.annotation-api/maven-metadata.xml (564 B at 543 B/s)
#30 9.353 Progress (1): 480/564 B
Progress (1): 564 B   
                   
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/javax/annotation/javax.annotation-api/maven-metadata.xml (564 B at 204 B/s)
#30 10.33 [INFO] ------------------------------------------------------------------------
#30 10.33 [INFO] Reactor Build Order:
#30 10.33 [INFO]
#30 10.33 [INFO] OpenMRS                                                            [pom]
#30 10.33 [INFO] openmrs-tools                                                      [jar]
#30 10.33 [INFO] openmrs-test                                                       [pom]
#30 10.33 [INFO] openmrs-api                                                        [jar]
#30 10.33 [INFO] openmrs-web                                                        [jar]
#30 10.33 [INFO] openmrs-webapp                                                     [war]
#30 10.33 [INFO] openmrs-liquibase                                                  [jar]
#30 10.33 [INFO] openmrs-test-module                                                [pom]
#30 10.33 [INFO] openmrs-test-module-api                                            [jar]
#30 10.33 [INFO] openmrs-test-module-omod                                           [jar]
#30 10.37 [INFO]
#30 10.37 [INFO] ------------------------< org.openmrs:openmrs >-------------------------
#30 10.37 [INFO] Building OpenMRS 2.8.2-SNAPSHOT                                   [1/10]
#30 10.37 [INFO]   from pom.xml
#30 10.37 [INFO] --------------------------------[ pom ]---------------------------------
#30 10.69 [INFO]
#30 10.69 [INFO] --- clean:3.2.0:clean (default-clean) @ openmrs ---
#30 10.96 [INFO]
#30 10.96 [INFO] --- buildnumber:3.2.1:create (default) @ openmrs ---
#30 12.11 [INFO] ShortRevision tag detected. The value is '6'.
#30 12.11 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
#30 12.11 [INFO] Working directory: /openmrs_core
#30 12.31 [WARNING] Cannot get the revision information from the scm repository, proceeding with revision of 0 :
#30 12.31 Exception while executing SCM command.
#30 12.31 [INFO] Storing buildNumber: 0 at timestamp: 1764192021517
#30 12.31 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'symbolic-ref' 'HEAD'
#30 12.31 [INFO] Working directory: /openmrs_core
#30 12.33 [INFO] Storing scmBranch: 2.8.x
#30 12.33 [INFO]
#30 12.33 [INFO] --- build-helper:3.6.1:parse-version (parse-version) @ openmrs ---
#30 12.56 [INFO]
#30 12.56 [INFO] --- jar:3.4.2:test-jar (default) @ openmrs ---
#30 13.26 [WARNING] JAR will be empty - no content was marked for inclusion!
#30 13.31 [INFO] Building jar: /openmrs_core/target/openmrs-2.8.2-SNAPSHOT-tests.jar
#30 13.44 [INFO]
#30 13.44 [INFO] --- license:3.0:check (default) @ openmrs ---
#30 14.12 [INFO] Checking licenses...
#30 14.86 [WARNING] Missing header in: /openmrs_core/docker-image.txt
#30 14.86 [INFO] ------------------------------------------------------------------------
#30 14.86 [INFO] Reactor Summary for OpenMRS 2.8.2-SNAPSHOT:
#30 14.86 [INFO]
#30 14.86 [INFO] OpenMRS ............................................ FAILURE [  4.484 s]
#30 14.86 [INFO] openmrs-tools ...................................... SKIPPED
#30 14.86 [INFO] openmrs-test ....................................... SKIPPED
#30 14.86 [INFO] openmrs-api ........................................ SKIPPED
#30 14.86 [INFO] openmrs-web ........................................ SKIPPED
#30 14.86 [INFO] openmrs-webapp ..................................... SKIPPED
#30 14.86 [INFO] openmrs-liquibase .................................. SKIPPED
#30 14.86 [INFO] openmrs-test-module ................................ SKIPPED
#30 14.86 [INFO] openmrs-test-module-api ............................ SKIPPED
#30 14.86 [INFO] openmrs-test-module-omod ........................... SKIPPED
#30 14.86 [INFO] ------------------------------------------------------------------------
#30 14.86 [INFO] BUILD FAILURE
#30 14.86 [INFO] ------------------------------------------------------------------------
#30 14.86 [INFO] Total time:  9.938 s
#30 14.86 [INFO] Finished at: 2025-11-26T21:20:24Z
#30 14.86 [INFO] ------------------------------------------------------------------------
#30 14.86 [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 14.86 [ERROR]
#30 14.86 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#30 14.86 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#30 14.86 [ERROR]
#30 14.86 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#30 14.86 [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:
14.86 [INFO] Total time:  9.938 s
14.86 [INFO] Finished at: 2025-11-26T21:20:24Z
14.86 [INFO] ------------------------------------------------------------------------
14.86 [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]
14.86 [ERROR]
14.86 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
14.86 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
14.86 [ERROR]
14.86 [ERROR] For more information about the errors and possible solutions, please read the following articles:
14.86 [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