(for PR #27974)
2025-06-03 03:08.11: New job: test echo.0.0.5, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/27974/head (7e483968a51c396f77b33e9bc30973b129f4facf) on freebsd-14.2-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/27974/head" && git reset --hard 7e483968 git fetch origin master git merge --no-edit c037675bed027195b802bf40b1840ece3feb3b2a cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM freebsd-14.2-ocaml-5.3 USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/local/bin/opam-dev /usr/local/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 echo.0.0.5 0.0.5 RUN opam reinstall echo.0.0.5; \ 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 "\"freebsd-14.2\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'echo.0.0.5' && 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 echo.0.0.5) || true RUN opam reinstall --with-test --verbose echo.0.0.5; \ 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 "\"freebsd-14.2\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'echo.0.0.5' && 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-06-03 03:08.11: Using cache hint "freebsd-14.2-ocaml-5.3-echo.0.0.5-7e483968a51c396f77b33e9bc30973b129f4facf" 2025-06-03 03:08.11: Using OBuilder spec: ((from freebsd-14.2-ocaml-5.3) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam")) (run (network host) (shell "opam init --reinit -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 echo.0.0.5 0.0.5")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall echo.0.0.5;\ \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 \"\\\"freebsd-14.2\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'echo.0.0.5' && 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 echo.0.0.5) || true")) (run (shell "opam reinstall --with-test --verbose echo.0.0.5;\ \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 \"\\\"freebsd-14.2\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'echo.0.0.5' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2025-06-03 03:08.11: Waiting for resource in pool OCluster 2025-06-03 03:08.12: Waiting for worker… 2025-06-03 03:08.12: Got resource from pool OCluster Building on summer All commits already cached Updating files: 100% (23181/23181), done. HEAD is now at c037675bed Merge pull request #27980 from jmid/conf-freeglut-typo Merge made by the 'ort' strategy. packages/echo/echo.0.0.5/opam | 53 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 packages/echo/echo.0.0.5/opam (from freebsd-14.2-ocaml-5.3) 2025-06-03 02:54.28 ---> using "47c9a03b962be450225081ed69acde1f5c6dadb6d1106d9b1a8b4fd61c2defa6" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam")) 2025-06-03 02:54.28 ---> using "7b24029fbcc6efb52852a00476d6ae3e1638f22729cc54d8bdcb0cd7c773256d" from cache /home/opam: (run (network host) (shell "opam init --reinit -ni")) No configuration file found, using 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.1 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 1 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=1 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] no changes from git+file:///home/opam/opam-repository 2025-06-03 02:54.28 ---> using "98698f6d610685a43f9f317cbce75aaee821e3598e864f37e08f8fee78e2763a" 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.3.0 # self-upgrade no # system arch=x86_64 os=freebsd os-distribution=freebsd os-version=1402000 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 15 # repositories 1 (version-controlled) # pinned 0 # current-switch 5.3.0 # invariant ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "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.0/lib/ocaml/stublibs:/home/opam/.opam/5.3.0/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 5.3.0 2025-06-03 02:54.28 ---> using "c58d35d332d7ebc8b97d181e9eee29c9134ac91d4e8ed71f571ac7cdb6c6ef03" 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-06-03 02:54.28 ---> using "1d42ce616db407e13ba41bac0993529451b94bca76eb8cf56a6ffd92c99ef48c" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-06-03 02:54.34 ---> saved as "7a75ac706b712df3bcb3be1d72cb81d7beedc8dfb4480b32cff00fc981449883" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-06-03 02:54.55 ---> saved as "f7b27096fc19aed5905349735275a2bd1440c9be9cebc53e8ef3d579b5440008" /home/opam: (run (network host) (shell "opam update --depexts || true")) [WARNING] Unknown update command for bsd, skipping system update 2025-06-03 02:54.56 ---> saved as "11a2b34444c84b01905ae1568e3a563d3e3bc68d6b30cb6ff78452bcaa497971" /home/opam: (run (shell "opam pin add -k version -yn echo.0.0.5 0.0.5")) echo is now pinned to version 0.0.5 2025-06-03 02:54.57 ---> saved as "1f34403c1e00040553dfc8a4eba2f955561ddb1d713687212d52efee9bce2915" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall echo.0.0.5;\ \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 \"\\\"freebsd-14.2\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'echo.0.0.5' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) echo.0.0.5 is not installed. Install it? [y/n] y The following actions will be performed: === install 26 packages ∗ alcotest 1.9.0 [required by echo] ∗ astring 0.8.5 [required by alcotest] ∗ base v0.17.2 [required by echo] ∗ bigarray-compat 1.1.0 [required by ctypes] ∗ cmdliner 1.3.0 [required by alcotest] ∗ conf-libffi 2.0.0 [required by ctypes-foreign] ∗ conf-pkg-config 4 [required by ctypes-foreign] ∗ csexp 1.5.2 [required by dune-configurator] ∗ ctypes 0.23.0 [required by echo] ∗ ctypes-foreign 0.23.0 [required by echo] ∗ dune 3.19.0 [required by echo] ∗ dune-configurator 3.19.0 [required by ctypes, base, ctypes-foreign] ∗ echo 0.0.5 (pinned) ∗ fmt 0.10.0 [required by echo] ∗ integers 0.7.0 [required by ctypes] ∗ ocaml-syntax-shims 1.0.0 [required by alcotest] ∗ ocaml_intrinsics_kernel v0.17.1 [required by base] ∗ ocamlbuild 0.16.1 [required by fmt, astring, uutf] ∗ ocamlfind 1.9.8 [required by fmt, astring, uutf] ∗ re 1.12.0 [required by alcotest] ∗ seq base [required by re] ∗ sexplib0 v0.17.0 [required by base] ∗ stdio v0.17.0 [required by echo] ∗ stdlib-shims 0.3.0 [required by alcotest] ∗ topkg 1.0.8 [required by fmt, astring, uutf] ∗ uutf 1.0.4 [required by alcotest] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ⬇ retrieved alcotest.1.9.0 (cached) ⬇ retrieved astring.0.8.5 (cached) ⬇ retrieved base.v0.17.2 (cached) ⬇ retrieved bigarray-compat.1.1.0 (cached) ⬇ retrieved cmdliner.1.3.0 (cached) ⬇ retrieved csexp.1.5.2 (cached) ∗ installed conf-pkg-config.4 ∗ installed conf-libffi.2.0.0 ⬇ retrieved ctypes.0.23.0, ctypes-foreign.0.23.0 (cached) ⬇ retrieved dune.3.19.0, dune-configurator.3.19.0 (cached) ⬇ retrieved echo.0.0.5 (https://github.com/deakodev/echo/archive/refs/tags/0.0.5.tar.gz) ⬇ retrieved fmt.0.10.0 (cached) ⬇ retrieved integers.0.7.0 (cached) ⬇ retrieved ocaml-syntax-shims.1.0.0 (cached) ⬇ retrieved ocaml_intrinsics_kernel.v0.17.1 (cached) ∗ installed cmdliner.1.3.0 ⬇ retrieved ocamlbuild.0.16.1 (cached) ⬇ retrieved ocamlfind.1.9.8 (cached) ⬇ retrieved re.1.12.0 (cached) ⬇ retrieved seq.base (cached) ∗ installed seq.base ⬇ retrieved sexplib0.v0.17.0 (cached) ⬇ retrieved stdio.v0.17.0 (cached) ⬇ retrieved stdlib-shims.0.3.0 (cached) ⬇ retrieved topkg.1.0.8 (cached) ⬇ retrieved uutf.1.0.4 (cached) ∗ installed ocamlfind.1.9.8 ∗ installed ocamlbuild.0.16.1 ∗ installed topkg.1.0.8 ∗ installed uutf.1.0.4 ∗ installed fmt.0.10.0 ∗ installed astring.0.8.5 ∗ installed dune.3.19.0 ∗ installed csexp.1.5.2 ∗ installed stdlib-shims.0.3.0 ∗ installed sexplib0.v0.17.0 ∗ installed re.1.12.0 ∗ installed ocaml_intrinsics_kernel.v0.17.1 ∗ installed ocaml-syntax-shims.1.0.0 ∗ installed bigarray-compat.1.1.0 ∗ installed integers.0.7.0 ∗ installed dune-configurator.3.19.0 ∗ installed alcotest.1.9.0 ∗ installed ctypes.0.23.0 ∗ installed base.v0.17.2 ∗ installed ctypes-foreign.0.23.0 ∗ installed stdio.v0.17.0 ∗ installed echo.0.0.5 Done. 2025-06-03 02:56.13 ---> saved as "11fe1daaeb597455a68e4ed35ddf76924d20b37c81ec8d3fd22774b81ca59144" /home/opam: (run (network host) (shell "(opam reinstall --with-test echo.0.0.5) || true")) The following actions will be performed: === recompile 1 package ↻ echo 0.0.5 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ⊘ removed echo.0.0.5 ∗ installed echo.0.0.5 Done. 2025-06-03 02:56.20 ---> saved as "d8299e00be6794ed5d61353ec655399ed74d515ab504f9563eee4484f09b798a" /home/opam: (run (shell "opam reinstall --with-test --verbose echo.0.0.5;\ \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 \"\\\"freebsd-14.2\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'echo.0.0.5' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) The following actions will be performed: === recompile 1 package ↻ echo 0.0.5 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 2/4: [echo: dune build] + /home/opam/.opam/5.3.0/bin/dune "build" "-p" "echo" "-j" "15" "@install" "@runtest" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/echo.0.0.5) - (cd _build/default/test && ./test_echo.exe) - Testing `Echo tests'. - This run has ID `NIOPG2IS'. - - [OK] OCaml Logging 0 Echo.xxx from OCaml side. - [OK] C Logging 0 echo_xxx from C side. - - Full test results in `~/.opam/5.3.0/.opam-switch/build/echo.0.0.5/_build/default/test/_build/_tests/Echo tests'. - Test Successful in 0.002s. 2 tests run. λ compiled echo.0.0.5 ⊘ removed echo.0.0.5 ∗ installed echo.0.0.5 Done. 2025-06-03 02:56.27 ---> saved as "73656098343757aa485c7ef80951507027ba57027135d6ad2949f50bc8e23a1c" Job succeeded 2025-06-03 03:10.31: Job succeeded