OpenMRS Core 2.7

Build: #25 failed Changes by Daniel Kayiwa

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually
  5. Release image variants

Build result summary

Details

Completed
Queue duration
1 second
Duration
26 minutes
Labels
None
Revisions
openmrs-core-2.7.x
6b546fe1002ad8f299aa8bc19f8efecbe428ee6b
Release scripts
ced9ff00825ca1cb8c744547be4ba8ff994bd71b
Fixed in
#26 (Changes by Daniel Kayiwa)
No failed test found. A possible compilation error occurred.

Responsible

  • Daniel Kayiwa Daniel Kayiwa Automatically assigned

Code commits

openmrs-core-2.7.x
Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa 6b546fe1002ad8f299aa8bc19f8efecbe428ee6b More unescaping of xml like for the address layout template
(cherry picked from commit dca1109aab08a7e8a7effd7cbac00fdef51d7a6e)

Error summary for Deploy to docker

The job generated some errors, drill down into the full build log for more details.

#33 44.97 [INFO]
#33 44.97 [INFO] OpenMRS ............................................ SUCCESS [  1.697 s]
#33 44.97 [INFO] openmrs-tools ...................................... SUCCESS [  0.481 s]
#33 44.97 [INFO] openmrs-test ....................................... SUCCESS [  0.099 s]
#33 44.97 [INFO] openmrs-api ........................................ SUCCESS [ 27.434 s]
#33 44.97 [INFO] openmrs-web ........................................ SUCCESS [  1.822 s]
#33 44.97 [INFO] openmrs-webapp ..................................... SUCCESS [  4.549 s]
#33 44.97 [INFO] openmrs-liquibase .................................. SUCCESS [  3.899 s]
#33 44.97 [INFO] ------------------------------------------------------------------------
#33 44.97 [INFO] BUILD SUCCESS
#33 44.97 [INFO] ------------------------------------------------------------------------
#33 44.97 [INFO] Total time:  42.169 s
#33 44.97 [INFO] Finished at: 2025-01-20T14:21:32Z
#33 44.97 [INFO] ------------------------------------------------------------------------
#33 DONE 45.3s

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

#35 [linux/amd64 dev 2/8] RUN yum -y update && yum -y install tar gzip git && yum clean all
#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 5/8] WORKDIR /openmrs_core
#37 CACHED

#38 [linux/amd64 dev 6/8] COPY --from=compile /usr/share/maven/ref /usr/share/maven/ref
#38 ...

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

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

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

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

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

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

#46 [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
#46 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 1.032 /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

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

#49 [linux/amd64 stage-2  2/10] RUN yum -y update && yum clean all && rm -rf /usr/local/tomcat/webapps/*
#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  8/10] WORKDIR /openmrs
#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     && chmod -R g+rw /openmrs
#54 CACHED

#55 [linux/amd64 stage-2  9/10] COPY --from=dev /openmrs_core/LICENSE LICENSE
#55 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.032 /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