OpenMRS Core Master

Build: #3180 failed Changes 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
10 seconds
Labels
None
Revisions
openmrs-core
89e41e48bf43075e8134974bff64221d24bef470
Release scripts
ced9ff00825ca1cb8c744547be4ba8ff994bd71b
Failing since
#3178 (Rebuilt by Daniel Kayiwa)
Fixed in
#3185 (Changes by Rafal Korytkowski)
No failed test found. A possible compilation error occurred.

Responsible

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

Code commits

openmrs-core
Author Commit Message Commit date
Rafal Korytkowski Rafal Korytkowski 89e41e48bf43075e8134974bff64221d24bef470 Fixing image tag name

Error summary for Build

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


#45 [linux/amd64 dev 15/30] RUN --mount=type=cache,target=/root/.m2 mvn --non-recursive install -DskipTests
#45 CACHED

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

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

#48 [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/*
#48 CACHED

#49 [linux/amd64 dev 20/30] COPY test/ ./test/
#49 CACHED

#50 [linux/amd64 dev 16/30] COPY liquibase ./liquibase/
#50 CACHED

#51 [linux/amd64 dev 18/30] COPY tools/ ./tools/
#51 CACHED

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

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

#54 [linux/amd64 dev 12/30] COPY api/pom.xml ./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 install -DskipTests
#56 2.815 [INFO] Scanning for projects...
#56 3.443 [INFO]
#56 3.445 [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
#56 3.451 [INFO] Building openmrs-api 2.7.0-SNAPSHOT
#56 3.452 [INFO] --------------------------------[ jar ]---------------------------------
#56 5.161 [INFO]
#56 5.175 [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-api ---
#56 6.181 [INFO] ShortRevision tag detected. The value is '6'.
#56 6.204 [INFO] Executing: /bin/sh -c cd '/openmrs_core/api' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD'
#56 6.204 [INFO] Working directory: /openmrs_core/api
#56 6.447 [INFO] Storing buildNumber: 0 at timestamp: 1677754470427
#56 6.475 [WARNING] Cannot get the branch information from the git repository:
#56 6.475 Detecting the current branch failed: fatal: not a git repository (or any of the parent directories): .git
#56 6.476
#56 6.476 [INFO] ShortRevision tag detected. The value is '6'.
#56 6.478 [INFO] Executing: /bin/sh -c cd '/openmrs_core/api' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD'
#56 6.479 [INFO] Working directory: /openmrs_core/api
#56 6.516 [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
#56 6.517 [INFO]
#56 6.518 [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-api ---
#56 6.731 [INFO]
#56 6.732 [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
#56 6.962 [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.977 [INFO]
#56 6.977 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
#56 6.980 [WARNING] The POM for org.openmrs.tools:openmrs-tools:jar:2.7.0-SNAPSHOT is missing, no dependency information available
#56 7.062 [INFO] ------------------------------------------------------------------------
#56 7.063 [INFO] BUILD FAILURE
#56 7.066 [INFO] ------------------------------------------------------------------------
#56 7.067 [INFO] Total time:  4.329 s
#56 7.068 [INFO] Finished at: 2023-03-02T10:54:31Z
#56 7.068 [INFO] ------------------------------------------------------------------------
#56 7.083 [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]
#56 7.083 [ERROR]
#56 7.083 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#56 7.083 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#56 7.083 [ERROR]
#56 7.083 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#56 7.083 [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 install -DskipTests
#57 CANCELED
------
> [linux/amd64 dev 23/30] RUN --mount=type=cache,target=/root/.m2 mvn -pl api install -DskipTests:
#56 7.067 [INFO] Total time:  4.329 s
#56 7.068 [INFO] Finished at: 2023-03-02T10:54:31Z
#56 7.068 [INFO] ------------------------------------------------------------------------
#56 7.083 [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]
#56 7.083 [ERROR]
#56 7.083 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#56 7.083 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#56 7.083 [ERROR]
#56 7.083 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#56 7.083 [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