(for PR #27291)
2025-01-20 00:49.11: New job: build conf-sysinfo.1, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/27291/head (967fb5539df21a3f02e7e121810ad13f12bfc982) on ubuntu-24.10-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:ubuntu-24.10-ocaml-5.3@sha256:37762b9f4f47e9de2b1cf9cad13d9b09c4cc9012f6696c6351de49853841f10b 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 conf-sysinfo.1 1 RUN opam reinstall conf-sysinfo.1; \ 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 "\"ubuntu-24.10\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'conf-sysinfo.1' && 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:ubuntu-24.10-ocaml-5.3@sha256:37762b9f4f47e9de2b1cf9cad13d9b09c4cc9012f6696c6351de49853841f10b-conf-sysinfo.1-967fb5539df21a3f02e7e121810ad13f12bfc982" 2025-01-20 00:49.11: Using OBuilder spec: ((from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:37762b9f4f47e9de2b1cf9cad13d9b09c4cc9012f6696c6351de49853841f10b) (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 conf-sysinfo.1 1")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-sysinfo.1;\ \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 \"\\\"ubuntu-24.10\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'conf-sysinfo.1' && 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.12: Got resource from pool OCluster Building on phoebe.caelum.ci.dev All commits already cached Updating files: 80% (23251/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:ubuntu-24.10-ocaml-5.3@sha256:37762b9f4f47e9de2b1cf9cad13d9b09c4cc9012f6696c6351de49853841f10b) 2025-01-20 00:49.41 ---> using "330e477b8839733eba963addaf7ed169a81843ae60d5e4a4e83c4b6332cccbd8" 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.41 ---> using "ca5615b2bfc83b54d79208db11c13d0f5cc01c944e2cfff37a32f20d93d1d93c" 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:50.53 ---> saved as "faf64a8ee276f076c1cdff8f9bdf63f0786454c33d5b29fdad3bacccbcdad6d8" /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=ubuntu os-version=24.10 # 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:50.54 ---> saved as "32f44564392ec00d4df31a73b7fde7f4784ea8c2a6b1025ea26b5e7e4b8a0837" /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:51.02 ---> saved as "8002a5087ec4359da6f06abcc7e9d449ddf94e26a692f46d077ac2ef30492201" /home/opam: (copy (src .) (dst opam-repository/)) 2025-01-20 00:51.31 ---> saved as "c53b5aeb954982ef5fcba577c8da7dfac0f142964c8376e64fa60a951844ddb7" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-01-20 00:52.21 ---> saved as "6f572921accacb2b624bb0d21d02152962483710bdea90735c3d7e6d7c695e7e" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB] - Hit:2 http://archive.ubuntu.com/ubuntu oracular InRelease - Get:3 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB] - Get:4 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB] - Get:5 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [151 kB] - Get:6 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [273 kB] - Get:7 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [114 kB] - Get:8 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [166 kB] - Fetched 1082 kB in 1s (1273 kB/s) - Reading package lists... - 2025-01-20 00:52.23 ---> saved as "3328e61b6c19890f1af571f2f247f85c28e124df7188fe64bc172e3dc51492c8" /home/opam: (run (shell "opam pin add -k version -yn conf-sysinfo.1 1")) conf-sysinfo is now pinned to version 1 2025-01-20 00:52.24 ---> saved as "d49ed171b37aa96206d7b016289cb47804146855c4a64098d291dba90130598c" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-sysinfo.1;\ \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 \"\\\"ubuntu-24.10\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'conf-sysinfo.1' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) [ERROR] conf-sysinfo = 1: unmet availability conditions: 'os = "freebsd"' "/usr/bin/env" "bash" "-c" "opam reinstall conf-sysinfo.1; 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 "\"ubuntu-24.10\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; test "$pkg" != 'conf-sysinfo.1' && partial_fails="$partial_fails $pkg"; done; test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; exit 1" failed with exit status 5 2025-01-20 00:52.32: Job failed: Failed: Build failed 2025-01-20 00:52.32: Log analysis: 2025-01-20 00:52.32: >>> [ERROR] conf-sysinfo = 1: unmet availability conditions: 'os = "freebsd"' (score = 100) 2025-01-20 00:52.32: [SKIP] Package not available