OpenMRS Core Master

Build: #3178 failed Rebuilt by Daniel Kayiwa

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
6 minutes
Labels
None
Revisions
openmrs-core
f341afe898028502abe67d8a941edc81e7d64ae1 f341afe898028502abe67d8a941edc81e7d64ae1
Release scripts
ced9ff00825ca1cb8c744547be4ba8ff994bd71b ced9ff00825ca1cb8c744547be4ba8ff994bd71b
Fixed in
#3181 (Specs configuration updated)
Number of retries
3
No failed test found. A possible compilation error occurred.

Responsible

No one has taken responsibility for this failure

Code commits

openmrs-core
Author Commit Message Commit date
Michael Seaton <mseaton@pih.org> Michael Seaton <mseaton@pih.org> f341afe898028502abe67d8a941edc81e7d64ae1 f341afe898028502abe67d8a941edc81e7d64ae1 TRUNK-6164 - Fix to enable adding new drug reference maps during drug creation (#4259)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-6164Could 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.


#42 [linux/amd64 dev 12/30] COPY api/pom.xml ./api/
#42 CACHED

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

#44 [linux/amd64 dev  4/30] RUN curl -fL -o /tmp/apache-tomcat.tar.gz "https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-8/v8.5.83/bin/apache-tomcat-8.5.83.tar.gz"     && echo "57cbe9608a9c4e88135e5f5480812e8d57690d5f3f6c43a7c05fe647bddb7c3b684bf0fc0efebad399d05e80c6d20c43d5ecdf38ec58f123e6653e443f9054e3  /tmp/apache-tomcat.tar.gz" | sha512sum -c     && mkdir -p /usr/local/tomcat && gzip -d /tmp/apache-tomcat.tar.gz      && tar -xvf /tmp/apache-tomcat.tar -C /usr/local/tomcat/ --strip-components=1     && rm -rf /tmp/apache-tomcat.tar.gz /usr/local/tomcat/webapps/*
#44 CACHED

#45 [linux/amd64 dev  6/30] COPY checkstyle.xml checkstyle-suppressions.xml CONTRIBUTING.md findbugs-include.xml LICENSE license-header.txt  NOTICE.md README.md ruleset.xml SECURITY.md ./
#45 CACHED

#46 [linux/amd64 dev  5/30] WORKDIR /openmrs_core
#46 CACHED

#47 [linux/amd64 dev 10/30] COPY tools/pom.xml ./tools/
#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 20/30] COPY test/ ./test/
#49 CACHED

#50 [linux/amd64 dev 11/30] COPY test/pom.xml ./test/
#50 CACHED

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

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

#53 [linux/amd64 dev 23/30] RUN --mount=type=cache,target=/root/.m2 mvn -pl api install -DskipTests
#53 2.058 [INFO] Scanning for projects...
#53 2.346 [INFO]
#53 2.347 [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
#53 2.349 [INFO] Building openmrs-api 2.7.0-SNAPSHOT
#53 2.350 [INFO] --------------------------------[ jar ]---------------------------------
#53 3.513 [INFO]
#53 3.521 [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-api ---
#53 4.036 [INFO] ShortRevision tag detected. The value is '6'.
#53 4.052 [INFO] Executing: /bin/sh -c cd '/openmrs_core/api' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD'
#53 4.053 [INFO] Working directory: /openmrs_core/api
#53 4.188 [INFO] Storing buildNumber: 0 at timestamp: 1677747036150
#53 4.198 [WARNING] Cannot get the branch information from the git repository:
#53 4.198 Detecting the current branch failed: fatal: not a git repository (or any of the parent directories): .git
#53 4.198
#53 4.199 [INFO] ShortRevision tag detected. The value is '6'.
#53 4.199 [INFO] Executing: /bin/sh -c cd '/openmrs_core/api' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD'
#53 4.199 [INFO] Working directory: /openmrs_core/api
#53 4.220 [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
#53 4.221 [INFO]
#53 4.221 [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-api ---
#53 4.361 [INFO]
#53 4.361 [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
#53 4.472 [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
#53 4.473 [INFO]
#53 4.473 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
#53 4.478 [WARNING] The POM for org.openmrs.tools:openmrs-tools:jar:2.7.0-SNAPSHOT is missing, no dependency information available
#53 4.513 [INFO] ------------------------------------------------------------------------
#53 4.514 [INFO] BUILD FAILURE
#53 4.515 [INFO] ------------------------------------------------------------------------
#53 4.516 [INFO] Total time:  2.484 s
#53 4.517 [INFO] Finished at: 2023-03-02T08:50:36Z
#53 4.517 [INFO] ------------------------------------------------------------------------
#53 4.519 [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.7.0-SNAPSHOT -> [Help 1]
#53 4.520 [ERROR]
#53 4.520 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#53 4.521 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#53 4.521 [ERROR]
#53 4.521 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#53 4.524 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
#53 ERROR: process "/bin/sh -c mvn -pl api $MVN_ARGS" did not complete successfully: exit code: 1

#54 [linux/arm64 dev 23/30] RUN --mount=type=cache,target=/root/.m2 mvn -pl api install -DskipTests
#54 CANCELED
------
> [linux/amd64 dev 23/30] RUN --mount=type=cache,target=/root/.m2 mvn -pl api install -DskipTests:
#53 4.516 [INFO] Total time:  2.484 s
#53 4.517 [INFO] Finished at: 2023-03-02T08:50:36Z
#53 4.517 [INFO] ------------------------------------------------------------------------
#53 4.519 [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.7.0-SNAPSHOT -> [Help 1]
#53 4.520 [ERROR]
#53 4.520 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#53 4.521 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#53 4.521 [ERROR]
#53 4.521 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#53 4.524 [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