OpenMRS Core 2.6

Build: #30 failed

Job: Build failed

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually

Job result summary

Completed
Duration
5 minutes
Flags
Custom build
Revision
16e0d3a06acd39ae530d03cf28c9e54d79761602 16e0d3a06acd39ae530d03cf28c9e54d79761602
Fixed in
#31 (Rebuilt by Herman Muhereza)
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

Progress (1): 128/223 kB
Progress (1): 132/223 kB
Progress (1): 134/223 kB
Progress (1): 138/223 kB
Progress (1): 143/223 kB
Progress (1): 147/223 kB
Progress (1): 151/223 kB
Progress (1): 155/223 kB
Progress (1): 159/223 kB
Progress (1): 161/223 kB
Progress (1): 165/223 kB
Progress (1): 170/223 kB
Progress (1): 174/223 kB
Progress (1): 178/223 kB
Progress (1): 182/223 kB
Progress (1): 186/223 kB
Progress (1): 188/223 kB
Progress (1): 192/223 kB
Progress (1): 197/223 kB
Progress (1): 201/223 kB
Progress (1): 205/223 kB
Progress (1): 209/223 kB
Progress (1): 213/223 kB
Progress (1): 215/223 kB
Progress (1): 219/223 kB
Progress (1): 223 kB   
                   
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar (223 kB at 144 kB/s)
#51 68.33 [INFO] Using 'UTF-8' encoding to format source files.
#51 ...

#53 [linux/arm64 dev 19/30] RUN --mount=type=cache,target=/root/.m2 mvn -pl tools install -DskipTests
#53 42.36 [INFO] Tests are skipped.
#53 42.37 [INFO]
#53 42.38 [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ openmrs-tools ---
#53 45.26 [INFO] Building jar: /openmrs_core/tools/target/openmrs-tools-2.6.0-beta-SNAPSHOT.jar
#53 45.70 [INFO]
#53 45.70 [INFO] --- maven-jar-plugin:3.3.0:test-jar (default) @ openmrs-tools ---
#53 45.75 [WARNING] JAR will be empty - no content was marked for inclusion!
#53 45.79 [INFO] Building jar: /openmrs_core/tools/target/openmrs-tools-2.6.0-beta-SNAPSHOT-tests.jar
#53 45.97 [INFO]
#53 45.97 [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-tools ---
#53 48.75 [INFO] Checking licenses...
#53 50.20 [INFO]
#53 50.22 [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-tools ---
#53 52.01 [INFO] Installing /openmrs_core/tools/target/openmrs-tools-2.6.0-beta-SNAPSHOT.jar to /root/.m2/repository/org/openmrs/tools/openmrs-tools/2.6.0-beta-SNAPSHOT/openmrs-tools-2.6.0-beta-SNAPSHOT.jar
#53 52.03 [INFO] Installing /openmrs_core/tools/pom.xml to /root/.m2/repository/org/openmrs/tools/openmrs-tools/2.6.0-beta-SNAPSHOT/openmrs-tools-2.6.0-beta-SNAPSHOT.pom
#53 52.09 [INFO] Installing /openmrs_core/tools/target/openmrs-tools-2.6.0-beta-SNAPSHOT-tests.jar to /root/.m2/repository/org/openmrs/tools/openmrs-tools/2.6.0-beta-SNAPSHOT/openmrs-tools-2.6.0-beta-SNAPSHOT-tests.jar
#53 52.10 [INFO] ------------------------------------------------------------------------
#53 52.10 [INFO] BUILD SUCCESS
#53 52.10 [INFO] ------------------------------------------------------------------------
#53 52.11 [INFO] Total time:  37.957 s
#53 52.11 [INFO] Finished at: 2023-01-24T12:29:58Z
#53 52.11 [INFO] ------------------------------------------------------------------------
#53 DONE 52.3s

#54 [linux/arm64 dev 20/30] COPY test/ ./test/
#54 DONE 0.1s

#55 [linux/arm64 dev 21/30] RUN --mount=type=cache,target=/root/.m2 mvn -pl test install -DskipTests
#55 CANCELED

#51 [linux/amd64 dev 23/30] RUN --mount=type=cache,target=/root/.m2 mvn -pl api install -DskipTests
#51 73.61 [INFO] Number of files to be formatted: 1115
#51 73.61 [INFO] ------------------------------------------------------------------------
#51 73.61 [INFO] BUILD FAILURE
#51 73.61 [INFO] ------------------------------------------------------------------------
#51 73.62 [INFO] Total time:  01:10 min
#51 73.62 [INFO] Finished at: 2023-01-24T12:29:59Z
#51 73.62 [INFO] ------------------------------------------------------------------------
#51 73.62 [ERROR] Failed to execute goal com.googlecode.maven-java-formatter-plugin:maven-java-formatter-plugin:0.3:format (default) on project openmrs-api: Config file [eclipse/OpenMRSFormatter.xml] cannot be found: Could not find resource 'eclipse/OpenMRSFormatter.xml'. -> [Help 1]
#51 73.62 [ERROR]
#51 73.62 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#51 73.62 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#51 73.62 [ERROR]
#51 73.62 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#51 73.62 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#51 ERROR: process "/bin/sh -c mvn -pl api $MVN_ARGS" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 23/30] RUN --mount=type=cache,target=/root/.m2 mvn -pl api install -DskipTests:
#51 73.62 [INFO] Total time:  01:10 min
#51 73.62 [INFO] Finished at: 2023-01-24T12:29:59Z
#51 73.62 [INFO] ------------------------------------------------------------------------
#51 73.62 [ERROR] Failed to execute goal com.googlecode.maven-java-formatter-plugin:maven-java-formatter-plugin:0.3:format (default) on project openmrs-api: Config file [eclipse/OpenMRSFormatter.xml] cannot be found: Could not find resource 'eclipse/OpenMRSFormatter.xml'. -> [Help 1]
#51 73.62 [ERROR]
#51 73.62 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#51 73.62 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#51 73.62 [ERROR]
#51 73.62 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#51 73.62 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
------
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