Builds the O3 backend

Build: #104 failed Changes by Mark Goodrich <mark.goodrich@live.com>

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
19-Nov-2024 13:45:17 #21 6.436 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-enforcer-plugin/3.2.1/maven-enforcer-plugin-3.2.1.pom
19-Nov-2024 13:45:17 #21 CANCELED
19-Nov-2024 13:45:17
19-Nov-2024 13:45:17 #24 [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
19-Nov-2024 13:45:17 #0 1.132 /usr/bin/mvn: line 66:    24 Segmentation fault      (core dumped) expr "$link" : '/.*' > /dev/null
19-Nov-2024 13:45:17 #0 1.341 /usr/bin/mvn: line 73: cd: /usr/bin//usr/share/maven/bin/..: No such file or directory
19-Nov-2024 13:45:17 #0 5.544 Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
19-Nov-2024 13:45:17 #0 5.544 Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.launcher.Launcher
19-Nov-2024 13:45:17 #24 ERROR: process "/dev/.buildkit_qemu_emulator /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
19-Nov-2024 13:45:17 ------
19-Nov-2024 13:45:17 > [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:
19-Nov-2024 13:45:17 #0 1.132 /usr/bin/mvn: line 66:    24 Segmentation fault      (core dumped) expr "$link" : '/.*' > /dev/null
19-Nov-2024 13:45:17 #0 1.341 /usr/bin/mvn: line 73: cd: /usr/bin//usr/share/maven/bin/..: No such file or directory
19-Nov-2024 13:45:17 #0 5.544 Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
19-Nov-2024 13:45:17 #0 5.544 Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.launcher.Launcher
19-Nov-2024 13:45:17 ------
19-Nov-2024 13:45:17 Dockerfile:15
19-Nov-2024 13:45:17 --------------------
19-Nov-2024 13:45:17   13 |     
19-Nov-2024 13:45:17   14 |     # Build the distro, but only deploy from the amd64 build
19-Nov-2024 13:45:17   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
19-Nov-2024 13:45:17   16 |     
19-Nov-2024 13:45:17   17 |     RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs.war /openmrs/distribution/openmrs_core/
19-Nov-2024 13:45:17 --------------------
19-Nov-2024 13:45:17 error: failed to solve: process "/dev/.buildkit_qemu_emulator /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