Build:
  1. 0
2024-06-10 17:41.05: New job: Build using linux-s390x in
                                [https://github.com/ocaml/opam-repository#master (402ab79d081f2057b91cdaefd2c4729219f1a307)]
2024-06-10 17:41.05: Will push staging image to ocurrent/opam-staging:debian-10-opam-s390x

Dockerfile:

# syntax=docker/dockerfile:1

# Autogenerated by OCaml-Dockerfile scripts
FROM s390x/debian:10
LABEL distro_style="apt"
RUN apt-get -y update
RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential curl git libcap-dev sudo
RUN git config --global user.email "docker@example.com"
RUN git config --global user.name "Docker"
RUN curl -fOL https://github.com/containers/bubblewrap/releases/download/v0.8.0/bubblewrap-0.8.0.tar.xz
RUN tar xf bubblewrap-0.8.0.tar.xz
RUN cd bubblewrap-0.8.0 && ./configure --prefix=/usr/local && make && sudo make install
RUN rm -rf bubblewrap-0.8.0.tar.xz bubblewrap-0.8.0
RUN git clone https://github.com/ocaml/opam /tmp/opam && cd /tmp/opam && cp -P -R -p . ../opam-sources && git checkout cdd59ee5d4b07b2173d2bbdc57a0ddecd153dd4e && env MAKE='make -j' shell/bootstrap-ocaml.sh && make -C src_ext cache-archives
RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-2.0 && cd ../opam-build-2.0 && git checkout 7d4a0f2e0fefe748efbd7358775b1a0bd8267544 && ln -s ../opam/src_ext/archives src_ext/archives && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make lib-ext all && mkdir -p /usr/local/bin && cp /tmp/opam-build-2.0/opam /usr/local/bin/opam-2.0 && chmod a+x /usr/local/bin/opam-2.0 && rm -rf /tmp/opam-build-2.0
RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-2.1 && cd ../opam-build-2.1 && git checkout dfbe6a0b3a386376780bf68d35e4ce107072079d && ln -s ../opam/src_ext/archives src_ext/archives && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-0install-solver && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make lib-ext all && mkdir -p /usr/local/bin && cp /tmp/opam-build-2.1/opam /usr/local/bin/opam-2.1 && chmod a+x /usr/local/bin/opam-2.1 && rm -rf /tmp/opam-build-2.1
RUN cd /tmp/opam-sources && cp -P -R -p . ../opam-build-master && cd ../opam-build-master && git checkout cdd59ee5d4b07b2173d2bbdc57a0ddecd153dd4e && ln -s ../opam/src_ext/archives src_ext/archives && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-0install-solver --with-vendored-deps && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make lib-ext all && mkdir -p /usr/local/bin && cp /tmp/opam-build-master/opam /usr/local/bin/opam-master && chmod a+x /usr/local/bin/opam-master && rm -rf /tmp/opam-build-master

FROM s390x/debian:10
RUN ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime
COPY --from=0 [ "/usr/local/bin/bwrap", "/usr/bin/bwrap" ]
COPY <<-EOF /etc/apt/apt.conf.d/mirror-retry
	Acquire::Retries "5";
EOF
RUN apt-get -y update
RUN DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential curl git rsync sudo unzip nano libcap-dev libx11-dev
COPY --from=0 [ "/usr/local/bin/opam-2.0", "/usr/bin/opam-2.0" ]
RUN ln /usr/bin/opam-2.0 /usr/bin/opam
COPY --from=0 [ "/usr/local/bin/opam-2.1", "/usr/bin/opam-2.1" ]
COPY --from=0 [ "/usr/local/bin/opam-master", "/usr/bin/opam-dev" ]
RUN ln /usr/bin/opam-dev /usr/bin/opam-2.2
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
COPY <<-EOF /etc/sudoers.d/opam
	opam ALL=(ALL:ALL) NOPASSWD:ALL
EOF
RUN chmod 440 /etc/sudoers.d/opam
RUN chown root:root /etc/sudoers.d/opam
RUN if getent passwd 1000; then userdel -r $(id -nu 1000); fi
RUN adduser --uid 1000 --disabled-password --gecos '' opam
RUN passwd -l opam
RUN chown -R opam:opam /home/opam
USER opam
ENV HOME="/home/opam"
WORKDIR /home/opam
RUN mkdir .ssh
RUN chmod 700 .ssh
COPY --chown=opam <<-EOF /home/opam/.opamrc-nosandbox
	wrap-build-commands: []
	wrap-install-commands: []
	wrap-remove-commands: []
	required-tools: []
EOF
COPY --chown=opam <<-EOF /home/opam/opam-sandbox-disable
	#!/bin/sh
	cp ~/.opamrc-nosandbox ~/.opamrc
	echo --- opam sandboxing disabled
EOF
RUN chmod a+x /home/opam/opam-sandbox-disable
RUN sudo mv /home/opam/opam-sandbox-disable /usr/bin/opam-sandbox-disable
COPY --chown=opam <<-EOF /home/opam/.opamrc-sandbox
	wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"]
	wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"]
	wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"]
EOF
COPY --chown=opam <<-EOF /home/opam/opam-sandbox-enable
	#!/bin/sh
	cp ~/.opamrc-sandbox ~/.opamrc
	echo --- opam sandboxing enabled
EOF
RUN chmod a+x /home/opam/opam-sandbox-enable
RUN sudo mv /home/opam/opam-sandbox-enable /usr/bin/opam-sandbox-enable
RUN git config --global user.email "docker@example.com"
RUN git config --global user.name "Docker"
COPY --link --chown=opam:opam [ ".", "/home/opam/opam-repository" ]
RUN opam-sandbox-disable
RUN opam init -k local -a /home/opam/opam-repository --bare
RUN rm -rf .opam/repo/default/.git
COPY --link [ "Dockerfile", "/Dockerfile.opam" ]


2024-06-10 17:41.05: Using cache hint "opam-debian-10"
2024-06-10 17:41.05: Waiting for resource in pool OCluster
2024-06-10 17:41.05: Waiting for worker…
2024-06-10 19:09.53: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
Updating files:  46% (14764/31480)
Updating files:  47% (14796/31480)
Updating files:  48% (15111/31480)
Updating files:  49% (15426/31480)
Updating files:  50% (15740/31480)
Updating files:  51% (16055/31480)
Updating files:  52% (16370/31480)
Updating files:  53% (16685/31480)
Updating files:  54% (17000/31480)
Updating files:  55% (17314/31480)
Updating files:  56% (17629/31480)
Updating files:  57% (17944/31480)
Updating files:  58% (18259/31480)
Updating files:  59% (18574/31480)
Updating files:  60% (18888/31480)
Updating files:  61% (19203/31480)
Updating files:  62% (19518/31480)
Updating files:  63% (19833/31480)
Updating files:  64% (20148/31480)
Updating files:  65% (20462/31480)
Updating files:  66% (20777/31480)
Updating files:  67% (21092/31480)
Updating files:  68% (21407/31480)
Updating files:  69% (21722/31480)
Updating files:  70% (22036/31480)
Updating files:  71% (22351/31480)
Updating files:  72% (22666/31480)
Updating files:  73% (22981/31480)
Updating files:  74% (23296/31480)
Updating files:  75% (23610/31480)
Updating files:  76% (23925/31480)
Updating files:  77% (24240/31480)
Updating files:  78% (24555/31480)
Updating files:  79% (24870/31480)
Updating files:  80% (25184/31480)
Updating files:  81% (25499/31480)
Updating files:  82% (25814/31480)
Updating files:  83% (26129/31480)
Updating files:  84% (26444/31480)
Updating files:  85% (26758/31480)
Updating files:  86% (27073/31480)
Updating files:  87% (27388/31480)
Updating files:  88% (27703/31480)
Updating files:  89% (28018/31480)
Updating files:  90% (28332/31480)
Updating files:  91% (28647/31480)
Updating files:  92% (28962/31480)
Updating files:  93% (29277/31480)
Updating files:  94% (29592/31480)
Updating files:  95% (29906/31480)
Updating files:  96% (30221/31480)
Updating files:  97% (30536/31480)
Updating files:  98% (30851/31480)
Updating files:  99% (31166/31480)
Updating files: 100% (31480/31480)
Updating files: 100% (31480/31480), done.
HEAD is now at 402ab79d08 Merge pull request #26038 from smuenzel/z3.4.13.0-2
#2 [internal] load .dockerignore
#2 sha256:548178448c8b2279abf21e85dabe5309096137c0c6e33b2b69b9e9440a5c5f33
#2 ...

#1 [internal] load build definition from Dockerfile
#1 sha256:425b50856b212f8c83993d7e71cecbfc8de6a1968183cf6be1c55f386f9778c4
#1 ...

#2 [internal] load .dockerignore
#2 sha256:548178448c8b2279abf21e85dabe5309096137c0c6e33b2b69b9e9440a5c5f33
#2 transferring context:
#2 transferring context: 2B done
#2 DONE 12.9s

#1 [internal] load build definition from Dockerfile
#1 sha256:425b50856b212f8c83993d7e71cecbfc8de6a1968183cf6be1c55f386f9778c4
#1 transferring dockerfile: 4.92kB done
#1 DONE 13.5s

#3 resolve image config for docker.io/docker/dockerfile:1
#3 sha256:6f9b608c5707313667ee3821285982ade2e1c0dfdc3b64c0228b3068a31c3a30
#3 DONE 0.8s

#4 docker-image://docker.io/docker/dockerfile:1@sha256:a57df69d0ea827fb7266491f2813635de6f17269be881f696fbfdf2d83dda33e
#4 sha256:a19b205c8b090bec220fdda755a3960e25be68be44a7f09ce8d4ecd6e93c51ae
#4 CACHED

#5 [internal] load build definition from Dockerfile
#5 sha256:3c0e50277af933f5b95f392e90cbc3d6080a833883494d5187c6ce7e7ae35709
#5 DONE 0.0s

#6 [internal] load metadata for docker.io/s390x/debian:10
#6 sha256:b44e279f63585f62b27d8605b3750bee899da842977996d4224d96634ac3c452
#6 DONE 2.7s

#6 [internal] load metadata for docker.io/s390x/debian:10
#6 sha256:b44e279f63585f62b27d8605b3750bee899da842977996d4224d96634ac3c452
#6 DONE 2.7s

#7 [internal] load .dockerignore
#7 sha256:f682aaab412c273d27558eb4555241ce738b5daae25d86311cf94eb2b3ebe9e5
#7 DONE 0.0s

#54 [internal] preparing inline document
#54 sha256:714aafcd3bb00c9f892571f928f4dffd0426bbee3f11b8f3232a2fbc713c9201
#54 DONE 2.1s

#46 [internal] preparing inline document
#46 sha256:9526d55822be376f5da2e59d0f7709aa2bc57694e77999b756fa13b7c922ba2d
#46 DONE 2.6s

#52 [internal] preparing inline document
#52 sha256:7d541c1156aa6091c2287c485a533508d1b331034a0079f6a2e7bc3112dd148f
#52 DONE 3.0s

#24 [internal] preparing inline document
#24 sha256:380329f22c79874ca7b54827376324d7303e254069c4da2bb27b5f5d80d24492
#24 DONE 3.3s

#35 [internal] preparing inline document
#35 sha256:389131f1d4802f6e42da2898b351effafc9b79b4315ab7f4f5f1bdeaeededf2b
#35 DONE 3.7s

#48 [internal] preparing inline document
#48 sha256:1cdaf572c254759217ae8ddbf6294ecf6a95ebafa58585c8817a2ea2039d4271
#48 DONE 4.1s

#8 [stage-0  1/14] FROM docker.io/s390x/debian:10@sha256:fa222d502912108098f5371fdd7cd170d2a45d1c7a2180c4eecd4bc1da1bb433
#8 sha256:0d616bc3dd1bc9b166028713ae9870754b65f7b575b6548ee6e4ba6a2ade152a
#8 resolve docker.io/s390x/debian:10@sha256:fa222d502912108098f5371fdd7cd170d2a45d1c7a2180c4eecd4bc1da1bb433
#8 resolve docker.io/s390x/debian:10@sha256:fa222d502912108098f5371fdd7cd170d2a45d1c7a2180c4eecd4bc1da1bb433 0.3s done
#8 sha256:59f121a4b5c9d48c82fce7e2cbfe8be43c4330654122e12b6b8c2376f30c87e7 1.46kB / 1.46kB done
#8 sha256:fa222d502912108098f5371fdd7cd170d2a45d1c7a2180c4eecd4bc1da1bb433 529B / 529B done
#8 sha256:8031e15331a0dfcc3509ff9e409d7bbbf567a40367f9eff78effb21b904d39ba 0B / 49.01MB 0.3s
#8 sha256:8031e15331a0dfcc3509ff9e409d7bbbf567a40367f9eff78effb21b904d39ba 4.19MB / 49.01MB 0.8s
#8 sha256:8031e15331a0dfcc3509ff9e409d7bbbf567a40367f9eff78effb21b904d39ba 10.49MB / 49.01MB 0.9s
#8 sha256:8031e15331a0dfcc3509ff9e409d7bbbf567a40367f9eff78effb21b904d39ba 20.97MB / 49.01MB 1.0s
#8 sha256:8031e15331a0dfcc3509ff9e409d7bbbf567a40367f9eff78effb21b904d39ba 39.85MB / 49.01MB 1.2s
#8 sha256:8031e15331a0dfcc3509ff9e409d7bbbf567a40367f9eff78effb21b904d39ba 49.01MB / 49.01MB 1.3s
#8 sha256:8031e15331a0dfcc3509ff9e409d7bbbf567a40367f9eff78effb21b904d39ba 49.01MB / 49.01MB 4.0s done
#8 extracting sha256:8031e15331a0dfcc3509ff9e409d7bbbf567a40367f9eff78effb21b904d39ba
#8 extracting sha256:8031e15331a0dfcc3509ff9e409d7bbbf567a40367f9eff78effb21b904d39ba 2.8s done
#8 ...

#60 [internal] load build context
#60 sha256:dfdb66b632d114a5dfa3a73a86669758db5e8442c791f695f2f909221ffa3c70
#60 transferring context: 283.29MB 8.7s
#60 transferring context: 290.50MB 13.7s
#60 transferring context: 310.34MB 18.8s
#60 transferring context: 323.66MB 30.7s
#60 ...

#8 [stage-0  1/14] FROM docker.io/s390x/debian:10@sha256:fa222d502912108098f5371fdd7cd170d2a45d1c7a2180c4eecd4bc1da1bb433
#8 sha256:0d616bc3dd1bc9b166028713ae9870754b65f7b575b6548ee6e4ba6a2ade152a
#8 DONE 32.7s

#60 [internal] load build context
#60 sha256:dfdb66b632d114a5dfa3a73a86669758db5e8442c791f695f2f909221ffa3c70
#60 transferring context: 332.35MB 33.0s done
#60 DONE 37.6s

#10 [stage-0  2/14] RUN apt-get -y update
#10 sha256:2fc75c7592616d35eaa64b077966afabae98ad90dda1fece927ac8122dae5883
#10 1.499 Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
#10 1.557 Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
#10 1.578 Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
#10 1.780 Ign:4 http://deb.debian.org/debian buster/main s390x Packages
#10 1.996 Ign:4 http://deb.debian.org/debian buster/main s390x Packages
#10 2.120 Ign:5 http://deb.debian.org/debian buster-updates/main s390x Packages
#10 2.402 Ign:4 http://deb.debian.org/debian buster/main s390x Packages
#10 2.618 Ign:5 http://deb.debian.org/debian buster-updates/main s390x Packages
#10 2.868 Ign:4 http://deb.debian.org/debian buster/main s390x Packages
#10 3.071 Ign:5 http://deb.debian.org/debian buster-updates/main s390x Packages
#10 3.304 Ign:4 http://deb.debian.org/debian buster/main s390x Packages
#10 3.569 Ign:5 http://deb.debian.org/debian buster-updates/main s390x Packages
#10 3.725 Err:4 http://deb.debian.org/debian buster/main s390x Packages
#10 3.725   404  Not Found [IP: 151.101.118.132 80]
#10 4.006 Ign:5 http://deb.debian.org/debian buster-updates/main s390x Packages
#10 4.253 Err:5 http://deb.debian.org/debian buster-updates/main s390x Packages
#10 4.253   404  Not Found [IP: 151.101.118.132 80]
#10 4.271 Fetched 213 kB in 3s (76.1 kB/s)
#10 4.271 Reading package lists...
#10 4.280 E: Failed to fetch http://deb.debian.org/debian/dists/buster/main/binary-s390x/Packages  404  Not Found [IP: 151.101.118.132 80]
#10 4.280 E: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/main/binary-s390x/Packages  404  Not Found [IP: 151.101.118.132 80]
#10 4.280 E: Some index files failed to download. They have been ignored, or old ones used instead.
#10 ...

#9 [stage-1  2/38] RUN ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime
#9 sha256:01e4255c5f6198cac7990469007c8b33dd816b0d0d06475a81537b60c3b8a789
#9 DONE 47.5s

#10 [stage-0  2/14] RUN apt-get -y update
#10 sha256:2fc75c7592616d35eaa64b077966afabae98ad90dda1fece927ac8122dae5883
#10 ERROR: executor failed running [/bin/sh -c apt-get -y update]: exit code: 100
------
 > [stage-0  2/14] RUN apt-get -y update:
------
executor failed running [/bin/sh -c apt-get -y update]: exit code: 100
docker-build failed with exit-code 1
2024-06-10 19:12.23: Job failed: Failed: Build failed