(for PR #27291)
2025-01-20 00:49.11: New job: build mem_usage.0.1.2, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/27291/head (967fb5539df21a3f02e7e121810ad13f12bfc982) on alpine-3.21-ocaml-5.3/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/27291/head" && git reset --hard 967fb553 git fetch origin master git merge --no-edit da383c8610c72e3b8a92e6327148910d1d81cd57 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:aec4c8e5a01bedeeeccce7bc35a2d7f8d20f81e9f664fe59d0fd652b0f89a00f USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam RUN opam init --reinit -ni RUN opam option solver=builtin-0install && opam config report ENV OPAMDOWNLOADJOBS="1" ENV OPAMERRLOGLEN="0" 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 mem_usage.0.1.2 0.1.2 RUN opam reinstall mem_usage.0.1.2; \ 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 "\"alpine-3.21\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'mem_usage.0.1.2' && 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 . 2025-01-20 00:49.11: Using cache hint "ocaml/opam:alpine-3.21-ocaml-5.3@sha256:aec4c8e5a01bedeeeccce7bc35a2d7f8d20f81e9f664fe59d0fd652b0f89a00f-mem_usage.0.1.2-967fb5539df21a3f02e7e121810ad13f12bfc982" 2025-01-20 00:49.11: Using OBuilder spec: ((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:aec4c8e5a01bedeeeccce7bc35a2d7f8d20f81e9f664fe59d0fd652b0f89a00f) (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 "opam option solver=builtin-0install && opam config report")) (env OPAMDOWNLOADJOBS 1) (env OPAMERRLOGLEN 0) (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 mem_usage.0.1.2 0.1.2")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall mem_usage.0.1.2;\ \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 \"\\\"alpine-3.21\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'mem_usage.0.1.2' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2025-01-20 00:49.11: Waiting for resource in pool OCluster 2025-01-20 00:49.12: Waiting for worker… 2025-01-20 00:49.13: Got resource from pool OCluster Building on toxis.caelum.ci.dev All commits already cached Updating files: 80% (23414/28952) Updating files: 81% (23452/28952) Updating files: 82% (23741/28952) Updating files: 83% (24031/28952) Updating files: 84% (24320/28952) Updating files: 85% (24610/28952) Updating files: 86% (24899/28952) Updating files: 87% (25189/28952) Updating files: 88% (25478/28952) Updating files: 89% (25768/28952) Updating files: 90% (26057/28952) Updating files: 91% (26347/28952) Updating files: 92% (26636/28952) Updating files: 93% (26926/28952) Updating files: 94% (27215/28952) Updating files: 95% (27505/28952) Updating files: 96% (27794/28952) Updating files: 97% (28084/28952) Updating files: 98% (28373/28952) Updating files: 99% (28663/28952) Updating files: 100% (28952/28952) Updating files: 100% (28952/28952), done. HEAD is now at da383c8610 Merge pull request #27275 from xavierleroy/maintenance-intent Updating da383c8610..967fb5539d Fast-forward packages/conf-sysinfo/conf-sysinfo.1/opam | 14 ++++++++++++ packages/mem_usage/mem_usage.0.1.2/opam | 37 +++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 packages/conf-sysinfo/conf-sysinfo.1/opam create mode 100644 packages/mem_usage/mem_usage.0.1.2/opam (from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:aec4c8e5a01bedeeeccce7bc35a2d7f8d20f81e9f664fe59d0fd652b0f89a00f) Unable to find image 'ocaml/opam:alpine-3.21-ocaml-5.3@sha256:aec4c8e5a01bedeeeccce7bc35a2d7f8d20f81e9f664fe59d0fd652b0f89a00f' locally docker.io/ocaml/opam@sha256:aec4c8e5a01bedeeeccce7bc35a2d7f8d20f81e9f664fe59d0fd652b0f89a00f: Pulling from ocaml/opam 97a7ab8a3b6e: Pulling fs layer 97a7ab8a3b6e: Verifying Checksum 97a7ab8a3b6e: Download complete 97a7ab8a3b6e: Pull complete Digest: sha256:aec4c8e5a01bedeeeccce7bc35a2d7f8d20f81e9f664fe59d0fd652b0f89a00f Status: Downloaded newer image for ocaml/opam@sha256:aec4c8e5a01bedeeeccce7bc35a2d7f8d20f81e9f664fe59d0fd652b0f89a00f 2025-01-20 00:49.52 ---> using "9ff3a4e17abea987d36b41ed23d485aa854ce8d234c52f5be78d8c573f1611e8" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2025-01-20 00:49.52 ---> using "fceb32a38c1c89317bc9f3a9b51c38c0b55068e8b3c925c6d86eb5f34c76781f" 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 [NOTE] The 'jobs' option was reset, its value was 31 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using: opam option jobs=31 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2025-01-20 00:49.52 ---> using "9c6ec09ad1354bab7e891a2df77a746e143ce8dc79ad2f2c4f23428f05e38996" from cache /home/opam: (run (shell "opam option solver=builtin-0install && opam config report")) Set to 'builtin-0install' the field solver in global configuration # opam config report # opam-version 2.4.0~alpha1~dev (f36a1c8f9d8c18dc3651722f73864aad12f527a2) # self-upgrade no # system arch=x86_64 os=linux os-distribution=alpine os-version=3.21.2 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 71 # repositories 1 (local) # pinned 1 (version) # current-switch 5.3 # invariant ["ocaml-base-compiler" {>= "5.3.0"}] # compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 5.3.0 2025-01-20 00:49.52 ---> using "8b81c2943612c195162ce172aa9f519c01ef9bf20058bd2b7828930350092792" from cache /home/opam: (env OPAMDOWNLOADJOBS 1) /home/opam: (env OPAMERRLOGLEN 0) /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/")) 2025-01-20 00:49.52 ---> using "72a023eba9891ec2db194cebbc13bbb317565a84a8229885ff52b6c64c5f94c6" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-01-20 00:50.07 ---> saved as "984f04673460d20e8c277652c615345a582da541bd66773929390a52fe0541f1" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-01-20 00:51.00 ---> saved as "4fe0454f2cb245a6c047fad3d0335af8b2b75768fd0af2bb6923bd76bdda5a42" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apk" "update" - fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz - v3.21.2-91-g7c3a191e6da [https://dl-cdn.alpinelinux.org/alpine/v3.21/main] - v3.21.2-92-gd87e8ac11c9 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community] - v20250108-779-gbfdc675d33f [https://dl-cdn.alpinelinux.org/alpine/edge/main] - v20250108-799-g889a08a8529 [https://dl-cdn.alpinelinux.org/alpine/edge/community] - v20250108-794-gd5fc7ca87e5 [https://dl-cdn.alpinelinux.org/alpine/edge/testing] - OK: 55774 distinct packages available 2025-01-20 00:51.01 ---> saved as "c0fa75ccdd6f90aa0b223e50eb65cee39c31b8b8e6776302240fc7a9ee134175" /home/opam: (run (shell "opam pin add -k version -yn mem_usage.0.1.2 0.1.2")) mem_usage is now pinned to version 0.1.2 2025-01-20 00:51.05 ---> saved as "996219e2419a02c3c799ef6efde22eca7f117de64ddd07792d530920c98ee195" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall mem_usage.0.1.2;\ \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 \"\\\"alpine-3.21\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'mem_usage.0.1.2' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) mem_usage.0.1.2 is not installed. Install it? [Y/n] y The following actions will be performed: === install 2 packages - install dune 3.17.1 [required by mem_usage] - install mem_usage 0.1.2 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved dune.3.17.1 (cached) -> retrieved mem_usage.0.1.2 (https://github.com/savonet/ocaml-mem_usage/archive/refs/tags/v0.1.2.tar.gz) -> installed dune.3.17.1 -> installed mem_usage.0.1.2 Done. # To update the current shell environment, run: eval $(opam env) 2025-01-20 00:51.40 ---> saved as "395d53a601d36a0eb86c55de12e9acdeb98906d774fe0d43c7c8d75f96081751" Job succeeded 2025-01-20 00:51.49: Job succeeded