(for PR #21050)
2022-04-07 12:56.07: New job: test conf-python-3.9.0.0, using opam 2.1 from https://github.com/ocaml/opam-repository.git#refs/pull/21050/head (408cb884f1855ff33d5c4b904ad54843ed97f9c6) on alpine-3.15-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/21050/head" && git reset --hard 408cb884 git fetch origin master git merge 4d72a962379797389a56c9429260f356d6033ac7 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:alpine-3.15-ocaml-4.14@sha256:0d95da5cc9401e62e8a27e11908412688d77bf9698c17b7d401cb50b02ef20cc 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 "\"alpine-3.15\""; 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 conf-python-3.9.0.0 && opam install --deps-only --with-test conf-python-3.9.0.0 && opam install -v --with-test 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 "\"alpine-3.15\""; 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:alpine-3.15-ocaml-4.14@sha256:0d95da5cc9401e62e8a27e11908412688d77bf9698c17b7d401cb50b02ef20cc-conf-python-3.9.0.0-408cb884f1855ff33d5c4b904ad54843ed97f9c6" 2022-04-07 12:56.07: Using OBuilder spec: ((from ocaml/opam:alpine-3.15-ocaml-4.14@sha256:0d95da5cc9401e62e8a27e11908412688d77bf9698c17b7d401cb50b02ef20cc) (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 \"\\\"alpine-3.15\\\"\"; 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 conf-python-3.9.0.0 && opam install --deps-only --with-test conf-python-3.9.0.0 && opam install -v --with-test 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 \"\\\"alpine-3.15\\\"\"; 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 13:20.56: Waiting for worker... 2022-04-07 13:22.04: Got resource from pool OCluster Building on m1-a.ocamllabs.io All commits already cached Updating files: 14% (3796/25409) Updating files: 15% (3812/25409) Updating files: 16% (4066/25409) Updating files: 17% (4320/25409) Updating files: 18% (4574/25409) Updating files: 19% (4828/25409) Updating files: 20% (5082/25409) Updating files: 21% (5336/25409) Updating files: 22% (5590/25409) Updating files: 23% (5845/25409) Updating files: 24% (6099/25409) Updating files: 25% (6353/25409) Updating files: 26% (6607/25409) Updating files: 27% (6861/25409) Updating files: 28% (7115/25409) Updating files: 29% (7369/25409) Updating files: 30% (7623/25409) Updating files: 31% (7877/25409) Updating files: 32% (8131/25409) Updating files: 33% (8385/25409) Updating files: 34% (8640/25409) Updating files: 35% (8894/25409) Updating files: 36% (9148/25409) Updating files: 37% (9402/25409) Updating files: 38% (9656/25409) Updating files: 39% (9910/25409) Updating files: 40% (10164/25409) Updating files: 41% (10418/25409) Updating files: 42% (10672/25409) Updating files: 42% (10713/25409) Updating files: 43% (10926/25409) Updating files: 44% (11180/25409) Updating files: 45% (11435/25409) Updating files: 46% (11689/25409) Updating files: 47% (11943/25409) Updating files: 48% (12197/25409) Updating files: 49% (12451/25409) Updating files: 50% (12705/25409) Updating files: 51% (12959/25409) Updating files: 52% (13213/25409) Updating files: 53% (13467/25409) Updating files: 54% (13721/25409) Updating files: 55% (13975/25409) Updating files: 56% (14230/25409) Updating files: 57% (14484/25409) Updating files: 58% (14738/25409) Updating files: 59% (14992/25409) Updating files: 60% (15246/25409) Updating files: 61% (15500/25409) Updating files: 62% (15754/25409) Updating files: 63% (16008/25409) Updating files: 64% (16262/25409) Updating files: 65% (16516/25409) Updating files: 66% (16770/25409) Updating files: 67% (17025/25409) Updating files: 68% (17279/25409) Updating files: 69% (17533/25409) Updating files: 70% (17787/25409) Updating files: 71% (18041/25409) Updating files: 71% (18156/25409) Updating files: 72% (18295/25409) Updating files: 73% (18549/25409) Updating files: 74% (18803/25409) Updating files: 75% (19057/25409) Updating files: 76% (19311/25409) Updating files: 77% (19565/25409) Updating files: 78% (19820/25409) Updating files: 79% (20074/25409) Updating files: 80% (20328/25409) Updating files: 81% (20582/25409) Updating files: 82% (20836/25409) Updating files: 83% (21090/25409) Updating files: 84% (21344/25409) Updating files: 85% (21598/25409) Updating files: 86% (21852/25409) Updating files: 87% (22106/25409) Updating files: 88% (22360/25409) Updating files: 89% (22615/25409) Updating files: 90% (22869/25409) Updating files: 91% (23123/25409) Updating files: 92% (23377/25409) Updating files: 93% (23631/25409) Updating files: 94% (23885/25409) Updating files: 95% (24139/25409) Updating files: 96% (24393/25409) Updating files: 97% (24647/25409) Updating files: 98% (24901/25409) Updating files: 99% (25155/25409) Updating files: 100% (25409/25409) Updating files: 100% (25409/25409), 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:alpine-3.15-ocaml-4.14@sha256:0d95da5cc9401e62e8a27e11908412688d77bf9698c17b7d401cb50b02ef20cc) 2022-04-07 13:22.49 ---> using "e9a967243f6136abe2ee009d23dc44cb835180b04fb481e6c9b6429fe678d99e" 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:22.49 ---> using "d80d04b224ff749c93747c26ff79d13073e5710f36833f7fbfc621b5de407c3f" 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:22.49 ---> using "4fd046b90f7d33f431389e9330ad91152c2403fa6d130570a35cc30476a01f23" from cache /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) 2022-04-07 13:22.49 ---> using "575094417800a8eb9baca02d62b160c7440861eb35286207f83ca4c1fcd63d36" 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:22.49 ---> using "5b4471be7efe34d5f585427c5f76c170073f62ec193d5f326dfb04fa8596c67c" 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:22.49 ---> using "099d3f0a81e356a0b3a58ecc3a1369d32c63621ab1be8a0064dade905ea79835" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2022-04-07 13:23.02 ---> saved as "242a54e0174338e076bc75ee3a11439cfa331b8c3801938ca668a69ddd81d70b" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2022-04-07 13:23.27 ---> saved as "cc9c8db09e73da3a441c58dabad01b3f7a1cafc87f341f17cae1c8d18bb65b0c" /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:23.33 ---> saved as "bb29181dd708e051850d2b098ebd7ac7217ea7d30438a01fdd3f0d909e3df3f3" /home/opam: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apk" "update" - fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz - v3.15.4-2-g3643179f8d [https://dl-cdn.alpinelinux.org/alpine/v3.15/main] - v3.15.4-1-g2fa37fc144 [https://dl-cdn.alpinelinux.org/alpine/v3.15/community] - v20220328-545-g52f5afba90 [https://dl-cdn.alpinelinux.org/alpine/edge/main] - v20220328-552-gcf83d12f3c [https://dl-cdn.alpinelinux.org/alpine/edge/community] - v20220328-551-g020ed744c4 [https://dl-cdn.alpinelinux.org/alpine/edge/testing] - OK: 36842 distinct packages available 2022-04-07 13:23.36 ---> saved as "dcd24dfcc032238ba4b66fef3d9523b81e6f485cce4336e43401d4849a9c8a57" /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 \"\\\"alpine-3.15\\\"\"; 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 "apk" "add" "python3" - (1/6) Installing libbz2 (1.0.8-r1) - (2/6) Installing libffi (3.4.2-r1) - (3/6) Installing gdbm (1.22-r0) - (4/6) Installing mpdecimal (2.5.1-r1) - (5/6) Installing sqlite-libs (3.36.0-r0) - (6/6) Installing python3 (3.9.7-r4) - Executing busybox-1.34.1-r5.trigger - OK: 276 MiB in 86 packages <><> 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:24.09 ---> saved as "48ebefef852eb5239a9e954e598cd1fd39da8118ddcaeb9cd7427b53f637ec8a" /home/opam: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apk" "update" - fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz - v3.15.4-2-g3643179f8d [https://dl-cdn.alpinelinux.org/alpine/v3.15/main] - v3.15.4-1-g2fa37fc144 [https://dl-cdn.alpinelinux.org/alpine/v3.15/community] - v20220328-545-g52f5afba90 [https://dl-cdn.alpinelinux.org/alpine/edge/main] - v20220328-552-gcf83d12f3c [https://dl-cdn.alpinelinux.org/alpine/edge/community] - v20220328-551-g020ed744c4 [https://dl-cdn.alpinelinux.org/alpine/edge/testing] - OK: 36842 distinct packages available 2022-04-07 13:24.14 ---> saved as "782a5e75ca5f80bdd737e50a556f56c1310c7bbaa4b147da827724e7ae7cfe25" /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 --with-test conf-python-3.9.0.0 && opam install -v --with-test 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 \"\\\"alpine-3.15\\\"\"; 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 conf-python-3 9.0.0* <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> removed conf-python-3.9.0.0 Done. # Run eval $(opam env) to update the current shell environment 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* <><> 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:25.07 ---> saved as "0cca670bab484cfe718f8d05603647706510856f25e63ecf46a6785f00895f91" Job succeeded 2022-04-07 13:25.51: Job succeeded