Build:
- 1
- 0
2024-07-27 02:51.33: New job: build mod.1.0, using opam 2.0 from https://github.com/ocaml/opam-repository.git#refs/pull/26296/head (e0e9c62df312c7a170343e5119054fa24510f25a) on debian-12-ocaml-5.2/amd64 To reproduce locally: cd $(mktemp -d) git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/26296/head" && git reset --hard e0e9c62d git fetch origin master git merge --no-edit eceb4d83610133a48b62daa36665ce1292646561 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-5.2@sha256:845d44986b08213375f74851339e1d0f6ba909bd6e926af00d7368c0b831816c USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version ENV OPAMDOWNLOADJOBS="1" ENV OPAMERRLOGLEN="0" ENV OPAMSOLVERTIMEOUT="500" ENV OPAMPRECISETRACKING="1" ENV CI="true" ENV OPAM_REPO_CI="true" RUN rm -rf opam-repository/ COPY --chown=1000:1000 . opam-repository/ RUN opam repository set-url --strict default opam-repository/ RUN opam depext -u || true RUN opam pin add -k version -yn mod.1.0 1.0 RUN opam depext mod.1.0 && opam reinstall mod.1.0; \ res=$?; \ test "$res" != 31 && exit "$res"; \ export OPAMCLI=2.0; \ build_dir=$(opam var prefix)/.opam-switch/build; \ failed=$(ls "$build_dir"); \ partial_fails=""; \ for pkg in $failed; do \ if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'mod.1.0' && partial_fails="$partial_fails $pkg"; \ done; \ test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \ exit 1 END-OF-DOCKERFILE docker build -f ../Dockerfile . 2024-07-27 02:51.33: Using cache hint "ocaml/opam:debian-12-ocaml-5.2@sha256:845d44986b08213375f74851339e1d0f6ba909bd6e926af00d7368c0b831816c-mod.1.0-e0e9c62df312c7a170343e5119054fa24510f25a" 2024-07-27 02:51.33: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.2@sha256:845d44986b08213375f74851339e1d0f6ba909bd6e926af00d7368c0b831816c) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam")) (run (network host) (shell "opam init --reinit --config .opamrc-sandbox -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (env OPAMDOWNLOADJOBS 1) (env OPAMERRLOGLEN 0) (env OPAMSOLVERTIMEOUT 500) (env OPAMPRECISETRACKING 1) (env CI true) (env OPAM_REPO_CI true) (run (shell "rm -rf opam-repository/")) (copy (src .) (dst opam-repository/)) (run (shell "opam repository set-url --strict default opam-repository/")) (run (network host) (shell "opam depext -u || true")) (run (shell "opam pin add -k version -yn mod.1.0 1.0")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam depext mod.1.0 && opam reinstall mod.1.0;\ \n res=$?;\ \n test \"$res\" != 31 && exit \"$res\";\ \n export OPAMCLI=2.0;\ \n build_dir=$(opam var prefix)/.opam-switch/build;\ \n failed=$(ls \"$build_dir\");\ \n partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'mod.1.0' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2024-07-27 02:51.33: Waiting for resource in pool OCluster 2024-07-27 02:51.33: Waiting for worker… 2024-07-27 02:51.33: Got resource from pool OCluster Building on x86-bm-c5.sw.ocaml.org All commits already cached Updating files: 54% (17304/31878) Updating files: 55% (17533/31878) Updating files: 56% (17852/31878) Updating files: 57% (18171/31878) Updating files: 58% (18490/31878) Updating files: 59% (18809/31878) Updating files: 60% (19127/31878) Updating files: 61% (19446/31878) Updating files: 62% (19765/31878) Updating files: 63% (20084/31878) Updating files: 64% (20402/31878) Updating files: 65% (20721/31878) Updating files: 66% (21040/31878) Updating files: 67% (21359/31878) Updating files: 68% (21678/31878) Updating files: 69% (21996/31878) Updating files: 70% (22315/31878) Updating files: 71% (22634/31878) Updating files: 72% (22953/31878) Updating files: 73% (23271/31878) Updating files: 74% (23590/31878) Updating files: 75% (23909/31878) Updating files: 76% (24228/31878) Updating files: 77% (24547/31878) Updating files: 78% (24865/31878) Updating files: 79% (25184/31878) Updating files: 80% (25503/31878) Updating files: 81% (25822/31878) Updating files: 82% (26140/31878) Updating files: 83% (26459/31878) Updating files: 84% (26778/31878) Updating files: 85% (27097/31878) Updating files: 86% (27416/31878) Updating files: 87% (27734/31878) Updating files: 88% (28053/31878) Updating files: 89% (28372/31878) Updating files: 90% (28691/31878) Updating files: 91% (29009/31878) Updating files: 92% (29328/31878) Updating files: 93% (29647/31878) Updating files: 94% (29966/31878) Updating files: 95% (30285/31878) Updating files: 96% (30603/31878) Updating files: 97% (30922/31878) Updating files: 98% (31241/31878) Updating files: 99% (31560/31878) Updating files: 100% (31878/31878) Updating files: 100% (31878/31878), done. HEAD is now at eceb4d8361 Merge pull request #26272 from zapashcanon/master Updating eceb4d8361..e0e9c62df3 Fast-forward packages/mod/mod.1.0/opam | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 packages/mod/mod.1.0/opam (from ocaml/opam:debian-12-ocaml-5.2@sha256:845d44986b08213375f74851339e1d0f6ba909bd6e926af00d7368c0b831816c) Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:845d44986b08213375f74851339e1d0f6ba909bd6e926af00d7368c0b831816c' locally docker.io/ocaml/opam@sha256:845d44986b08213375f74851339e1d0f6ba909bd6e926af00d7368c0b831816c: Pulling from ocaml/opam 0b289a00eb4e: Pulling fs layer 0b289a00eb4e: Verifying Checksum 0b289a00eb4e: Download complete 0b289a00eb4e: Pull complete Digest: sha256:845d44986b08213375f74851339e1d0f6ba909bd6e926af00d7368c0b831816c Status: Downloaded newer image for ocaml/opam@sha256:845d44986b08213375f74851339e1d0f6ba909bd6e926af00d7368c0b831816c 2024-07-27 02:54.05 ---> saved as "485a6de1674a3786cf38a8f1e18154b8fa465b09f645546f9fbb8975c7ccea01" /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam")) 2024-07-27 02:54.05 ---> saved as "5a8ff41d74910044958fa9ec9077b591dc33166ebeb0dcf56745ce4ce3d0f10b" /home/opam: (run (network host) (shell "opam init --reinit --config .opamrc-sandbox -ni")) [NOTE] Will configure from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. [WARNING] Recommended dependencies -- most packages rely on these: - m4 <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository default (at file:///home/opam/opam-repository): [INFO] opam 2.1 and 2.2 include many performance improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html) 2024-07-27 02:54.45 ---> saved as "9f4d035bd4caf620c65d631f7918621461f4125cb72a22f6081cec15a597b250" /home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-117-generic The OCaml toplevel, version 5.2.0 2.0.10 2024-07-27 02:54.46 ---> saved as "eb6ea5d466c1b833636b5cd655347ed43d0b8955d8ad1f6c027fcd656a155a8c" /home/opam: (env OPAMDOWNLOADJOBS 1) /home/opam: (env OPAMERRLOGLEN 0) /home/opam: (env OPAMSOLVERTIMEOUT 500) /home/opam: (env OPAMPRECISETRACKING 1) /home/opam: (env CI true) /home/opam: (env OPAM_REPO_CI true) /home/opam: (run (shell "rm -rf opam-repository/")) 2024-07-27 02:54.52 ---> saved as "55df45a68685bffc35d7e42c5e3be1ae6e6b19cf78c7e159a7b8cb610e3f2728" /home/opam: (copy (src .) (dst opam-repository/)) 2024-07-27 02:55.01 ---> saved as "11beef07ed07ccbec298f53a27a44c841b0ab8bd00c7c78054bd24f1fecae434" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised default (at file:///home/opam/opam-repository): [INFO] opam 2.1 and 2.2 include many performance improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html) 2024-07-27 02:55.31 ---> saved as "e3c45dae71d65e80d42724d610a1ffc1592a6b5a92a4e2b70ebcbf8194d48f6a" /home/opam: (run (network host) (shell "opam depext -u || true")) # Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian # No extra OS packages requirements found. # All required OS packages found. The following command needs to be run through "sudo": apt-get update Hit:1 http://deb.debian.org/debian bookworm InRelease Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [169 kB] Fetched 272 kB in 0s (1088 kB/s) Reading package lists... # OS package update successful 2024-07-27 02:55.34 ---> saved as "a0dd71934a5894630e581bb5678889a19f9d2f892ce81477a987c4eb8c3f8b7e" /home/opam: (run (shell "opam pin add -k version -yn mod.1.0 1.0")) mod is now pinned to version 1.0 2024-07-27 02:55.34 ---> saved as "b61df0c42df85986328ffec6f2528f6238d2d74c1533d3f5c33c5fa5c1178ff6" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam depext mod.1.0 && opam reinstall mod.1.0;\ \n res=$?;\ \n test \"$res\" != 31 && exit \"$res\";\ \n export OPAMCLI=2.0;\ \n build_dir=$(opam var prefix)/.opam-switch/build;\ \n failed=$(ls \"$build_dir\");\ \n partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'mod.1.0' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) # Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian # No extra OS packages requirements found. # All required OS packages found. mod.1.0 is not installed. Install it? [Y/n] y The following actions will be performed: - install dune 3.16.0 [required by mod] - install mod 1.0* ===== 2 to install ===== <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> [dune.3.16.0] found in cache [mod.1.0] downloaded from https://gitlab.com/-/project/60374965/uploads/baf2217bcdcb1a66362ab6aa82c0fdf1/mod-1.0.tar.zst [ERROR] The sources of the following couldn't be obtained, aborting: - mod.1.0: Could not extract archive "/usr/bin/env" "bash" "-c" "opam depext mod.1.0 && opam reinstall mod.1.0; res=$?; test "$res" != 31 && exit "$res"; export OPAMCLI=2.0; build_dir=$(opam var prefix)/.opam-switch/build; failed=$(ls "$build_dir"); partial_fails=""; for pkg in $failed; do if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; test "$pkg" != 'mod.1.0' && partial_fails="$partial_fails $pkg"; done; test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; exit 1" failed with exit status 40 2024-07-27 02:55.55: Job failed: Failed: Build failed 2024-07-27 02:55.55: Log analysis: 2024-07-27 02:55.55: >>> [ERROR] The sources of the following couldn't be obtained, aborting: (score = 20) 2024-07-27 02:55.55: The sources of the following couldn't be obtained, aborting: