(for PR #21122)
2022-04-07 12:54.48: New job: test mirage-block-ccm.1.0.2, using opam 2.1 from https://github.com/ocaml/opam-repository.git#refs/pull/21122/head (854464dcb0d584c0d9a7b6cbdf5b33d0d390d5b6) on debian-11-ocaml-4.14/arm64 To reproduce locally: git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/21122/head" && git reset --hard 854464dc git fetch origin master git merge 4d72a962379797389a56c9429260f356d6033ac7 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-11-ocaml-4.14@sha256:195e90258d6ce276bedfa63a17ad124b87e8ec55e359b3beb11a3fa8622a5118 USER 1000:1000 WORKDIR /home/opam RUN for pkg in $(opam pin list --short); do opam pin remove "$pkg"; done RUN opam repository remove -a multicore || true RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam RUN opam init --reinit -ni ENV OPAMDOWNLOADJOBS="1" ENV OPAMERRLOGLEN="0" ENV OPAMSOLVERTIMEOUT="500" ENV OPAMPRECISETRACKING="1" RUN rm -rf opam-repository/ COPY --chown=1000:1000 . opam-repository/ RUN opam repository set-url --strict default opam-repository/ RUN opam pin add -k version -yn mirage-block-ccm.1.0.2 1.0.2 RUN opam update --depexts RUN opam remove mirage-block-ccm.1.0.2 && opam install --deps-only mirage-block-ccm.1.0.2 && opam install -v mirage-block-ccm.1.0.2; \ res=$?; \ test "$res" != 31 && exit "$res"; \ export OPAMCLI=2.0; \ build_dir=$(opam var prefix)/.opam-switch/build; \ failed=$(ls "$build_dir"); \ 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; \ done; \ exit 1 RUN opam update --depexts RUN opam remove mirage-block-ccm.1.0.2 && opam install --deps-only --with-test mirage-block-ccm.1.0.2 && opam install -v --with-test mirage-block-ccm.1.0.2; \ res=$?; \ test "$res" != 31 && exit "$res"; \ export OPAMCLI=2.0; \ build_dir=$(opam var prefix)/.opam-switch/build; \ failed=$(ls "$build_dir"); \ 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; \ done; \ exit 1 END-OF-DOCKERFILE docker build -f ../Dockerfile . 2022-04-07 12:54.48: Using cache hint "ocaml/opam:debian-11-ocaml-4.14@sha256:195e90258d6ce276bedfa63a17ad124b87e8ec55e359b3beb11a3fa8622a5118-mirage-block-ccm.1.0.2-854464dcb0d584c0d9a7b6cbdf5b33d0d390d5b6" 2022-04-07 12:54.48: Using OBuilder spec: ((from ocaml/opam:debian-11-ocaml-4.14@sha256:195e90258d6ce276bedfa63a17ad124b87e8ec55e359b3beb11a3fa8622a5118) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "for pkg in $(opam pin list --short); do opam pin remove \"$pkg\"; done")) (run (shell "opam repository remove -a multicore || true")) (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) (run (shell "opam init --reinit --config .opamrc-sandbox -ni")) (env OPAMDOWNLOADJOBS 1) (env OPAMERRLOGLEN 0) (env OPAMSOLVERTIMEOUT 500) (env OPAMPRECISETRACKING 1) (run (shell "rm -rf opam-repository/")) (copy (src .) (dst opam-repository/)) (run (shell "opam repository set-url --strict default opam-repository/")) (run (shell "opam pin add -k version -yn mirage-block-ccm.1.0.2 1.0.2")) (run (network host) (shell "opam update --depexts")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam remove mirage-block-ccm.1.0.2 && opam install --deps-only mirage-block-ccm.1.0.2 && opam install -v mirage-block-ccm.1.0.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 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 done;\ \n exit 1")) (run (network host) (shell "opam update --depexts")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam remove mirage-block-ccm.1.0.2 && opam install --deps-only --with-test mirage-block-ccm.1.0.2 && opam install -v --with-test mirage-block-ccm.1.0.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 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 done;\ \n exit 1")) ) 2022-04-07 12:54.48: Waiting for resource in pool OCluster 2022-04-07 12:54.48: Waiting for worker... 2022-04-07 12:54.48: Got resource from pool OCluster Building on molpadia.ocamllabs.io All commits already cached Updating files: 63% (16153/25408) Updating files: 64% (16262/25408) Updating files: 65% (16516/25408) Updating files: 66% (16770/25408) Updating files: 67% (17024/25408) Updating files: 68% (17278/25408) Updating files: 69% (17532/25408) Updating files: 70% (17786/25408) Updating files: 71% (18040/25408) Updating files: 72% (18294/25408) Updating files: 73% (18548/25408) Updating files: 74% (18802/25408) Updating files: 75% (19056/25408) Updating files: 76% (19311/25408) Updating files: 77% (19565/25408) Updating files: 78% (19819/25408) Updating files: 79% (20073/25408) Updating files: 80% (20327/25408) Updating files: 81% (20581/25408) Updating files: 82% (20835/25408) Updating files: 83% (21089/25408) Updating files: 84% (21343/25408) Updating files: 85% (21597/25408) Updating files: 86% (21851/25408) Updating files: 87% (22105/25408) Updating files: 88% (22360/25408) Updating files: 89% (22614/25408) Updating files: 90% (22868/25408) Updating files: 91% (23122/25408) Updating files: 92% (23376/25408) Updating files: 93% (23630/25408) Updating files: 94% (23884/25408) Updating files: 95% (24138/25408) Updating files: 96% (24392/25408) Updating files: 97% (24646/25408) Updating files: 98% (24900/25408) Updating files: 99% (25154/25408) Updating files: 100% (25408/25408) Updating files: 100% (25408/25408), done. HEAD is now at 4d72a96237 Merge pull request #21082 from zoggy/opam-publish-chamo.3.0 Merge made by the 'recursive' strategy. .../mirage-block-ccm/mirage-block-ccm.1.0.2/opam | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 packages/mirage-block-ccm/mirage-block-ccm.1.0.2/opam (from ocaml/opam:debian-11-ocaml-4.14@sha256:195e90258d6ce276bedfa63a17ad124b87e8ec55e359b3beb11a3fa8622a5118) Unable to find image 'ocaml/opam:debian-11-ocaml-4.14@sha256:195e90258d6ce276bedfa63a17ad124b87e8ec55e359b3beb11a3fa8622a5118' locally docker.io/ocaml/opam@sha256:195e90258d6ce276bedfa63a17ad124b87e8ec55e359b3beb11a3fa8622a5118: Pulling from ocaml/opam fa223d8c149d: Already exists 1fedbe1ed5a5: Already exists 8500a08d8b54: Pulling fs layer 8500a08d8b54: Verifying Checksum 8500a08d8b54: Download complete 8500a08d8b54: Pull complete Digest: sha256:195e90258d6ce276bedfa63a17ad124b87e8ec55e359b3beb11a3fa8622a5118 Status: Downloaded newer image for ocaml/opam@sha256:195e90258d6ce276bedfa63a17ad124b87e8ec55e359b3beb11a3fa8622a5118 2022-04-07 12:55.44 ---> using "56c6e4d9b71b359e288b1ce7188124553f984ef558b31ebc7d3906a620c509a6" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "for pkg in $(opam pin list --short); do opam pin remove \"$pkg\"; done")) Ok, ocaml-base-compiler is no longer pinned to https://github.com/ocaml/ocaml/archive/4.14.0.tar.gz (version 4.14.0) Already up-to-date. Nothing to do. # Run eval $(opam env) to update the current shell environment 2022-04-07 12:55.44 ---> using "885957c6346e1d7797293762cc88ed6c8f5e87841943712b4df405eeea5e4ef5" from cache /home/opam: (run (shell "opam repository remove -a multicore || true")) [WARNING] No configured repositories by these names found: multicore 2022-04-07 12:55.44 ---> using "7d2dbaad3302c0ef7bdc4b5eb598e058c96a923889ea6564428c93369d28ab35" from cache /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) 2022-04-07 12:55.44 ---> using "835dbf346474275420f408a311708fe8b11b28193597b2c3d782cda10f3ed8bf" from cache /home/opam: (run (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.1, 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 2022-04-07 12:55.44 ---> using "731d795d618bc09481d03cb57dd99027ec79ca8733e8c6dd06f31ade6c3cd7aa" from cache /home/opam: (env OPAMDOWNLOADJOBS 1) /home/opam: (env OPAMERRLOGLEN 0) /home/opam: (env OPAMSOLVERTIMEOUT 500) /home/opam: (env OPAMPRECISETRACKING 1) /home/opam: (run (shell "rm -rf opam-repository/")) 2022-04-07 12:55.44 ---> using "9336f6dc911b75d3503b6b3f907be679456b7f7a83c20a3f43a93b51f355f487" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2022-04-07 12:55.51 ---> saved as "b0b8596968b514eedb74607331c2e1eaaaea7ca39446e95a698e0674e06689b3" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2022-04-07 12:56.07 ---> saved as "b6baeecb9e5f703fdcc0523ebfea2a967f59ff3c9215d020e452d21692ddb01a" /home/opam: (run (shell "opam pin add -k version -yn mirage-block-ccm.1.0.2 1.0.2")) mirage-block-ccm is now pinned to version 1.0.2 2022-04-07 12:56.09 ---> saved as "4dc34406b50157ee505bae508262884da120bce38ea982000ad80acb2339cd48" /home/opam: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://deb.debian.org/debian bullseye InRelease - Get:2 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB] - Get:3 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB] - Get:4 http://security.debian.org/debian-security bullseye-security/main arm64 Packages [123 kB] - Fetched 206 kB in 1s (141 kB/s) - Reading package lists... - 2022-04-07 12:56.16 ---> saved as "bcf1c7cd2fb1b4bec3c71b824af7d99efba306736a13702b4c5e331df97efdfd" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam remove mirage-block-ccm.1.0.2 && opam install --deps-only mirage-block-ccm.1.0.2 && opam install -v mirage-block-ccm.1.0.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 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 done;\ \n exit 1")) Nothing to do. [NOTE] mirage-block-ccm.1.0.2 is not installed. The following actions will be performed: - install conf-pkg-config 2 - install seq base - install dune 3.0.3 - install ocamlfind 1.9.3 - install ocamlbuild 0.14.1 - install result 1.5 - install duration 0.2.0 - install csexp 1.5.1 - install cppo 1.6.8 - install bigarray-compat 1.1.0 - install base-bytes base - install topkg 1.0.5 - install dune-configurator 3.0.3 - install mmap 1.2.0 - install ocplib-endian 1.2 - install mtime 1.4.0 - install fmt 0.9.0 - install lwt 5.5.0 - install cstruct 6.1.0 - install logs 0.7.0 - install mirage-block 3.0.0 - install eqaf 0.8 - install mirage-crypto 0.10.6 - install mirage-crypto-rng 0.10.6 ===== 24 to install ===== The following system packages will first need to be installed: pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> Let opam run your package manager to install the required system packages? (answer 'n' for other options) [Y/n] y + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libglib2.0-0:arm64. - (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 ... 18274 files and directories currently installed.) - Preparing to unpack .../0-libglib2.0-0_2.66.8-1_arm64.deb ... - Unpacking libglib2.0-0:arm64 (2.66.8-1) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../1-libglib2.0-data_2.66.8-1_all.deb ... - Unpacking libglib2.0-data (2.66.8-1) ... - Selecting previously unselected package libicu67:arm64. - Preparing to unpack .../2-libicu67_67.1-7_arm64.deb ... - Unpacking libicu67:arm64 (67.1-7) ... - Selecting previously unselected package libxml2:arm64. - Preparing to unpack .../3-libxml2_2.9.10+dfsg-6.7+deb11u1_arm64.deb ... - Unpacking libxml2:arm64 (2.9.10+dfsg-6.7+deb11u1) ... - Selecting previously unselected package pkg-config. - Preparing to unpack .../4-pkg-config_0.29.2-1_arm64.deb ... - Unpacking pkg-config (0.29.2-1) ... - Selecting previously unselected package shared-mime-info. - Preparing to unpack .../5-shared-mime-info_2.0-1_arm64.deb ... - Unpacking shared-mime-info (2.0-1) ... - Selecting previously unselected package xdg-user-dirs. - Preparing to unpack .../6-xdg-user-dirs_0.17-2_arm64.deb ... - Unpacking xdg-user-dirs (0.17-2) ... - Setting up libicu67:arm64 (67.1-7) ... - Setting up xdg-user-dirs (0.17-2) ... - Setting up libglib2.0-0:arm64 (2.66.8-1) ... - No schema files found: doing nothing. - Setting up libglib2.0-data (2.66.8-1) ... - Setting up pkg-config (0.29.2-1) ... - Setting up libxml2:arm64 (2.9.10+dfsg-6.7+deb11u1) ... - Setting up shared-mime-info (2.0-1) ... - Processing triggers for libc-bin (2.31-13+deb11u3) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved bigarray-compat.1.1.0 (cached) -> retrieved cppo.1.6.8 (cached) -> retrieved csexp.1.5.1 (cached) -> retrieved cstruct.6.1.0 (cached) -> retrieved dune.3.0.3 (cached) -> installed conf-pkg-config.2 -> retrieved dune-configurator.3.0.3 (cached) -> retrieved duration.0.2.0 (cached) -> retrieved eqaf.0.8 (cached) -> retrieved fmt.0.9.0 (cached) -> retrieved logs.0.7.0 (cached) -> retrieved lwt.5.5.0 (cached) -> retrieved mirage-block.3.0.0 (cached) -> retrieved mirage-crypto.0.10.6 (cached) -> retrieved mirage-crypto-rng.0.10.6 (cached) -> retrieved mmap.1.2.0 (cached) -> retrieved mtime.1.4.0 (cached) -> retrieved ocamlbuild.0.14.1 (cached) -> retrieved ocamlfind.1.9.3 (cached) -> retrieved ocplib-endian.1.2 (cached) -> retrieved result.1.5 (cached) -> installed seq.base -> retrieved topkg.1.0.5 (cached) -> installed ocamlfind.1.9.3 -> installed base-bytes.base -> installed ocamlbuild.0.14.1 -> installed topkg.1.0.5 -> installed dune.3.0.3 -> installed fmt.0.9.0 -> installed duration.0.2.0 -> installed bigarray-compat.1.1.0 -> installed csexp.1.5.1 -> installed result.1.5 -> installed mtime.1.4.0 -> installed mmap.1.2.0 -> installed cstruct.6.1.0 -> installed cppo.1.6.8 -> installed eqaf.0.8 -> installed ocplib-endian.1.2 -> installed dune-configurator.3.0.3 -> installed mirage-crypto.0.10.6 -> installed lwt.5.5.0 -> installed mirage-block.3.0.0 -> installed logs.0.7.0 -> installed mirage-crypto-rng.0.10.6 Done. # Run eval $(opam env) to update the current shell environment The following actions will be performed: - install mirage-block-ccm 1.0.2* <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/3: -> retrieved mirage-block-ccm.1.0.2 (cached) Processing 2/3: [mirage-block-ccm: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-block-ccm" "-j" "159" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-block-ccm.1.0.2) -> compiled mirage-block-ccm.1.0.2 -> installed mirage-block-ccm.1.0.2 Done. # Run eval $(opam env) to update the current shell environment 2022-04-07 12:57.25 ---> saved as "e1d37783f20eba221d425e191a8ae96cd66b2927fe95446f1022c8e13c2c0854" /home/opam: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://deb.debian.org/debian bullseye InRelease - Hit:2 http://deb.debian.org/debian bullseye-updates InRelease - Get:3 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB] - Fetched 44.1 kB in 2s (24.3 kB/s) - Reading package lists... 2022-04-07 12:57.31 ---> saved as "0d605433a64d5ef66231de23ce6aa3d9893ccf949a6abbd944e718f0686b0cce" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam remove mirage-block-ccm.1.0.2 && opam install --deps-only --with-test mirage-block-ccm.1.0.2 && opam install -v --with-test mirage-block-ccm.1.0.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 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 done;\ \n exit 1")) The following actions will be performed: - remove mirage-block-ccm 1.0.2* <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> removed mirage-block-ccm.1.0.2 Done. # Run eval $(opam env) to update the current shell environment The following actions will be performed: - install stdlib-shims 0.3.0 - install ounit2 2.2.6 ===== 2 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ounit2.2.2.6 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> installed stdlib-shims.0.3.0 -> installed ounit2.2.2.6 Done. # Run eval $(opam env) to update the current shell environment The following actions will be performed: - install mirage-block-ccm 1.0.2* <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 2/3: [mirage-block-ccm: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-block-ccm" "-j" "159" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-block-ccm.1.0.2) Processing 2/3: [mirage-block-ccm: dune runtest] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "mirage-block-ccm" "-j" "159" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-block-ccm.1.0.2) - (cd _build/default/tests && ./testrunner.exe) - ..... - Ran: 5 tests in: 0.10 seconds. - OK -> compiled mirage-block-ccm.1.0.2 -> installed mirage-block-ccm.1.0.2 Done. # Run eval $(opam env) to update the current shell environment 2022-04-07 12:58.05 ---> saved as "4cb17a2a8c3f936f48b5bec4c076e839f1f513b296c465521a163ebbcf405b85" Job succeeded 2022-04-07 12:58.18: Job succeeded