(for PR #26111)
2024-07-09 08:38.15: New job: test herodotos.1.0, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/26111/head (f2ac03865dc59fa28dbaf9a4764dead36cf9406f) on debian-11-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/26111/head" && git reset --hard f2ac0386 git fetch origin master git merge --no-edit cd68f78b700f5a261378315ed7b0012a47e9cd22 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-11-ocaml-5.2@sha256:5e962abc0ab0285ed3fc3bb162c0ed5b1b3caccdb878c6d0ea1695e0c280cb14 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 herodotos.1.0 1.0 RUN opam reinstall herodotos.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-11\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'herodotos.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 herodotos.1.0) || true RUN opam reinstall --with-test --verbose herodotos.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-11\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'herodotos.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-09 08:38.15: Using cache hint "ocaml/opam:debian-11-ocaml-5.2@sha256:5e962abc0ab0285ed3fc3bb162c0ed5b1b3caccdb878c6d0ea1695e0c280cb14-herodotos.1.0-f2ac03865dc59fa28dbaf9a4764dead36cf9406f" 2024-07-09 08:38.15: Using OBuilder spec: ((from ocaml/opam:debian-11-ocaml-5.2@sha256:5e962abc0ab0285ed3fc3bb162c0ed5b1b3caccdb878c6d0ea1695e0c280cb14) (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 herodotos.1.0 1.0")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall herodotos.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-11\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'herodotos.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 herodotos.1.0) || true")) (run (shell "opam reinstall --with-test --verbose herodotos.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-11\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'herodotos.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-09 08:38.15: Waiting for resource in pool OCluster 2024-07-09 08:38.16: Waiting for worker… 2024-07-09 08:38.16: Got resource from pool OCluster Building on x86-bm-c18.sw.ocaml.org All commits already cached Updating files: 84% (26738/31809) Updating files: 85% (27038/31809) Updating files: 86% (27356/31809) Updating files: 87% (27674/31809) Updating files: 88% (27992/31809) Updating files: 89% (28311/31809) Updating files: 90% (28629/31809) Updating files: 91% (28947/31809) Updating files: 92% (29265/31809) Updating files: 93% (29583/31809) Updating files: 94% (29901/31809) Updating files: 95% (30219/31809) Updating files: 96% (30537/31809) Updating files: 97% (30855/31809) Updating files: 98% (31173/31809) Updating files: 99% (31491/31809) Updating files: 100% (31809/31809) Updating files: 100% (31809/31809), done. HEAD is now at cd68f78b70 Merge pull request #26195 from lyrm/release-dscheck-0.5.0 Merge made by the 'ort' strategy. packages/herodotos/herodotos.1.0/opam | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 packages/herodotos/herodotos.1.0/opam (from ocaml/opam:debian-11-ocaml-5.2@sha256:5e962abc0ab0285ed3fc3bb162c0ed5b1b3caccdb878c6d0ea1695e0c280cb14) 2024-07-09 08:38.45 ---> using "acbd6c2a4a11b8fa11d36be200ab509f6821a12d81231607e930eb60dc25b3bd" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2024-07-09 08:38.45 ---> using "073addb3845bd6180f1b4287cb1b296d17ea399faa5351748b7c55c17443a5bc" 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~beta, 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-09 08:38.45 ---> using "bc5e087bd42192551bd0378beeb824cc7439a02335b4f99794fed6d19b36bac0" from cache /home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-113-generic The OCaml toplevel, version 5.2.0 2.2.0~rc1 2024-07-09 08:38.45 ---> using "2aa9ef66abb28ef228f6f9a865deb883cf78b22790f36ffc6403d70052f3bfe2" 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-09 08:38.45 ---> using "1e1f88db10b586a5129e7495056a9117035d7af0377ddcb85382be4a6b06bc42" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2024-07-09 08:38.52 ---> saved as "3aaf83b808198e3223727c99ea7827dd880dedfeed364f73bf030a5a957d7a71" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised default (at file:///home/opam/opam-repository): [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html) 2024-07-09 08:39.45 ---> saved as "0dae1f81624378e715c5269bcfc0deaf600d444e0db730657d175fd2700d7a1a" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] - Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB] - Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] - Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8067 kB] - Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [279 kB] - Fetched 8554 kB in 1s (6549 kB/s) - Reading package lists... 2024-07-09 08:39.47 ---> saved as "cae83a133af378e47dcb20c5267a9e89f8a522b84fb7aa2118d2bdb7c971ee33" /home/opam: (run (shell "opam pin add -k version -yn herodotos.1.0 1.0")) herodotos is now pinned to version 1.0 2024-07-09 08:39.48 ---> saved as "d5d2a660615eb9960ff1cb01c232e1b494fbb7a93dfc7ec4f5ae75b2f39e0852" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall herodotos.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-11\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'herodotos.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")) herodotos.1.0 is not installed. Install it? [y/n] y The following actions will be performed: === install 15 packages - install base-bytes base [required by postgresql] - install conf-postgresql 1 [required by postgresql] - install csexp 1.5.2 [required by dune-configurator] - install dune 3.16.0 [required by herodotos] - install dune-configurator 3.16.0 [required by parmap, postgresql] - install herodotos 1.0 (pinned) - install ocaml-compiler-libs v0.17.0 [required by ppxlib] - install ocamlfind 1.9.6 [required by base-bytes] - install parmap 1.2.5 [required by herodotos] - install postgresql 5.0.0 [required by herodotos] - install ppx_derivers 1.2.1 [required by ppxlib] - install ppxlib 0.32.1 [required by vlt] - install sexplib0 v0.17.0 [required by ppxlib] - install stdlib-shims 0.3.0 [required by ppxlib] - install vlt 0.1 [required by herodotos] The following system packages will first need to be installed: libpq-dev <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libpq-dev" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libpq5:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18365 files and directories currently installed.) - Preparing to unpack .../libpq5_13.15-0+deb11u1_amd64.deb ... - Unpacking libpq5:amd64 (13.15-0+deb11u1) ... - Selecting previously unselected package libpq-dev. - Preparing to unpack .../libpq-dev_13.15-0+deb11u1_amd64.deb ... - Unpacking libpq-dev (13.15-0+deb11u1) ... - Setting up libpq5:amd64 (13.15-0+deb11u1) ... - Setting up libpq-dev (13.15-0+deb11u1) ... - Processing triggers for libc-bin (2.31-13+deb11u10) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved csexp.1.5.2 (cached) -> installed conf-postgresql.1 -> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached) -> retrieved herodotos.1.0 (cached) -> retrieved ocaml-compiler-libs.v0.17.0 (cached) -> retrieved ocamlfind.1.9.6 (cached) -> retrieved parmap.1.2.5 (cached) -> retrieved postgresql.5.0.0 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved ppxlib.0.32.1 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved vlt.0.1 (cached) -> installed ocamlfind.1.9.6 -> installed base-bytes.base -> installed dune.3.16.0 -> installed ppx_derivers.1.2.1 -> installed csexp.1.5.2 -> installed sexplib0.v0.17.0 -> installed stdlib-shims.0.3.0 -> installed ocaml-compiler-libs.v0.17.0 -> installed dune-configurator.3.16.0 -> installed parmap.1.2.5 -> installed postgresql.5.0.0 -> installed ppxlib.0.32.1 -> installed vlt.0.1 -> installed herodotos.1.0 Done. # Run eval $(opam env) to update the current shell environment 2024-07-09 08:41.03 ---> saved as "0fe96f0725f33bfdb3157db59fca956089e4564dbb2795c35d9fe28f515df2b0" /home/opam: (run (network host) (shell "(opam reinstall --with-test herodotos.1.0) || true")) The following actions will be performed: === recompile 1 package - recompile herodotos 1.0 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved herodotos.1.0 (https://github.com/coccinelle/herodotos/archive/refs/tags/v1.0.tar.gz) -> removed herodotos.1.0 -> installed herodotos.1.0 Done. # Run eval $(opam env) to update the current shell environment 2024-07-09 08:41.21 ---> saved as "0b967bc0f36dca2cb35965e8885b69c25debf2a68d2e88a3711cca460ec882bb" /home/opam: (run (shell "opam reinstall --with-test --verbose herodotos.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-11\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'herodotos.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")) The following actions will be performed: === recompile 1 package - recompile herodotos 1.0 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/4: [herodotos.1.0: extract] -> retrieved herodotos.1.0 (cached) Processing 2/4: [herodotos: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "herodotos" "-j" "31" "@install" "@runtest" (CWD=/home/opam/.opam/5.2/.opam-switch/build/herodotos.1.0) -> compiled herodotos.1.0 -> removed herodotos.1.0 -> installed herodotos.1.0 Done. # Run eval $(opam env) to update the current shell environment 2024-07-09 08:41.39 ---> saved as "9e073fbaca2a58a553255e75eb44e8bb6df6636844dfef8a10a4e980d935cf75" Job succeeded 2024-07-09 08:41.46: Job succeeded