OpenMRS Core Master
Build: #3702 failed
Job: Deploy to docker JDK 17 failed
Job result summary
- Completed
- Duration
- 3 minutes
- Agent
- xindi.openmrs.org
- Revision
-
be4905b7b9d0ccb131fe69d18dd5e24753020d72
be4905b7b9d0ccb131fe69d18dd5e24753020d72 - Fixed in
- #3704 (Code changes detected)
- Number of retries
- 1
Error summary
The build generated some errors. See the full build log for more details.
#26 [linux/arm64 dev 4/8] RUN curl -fL -o /tmp/apache-tomcat.tar.gz "https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-8/v8.5.83/bin/apache-tomcat-8.5.83.tar.gz" && echo "57cbe9608a9c4e88135e5f5480812e8d57690d5f3f6c43a7c05fe647bddb7c3b684bf0fc0efebad399d05e80c6d20c43d5ecdf38ec58f123e6653e443f9054e3 /tmp/apache-tomcat.tar.gz" | sha512sum -c && mkdir -p /usr/local/tomcat && gzip -d /tmp/apache-tomcat.tar.gz && tar -xvf /tmp/apache-tomcat.tar -C /usr/local/tomcat/ --strip-components=1 && rm -rf /tmp/apache-tomcat.tar.gz /usr/local/tomcat/webapps/*
#26 CACHED
#27 [linux/arm64 dev 2/8] RUN yum -y update && yum -y install tar gzip git && yum clean all
#27 CACHED
#28 [linux/amd64 compile 6/15] COPY pom.xml .
#28 CACHED
#29 [linux/amd64 compile 10/15] COPY api/pom.xml api/
#29 CACHED
#30 [linux/arm64 dev 7/8] COPY --from=compile /openmrs_core /openmrs_core/
#30 CACHED
#31 [linux/amd64 compile 7/15] COPY test/pom.xml test/
#31 CACHED
#32 [linux/amd64 compile 12/15] COPY webapp/pom.xml webapp/
#32 CACHED
#33 [linux/arm64 dev 6/8] COPY --from=compile /usr/share/maven/ref /usr/share/maven/ref
#33 CACHED
#34 [linux/amd64 compile 9/15] COPY liquibase/pom.xml liquibase/
#34 CACHED
#35 [linux/amd64 compile 14/15] COPY . .
#35 CACHED
#36 [linux/arm64 dev 5/8] WORKDIR /openmrs_core
#36 CACHED
#37 [linux/amd64 compile 13/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml -B dependency:go-offline -P !default-tools.jar,!mac-tools.jar
#37 CACHED
#38 [linux/amd64 compile 2/15] RUN yum -y update && yum -y install git && yum clean all
#38 CACHED
#39 [linux/amd64 compile 5/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml -f docker-pom.xml org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:5.11.0:setup-sdk -N -DbatchAnswers=n
#39 CACHED
#40 [linux/amd64 compile 15/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests
#40 CACHED
#41 [linux/arm64 dev 3/8] RUN if [ "arm64" = "arm64" ] ; then TINI_URL="https://github.com/krallin/tini/releases/download/v0.19.0/tini-arm64" TINI_SHA=07952557df20bfd2a95f9bef198b445e006171969499a1d361bd9e6f8e5e0e81 ; fi && curl -fsSL -o /usr/bin/tini https://github.com/krallin/tini/releases/download/v0.19.0/tini && echo "93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c /usr/bin/tini" | sha256sum -c && chmod +x /usr/bin/tini
#41 CACHED
#42 [linux/amd64 compile 3/15] WORKDIR /openmrs_core
#42 CACHED
#43 [linux/amd64 compile 11/15] COPY web/pom.xml web/
#43 CACHED
#44 [linux/amd64 compile 8/15] COPY tools/pom.xml tools/
#44 CACHED
#45 [linux/arm64 dev 8/8] RUN mkdir -p /openmrs/distribution/openmrs_core/ && cp /openmrs_core/webapp/target/openmrs.war /openmrs/distribution/openmrs_core/openmrs.war && cp /openmrs_core/wait-for-it.sh /openmrs_core/startup-init.sh /openmrs_core/startup.sh /openmrs_core/startup-dev.sh /openmrs/ && chmod +x /openmrs/wait-for-it.sh && chmod +x /openmrs/startup-init.sh && chmod +x /openmrs/startup.sh && chmod +x /openmrs/startup-dev.sh
#45 CACHED
#46 [linux/amd64 dev 4/8] RUN curl -fL -o /tmp/apache-tomcat.tar.gz "https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-8/v8.5.83/bin/apache-tomcat-8.5.83.tar.gz" && echo "57cbe9608a9c4e88135e5f5480812e8d57690d5f3f6c43a7c05fe647bddb7c3b684bf0fc0efebad399d05e80c6d20c43d5ecdf38ec58f123e6653e443f9054e3 /tmp/apache-tomcat.tar.gz" | sha512sum -c && mkdir -p /usr/local/tomcat && gzip -d /tmp/apache-tomcat.tar.gz && tar -xvf /tmp/apache-tomcat.tar -C /usr/local/tomcat/ --strip-components=1 && rm -rf /tmp/apache-tomcat.tar.gz /usr/local/tomcat/webapps/*
#46 CACHED
#47 [linux/amd64 dev 6/8] COPY --from=compile /usr/share/maven/ref /usr/share/maven/ref
#47 CACHED
#48 [linux/amd64 dev 5/8] WORKDIR /openmrs_core
#48 CACHED
#49 [linux/amd64 dev 2/8] RUN yum -y update && yum -y install tar gzip git && yum clean all
#49 CACHED
#50 [linux/amd64 dev 7/8] COPY --from=compile /openmrs_core /openmrs_core/
#50 CACHED
#51 [linux/amd64 dev 3/8] RUN if [ "amd64" = "arm64" ] ; then TINI_URL="https://github.com/krallin/tini/releases/download/v0.19.0/tini-arm64" TINI_SHA=07952557df20bfd2a95f9bef198b445e006171969499a1d361bd9e6f8e5e0e81 ; fi && curl -fsSL -o /usr/bin/tini https://github.com/krallin/tini/releases/download/v0.19.0/tini && echo "93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c /usr/bin/tini" | sha256sum -c && chmod +x /usr/bin/tini
#51 CACHED
#52 [linux/amd64 dev 8/8] RUN mkdir -p /openmrs/distribution/openmrs_core/ && cp /openmrs_core/webapp/target/openmrs.war /openmrs/distribution/openmrs_core/openmrs.war && cp /openmrs_core/wait-for-it.sh /openmrs_core/startup-init.sh /openmrs_core/startup.sh /openmrs_core/startup-dev.sh /openmrs/ && chmod +x /openmrs/wait-for-it.sh && chmod +x /openmrs/startup-init.sh && chmod +x /openmrs/startup.sh && chmod +x /openmrs/startup-dev.sh
#52 CACHED
#24 [linux/arm64 stage-2 5/10] RUN mkdir -p /openmrs/data/modules && mkdir -p /openmrs/data/owa && mkdir -p /openmrs/data/configuration && mkdir -p /openmrs/data/configuration_checksums && mkdir -p /openmrs/data/complex_obs && chmod -R g+rw /openmrs
#24 0.839 /bin/sh: line 1: 19 Segmentation fault (core dumped) mkdir -p /openmrs/data/complex_obs
#24 ERROR: process "/dev/.buildkit_qemu_emulator /bin/sh -c mkdir -p /openmrs/data/modules && mkdir -p /openmrs/data/owa && mkdir -p /openmrs/data/configuration && mkdir -p /openmrs/data/configuration_checksums && mkdir -p /openmrs/data/complex_obs && chmod -R g+rw /openmrs" did not complete successfully: exit code: 139
------
> [linux/arm64 stage-2 5/10] RUN mkdir -p /openmrs/data/modules && mkdir -p /openmrs/data/owa && mkdir -p /openmrs/data/configuration && mkdir -p /openmrs/data/configuration_checksums && mkdir -p /openmrs/data/complex_obs && chmod -R g+rw /openmrs:
#24 0.839 /bin/sh: line 1: 19 Segmentation fault (core dumped) mkdir -p /openmrs/data/complex_obs
------
Dockerfile:119
--------------------
118 |
119 | >>> RUN mkdir -p /openmrs/data/modules \
120 | >>> && mkdir -p /openmrs/data/owa \
121 | >>> && mkdir -p /openmrs/data/configuration \
122 | >>> && mkdir -p /openmrs/data/configuration_checksums \
123 | >>> && mkdir -p /openmrs/data/complex_obs \
124 | >>> && chmod -R g+rw /openmrs
125 |
--------------------
error: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c mkdir -p /openmrs/data/modules && mkdir -p /openmrs/data/owa && mkdir -p /openmrs/data/configuration && mkdir -p /openmrs/data/configuration_checksums && mkdir -p /openmrs/data/complex_obs && chmod -R g+rw /openmrs" did not complete successfully: exit code: 139
#26 CACHED
#27 [linux/arm64 dev 2/8] RUN yum -y update && yum -y install tar gzip git && yum clean all
#27 CACHED
#28 [linux/amd64 compile 6/15] COPY pom.xml .
#28 CACHED
#29 [linux/amd64 compile 10/15] COPY api/pom.xml api/
#29 CACHED
#30 [linux/arm64 dev 7/8] COPY --from=compile /openmrs_core /openmrs_core/
#30 CACHED
#31 [linux/amd64 compile 7/15] COPY test/pom.xml test/
#31 CACHED
#32 [linux/amd64 compile 12/15] COPY webapp/pom.xml webapp/
#32 CACHED
#33 [linux/arm64 dev 6/8] COPY --from=compile /usr/share/maven/ref /usr/share/maven/ref
#33 CACHED
#34 [linux/amd64 compile 9/15] COPY liquibase/pom.xml liquibase/
#34 CACHED
#35 [linux/amd64 compile 14/15] COPY . .
#35 CACHED
#36 [linux/arm64 dev 5/8] WORKDIR /openmrs_core
#36 CACHED
#37 [linux/amd64 compile 13/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml -B dependency:go-offline -P !default-tools.jar,!mac-tools.jar
#37 CACHED
#38 [linux/amd64 compile 2/15] RUN yum -y update && yum -y install git && yum clean all
#38 CACHED
#39 [linux/amd64 compile 5/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml -f docker-pom.xml org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:5.11.0:setup-sdk -N -DbatchAnswers=n
#39 CACHED
#40 [linux/amd64 compile 15/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests
#40 CACHED
#41 [linux/arm64 dev 3/8] RUN if [ "arm64" = "arm64" ] ; then TINI_URL="https://github.com/krallin/tini/releases/download/v0.19.0/tini-arm64" TINI_SHA=07952557df20bfd2a95f9bef198b445e006171969499a1d361bd9e6f8e5e0e81 ; fi && curl -fsSL -o /usr/bin/tini https://github.com/krallin/tini/releases/download/v0.19.0/tini && echo "93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c /usr/bin/tini" | sha256sum -c && chmod +x /usr/bin/tini
#41 CACHED
#42 [linux/amd64 compile 3/15] WORKDIR /openmrs_core
#42 CACHED
#43 [linux/amd64 compile 11/15] COPY web/pom.xml web/
#43 CACHED
#44 [linux/amd64 compile 8/15] COPY tools/pom.xml tools/
#44 CACHED
#45 [linux/arm64 dev 8/8] RUN mkdir -p /openmrs/distribution/openmrs_core/ && cp /openmrs_core/webapp/target/openmrs.war /openmrs/distribution/openmrs_core/openmrs.war && cp /openmrs_core/wait-for-it.sh /openmrs_core/startup-init.sh /openmrs_core/startup.sh /openmrs_core/startup-dev.sh /openmrs/ && chmod +x /openmrs/wait-for-it.sh && chmod +x /openmrs/startup-init.sh && chmod +x /openmrs/startup.sh && chmod +x /openmrs/startup-dev.sh
#45 CACHED
#46 [linux/amd64 dev 4/8] RUN curl -fL -o /tmp/apache-tomcat.tar.gz "https://www.apache.org/dyn/closer.cgi?action=download&filename=tomcat/tomcat-8/v8.5.83/bin/apache-tomcat-8.5.83.tar.gz" && echo "57cbe9608a9c4e88135e5f5480812e8d57690d5f3f6c43a7c05fe647bddb7c3b684bf0fc0efebad399d05e80c6d20c43d5ecdf38ec58f123e6653e443f9054e3 /tmp/apache-tomcat.tar.gz" | sha512sum -c && mkdir -p /usr/local/tomcat && gzip -d /tmp/apache-tomcat.tar.gz && tar -xvf /tmp/apache-tomcat.tar -C /usr/local/tomcat/ --strip-components=1 && rm -rf /tmp/apache-tomcat.tar.gz /usr/local/tomcat/webapps/*
#46 CACHED
#47 [linux/amd64 dev 6/8] COPY --from=compile /usr/share/maven/ref /usr/share/maven/ref
#47 CACHED
#48 [linux/amd64 dev 5/8] WORKDIR /openmrs_core
#48 CACHED
#49 [linux/amd64 dev 2/8] RUN yum -y update && yum -y install tar gzip git && yum clean all
#49 CACHED
#50 [linux/amd64 dev 7/8] COPY --from=compile /openmrs_core /openmrs_core/
#50 CACHED
#51 [linux/amd64 dev 3/8] RUN if [ "amd64" = "arm64" ] ; then TINI_URL="https://github.com/krallin/tini/releases/download/v0.19.0/tini-arm64" TINI_SHA=07952557df20bfd2a95f9bef198b445e006171969499a1d361bd9e6f8e5e0e81 ; fi && curl -fsSL -o /usr/bin/tini https://github.com/krallin/tini/releases/download/v0.19.0/tini && echo "93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c /usr/bin/tini" | sha256sum -c && chmod +x /usr/bin/tini
#51 CACHED
#52 [linux/amd64 dev 8/8] RUN mkdir -p /openmrs/distribution/openmrs_core/ && cp /openmrs_core/webapp/target/openmrs.war /openmrs/distribution/openmrs_core/openmrs.war && cp /openmrs_core/wait-for-it.sh /openmrs_core/startup-init.sh /openmrs_core/startup.sh /openmrs_core/startup-dev.sh /openmrs/ && chmod +x /openmrs/wait-for-it.sh && chmod +x /openmrs/startup-init.sh && chmod +x /openmrs/startup.sh && chmod +x /openmrs/startup-dev.sh
#52 CACHED
#24 [linux/arm64 stage-2 5/10] RUN mkdir -p /openmrs/data/modules && mkdir -p /openmrs/data/owa && mkdir -p /openmrs/data/configuration && mkdir -p /openmrs/data/configuration_checksums && mkdir -p /openmrs/data/complex_obs && chmod -R g+rw /openmrs
#24 0.839 /bin/sh: line 1: 19 Segmentation fault (core dumped) mkdir -p /openmrs/data/complex_obs
#24 ERROR: process "/dev/.buildkit_qemu_emulator /bin/sh -c mkdir -p /openmrs/data/modules && mkdir -p /openmrs/data/owa && mkdir -p /openmrs/data/configuration && mkdir -p /openmrs/data/configuration_checksums && mkdir -p /openmrs/data/complex_obs && chmod -R g+rw /openmrs" did not complete successfully: exit code: 139
------
> [linux/arm64 stage-2 5/10] RUN mkdir -p /openmrs/data/modules && mkdir -p /openmrs/data/owa && mkdir -p /openmrs/data/configuration && mkdir -p /openmrs/data/configuration_checksums && mkdir -p /openmrs/data/complex_obs && chmod -R g+rw /openmrs:
#24 0.839 /bin/sh: line 1: 19 Segmentation fault (core dumped) mkdir -p /openmrs/data/complex_obs
------
Dockerfile:119
--------------------
118 |
119 | >>> RUN mkdir -p /openmrs/data/modules \
120 | >>> && mkdir -p /openmrs/data/owa \
121 | >>> && mkdir -p /openmrs/data/configuration \
122 | >>> && mkdir -p /openmrs/data/configuration_checksums \
123 | >>> && mkdir -p /openmrs/data/complex_obs \
124 | >>> && chmod -R g+rw /openmrs
125 |
--------------------
error: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c mkdir -p /openmrs/data/modules && mkdir -p /openmrs/data/owa && mkdir -p /openmrs/data/configuration && mkdir -p /openmrs/data/configuration_checksums && mkdir -p /openmrs/data/complex_obs && chmod -R g+rw /openmrs" did not complete successfully: exit code: 139