Builds the O3 backend

Build: #195 failed Changes by OpenMRS Administrator

Stages & jobs

  1. Default Stage

Logs

The following logs have been generated by the jobs in this plan.
  • Expand all
  • Collapse all
Job Logs
Collapse Build and Publish the Backend Image Default Stage Download or View
01-Sep-2025 07:03:26 #16 DONE 0.1s
01-Sep-2025 07:03:26
01-Sep-2025 07:03:26 #12 [linux/amd64 dev  1/11] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-17@sha256:a60e88672bdb3ef0cece78a5d6dc5aa8f58558a673133ed21413c1596c997afb
01-Sep-2025 07:03:27 #12 extracting sha256:b384aba76dbc237c79169c94fb8f91033bc0d4135757a811ee7a651d1dc73154 2.8s done
01-Sep-2025 07:03:27 #12 DONE 46.9s
01-Sep-2025 07:03:27
01-Sep-2025 07:03:27 #17 [linux/arm64 dev  5/11] 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
01-Sep-2025 07:03:27 #17 0.317 exec /bin/sh: exec format error
01-Sep-2025 07:03:27 #17 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: 255
01-Sep-2025 07:03:27
01-Sep-2025 07:03:27 #18 [linux/amd64 dev  2/11] WORKDIR /openmrs_distro
01-Sep-2025 07:03:27 #18 CANCELED
01-Sep-2025 07:03:27 ------
01-Sep-2025 07:03:27 > [linux/arm64 dev  5/11] 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:
01-Sep-2025 07:03:27 0.317 exec /bin/sh: exec format error
01-Sep-2025 07:03:27 ------
01-Sep-2025 07:03:27 Dockerfile:16
01-Sep-2025 07:03:27 --------------------
01-Sep-2025 07:03:27   14 |     ARG CACHE_BUST
01-Sep-2025 07:03:27   15 |     # Build the distro, but only deploy from the amd64 build
01-Sep-2025 07:03:27   16 | >>> 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
01-Sep-2025 07:03:27   17 |     
01-Sep-2025 07:03:27   18 |     RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs_core/openmrs.war /openmrs/distribution/openmrs_core/
01-Sep-2025 07:03:27 --------------------
01-Sep-2025 07:03:27 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: 255