Builds the O3 backend
Build: #104 failed
Job: Build and Publish the Backend Image failed
Job result summary
- Completed
- Duration
- 1 minute
- Agent
- xiao.openmrs.org
- Revision
-
8c5acfb464a6ad4cb66d041d10ce1b2c339f35df
8c5acfb464a6ad4cb66d041d10ce1b2c339f35df - Fixed in
- #105 (Manual run by Mark Goodrich)
Error summary
The build generated some errors. See the full build log for more details.
#14 extracting sha256:5fc3461ebf7ce9bee31c708107217587c5b06fdec97d4231d9998b3f0748737e 14.9s done
#14 extracting sha256:3e2a98bd79e66ed5447a1b90fcc3644e027d4dd21a3f645fa634dfce8770f8a2 0.1s done
#14 DONE 49.2s
#14 [linux/amd64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#14 extracting sha256:26db64b2a90107c6da28962e9b6e290b5496b29eb94444a073ac56297b17d473
#14 extracting sha256:26db64b2a90107c6da28962e9b6e290b5496b29eb94444a073ac56297b17d473 0.4s done
#14 extracting sha256:3bfdcfc0b41e6f6b23170f238c7f133d869e8dea731e4f5d0cbccdebcb9ad38e 0.1s done
#14 DONE 49.6s
#15 [linux/arm64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#15 ...
#14 [linux/amd64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#14 extracting sha256:a88f7cba8dbeb373d30226efaab47461cb06e16c77550edbb2803216e84cb10e
#14 ...
#15 [linux/arm64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#15 extracting sha256:aa5fdc3ffdf80325cffd992a3315298e3a58b7d8f271191ae82b07fc24e879d4 14.7s done
#15 extracting sha256:4af632425008c6c42315c0b7683d3eb1649a5df07427d424e7c78dd2a3981425 0.1s done
#15 extracting sha256:62e5a30071d5dc746f65af15879a7c98b7c3c3b510f69a21976f4a4c37522bdf 0.4s done
#15 DONE 52.5s
#15 [linux/arm64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#15 extracting sha256:9a3cec464f6e7f7d5bccd2756b9316eb5b3497eb26492970a6d2b8698857f1e2 0.1s done
#15 extracting sha256:4a679ed494701a4cabdfc88bfa54810cc9a01f3b5cde2b415cad3ab242077578
#15 ...
#14 [linux/amd64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#14 extracting sha256:a88f7cba8dbeb373d30226efaab47461cb06e16c77550edbb2803216e84cb10e 12.8s done
#14 extracting sha256:6763a8e0c265da29a25b4e54571ee592d7c1e2cdacbc0719006710d48ca7c5bd
#14 extracting sha256:6763a8e0c265da29a25b4e54571ee592d7c1e2cdacbc0719006710d48ca7c5bd 4.8s done
#14 extracting sha256:6d9f7af053653675cc7fb47b9b3fae21da98a18f4a5e84bff629965681245c13
#14 extracting sha256:6d9f7af053653675cc7fb47b9b3fae21da98a18f4a5e84bff629965681245c13 1.1s done
#14 DONE 68.4s
#17 [linux/amd64 dev 2/10] WORKDIR /openmrs_distro
#17 DONE 0.5s
#18 [linux/amd64 dev 3/10] COPY pom.xml ./
#18 DONE 0.2s
#19 [linux/amd64 dev 4/10] COPY distro ./distro/
#19 DONE 0.4s
#15 [linux/arm64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#15 extracting sha256:4a679ed494701a4cabdfc88bfa54810cc9a01f3b5cde2b415cad3ab242077578 12.8s done
#15 extracting sha256:6763a8e0c265da29a25b4e54571ee592d7c1e2cdacbc0719006710d48ca7c5bd 4.1s done
#15 extracting sha256:6d9f7af053653675cc7fb47b9b3fae21da98a18f4a5e84bff629965681245c13 0.7s done
#15 DONE 70.1s
#20 [linux/arm64 dev 2/10] WORKDIR /openmrs_distro
#20 DONE 0.1s
#21 [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
#21 ...
#22 [linux/arm64 dev 3/10] COPY pom.xml ./
#22 DONE 0.1s
#23 [linux/arm64 dev 4/10] COPY distro ./distro/
#23 DONE 0.1s
#21 [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
#21 4.996 [INFO] Scanning for projects...
#21 5.306 [INFO] ------------------------------------------------------------------------
#21 5.307 [INFO] Reactor Build Order:
#21 5.308 [INFO]
#21 5.324 [INFO] Package and Run OpenMRS [pom]
#21 5.324 [INFO] OpenMRS distro [pom]
#21 5.346 [INFO]
#21 5.373 [INFO] -----------------------< org.openmrs:distro-emr >-----------------------
#21 5.374 [INFO] Building Package and Run OpenMRS 3.3.0-SNAPSHOT [1/2]
#21 5.375 [INFO] from pom.xml
#21 5.377 [INFO] --------------------------------[ pom ]---------------------------------
#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
#21 CANCELED
#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
#0 1.132 /usr/bin/mvn: line 66: 24 Segmentation fault (core dumped) expr "$link" : '/.*' > /dev/null
#0 1.341 /usr/bin/mvn: line 73: cd: /usr/bin//usr/share/maven/bin/..: No such file or directory
#0 5.544 Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
#0 5.544 Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.launcher.Launcher
#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
------
> [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:
#0 1.132 /usr/bin/mvn: line 66: 24 Segmentation fault (core dumped) expr "$link" : '/.*' > /dev/null
#0 1.341 /usr/bin/mvn: line 73: cd: /usr/bin//usr/share/maven/bin/..: No such file or directory
#0 5.544 Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
#0 5.544 Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.launcher.Launcher
------
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 "/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
#14 extracting sha256:3e2a98bd79e66ed5447a1b90fcc3644e027d4dd21a3f645fa634dfce8770f8a2 0.1s done
#14 DONE 49.2s
#14 [linux/amd64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#14 extracting sha256:26db64b2a90107c6da28962e9b6e290b5496b29eb94444a073ac56297b17d473
#14 extracting sha256:26db64b2a90107c6da28962e9b6e290b5496b29eb94444a073ac56297b17d473 0.4s done
#14 extracting sha256:3bfdcfc0b41e6f6b23170f238c7f133d869e8dea731e4f5d0cbccdebcb9ad38e 0.1s done
#14 DONE 49.6s
#15 [linux/arm64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#15 ...
#14 [linux/amd64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#14 extracting sha256:a88f7cba8dbeb373d30226efaab47461cb06e16c77550edbb2803216e84cb10e
#14 ...
#15 [linux/arm64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#15 extracting sha256:aa5fdc3ffdf80325cffd992a3315298e3a58b7d8f271191ae82b07fc24e879d4 14.7s done
#15 extracting sha256:4af632425008c6c42315c0b7683d3eb1649a5df07427d424e7c78dd2a3981425 0.1s done
#15 extracting sha256:62e5a30071d5dc746f65af15879a7c98b7c3c3b510f69a21976f4a4c37522bdf 0.4s done
#15 DONE 52.5s
#15 [linux/arm64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#15 extracting sha256:9a3cec464f6e7f7d5bccd2756b9316eb5b3497eb26492970a6d2b8698857f1e2 0.1s done
#15 extracting sha256:4a679ed494701a4cabdfc88bfa54810cc9a01f3b5cde2b415cad3ab242077578
#15 ...
#14 [linux/amd64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#14 extracting sha256:a88f7cba8dbeb373d30226efaab47461cb06e16c77550edbb2803216e84cb10e 12.8s done
#14 extracting sha256:6763a8e0c265da29a25b4e54571ee592d7c1e2cdacbc0719006710d48ca7c5bd
#14 extracting sha256:6763a8e0c265da29a25b4e54571ee592d7c1e2cdacbc0719006710d48ca7c5bd 4.8s done
#14 extracting sha256:6d9f7af053653675cc7fb47b9b3fae21da98a18f4a5e84bff629965681245c13
#14 extracting sha256:6d9f7af053653675cc7fb47b9b3fae21da98a18f4a5e84bff629965681245c13 1.1s done
#14 DONE 68.4s
#17 [linux/amd64 dev 2/10] WORKDIR /openmrs_distro
#17 DONE 0.5s
#18 [linux/amd64 dev 3/10] COPY pom.xml ./
#18 DONE 0.2s
#19 [linux/amd64 dev 4/10] COPY distro ./distro/
#19 DONE 0.4s
#15 [linux/arm64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-11@sha256:59eb2b3db6e26fe0b4bb1d6901728d96d2e80cf39c06eed6c4126d157c354911
#15 extracting sha256:4a679ed494701a4cabdfc88bfa54810cc9a01f3b5cde2b415cad3ab242077578 12.8s done
#15 extracting sha256:6763a8e0c265da29a25b4e54571ee592d7c1e2cdacbc0719006710d48ca7c5bd 4.1s done
#15 extracting sha256:6d9f7af053653675cc7fb47b9b3fae21da98a18f4a5e84bff629965681245c13 0.7s done
#15 DONE 70.1s
#20 [linux/arm64 dev 2/10] WORKDIR /openmrs_distro
#20 DONE 0.1s
#21 [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
#21 ...
#22 [linux/arm64 dev 3/10] COPY pom.xml ./
#22 DONE 0.1s
#23 [linux/arm64 dev 4/10] COPY distro ./distro/
#23 DONE 0.1s
#21 [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
#21 4.996 [INFO] Scanning for projects...
#21 5.306 [INFO] ------------------------------------------------------------------------
#21 5.307 [INFO] Reactor Build Order:
#21 5.308 [INFO]
#21 5.324 [INFO] Package and Run OpenMRS [pom]
#21 5.324 [INFO] OpenMRS distro [pom]
#21 5.346 [INFO]
#21 5.373 [INFO] -----------------------< org.openmrs:distro-emr >-----------------------
#21 5.374 [INFO] Building Package and Run OpenMRS 3.3.0-SNAPSHOT [1/2]
#21 5.375 [INFO] from pom.xml
#21 5.377 [INFO] --------------------------------[ pom ]---------------------------------
#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
#21 CANCELED
#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
#0 1.132 /usr/bin/mvn: line 66: 24 Segmentation fault (core dumped) expr "$link" : '/.*' > /dev/null
#0 1.341 /usr/bin/mvn: line 73: cd: /usr/bin//usr/share/maven/bin/..: No such file or directory
#0 5.544 Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
#0 5.544 Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.launcher.Launcher
#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
------
> [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:
#0 1.132 /usr/bin/mvn: line 66: 24 Segmentation fault (core dumped) expr "$link" : '/.*' > /dev/null
#0 1.341 /usr/bin/mvn: line 73: cd: /usr/bin//usr/share/maven/bin/..: No such file or directory
#0 5.544 Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
#0 5.544 Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.launcher.Launcher
------
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 "/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