2024-10-16 18:05.48: New job: Build using linux-arm64 in
[]
2024-10-16 18:05.48: Will push staging image to ocurrent/opam-staging:alpine-3.20-ocaml-5.4-flambda-arm64
Dockerfile:
# syntax=docker/dockerfile:1
FROM ocurrent/opam-staging@sha256:5d8cb385a171ed293f6d44d2fbc60be3613276b0521e0cba08de07de30ca4422
RUN opam repo add beta git+https://github.com/ocaml/ocaml-beta-repository --set-default
ENV OPAMYES="1" OPAMCONFIRMLEVEL="unsafe-yes" OPAMERRLOGLEN="0" OPAMPRECISETRACKING="1"
USER root
RUN apk update && apk upgrade
RUN apk add zstd
USER opam
RUN opam switch create 5.4 --packages=ocaml-variants.5.4.0+trunk,ocaml-options-only-flambda
RUN opam pin add -k version ocaml-variants 5.4.0+trunk
RUN opam install -y opam-depext
ENTRYPOINT [ "opam", "exec", "--" ]
CMD bash
COPY --link [ "Dockerfile", "/Dockerfile.ocaml" ]
2024-10-16 18:05.48: Using cache hint "5.4.0+flambda-arm64-ocurrent/opam-staging@sha256:5d8cb385a171ed293f6d44d2fbc60be3613276b0521e0cba08de07de30ca4422"
2024-10-16 18:05.48: Waiting for resource in pool OCluster
2024-10-16 18:05.48: Waiting for worker…
2024-10-16 20:43.20: Got resource from pool OCluster
Building on ocaml-2.osuosl.ci.dev
WARNING: experimental flag squash is removed with BuildKit. You should squash inside build using a multi-stage Dockerfile for efficiency.
#0 building with "default" instance using docker driver
#1 [internal] load .dockerignore
#1 transferring context:
#1 transferring context: 2B done
#1 ...
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 685B done
#2 DONE 4.4s
#1 [internal] load .dockerignore
#1 DONE 5.0s
#3 resolve image config for docker.io/docker/dockerfile:1
#3 DONE 0.7s
#4 docker-image://docker.io/docker/dockerfile:1@sha256:865e5dd094beca432e8c0a1d5e1c465db5f998dca4e439981029b3b81fb39ed5
#4 CACHED
#5 [internal] load metadata for docker.io/ocurrent/opam-staging@sha256:5d8cb385a171ed293f6d44d2fbc60be3613276b0521e0cba08de07de30ca4422
#5 DONE 0.7s
#6 [1/8] FROM docker.io/ocurrent/opam-staging@sha256:5d8cb385a171ed293f6d44d2fbc60be3613276b0521e0cba08de07de30ca4422
#6 CACHED
#7 [internal] load build context
#7 transferring context:
#7 transferring context: 685B done
#7 DONE 9.2s
#8 [2/8] RUN opam repo add beta git+https://github.com/ocaml/ocaml-beta-repository --set-default
#8 11.71 [beta] Initialised
#8 DONE 13.2s
#9 [3/8] RUN apk update && apk upgrade
#9 5.566 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz
#9 5.832 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz
#9 6.259 fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz
#9 6.498 fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
#9 6.970 fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
#9 8.184 v3.20.3-171-ge0d8a949f52 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
#9 8.184 v3.20.3-170-gb7926213bd4 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
#9 8.184 v20240923-1890-g4c9b5d36675 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
#9 8.184 v20240923-1931-ga7451f52f8f [https://dl-cdn.alpinelinux.org/alpine/edge/community]
#9 8.184 v20240923-1931-ga7451f52f8f [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
#9 8.184 OK: 56179 distinct packages available
#9 10.32 Upgrading critical system libraries and apk-tools:
#9 10.33 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1)
#9 10.37 Executing busybox-1.36.1-r29.trigger
#9 10.83 Continuing the upgrade transaction with new apk-tools:
#9 12.56 (1/7) Upgrading c-ares (1.28.1-r0 -> 1.33.1-r0)
#9 12.61 (2/7) Upgrading libcurl (8.9.1-r2 -> 8.10.1-r0)
#9 12.63 (3/7) Upgrading curl (8.9.1-r2 -> 8.10.1-r0)
#9 12.64 (4/7) Upgrading python3 (3.12.6-r0 -> 3.12.7-r0)
#9 12.93 (5/7) Upgrading python3-pycache-pyc0 (3.12.6-r0 -> 3.12.7-r0)
#9 13.09 (6/7) Upgrading pyc (3.12.6-r0 -> 3.12.7-r0)
#9 13.09 (7/7) Upgrading python3-pyc (3.12.6-r0 -> 3.12.7-r0)
#9 13.10 Executing busybox-1.36.1-r29.trigger
#9 13.13 OK: 291 MiB in 100 packages
#9 DONE 16.7s
#10 [4/8] RUN apk add zstd
#10 10.67 (1/1) Installing zstd (1.5.6-r0)
#10 10.72 Executing busybox-1.36.1-r29.trigger
#10 10.76 OK: 291 MiB in 101 packages
#10 DONE 16.4s
#11 [5/8] RUN opam switch create 5.4 --packages=ocaml-variants.5.4.0+trunk,ocaml-options-only-flambda
#11 29.78
#11 29.78 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#11 37.20 [ocaml-variants.5.4.0+trunk] downloaded from https://github.com/ocaml/ocaml/archive/trunk.tar.gz
#11 130.1 Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] y
#11 130.1 [ERROR] The sources of the following couldn't be obtained, aborting:
#11 130.1 - ocaml-config.3: Curl failed
#11 130.1
#11 ERROR: process "/bin/sh -c opam switch create 5.4 --packages=ocaml-variants.5.4.0+trunk,ocaml-options-only-flambda" did not complete successfully: exit code: 40
------
> [5/8] RUN opam switch create 5.4 --packages=ocaml-variants.5.4.0+trunk,ocaml-options-only-flambda:
29.78
29.78 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
37.20 [ocaml-variants.5.4.0+trunk] downloaded from https://github.com/ocaml/ocaml/archive/trunk.tar.gz
130.1 Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] y
130.1 [ERROR] The sources of the following couldn't be obtained, aborting:
130.1 - ocaml-config.3: Curl failed
130.1
------
1 warning found (use --debug to expand):
- JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 14)
Dockerfile:10
--------------------
8 | RUN apk add zstd
9 | USER opam
10 | >>> RUN opam switch create 5.4 --packages=ocaml-variants.5.4.0+trunk,ocaml-options-only-flambda
11 | RUN opam pin add -k version ocaml-variants 5.4.0+trunk
12 | RUN opam install -y opam-depext
--------------------
ERROR: failed to solve: process "/bin/sh -c opam switch create 5.4 --packages=ocaml-variants.5.4.0+trunk,ocaml-options-only-flambda" did not complete successfully: exit code: 40
docker-build failed with exit-code 1
2024-10-16 20:46.35: Job failed: Failed: Build failed
2024-10-16 20:46.35: Log analysis:
2024-10-16 20:46.35: >>> The sources of the following couldn't be obtained, aborting:
#11 130.1 - ocaml-config.3: Curl failed (score = 50)
2024-10-16 20:46.35: >>> The sources of the following couldn't be obtained, aborting:
130.1 - ocaml-config.3: Curl failed (score = 50)
2024-10-16 20:46.35: Source download failed for ocaml-config.3: Curl failed