OpenMRS Core Master
Build: #3436 failed Changes by Rafal Korytkowski
Build result summary
Details
- Completed
- Queue duration
- < 1 second
- Duration
- 25 seconds
- Labels
- None
- Revisions
-
- openmrs-core
-
6c99763fd5d1024fdb093c75e3504b49372f28d9
6c99763fd5d1024fdb093c75e3504b49372f28d9 - Release scripts
-
ced9ff00825ca1cb8c744547be4ba8ff994bd71b
ced9ff00825ca1cb8c744547be4ba8ff994bd71b
- Failing since
- #3435 (Changes by Rafal Korytkowski – )
- Fixed in
- #3437 (Manual run by Rafal Korytkowski)
Responsible
- Rafal Korytkowski Automatically assigned
Code commits
Author | Commit | Commit date | |
---|---|---|---|
Rafal Korytkowski |
6c99763fd5d1024fdb093c75e3504b49372f28d9
|
Jira issues
Issue | Description | Status | |
---|---|---|---|
Unknown Issue Type | TRUNK-6234 | Could 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 [linux/amd64 compile 15/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests
#27 2.356 [INFO] Scanning for projects...
#27 2.985 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/javax/annotation/javax.annotation-api/maven-metadata.xml
#27 4.108 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 446 B/s)
#27 4.338 [WARNING]
#27 4.346 [WARNING] Some problems were encountered while building the effective model for org.openmrs.tools:openmrs-tools:jar:2.7.0-SNAPSHOT
#27 4.347 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.junit.jupiter:junit-jupiter-params:jar -> duplicate declaration of version ${junitVersion} @ org.openmrs:openmrs:2.7.0-SNAPSHOT, /openmrs_core/pom.xml, line 462, column 16
#27 4.348 [WARNING]
#27 4.349 [WARNING] Some problems were encountered while building the effective model for org.openmrs:openmrs:pom:2.7.0-SNAPSHOT
#27 4.351 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.junit.jupiter:junit-jupiter-params:jar -> duplicate declaration of version ${junitVersion} @ line 462, column 16
#27 4.352 [WARNING]
#27 4.353 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
#27 4.354 [WARNING]
#27 4.355 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
#27 4.356 [WARNING]
#27 4.363 [INFO] ------------------------------------------------------------------------
#27 4.366 [INFO] Reactor Build Order:
#27 4.368 [INFO]
#27 4.370 [INFO] OpenMRS [pom]
#27 4.371 [INFO] openmrs-tools [jar]
#27 4.373 [INFO] openmrs-test [pom]
#27 4.374 [INFO] openmrs-api [jar]
#27 4.375 [INFO] openmrs-web [jar]
#27 4.377 [INFO] openmrs-webapp [war]
#27 4.378 [INFO] openmrs-liquibase [jar]
#27 4.389 [INFO]
#27 4.390 [INFO] ------------------------< org.openmrs:openmrs >-------------------------
#27 4.392 [INFO] Building OpenMRS 2.7.0-SNAPSHOT [1/7]
#27 4.394 [INFO] from pom.xml
#27 4.394 [INFO] --------------------------------[ pom ]---------------------------------
#27 4.479 [INFO]
#27 4.480 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
#27 4.528 [INFO]
#27 4.530 [INFO] --- buildnumber-maven-plugin:3.2.0:create (default) @ openmrs ---
#27 4.768 [INFO] ShortRevision tag detected. The value is '6'.
#27 4.779 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD'
#27 4.780 [INFO] Working directory: /openmrs_core
#27 4.845 [INFO] Storing buildNumber: 6c9976 at timestamp: 1715349350338
#27 4.848 [INFO] Executing: /bin/sh -c cd '/openmrs_core' && 'git' 'symbolic-ref' 'HEAD'
#27 4.849 [INFO] Working directory: /openmrs_core
#27 4.860 [INFO] Storing scmBranch: master
#27 4.861 [INFO]
#27 4.862 [INFO] --- build-helper-maven-plugin:3.5.0:parse-version (parse-version) @ openmrs ---
#27 4.900 [INFO]
#27 4.901 [INFO] --- maven-jar-plugin:3.4.1:test-jar (default) @ openmrs ---
#27 5.162 [WARNING] JAR will be empty - no content was marked for inclusion!
#27 5.181 [INFO] Building jar: /openmrs_core/target/openmrs-2.7.0-SNAPSHOT-tests.jar
#27 5.241 [INFO]
#27 5.243 [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs ---
#27 5.457 [INFO] Checking licenses...
#27 5.995 [WARNING] Missing header in: /openmrs_core/docker-image.txt
#27 5.998 [INFO] ------------------------------------------------------------------------
#27 5.998 [INFO] Reactor Summary for OpenMRS 2.7.0-SNAPSHOT:
#27 5.999 [INFO]
#27 5.999 [INFO] OpenMRS ............................................ FAILURE [ 1.609 s]
#27 5.999 [INFO] openmrs-tools ...................................... SKIPPED
#27 5.999 [INFO] openmrs-test ....................................... SKIPPED
#27 5.999 [INFO] openmrs-api ........................................ SKIPPED
#27 5.999 [INFO] openmrs-web ........................................ SKIPPED
#27 5.999 [INFO] openmrs-webapp ..................................... SKIPPED
#27 6.000 [INFO] openmrs-liquibase .................................. SKIPPED
#27 6.000 [INFO] ------------------------------------------------------------------------
#27 6.000 [INFO] BUILD FAILURE
#27 6.000 [INFO] ------------------------------------------------------------------------
#27 6.000 [INFO] Total time: 3.680 s
#27 6.001 [INFO] Finished at: 2024-05-10T13:55:51Z
#27 6.001 [INFO] ------------------------------------------------------------------------
#27 6.002 [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]
#27 6.002 [ERROR]
#27 6.002 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#27 6.002 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#27 6.002 [ERROR]
#27 6.003 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#27 6.003 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#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 6.000 [INFO] Total time: 3.680 s
#27 6.001 [INFO] Finished at: 2024-05-10T13:55:51Z
#27 6.001 [INFO] ------------------------------------------------------------------------
#27 6.002 [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]
#27 6.002 [ERROR]
#27 6.002 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#27 6.002 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#27 6.002 [ERROR]
#27 6.003 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#27 6.003 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
------
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