Builds the O3 backend

Build: #78 failed

Job: Build and Publish the Backend Image failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
1 minute
Agent
xindi.openmrs.org
Revision
d392d9b87b4f27baac87bec62c6c00023ce1803a d392d9b87b4f27baac87bec62c6c00023ce1803a
Fixed in
#79 (Code changes detected)
Number of retries
2
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): 75/262 kB
Progress (1): 79/262 kB
Progress (1): 83/262 kB
Progress (1): 85/262 kB
Progress (1): 89/262 kB
Progress (1): 94/262 kB
Progress (1): 98/262 kB
Progress (1): 102/262 kB
Progress (1): 106/262 kB
Progress (1): 110/262 kB
Progress (1): 114/262 kB
Progress (1): 118/262 kB
Progress (1): 120/262 kB
Progress (1): 124/262 kB
Progress (1): 128/262 kB
Progress (1): 132/262 kB
Progress (1): 137/262 kB
Progress (1): 141/262 kB
Progress (1): 143/262 kB
Progress (1): 147/262 kB
Progress (1): 151/262 kB
Progress (1): 155/262 kB
Progress (1): 158/262 kB
Progress (1): 162/262 kB
Progress (1): 166/262 kB
Progress (1): 170/262 kB
Progress (1): 174/262 kB
Progress (1): 179/262 kB
Progress (1): 183/262 kB
Progress (1): 187/262 kB
Progress (1): 191/262 kB
Progress (1): 195/262 kB
Progress (1): 197/262 kB
Progress (1): 201/262 kB
Progress (1): 206/262 kB
Progress (1): 210/262 kB
Progress (1): 214/262 kB
Progress (1): 218/262 kB
Progress (1): 222/262 kB
Progress (1): 226/262 kB
Progress (1): 230/262 kB
Progress (1): 232/262 kB
Progress (1): 236/262 kB
Progress (1): 240/262 kB
Progress (1): 244/262 kB
Progress (1): 249/262 kB
Progress (1): 251/262 kB
Progress (1): 255/262 kB
Progress (1): 260/262 kB
Progress (1): 262 kB   
                   
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/plexus/plexus-utils/3.3.1/plexus-utils-3.3.1.jar (262 kB at 530 kB/s)
#23 21.77 Uploading to openmrs-repo-releases: https://mavenrepo.openmrs.org/releases/org/openmrs/distro-emr/3.2.0-rc/distro-emr-3.2.0-rc.pom
#23 21.85 Progress (1): 4.1/7.2 kB
Progress (1): 7.2 kB   
                   
[INFO] ------------------------------------------------------------------------
#23 22.41 [INFO] Reactor Summary for Package and Run OpenMRS 3.2.0-rc:
#23 22.41 [INFO]
#23 22.41 [INFO] Package and Run OpenMRS ............................ FAILURE [ 17.365 s]
#23 22.41 [INFO] OpenMRS distro ..................................... SKIPPED
#23 22.41 [INFO] ------------------------------------------------------------------------
#23 22.42 [INFO] BUILD FAILURE
#23 22.42 [INFO] ------------------------------------------------------------------------
#23 22.42 [INFO] Total time:  17.754 s
#23 22.42 [INFO] Finished at: 2024-09-06T09:59:01Z
#23 22.43 [INFO] ------------------------------------------------------------------------
#23 22.43 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0:deploy (default-deploy) on project distro-emr: Failed to deploy artifacts: Could not find artifact org.openmrs:distro-emr:pom:3.2.0-rc in openmrs-repo-releases (https://mavenrepo.openmrs.org/releases) -> [Help 1]
#23 22.43 [ERROR]
#23 22.43 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#23 22.43 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#23 22.43 [ERROR]
#23 22.43 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#23 22.43 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#23 ERROR: process "/bin/sh -c if [[ \"$MVN_ARGS\" != \"deploy\" || \"$(arch)\" = \"x86_64\" ]]; then mvn $MVN_ARGS_SETTINGS $MVN_ARGS; else mvn $MVN_ARGS_SETTINGS install; fi" did not complete successfully: exit code: 1

#22 [linux/arm64 dev  5/10] RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "deploy" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro deploy; else mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro install; fi
#22 CANCELED
------
> [linux/amd64 dev  5/10] RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "deploy" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro deploy; else mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro install; fi:
#23 22.42 [INFO] Total time:  17.754 s
#23 22.42 [INFO] Finished at: 2024-09-06T09:59:01Z
#23 22.43 [INFO] ------------------------------------------------------------------------
#23 22.43 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0:deploy (default-deploy) on project distro-emr: Failed to deploy artifacts: Could not find artifact org.openmrs:distro-emr:pom:3.2.0-rc in openmrs-repo-releases (https://mavenrepo.openmrs.org/releases) -> [Help 1]
#23 22.43 [ERROR]
#23 22.43 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#23 22.43 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#23 22.43 [ERROR]
#23 22.43 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#23 22.43 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
------
Dockerfile:15
--------------------
  13 |     
  14 |     # Build the distro, but only deploy from the amd64 build
  15 | >>> RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "$MVN_ARGS" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn $MVN_ARGS_SETTINGS $MVN_ARGS; else mvn $MVN_ARGS_SETTINGS install; fi
  16 |     
  17 |     RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs.war /openmrs/distribution/openmrs_core/
--------------------
error: failed to solve: process "/bin/sh -c if [[ \"$MVN_ARGS\" != \"deploy\" || \"$(arch)\" = \"x86_64\" ]]; then mvn $MVN_ARGS_SETTINGS $MVN_ARGS; else mvn $MVN_ARGS_SETTINGS install; fi" did not complete successfully: exit code: 1