OpenMRS Core 2.6

Build: #175 failed

Job: Deploy to docker 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
2 minutes
Agent
xindi.openmrs.org
Revision
dcaaf639de4afdc717500c7447f3afaa0fef730d dcaaf639de4afdc717500c7447f3afaa0fef730d
Fixed in
#176 (Manual run from the stage: Release by Daniel Kayiwa)
Number of retries
1
No failed test found. A possible compilation error occurred.

Error summary

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

#35 CACHED

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

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

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

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

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

#41 [linux/arm64 dev 5/8] WORKDIR /openmrs_core
#41 ...

#42 [linux/amd64 dev 5/8] WORKDIR /openmrs_core
#42 sha256:70208d94c8409059972b3cc109d9b99428fa90740e8b5b8aeefafeb1b957b735 102B / 102B 0.1s done
#42 DONE 0.5s

#41 [linux/arm64 dev 5/8] WORKDIR /openmrs_core
#41 ...

#42 [linux/amd64 dev 5/8] WORKDIR /openmrs_core
#42 extracting sha256:70208d94c8409059972b3cc109d9b99428fa90740e8b5b8aeefafeb1b957b735 0.1s done
#42 DONE 0.6s

#41 [linux/arm64 dev 5/8] WORKDIR /openmrs_core
#41 sha256:1d47ef3cde860ff39dabe6967559d71701799661f43f90efa08e9e47181785f7 100B / 100B 0.1s done
#41 extracting sha256:1d47ef3cde860ff39dabe6967559d71701799661f43f90efa08e9e47181785f7
#41 extracting sha256:1d47ef3cde860ff39dabe6967559d71701799661f43f90efa08e9e47181785f7 0.1s done
#41 DONE 0.6s

#43 [linux/arm64 dev 6/8] COPY --from=compile /usr/share/maven/ref /usr/share/maven/ref
#43 DONE 4.0s

#44 [linux/amd64 dev 6/8] COPY --from=compile /usr/share/maven/ref /usr/share/maven/ref
#44 DONE 4.1s

#45 [linux/amd64 dev 7/8] COPY --from=compile /openmrs_core /openmrs_core/
#45 DONE 5.9s

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

#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 ...

#48 [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
#48 DONE 0.7s

#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 ...

#49 [linux/amd64 stage-2  8/10] WORKDIR /openmrs
#49 CACHED

#50 [linux/amd64 stage-2  4/10] RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"'     /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/amd64 stage-2  6/10] COPY --from=dev /openmrs/wait-for-it.sh /openmrs/startup-init.sh /openmrs/startup.sh /openmrs/
#51 CACHED

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

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

#54 [linux/amd64 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
#54 CACHED

#55 [linux/amd64 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
#55 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 1.062 /bin/sh: line 1:    16 Segmentation fault      (core dumped) chmod +x /openmrs/wait-for-it.sh
#47 ERROR: process "/dev/.buildkit_qemu_emulator /bin/sh -c 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" did not complete successfully: exit code: 139

#56 [linux/amd64 stage-2  9/10] COPY --from=dev /openmrs_core/LICENSE LICENSE
#56 CACHED
------
> [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 1.062 /bin/sh: line 1:    16 Segmentation fault      (core dumped) chmod +x /openmrs/wait-for-it.sh
------
Dockerfile:83
--------------------
  82 |     
  83 | >>> RUN mkdir -p /openmrs/distribution/openmrs_core/ \
  84 | >>>     && cp /openmrs_core/webapp/target/openmrs.war /openmrs/distribution/openmrs_core/openmrs.war \
  85 | >>>     && cp /openmrs_core/wait-for-it.sh /openmrs_core/startup-init.sh /openmrs_core/startup.sh /openmrs_core/startup-dev.sh /openmrs/  \
  86 | >>>     && chmod +x /openmrs/wait-for-it.sh && chmod +x /openmrs/startup-init.sh && chmod +x /openmrs/startup.sh \
  87 | >>>     && chmod +x /openmrs/startup-dev.sh
  88 |     
--------------------
error: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c 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" did not complete successfully: exit code: 139