OpenMRS Core Master

Build: #3703 failed

Job: Deploy to docker JDK 17 failed

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually
  5. Release image variants

Job result summary

Completed
Duration
10 minutes
Agent
yu.openmrs.org
Revision
95d4de15de2960dff720084e51f224148f6afeec
Failing since
#3702 (Rebuilt by Ian Bacher)
Fixed in
#3704 (Changes by Mark Goodrich <mgoodrich@pih.org>)
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

#25 [linux/amd64 compile 11/15] COPY web/pom.xml web/
#25 CACHED

#26 [linux/amd64 dev 2/8] RUN yum -y update && yum -y install tar gzip git && yum clean all
#26 CACHED

#27 [linux/amd64 compile 10/15] COPY api/pom.xml api/
#27 CACHED

#28 [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
#28 CACHED

#29 [linux/amd64 compile  9/15] COPY liquibase/pom.xml liquibase/
#29 CACHED

#30 [linux/amd64 compile 12/15] COPY webapp/pom.xml webapp/
#30 CACHED

#31 [linux/amd64 compile 14/15] COPY . .
#31 CACHED

#32 [linux/amd64 dev 5/8] WORKDIR /openmrs_core
#32 CACHED

#33 [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
#33 CACHED

#34 [linux/amd64 compile  8/15] COPY tools/pom.xml tools/
#34 CACHED

#35 [linux/amd64 compile 15/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests
#35 CACHED

#36 [linux/amd64 dev 7/8] COPY --from=compile /openmrs_core /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  7/15] COPY test/pom.xml test/
#38 CACHED

#39 [linux/amd64 compile  3/15] WORKDIR /openmrs_core
#39 CACHED

#40 [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
#40 CACHED

#41 [linux/arm64 dev 6/8] COPY --from=compile /usr/share/maven/ref /usr/share/maven/ref
#41 CACHED

#42 [linux/arm64 dev 2/8] RUN yum -y update && yum -y install tar gzip git && yum clean all
#42 CACHED

#43 [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
#43 CACHED

#44 [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/*
#44 CACHED

#45 [linux/arm64 dev 5/8] WORKDIR /openmrs_core
#45 CACHED

#46 [linux/arm64 dev 7/8] COPY --from=compile /openmrs_core /openmrs_core/
#46 CACHED

#47 [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
#47 CACHED

#48 [linux/arm64 stage-2  2/10] RUN yum -y update && yum clean all && rm -rf /usr/local/tomcat/webapps/*
#48 CACHED

#49 [linux/arm64 stage-2  3/10] 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 g+rx /usr/bin/tini
#49 CACHED

#50 [linux/arm64 stage-2  4/10] RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"'     /usr/local/tomcat/conf/server.xml     && chmod -R g+rx /usr/local/tomcat     && touch /usr/local/tomcat/bin/setenv.sh && chmod g+w /usr/local/tomcat/bin/setenv.sh     && chmod -R g+w /usr/local/tomcat/webapps /usr/local/tomcat/logs /usr/local/tomcat/work /usr/local/tomcat/temp
#50 CACHED

#51 [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
#51 CACHED

#52 [linux/arm64 stage-2  6/10] COPY --from=dev /openmrs/wait-for-it.sh /openmrs/startup-init.sh /openmrs/startup.sh /openmrs/
#52 CACHED

#53 [linux/arm64 stage-2  7/10] RUN chmod g+x /openmrs/wait-for-it.sh && chmod g+x /openmrs/startup-init.sh && chmod g+x /openmrs/startup.sh
#53 0.517 /bin/sh: line 1:     7 Segmentation fault      (core dumped) chmod g+x /openmrs/wait-for-it.sh
#53 ERROR: process "/dev/.buildkit_qemu_emulator /bin/sh -c chmod g+x /openmrs/wait-for-it.sh && chmod g+x /openmrs/startup-init.sh && chmod g+x /openmrs/startup.sh" did not complete successfully: exit code: 139
------
> [linux/arm64 stage-2  7/10] RUN chmod g+x /openmrs/wait-for-it.sh && chmod g+x /openmrs/startup-init.sh && chmod g+x /openmrs/startup.sh:
#53 0.517 /bin/sh: line 1:     7 Segmentation fault      (core dumped) chmod g+x /openmrs/wait-for-it.sh
------
Dockerfile:128
--------------------
126 |     # Copy in the start-up scripts
127 |     COPY --from=dev /openmrs/wait-for-it.sh /openmrs/startup-init.sh /openmrs/startup.sh /openmrs/
128 | >>> RUN chmod g+x /openmrs/wait-for-it.sh && chmod g+x /openmrs/startup-init.sh && chmod g+x /openmrs/startup.sh
129 |     
130 |     WORKDIR /openmrs
--------------------
error: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c chmod g+x /openmrs/wait-for-it.sh && chmod g+x /openmrs/startup-init.sh && chmod g+x /openmrs/startup.sh" did not complete successfully: exit code: 139