Platform 2.5

Build: #133 failed Manual run from the stage: Release by Rafal Korytkowski

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
37 minutes
Labels
None
Revisions
openmrs-core-2.5.x
180d3c252a04e88bee4b1df9bcef6b6fb5ae12c8 180d3c252a04e88bee4b1df9bcef6b6fb5ae12c8
openmrs-standalone
60ac6d91c7e4ca7411f68ae9bf84d0550289952f 60ac6d91c7e4ca7411f68ae9bf84d0550289952f
Release scripts
39269cb8f38c786e7c5c4df804871bc2073177ad 39269cb8f38c786e7c5c4df804871bc2073177ad
Failing since
#129 (Manual run by Rafal Korytkowski)
Fixed in
#140 (Manual run by Rafal Korytkowski)
No failed test found. A possible compilation error occurred.

Responsible

This build has been failing since #129
No one has taken responsibility

Configuration changes

Plan configuration has changed since the last successful build. See the plan audit log for more details.

Error summary for Release

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

#44 5.276 [INFO] ShortRevision tag detected. The value is '6'.
#44 5.277 [INFO] Executing: /bin/sh -c cd '/openmrs_core/liquibase' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD'
#44 5.277 [INFO] Working directory: /openmrs_core/liquibase
#44 5.278 [WARNING] Cannot get the branch information from the scm repository, proceeding with UNKNOWN_BRANCH :
#44 5.278 Exception while executing SCM command.
#44 5.279 [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
#44 5.279 [INFO]
#44 5.280 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-liquibase ---
#44 5.468 [INFO]
#44 5.468 [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-liquibase ---
#44 5.725 [INFO] Using 'UTF-8' encoding to copy filtered resources.
#44 5.726 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
#44 5.730 [INFO] Copying 1 resource
#44 5.755 [INFO]
#44 5.756 [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-liquibase ---
#44 5.941 [INFO] Changes detected - recompiling the module!
#44 5.944 [INFO] Compiling 4 source files to /openmrs_core/liquibase/target/classes
#44 7.131 [INFO]
#44 7.132 [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ openmrs-liquibase ---
#44 7.134 [INFO] Using 'UTF-8' encoding to copy filtered resources.
#44 7.136 [INFO] Using 'UTF-8' encoding to copy filtered properties files.
#44 7.138 [INFO] Copying 7 resources
#44 7.147 [INFO]
#44 7.153 [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-liquibase ---
#44 7.159 [INFO] Changes detected - recompiling the module!
#44 7.165 [INFO] Compiling 4 source files to /openmrs_core/liquibase/target/test-classes
#44 7.698 [INFO]
#44 7.704 [INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ openmrs-liquibase ---
#44 7.986 [INFO] Tests are skipped.
#44 7.986 [INFO]
#44 7.987 [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ openmrs-liquibase ---
#44 8.263 [INFO] Building jar: /openmrs_core/liquibase/target/openmrs-liquibase-2.5.9-SNAPSHOT.jar
#44 8.321 [INFO]
#44 8.322 [INFO] --- maven-assembly-plugin:3.3.0:single (default) @ openmrs-liquibase ---
#44 ...

#40 [linux/arm64 dev 15/31] RUN --mount=type=cache,target=/root/.m2 if [[ "2.5.9" != "SNAPSHOT" ]]; then      if [[ ! "2.5.9" =~ ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-((0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*))*)){0,1}(\+([0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)){0,1}$ ]]; then      echo "[ERROR] Version 2.5.9 is not semver, e.g. 1.7.0. Check http://semver.org/ " 1>&2; exit 1;     else mvn versions:set -DnewVersion=2.5.9; fi; fi
#40 22.40 [INFO] Scanning for projects...
#40 27.97 [INFO] ------------------------------------------------------------------------
#40 27.98 [INFO] Reactor Build Order:
#40 27.98 [INFO]
#40 28.06 [INFO] OpenMRS                                                            [pom]
#40 28.06 [INFO] openmrs-tools                                                      [jar]
#40 28.06 [INFO] openmrs-test                                                       [pom]
#40 28.06 [INFO] openmrs-api                                                        [jar]
#40 28.06 [INFO] openmrs-web                                                        [jar]
#40 28.07 [INFO] openmrs-webapp                                                     [war]
#40 28.07 [INFO] openmrs-liquibase                                                  [jar]
#40 ...

#44 [linux/amd64 dev 18/31] RUN --mount=type=cache,target=/root/.m2 mvn -pl liquibase clean install -DskipTests
#44 11.77 [INFO] Building jar: /openmrs_core/liquibase/target/openmrs-liquibase-2.5.9-SNAPSHOT-jar-with-dependencies.jar
#44 15.51 [INFO]
#44 15.51 [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs-liquibase ---
#44 15.53 [INFO] Building jar: /openmrs_core/liquibase/target/openmrs-liquibase-2.5.9-SNAPSHOT-tests.jar
#44 15.67 [INFO]
#44 15.68 [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-liquibase ---
#44 15.79 [INFO] Checking licenses...
#44 15.80 [INFO] ------------------------------------------------------------------------
#44 15.80 [INFO] BUILD FAILURE
#44 15.80 [INFO] ------------------------------------------------------------------------
#44 15.82 [INFO] Total time:  12.721 s
#44 15.83 [INFO] Finished at: 2022-12-23T12:24:53Z
#44 15.83 [INFO] ------------------------------------------------------------------------
#44 15.83 [ERROR] Failed to execute goal com.mycila:license-maven-plugin:3.0:check (default) on project openmrs-liquibase: Execution default of goal com.mycila:license-maven-plugin:3.0:check failed: Cannot read header document ${project.parent.basedir}/license-header.txt. Cause: Resource ${project.parent.basedir}/license-header.txt not found in file system, classpath or URL: no protocol: ${project.parent.basedir}/license-header.txt -> [Help 1]
#44 15.83 [ERROR]
#44 15.83 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#44 15.83 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#44 15.83 [ERROR]
#44 15.83 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#44 15.84 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
#44 ERROR: process "/bin/sh -c mvn -pl liquibase $MVN_ARGS" did not complete successfully: exit code: 1

#40 [linux/arm64 dev 15/31] RUN --mount=type=cache,target=/root/.m2 if [[ "2.5.9" != "SNAPSHOT" ]]; then      if [[ ! "2.5.9" =~ ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-((0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*))*)){0,1}(\+([0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)){0,1}$ ]]; then      echo "[ERROR] Version 2.5.9 is not semver, e.g. 1.7.0. Check http://semver.org/ " 1>&2; exit 1;     else mvn versions:set -DnewVersion=2.5.9; fi; fi
#40 CANCELED
------
> importing cache manifest from openmrs/openmrs-core:2.5.9-dev-cache:
------
------
> [linux/amd64 dev 18/31] RUN --mount=type=cache,target=/root/.m2 mvn -pl liquibase clean install -DskipTests:
#44 15.82 [INFO] Total time:  12.721 s
#44 15.83 [INFO] Finished at: 2022-12-23T12:24:53Z
#44 15.83 [INFO] ------------------------------------------------------------------------
#44 15.83 [ERROR] Failed to execute goal com.mycila:license-maven-plugin:3.0:check (default) on project openmrs-liquibase: Execution default of goal com.mycila:license-maven-plugin:3.0:check failed: Cannot read header document ${project.parent.basedir}/license-header.txt. Cause: Resource ${project.parent.basedir}/license-header.txt not found in file system, classpath or URL: no protocol: ${project.parent.basedir}/license-header.txt -> [Help 1]
#44 15.83 [ERROR]
#44 15.83 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#44 15.83 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#44 15.83 [ERROR]
#44 15.83 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#44 15.84 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
------
Dockerfile:73
--------------------
  71 |     # Build modules individually to benefit from caching
  72 |     COPY liquibase ./liquibase/
  73 | >>> RUN --mount=type=cache,target=/root/.m2 mvn -pl liquibase $MVN_ARGS
  74 |     
  75 |     COPY tools/ ./tools/
--------------------
error: failed to solve: process "/bin/sh -c mvn -pl liquibase $MVN_ARGS" did not complete successfully: exit code: 1