(for PR #21050)

2022-04-07 12:56.07: New job: build conf-python-3.9.0.0, using opam 2.1
                              from https://github.com/ocaml/opam-repository.git#refs/pull/21050/head (408cb884f1855ff33d5c4b904ad54843ed97f9c6)
                              on debian-11-ocaml-4.14/ppc64le

To reproduce locally:

git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/21050/head" && git reset --hard 408cb884
git fetch origin master
git merge 4d72a962379797389a56c9429260f356d6033ac7
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-4.14@sha256:ec9cd0b983fed0d5f83bb55fecbe00b4ffe59201a98a7e478274ecc62cbb7141
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 conf-python-3.9.0.0 9.0.0
RUN opam update --depexts
RUN opam remove conf-python-3.9.0.0 && opam install --deps-only conf-python-3.9.0.0 && opam install -v conf-python-3.9.0.0; \
    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:56.07: Using cache hint "ocaml/opam:debian-11-ocaml-4.14@sha256:ec9cd0b983fed0d5f83bb55fecbe00b4ffe59201a98a7e478274ecc62cbb7141-conf-python-3.9.0.0-408cb884f1855ff33d5c4b904ad54843ed97f9c6"
2022-04-07 12:56.07: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.14@sha256:ec9cd0b983fed0d5f83bb55fecbe00b4ffe59201a98a7e478274ecc62cbb7141)
 (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 conf-python-3.9.0.0 9.0.0"))
 (run (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam remove conf-python-3.9.0.0 && opam install --deps-only conf-python-3.9.0.0 && opam install -v conf-python-3.9.0.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        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:56.07: Waiting for resource in pool OCluster
2022-04-07 12:56.07: Waiting for worker...
2022-04-07 12:56.07: Got resource from pool OCluster
Building on oya.ocamllabs.io
All commits already cached
Updating files:   5% (1397/25407)
Updating files:   6% (1525/25407)
Updating files:   7% (1779/25407)
Updating files:   8% (2033/25407)
Updating files:   9% (2287/25407)
Updating files:  10% (2541/25407)
Updating files:  11% (2795/25407)
Updating files:  12% (3049/25407)
Updating files:  13% (3303/25407)
Updating files:  14% (3557/25407)
Updating files:  15% (3812/25407)
Updating files:  16% (4066/25407)
Updating files:  17% (4320/25407)
Updating files:  18% (4574/25407)
Updating files:  19% (4828/25407)
Updating files:  19% (5069/25407)
Updating files:  20% (5082/25407)
Updating files:  21% (5336/25407)
Updating files:  22% (5590/25407)
Updating files:  23% (5844/25407)
Updating files:  24% (6098/25407)
Updating files:  25% (6352/25407)
Updating files:  26% (6606/25407)
Updating files:  27% (6860/25407)
Updating files:  28% (7114/25407)
Updating files:  29% (7369/25407)
Updating files:  30% (7623/25407)
Updating files:  31% (7877/25407)
Updating files:  31% (7982/25407)
Updating files:  32% (8131/25407)
Updating files:  33% (8385/25407)
Updating files:  34% (8639/25407)
Updating files:  34% (8828/25407)
Updating files:  35% (8893/25407)
Updating files:  36% (9147/25407)
Updating files:  37% (9401/25407)
Updating files:  38% (9655/25407)
Updating files:  39% (9909/25407)
Updating files:  40% (10163/25407)
Updating files:  41% (10417/25407)
Updating files:  42% (10671/25407)
Updating files:  43% (10926/25407)
Updating files:  44% (11180/25407)
Updating files:  45% (11434/25407)
Updating files:  45% (11435/25407)
Updating files:  45% (11465/25407)
Updating files:  46% (11688/25407)
Updating files:  47% (11942/25407)
Updating files:  48% (12196/25407)
Updating files:  49% (12450/25407)
Updating files:  50% (12704/25407)
Updating files:  51% (12958/25407)
Updating files:  52% (13212/25407)
Updating files:  53% (13466/25407)
Updating files:  54% (13720/25407)
Updating files:  55% (13974/25407)
Updating files:  56% (14228/25407)
Updating files:  57% (14482/25407)
Updating files:  58% (14737/25407)
Updating files:  59% (14991/25407)
Updating files:  60% (15245/25407)
Updating files:  61% (15499/25407)
Updating files:  62% (15753/25407)
Updating files:  63% (16007/25407)
Updating files:  64% (16261/25407)
Updating files:  65% (16515/25407)
Updating files:  66% (16769/25407)
Updating files:  67% (17023/25407)
Updating files:  68% (17277/25407)
Updating files:  69% (17531/25407)
Updating files:  70% (17785/25407)
Updating files:  71% (18039/25407)
Updating files:  71% (18049/25407)
Updating files:  72% (18294/25407)
Updating files:  73% (18548/25407)
Updating files:  74% (18802/25407)
Updating files:  75% (19056/25407)
Updating files:  76% (19310/25407)
Updating files:  77% (19564/25407)
Updating files:  78% (19818/25407)
Updating files:  79% (20072/25407)
Updating files:  80% (20326/25407)
Updating files:  81% (20580/25407)
Updating files:  82% (20834/25407)
Updating files:  83% (21088/25407)
Updating files:  84% (21342/25407)
Updating files:  85% (21596/25407)
Updating files:  86% (21851/25407)
Updating files:  87% (22105/25407)
Updating files:  88% (22359/25407)
Updating files:  89% (22613/25407)
Updating files:  90% (22867/25407)
Updating files:  91% (23121/25407)
Updating files:  92% (23375/25407)
Updating files:  93% (23629/25407)
Updating files:  94% (23883/25407)
Updating files:  95% (24137/25407)
Updating files:  95% (24188/25407)
Updating files:  96% (24391/25407)
Updating files:  97% (24645/25407)
Updating files:  98% (24899/25407)
Updating files:  99% (25153/25407)
Updating files: 100% (25407/25407)
Updating files: 100% (25407/25407), done.
HEAD is now at 4d72a96237 Merge pull request #21082 from zoggy/opam-publish-chamo.3.0
Merge made by the 'recursive' strategy.
 .../conf-python-3.9.0.0/files/test.py              |  1 +
 packages/conf-python-3/conf-python-3.9.0.0/opam    | 33 ++++++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100644 packages/conf-python-3/conf-python-3.9.0.0/files/test.py
 create mode 100644 packages/conf-python-3/conf-python-3.9.0.0/opam

(from ocaml/opam:debian-11-ocaml-4.14@sha256:ec9cd0b983fed0d5f83bb55fecbe00b4ffe59201a98a7e478274ecc62cbb7141)
Unable to find image 'ocaml/opam:debian-11-ocaml-4.14@sha256:ec9cd0b983fed0d5f83bb55fecbe00b4ffe59201a98a7e478274ecc62cbb7141' locally
docker.io/ocaml/opam@sha256:ec9cd0b983fed0d5f83bb55fecbe00b4ffe59201a98a7e478274ecc62cbb7141: Pulling from ocaml/opam
c632eeaf1382: Already exists
fd47180bcca3: Already exists
23d9dad23952: Pulling fs layer
23d9dad23952: Verifying Checksum
23d9dad23952: Download complete
23d9dad23952: Pull complete
Digest: sha256:ec9cd0b983fed0d5f83bb55fecbe00b4ffe59201a98a7e478274ecc62cbb7141
Status: Downloaded newer image for ocaml/opam@sha256:ec9cd0b983fed0d5f83bb55fecbe00b4ffe59201a98a7e478274ecc62cbb7141
2022-04-07 12:59.10 ---> using "303c464cc4c8464274ba28585f48f204b61010d8209b3723bec89285abdc7190" 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:59.10 ---> using "a0352416b76618608a034f7a3134f40e2112d6d0a2b09bb32c20f46d4b256630" 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:59.10 ---> using "38a0173b2633898aafdb33a973fccfff6e37359ff9d82fb675b35339995c5c49" from cache

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2022-04-07 12:59.10 ---> using "d10645b37ed02c9195b138496daa3500ca388c5ece784ddeabd4e8a75b6657ca" 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:59.10 ---> using "68e8076ddb338d149743a6bb4cf42b4dea19781b81d4be81690a98d0234b616a" 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:59.10 ---> using "365be06914ecae6c9995d2971bb6b37bb908d24da5de9fff1314d4ebc03f3fbd" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2022-04-07 12:59.35 ---> saved as "a66973990d0a3b3edf1e9746378def068053a36ca8162ff6d0e6f2cc76b65eba"

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

/home/opam: (run (shell "opam pin add -k version -yn conf-python-3.9.0.0 9.0.0"))
conf-python-3 is now pinned to version 9.0.0
2022-04-07 13:00.47 ---> saved as "0cc41ddc6bf19c37876bd2b81028027b3a37465b8ed5715c6ac75d4fbe55be5d"

/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 ppc64el Packages [118 kB]
- Fetched 201 kB in 1s (222 kB/s)
- Reading package lists...
2022-04-07 13:00.59 ---> saved as "4341570b5ceca3a15dda339b42628e21b32243dac7b03b7e77fcd8a9644b147a"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam remove conf-python-3.9.0.0 && opam install --deps-only conf-python-3.9.0.0 && opam install -v conf-python-3.9.0.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        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] conf-python-3.9.0.0 is not installed.

Nothing to do.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
  - install conf-python-3 9.0.0*

The following system packages will first need to be installed:
    python3

<><> 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" "python3"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpython3.9-minimal:ppc64el.
- (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 ... 18228 files and directories currently installed.)
- Preparing to unpack .../libpython3.9-minimal_3.9.2-1_ppc64el.deb ...
- Unpacking libpython3.9-minimal:ppc64el (3.9.2-1) ...
- Selecting previously unselected package python3.9-minimal.
- Preparing to unpack .../python3.9-minimal_3.9.2-1_ppc64el.deb ...
- Unpacking python3.9-minimal (3.9.2-1) ...
- Setting up libpython3.9-minimal:ppc64el (3.9.2-1) ...
- Setting up python3.9-minimal (3.9.2-1) ...
- Selecting previously unselected package python3-minimal.
- (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 ... 18513 files and directories currently installed.)
- Preparing to unpack .../0-python3-minimal_3.9.2-3_ppc64el.deb ...
- Unpacking python3-minimal (3.9.2-3) ...
- Selecting previously unselected package media-types.
- Preparing to unpack .../1-media-types_4.0.0_all.deb ...
- Unpacking media-types (4.0.0) ...
- Selecting previously unselected package libmpdec3:ppc64el.
- Preparing to unpack .../2-libmpdec3_2.5.1-1_ppc64el.deb ...
- Unpacking libmpdec3:ppc64el (2.5.1-1) ...
- Selecting previously unselected package libpython3.9-stdlib:ppc64el.
- Preparing to unpack .../3-libpython3.9-stdlib_3.9.2-1_ppc64el.deb ...
- Unpacking libpython3.9-stdlib:ppc64el (3.9.2-1) ...
- Selecting previously unselected package python3.9.
- Preparing to unpack .../4-python3.9_3.9.2-1_ppc64el.deb ...
- Unpacking python3.9 (3.9.2-1) ...
- Selecting previously unselected package libpython3-stdlib:ppc64el.
- Preparing to unpack .../5-libpython3-stdlib_3.9.2-3_ppc64el.deb ...
- Unpacking libpython3-stdlib:ppc64el (3.9.2-3) ...
- Setting up python3-minimal (3.9.2-3) ...
- Selecting previously unselected package python3.
- (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 ... 18910 files and directories currently installed.)
- Preparing to unpack .../python3_3.9.2-3_ppc64el.deb ...
- Unpacking python3 (3.9.2-3) ...
- Setting up media-types (4.0.0) ...
- Setting up libmpdec3:ppc64el (2.5.1-1) ...
- Setting up libpython3.9-stdlib:ppc64el (3.9.2-1) ...
- Setting up libpython3-stdlib:ppc64el (3.9.2-3) ...
- Setting up python3.9 (3.9.2-1) ...
- Setting up python3 (3.9.2-3) ...
- running python rtupdate hooks for python3.9...
- running python post-rtupdate hooks for python3.9...
- Processing triggers for libc-bin (2.31-13+deb11u3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/3: [conf-python-3: python3 test.py]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "python3" "test.py" (CWD=/home/opam/.opam/4.14/.opam-switch/build/conf-python-3.9.0.0)
- python-3 OK
-> compiled  conf-python-3.9.0.0
-> installed conf-python-3.9.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2022-04-07 13:02.07 ---> saved as "4c28833a0814499fee2d4b5a5e2e87e0d12bb2673da7205f49ad7631224dcecc"
Job succeeded
2022-04-07 13:02.55: Job succeeded