Platform 2.5

Build: #165 failed Rebuilt by Mike Seaton

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
9 minutes
Flags
Rebuild
Labels
None
Revisions
openmrs-core-2.5.x
1a2428cc82a5543ac75193bc168fbc5a562c7f04 1a2428cc82a5543ac75193bc168fbc5a562c7f04
Release scripts
ced9ff00825ca1cb8c744547be4ba8ff994bd71b ced9ff00825ca1cb8c744547be4ba8ff994bd71b
Fixed in
#166 (Manual run by Rafal Korytkowski)
Number of retries
8
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.

#45 CACHED

#46 [linux/amd64 dev 19/30] RUN --mount=type=cache,target=/root/.m2 mvn -pl tools clean install -DskipTests
#46 CACHED

#47 [linux/amd64 dev  8/30] RUN --mount=type=cache,target=/root/.m2 mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.5.0:setup-sdk -N -DbatchAnswers=n
#47 CACHED

#48 [linux/amd64 dev  2/30] RUN yum -y update && yum -y install tar gzip git && yum clean all
#48 CACHED

#49 [linux/amd64 dev 14/30] COPY webapp/pom.xml ./webapp/
#49 CACHED

#50 [linux/amd64 dev 21/30] RUN --mount=type=cache,target=/root/.m2 mvn -pl test clean install -DskipTests
#50 CACHED

#51 [linux/amd64 dev 13/30] COPY web/pom.xml ./web/
#51 CACHED

#52 [linux/amd64 dev  3/30] RUN if [ "amd64" = "arm64" ] ; then TINI_URL="https://github.com/krallin/tini/releases/download/v0.19.0/tini-arm64" TINI_SHA=07952557df20bfd2a95f9bef198b445e006171969499a1d361bd9e6f8e5e0e81 ; fi     && curl -fsSL -o /usr/bin/tini https://github.com/krallin/tini/releases/download/v0.19.0/tini     && echo "93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c  /usr/bin/tini" | sha256sum -c     && chmod +x /usr/bin/tini
#52 CACHED

#53 [linux/amd64 dev 10/30] COPY tools/pom.xml ./tools/
#53 CACHED

#54 [linux/arm64 dev 22/30] COPY api/ ./api/
#54 CACHED

#55 [linux/amd64 dev 22/30] COPY api/ ./api/
#55 CACHED

#56 [linux/amd64 dev 23/30] RUN --mount=type=cache,target=/root/.m2 mvn -pl api clean install -DskipTests
#56 2.045 [INFO] Scanning for projects...
#56 2.721 [INFO]
#56 2.741 [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
#56 2.741 [INFO] Building openmrs-api 2.5.11-SNAPSHOT
#56 2.741 [INFO] --------------------------------[ jar ]---------------------------------
#56 4.565 [INFO]
#56 4.565 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
#56 4.634 [INFO]
#56 4.635 [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-api ---
#56 5.454 [INFO] ShortRevision tag detected. The value is '6'.
#56 5.459 [INFO] Executing: /bin/sh -c cd '/openmrs_core/api' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD'
#56 5.460 [INFO] Working directory: /openmrs_core/api
#56 5.753 [INFO] Storing buildNumber: 0 at timestamp: 1678138797897
#56 5.794 [WARNING] Cannot get the branch information from the git repository:
#56 5.794 Detecting the current branch failed: fatal: not a git repository (or any of the parent directories): .git
#56 5.794
#56 5.794 [INFO] ShortRevision tag detected. The value is '6'.
#56 5.795 [INFO] Executing: /bin/sh -c cd '/openmrs_core/api' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD'
#56 5.795 [INFO] Working directory: /openmrs_core/api
#56 5.803 [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
#56 5.804 [INFO]
#56 5.805 [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-api ---
#56 6.060 [INFO]
#56 6.061 [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
#56 6.179 [INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar=destfile=/openmrs_core/api/target/jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -Djava.locale.providers=COMPAT
#56 6.193 [INFO]
#56 6.194 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
#56 6.204 [WARNING] The POM for org.openmrs.tools:openmrs-tools:jar:2.5.11-SNAPSHOT is missing, no dependency information available
#56 6.267 [INFO] ------------------------------------------------------------------------
#56 6.271 [INFO] BUILD FAILURE
#56 6.286 [INFO] ------------------------------------------------------------------------
#56 6.287 [INFO] Total time:  4.325 s
#56 6.288 [INFO] Finished at: 2023-03-06T21:39:58Z
#56 6.289 [INFO] ------------------------------------------------------------------------
#56 6.292 [ERROR] Failed to execute goal com.googlecode.maven-java-formatter-plugin:maven-java-formatter-plugin:0.3:format (default) on project openmrs-api: Execution default of goal com.googlecode.maven-java-formatter-plugin:maven-java-formatter-plugin:0.3:format failed: Plugin com.googlecode.maven-java-formatter-plugin:maven-java-formatter-plugin:0.3 or one of its dependencies could not be resolved: Could not find artifact org.openmrs.tools:openmrs-tools:jar:2.5.11-SNAPSHOT -> [Help 1]
#56 6.294 [ERROR]
#56 6.297 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#56 6.298 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#56 6.299 [ERROR]
#56 6.299 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#56 6.300 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
#56 ERROR: process "/bin/sh -c mvn -pl api $MVN_ARGS" did not complete successfully: exit code: 1

#57 [linux/arm64 dev 23/30] RUN --mount=type=cache,target=/root/.m2 mvn -pl api clean install -DskipTests
#57 CANCELED
------
> [linux/amd64 dev 23/30] RUN --mount=type=cache,target=/root/.m2 mvn -pl api clean install -DskipTests:
#56 6.287 [INFO] Total time:  4.325 s
#56 6.288 [INFO] Finished at: 2023-03-06T21:39:58Z
#56 6.289 [INFO] ------------------------------------------------------------------------
#56 6.292 [ERROR] Failed to execute goal com.googlecode.maven-java-formatter-plugin:maven-java-formatter-plugin:0.3:format (default) on project openmrs-api: Execution default of goal com.googlecode.maven-java-formatter-plugin:maven-java-formatter-plugin:0.3:format failed: Plugin com.googlecode.maven-java-formatter-plugin:maven-java-formatter-plugin:0.3 or one of its dependencies could not be resolved: Could not find artifact org.openmrs.tools:openmrs-tools:jar:2.5.11-SNAPSHOT -> [Help 1]
#56 6.294 [ERROR]
#56 6.297 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#56 6.298 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#56 6.299 [ERROR]
#56 6.299 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#56 6.300 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
------
Dockerfile:75
--------------------
  73 |     
  74 |     COPY api/ ./api/
  75 | >>> RUN --mount=type=cache,target=/root/.m2 mvn -pl api $MVN_ARGS
  76 |     
  77 |     COPY web/ ./web/
--------------------
error: failed to solve: process "/bin/sh -c mvn -pl api $MVN_ARGS" did not complete successfully: exit code: 1