(for PR #21122)

2022-04-07 12:54.47: 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 fedora-34-ocaml-4.14/amd64

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:fedora-34-ocaml-4.14@sha256:24edbcfcd42a33fd43b357aac3e5278a5b14e3fb619ec6424992475639162cf4
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 "\"fedora-34\""; 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 "\"fedora-34\""; 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.47: Using cache hint "ocaml/opam:fedora-34-ocaml-4.14@sha256:24edbcfcd42a33fd43b357aac3e5278a5b14e3fb619ec6424992475639162cf4-mirage-block-ccm.1.0.2-854464dcb0d584c0d9a7b6cbdf5b33d0d390d5b6"
2022-04-07 12:54.47: Using OBuilder spec:
((from ocaml/opam:fedora-34-ocaml-4.14@sha256:24edbcfcd42a33fd43b357aac3e5278a5b14e3fb619ec6424992475639162cf4)
 (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 \"\\\"fedora-34\\\"\"; 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 \"\\\"fedora-34\\\"\"; 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.47: Waiting for resource in pool OCluster
2022-04-07 13:18.07: Waiting for worker...
2022-04-07 13:21.10: Got resource from pool OCluster
Building on x86-bm-2.ocamllabs.io
All commits already cached
Updating files:  12% (3199/25408)
Updating files:  13% (3304/25408)
Updating files:  14% (3558/25408)
Updating files:  15% (3812/25408)
Updating files:  16% (4066/25408)
Updating files:  17% (4320/25408)
Updating files:  18% (4574/25408)
Updating files:  19% (4828/25408)
Updating files:  20% (5082/25408)
Updating files:  21% (5336/25408)
Updating files:  22% (5590/25408)
Updating files:  23% (5844/25408)
Updating files:  24% (6098/25408)
Updating files:  25% (6352/25408)
Updating files:  26% (6607/25408)
Updating files:  27% (6861/25408)
Updating files:  28% (7115/25408)
Updating files:  29% (7369/25408)
Updating files:  30% (7623/25408)
Updating files:  31% (7877/25408)
Updating files:  32% (8131/25408)
Updating files:  33% (8385/25408)
Updating files:  34% (8639/25408)
Updating files:  35% (8893/25408)
Updating files:  36% (9147/25408)
Updating files:  37% (9401/25408)
Updating files:  38% (9656/25408)
Updating files:  39% (9910/25408)
Updating files:  40% (10164/25408)
Updating files:  41% (10418/25408)
Updating files:  42% (10672/25408)
Updating files:  43% (10926/25408)
Updating files:  44% (11180/25408)
Updating files:  45% (11434/25408)
Updating files:  46% (11688/25408)
Updating files:  47% (11942/25408)
Updating files:  48% (12196/25408)
Updating files:  49% (12450/25408)
Updating files:  50% (12704/25408)
Updating files:  51% (12959/25408)
Updating files:  52% (13213/25408)
Updating files:  53% (13467/25408)
Updating files:  54% (13721/25408)
Updating files:  55% (13975/25408)
Updating files:  56% (14229/25408)
Updating files:  57% (14483/25408)
Updating files:  58% (14737/25408)
Updating files:  58% (14838/25408)
Updating files:  59% (14991/25408)
Updating files:  60% (15245/25408)
Updating files:  61% (15499/25408)
Updating files:  62% (15753/25408)
Updating files:  63% (16008/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:fedora-34-ocaml-4.14@sha256:24edbcfcd42a33fd43b357aac3e5278a5b14e3fb619ec6424992475639162cf4)
Unable to find image 'ocaml/opam:fedora-34-ocaml-4.14@sha256:24edbcfcd42a33fd43b357aac3e5278a5b14e3fb619ec6424992475639162cf4' locally
docker.io/ocaml/opam@sha256:24edbcfcd42a33fd43b357aac3e5278a5b14e3fb619ec6424992475639162cf4: Pulling from ocaml/opam
e0c16e4be110: Already exists
64d862d42c21: Already exists
535b416cd63a: Pulling fs layer
535b416cd63a: Verifying Checksum
535b416cd63a: Download complete
535b416cd63a: Pull complete
Digest: sha256:24edbcfcd42a33fd43b357aac3e5278a5b14e3fb619ec6424992475639162cf4
Status: Downloaded newer image for ocaml/opam@sha256:24edbcfcd42a33fd43b357aac3e5278a5b14e3fb619ec6424992475639162cf4
2022-04-07 13:21.18 ---> using "911002f34753f4e9acf1f9654219d63b0c9c5179119a26d5fcabccae558a81e2" 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 13:21.18 ---> using "5878a88ce18ce2b627a0c44c9a6436ac43e9c2ac0e0a76f2c497651d26307464" from cache

/home/opam: (run (shell "opam repository remove -a multicore || true"))
[WARNING] No configured repositories by these names found: multicore
2022-04-07 13:21.18 ---> using "0cf3505e792c1cd7591fb28f6b6b47a1cf9bb67fd1307263e01f8db7965dabd5" from cache

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2022-04-07 13:21.18 ---> using "5c6f3ca48daefa72d1f256e771e8164033c57789bfdc250c16b8d65ad4ef29ee" 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 13:21.18 ---> using "22b0eaf3ea27331f0918a1bec99da6d9af26df4d6a0484bf410944859077806b" 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 13:21.18 ---> using "f60e76480dfb9405840c97452de433861df9d9fcf272959a8f63f49179af9ad6" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2022-04-07 13:21.20 ---> using "f64d8d99e5a0f9b1d595eaf381427964c16a7bdec7e029566a9346f7c1778804" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2022-04-07 13:21.20 ---> using "fb36b71f911660e34a1da89a6c8a6adb46d9675b439406d0f0d8340cb1cc718f" from cache

/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 13:21.20 ---> using "33882ffc5ebb0162d8eb6ff23d0fb10af2c92678e3a545697c4e8c87cfcadaca" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 34 - x86_64                              498 kB/s |  74 MB     02:31    
- Fedora 34 openh264 (From Cisco) - x86_64        6.5 kB/s | 2.5 kB     00:00    
- Fedora Modular 34 - x86_64                       33 kB/s | 4.9 MB     02:30    
- Fedora 34 - x86_64 - Updates                    230 kB/s |  34 MB     02:30    
- Fedora Modular 34 - x86_64 - Updates             74 kB/s | 4.5 MB     01:01    
- Metadata cache created.
2022-04-07 13:30.43 ---> saved as "3ae2435d9accefe3fd8f013be8822b6827b5035cf36c769aae6ad73c637867cc"

/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 \"\\\"fedora-34\\\"\"; 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 =====

<><> 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)
-> installed conf-pkg-config.2
-> retrieved dune.3.0.3  (cached)
-> 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 fmt.0.9.0
-> installed mtime.1.4.0
-> installed dune.3.0.3
-> installed duration.0.2.0
-> installed result.1.5
-> installed csexp.1.5.1
-> installed bigarray-compat.1.1.0
-> installed cstruct.6.1.0
-> installed mmap.1.2.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: [mirage-block-ccm.1.0.2: http]
Processing  1/3:
-> retrieved mirage-block-ccm.1.0.2  (https://github.com/sg2342/mirage-block-ccm/releases/download/1.0.2/mirage-block-ccm-1.0.2.tbz)
Processing  2/3: [mirage-block-ccm: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-block-ccm" "-j" "31" (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 13:31.44 ---> saved as "b71f64517dc2e45bc740f211f6b67ae9c0a0ae88e500cbf911ac0350da043dc1"

/home/opam: (run (network host)
                 (shell "opam update --depexts"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 34 - x86_64                              166 kB/s |  22 kB     00:00    
- Fedora 34 openh264 (From Cisco) - x86_64         10 kB/s | 989  B     00:00    
- Fedora Modular 34 - x86_64                      196 kB/s |  21 kB     00:00    
- Fedora 34 - x86_64 - Updates                     84 kB/s | 7.6 kB     00:00    
- Fedora Modular 34 - x86_64 - Updates            169 kB/s |  18 kB     00:00    
- Metadata cache created.
2022-04-07 13:31.50 ---> saved as "cc540c4777cfc7659e5afb2bc51439d2c333ef6226357bc2adfcc0c33374c1fb"

/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 \"\\\"fedora-34\\\"\"; 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" "31" (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" "31" (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 13:32.34 ---> saved as "beb4af625cf866669929e571dc8ab785d7bd21b72b0fcdf24f26c0aa2ed102cb"
Job succeeded
2022-04-07 13:32.56: Job succeeded