(for PR #21122)

2022-04-07 12:54.47: New job: build 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-35-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-35-ocaml-4.14@sha256:e6d19596bf1784d6230c41254447f1015ad7434d2ac4b927f3bbb99d919be926
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-35\""; 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-35-ocaml-4.14@sha256:e6d19596bf1784d6230c41254447f1015ad7434d2ac4b927f3bbb99d919be926-mirage-block-ccm.1.0.2-854464dcb0d584c0d9a7b6cbdf5b33d0d390d5b6"
2022-04-07 12:54.47: Using OBuilder spec:
((from ocaml/opam:fedora-35-ocaml-4.14@sha256:e6d19596bf1784d6230c41254447f1015ad7434d2ac4b927f3bbb99d919be926)
 (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-35\\\"\"; 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:19.45: Got resource from pool OCluster
Building on iphito.ocamllabs.io
All commits already cached
Updating files:  19% (4831/25416)
Updating files:  20% (5084/25416)
Updating files:  21% (5338/25416)
Updating files:  22% (5592/25416)
Updating files:  23% (5846/25416)
Updating files:  24% (6100/25416)
Updating files:  25% (6354/25416)
Updating files:  26% (6609/25416)
Updating files:  27% (6863/25416)
Updating files:  28% (7117/25416)
Updating files:  29% (7371/25416)
Updating files:  30% (7625/25416)
Updating files:  31% (7879/25416)
Updating files:  32% (8134/25416)
Updating files:  33% (8388/25416)
Updating files:  34% (8642/25416)
Updating files:  34% (8734/25416)
Updating files:  35% (8896/25416)
Updating files:  36% (9150/25416)
Updating files:  37% (9404/25416)
Updating files:  38% (9659/25416)
Updating files:  39% (9913/25416)
Updating files:  40% (10167/25416)
Updating files:  41% (10421/25416)
Updating files:  42% (10675/25416)
Updating files:  43% (10929/25416)
Updating files:  44% (11184/25416)
Updating files:  45% (11438/25416)
Updating files:  46% (11692/25416)
Updating files:  47% (11946/25416)
Updating files:  48% (12200/25416)
Updating files:  49% (12454/25416)
Updating files:  50% (12708/25416)
Updating files:  51% (12963/25416)
Updating files:  52% (13217/25416)
Updating files:  53% (13471/25416)
Updating files:  54% (13725/25416)
Updating files:  55% (13979/25416)
Updating files:  56% (14233/25416)
Updating files:  57% (14488/25416)
Updating files:  58% (14742/25416)
Updating files:  59% (14996/25416)
Updating files:  60% (15250/25416)
Updating files:  61% (15504/25416)
Updating files:  62% (15758/25416)
Updating files:  63% (16013/25416)
Updating files:  64% (16267/25416)
Updating files:  65% (16521/25416)
Updating files:  66% (16775/25416)
Updating files:  67% (17029/25416)
Updating files:  68% (17283/25416)
Updating files:  69% (17538/25416)
Updating files:  70% (17792/25416)
Updating files:  71% (18046/25416)
Updating files:  72% (18300/25416)
Updating files:  73% (18554/25416)
Updating files:  74% (18808/25416)
Updating files:  74% (18943/25416)
Updating files:  75% (19062/25416)
Updating files:  76% (19317/25416)
Updating files:  77% (19571/25416)
Updating files:  78% (19825/25416)
Updating files:  79% (20079/25416)
Updating files:  80% (20333/25416)
Updating files:  81% (20587/25416)
Updating files:  82% (20842/25416)
Updating files:  83% (21096/25416)
Updating files:  84% (21350/25416)
Updating files:  85% (21604/25416)
Updating files:  86% (21858/25416)
Updating files:  87% (22112/25416)
Updating files:  88% (22367/25416)
Updating files:  89% (22621/25416)
Updating files:  90% (22875/25416)
Updating files:  91% (23129/25416)
Updating files:  92% (23383/25416)
Updating files:  93% (23637/25416)
Updating files:  94% (23892/25416)
Updating files:  95% (24146/25416)
Updating files:  96% (24400/25416)
Updating files:  97% (24654/25416)
Updating files:  98% (24908/25416)
Updating files:  99% (25162/25416)
Updating files: 100% (25416/25416)
Updating files: 100% (25416/25416), 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-35-ocaml-4.14@sha256:e6d19596bf1784d6230c41254447f1015ad7434d2ac4b927f3bbb99d919be926)
Unable to find image 'ocaml/opam:fedora-35-ocaml-4.14@sha256:e6d19596bf1784d6230c41254447f1015ad7434d2ac4b927f3bbb99d919be926' locally
docker.io/ocaml/opam@sha256:e6d19596bf1784d6230c41254447f1015ad7434d2ac4b927f3bbb99d919be926: Pulling from ocaml/opam
054e3e802ba7: Pulling fs layer
df36af9c7d92: Pulling fs layer
194821c74c17: Pulling fs layer
054e3e802ba7: Verifying Checksum
054e3e802ba7: Download complete
054e3e802ba7: Pull complete
194821c74c17: Verifying Checksum
194821c74c17: Download complete
df36af9c7d92: Verifying Checksum
df36af9c7d92: Download complete
df36af9c7d92: Pull complete
194821c74c17: Pull complete
Digest: sha256:e6d19596bf1784d6230c41254447f1015ad7434d2ac4b927f3bbb99d919be926
Status: Downloaded newer image for ocaml/opam@sha256:e6d19596bf1784d6230c41254447f1015ad7434d2ac4b927f3bbb99d919be926
2022-04-07 13:27.00 ---> using "eefc61855c84057e048ee30ff384766954bf8aa4d86535fdce1fe3cb89cfca8d" 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:27.00 ---> using "9d77029cf4557d1b05ac77c3004f1f1a74c22d8e27474c2097c74d942506297a" 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:27.00 ---> using "bdbdff7dba3bc695848aa5719678a332e523afc598f78c9e1e2623b66020b226" from cache

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2022-04-07 13:27.00 ---> using "6019b5e288edd8eeaa38d3dd52a6cbc5a682b8004b1d39213cf8bbb716ee7adf" 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:27.00 ---> using "91a231c648b03e031d9e428f598742de79c9dd49b031e6e16fabd166321b5f6d" 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:27.00 ---> using "c4906ff5d808334abdb0467942b41d703435451a7a15efd5bd83215805ce5736" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2022-04-07 13:27.15 ---> saved as "f4d7b1683bb7a9178bcb0327f56960a41a3c101a3dfa90ec54687d02f3ed4728"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2022-04-07 13:27.36 ---> saved as "dab9559876cb5c3d477c45672ec96456a7c714818c2fe0ddebfedafb9083e74b"

/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:27.46 ---> saved as "2cc7a190704010722de1a3ac2bb3c95da2e21c1d96adcd17a6c164175397b711"

/home/opam: (run (network host)
                 (shell "opam update --depexts"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 35 - x86_64                               18 MB/s |  79 MB     00:04    
- Fedora 35 openh264 (From Cisco) - x86_64        6.3 kB/s | 2.5 kB     00:00    
- Fedora Modular 35 - x86_64                      3.6 MB/s | 3.3 MB     00:00    
- Fedora 35 - x86_64 - Updates                     21 MB/s |  29 MB     00:01    
- Fedora Modular 35 - x86_64 - Updates            3.4 MB/s | 2.9 MB     00:00    
- Last metadata expiration check: 0:00:01 ago on Thu Apr  7 13:28:20 2022.
- Metadata cache created.
2022-04-07 13:28.25 ---> saved as "34a335418afb436edc5c56bf266246f096730a3772a628f143f8325942363424"

/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-35\\\"\"; 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"))
[NOTE] mirage-block-ccm.1.0.2 is not installed.

Nothing to do.
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 dune.3.0.3
-> installed topkg.1.0.5
-> installed duration.0.2.0
-> installed csexp.1.5.1
-> installed bigarray-compat.1.1.0
-> installed result.1.5
-> installed mmap.1.2.0
-> installed cppo.1.6.8
-> installed fmt.0.9.0
-> installed mtime.1.4.0
-> installed ocplib-endian.1.2
-> installed cstruct.6.1.0
-> installed dune-configurator.3.0.3
-> installed eqaf.0.8
-> 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:29.15 ---> saved as "e004b5fad6d0c9830aa0b0b4cf86327b2e9e7139e7605e6c2dd5b46dd9ae2128"
Job succeeded
2022-04-07 13:29.47: Job succeeded