Build:
- 1
- 0
2024-07-27 02:51.33: New job: test mod.1.0, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/26296/head (e0e9c62df312c7a170343e5119054fa24510f25a) on debian-12-ocaml-4.14/i386 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-4.14@sha256:0b80b1e5eda2a8b261ab1b9b7cc6dd41e932bff0d2ef1a39aeae79fbdb0fc435 SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ] USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-dev /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 update --depexts || true RUN opam pin add -k version -yn mod.1.0 1.0 RUN 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 RUN (opam reinstall --with-test mod.1.0) || true RUN opam reinstall --with-test --verbose 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-4.14@sha256:0b80b1e5eda2a8b261ab1b9b7cc6dd41e932bff0d2ef1a39aeae79fbdb0fc435-mod.1.0-e0e9c62df312c7a170343e5119054fa24510f25a" 2024-07-27 02:51.33: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.14@sha256:0b80b1e5eda2a8b261ab1b9b7cc6dd41e932bff0d2ef1a39aeae79fbdb0fc435) (shell /usr/bin/linux32 /bin/sh -c) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/bin/opam-dev /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 update --depexts || 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 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")) (run (network host) (shell "(opam reinstall --with-test mod.1.0) || true")) (run (shell "opam reinstall --with-test --verbose 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-c13.sw.ocaml.org All commits already cached Updating files: 58% (18541/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-4.14@sha256:0b80b1e5eda2a8b261ab1b9b7cc6dd41e932bff0d2ef1a39aeae79fbdb0fc435) WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested 2024-07-27 02:52.04 ---> using "057c8aff8b5aaf49a1f110cf2829ce351bbc14b31fdd6fc19f450eb505456467" from cache /: (shell /usr/bin/linux32 /bin/sh -c) /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2024-07-27 02:52.04 ---> using "d019060aaee35dba91b1dc7e74ebbb4e2fa10ec09ddbf90ada9e392b9294a783" from cache /home/opam: (run (network host) (shell "opam init --reinit --config .opamrc-sandbox -ni")) Configuring 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. This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted. You may want to back it up before going further. Continue? [y/n] y Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2024-07-27 02:52.04 ---> using "e279782a25a8c0689889823befac49f16b7e806598eda66d62d9edb780d43105" from cache /home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-116-generic The OCaml toplevel, version 4.14.2 2.3.0~alpha~dev 2024-07-27 02:52.04 ---> using "d8c62abbb0c4e1f980b1a27c2dd61d1a84af9204f5edcdbf044b6a8a1dd00eae" from cache /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:52.04 ---> using "31cb2d79e3e5b8a24d00660ede12543c52215e9d7678c4ed64a76a51ad512fff" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2024-07-27 02:52.11 ---> saved as "4815f291a82dbf6b74b5540721cd4d6b421d441fafe133635e24e5b4c83b41b4" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2024-07-27 02:53.33 ---> saved as "4c5a4bcf8d4ab528c8aad0f04f8c0a07ac29a4717f31e60cba4ed747c0029365" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/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 i386 Packages [168 kB] - Fetched 271 kB in 0s (887 kB/s) - Reading package lists... - 2024-07-27 02:53.35 ---> saved as "b993d2f9e4c66530c2ff38e261fd40747d0c5ea4d2bea34b4c0bbc0a49e95caa" /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:53.35 ---> saved as "762ff561f85992a19f554013e082e37c6f765ba55a6d251940c83d84c0f72910" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "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")) mod.1.0 is not installed. Install it? [y/n] y The following actions will be performed: === install 2 packages - install dune 3.16.0 [required by mod] - install mod 1.0 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved dune.3.16.0 (cached) [ERROR] Failed to get sources of mod.1.0: Unknown archive type: /tmp/opam-7-221932/mod-1.0.tar.zst -> installed dune.3.16.0 #=== ERROR while fetching sources for mod.1.0 =================================# OpamSolution.Fetch_fail("Could not extract archive:\nUnknown archive type: /tmp/opam-7-221932/mod-1.0.tar.zst") <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - fetch mod 1.0 +- +- The following changes have been performed | - install dune 3.16.0 +- # Run eval $(opam env) to update the current shell environment The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20240727025336.export" "/usr/bin/linux32" "/bin/sh" "-c" "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:54.20: Job failed: Failed: Build failed 2024-07-27 02:54.20: Log analysis: 2024-07-27 02:54.20: >>> [ERROR] Failed to get sources of mod.1.0: Unknown archive type: /tmp/opam-7-221932/mod-1.0.tar.zst (score = 25) 2024-07-27 02:54.20: Failed to get sources of mod.1.0: Unknown archive type: /tmp/opam-7-221932/mod-1.0.tar.zst