(for PR #27813)
2025-04-24 16:54.29: New job: build conf-openjdk.1, using opam 2.3 from https://github.com/ocaml/opam-repository.git#refs/pull/27813/head (546d1768a256366f015e57963a94e1209efa87fb) on alpine-3.21-ocaml-5.3/amd64 To reproduce locally: cd $(mktemp -d) git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27813/head" && git reset --hard 546d1768 git fetch origin master git merge --no-edit 8106bcf57fc33218275bbf0d02e725f4e9fcd0f6 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:87ba7e466cdd0681761cd2de151792ea6c957b7db80b9869e0213f8d7d502a2b USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam RUN opam init --reinit -ni RUN opam option solver=builtin-0install && opam config report ENV OPAMDOWNLOADJOBS="1" ENV OPAMERRLOGLEN="0" ENV OPAMPRECISETRACKING="1" ENV CI="true" ENV OPAM_REPO_CI="true" RUN rm -rf opam-repository/ COPY --chown=1000:1000 . opam-repository/ RUN opam repository set-url --strict default opam-repository/ RUN opam update --depexts || true RUN opam pin add -k version -yn conf-openjdk.1 1 RUN opam reinstall conf-openjdk.1; \ res=$?; \ test "$res" != 31 && exit "$res"; \ export OPAMCLI=2.0; \ build_dir=$(opam var prefix)/.opam-switch/build; \ failed=$(ls "$build_dir"); \ partial_fails=""; \ for pkg in $failed; do \ if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"alpine-3.21\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'conf-openjdk.1' && partial_fails="$partial_fails $pkg"; \ done; \ test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \ exit 1 END-OF-DOCKERFILE docker build -f ../Dockerfile . 2025-04-24 16:54.29: Using cache hint "ocaml/opam:alpine-3.21-ocaml-5.3@sha256:87ba7e466cdd0681761cd2de151792ea6c957b7db80b9869e0213f8d7d502a2b-conf-openjdk.1-546d1768a256366f015e57963a94e1209efa87fb" 2025-04-24 16:54.29: Using OBuilder spec: ((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:87ba7e466cdd0681761cd2de151792ea6c957b7db80b9869e0213f8d7d502a2b) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) (run (network host) (shell "opam init --reinit --config .opamrc-sandbox -ni")) (run (shell "opam option solver=builtin-0install && opam config report")) (env OPAMDOWNLOADJOBS 1) (env OPAMERRLOGLEN 0) (env OPAMPRECISETRACKING 1) (env CI true) (env OPAM_REPO_CI true) (run (shell "rm -rf opam-repository/")) (copy (src .) (dst opam-repository/)) (run (shell "opam repository set-url --strict default opam-repository/")) (run (network host) (shell "opam update --depexts || true")) (run (shell "opam pin add -k version -yn conf-openjdk.1 1")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-openjdk.1;\ \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 partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"alpine-3.21\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'conf-openjdk.1' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2025-04-24 16:54.29: Waiting for resource in pool OCluster 2025-04-24 16:54.30: Waiting for worker… 2025-04-24 16:54.30: Got resource from pool OCluster Building on asteria.caelum.ci.dev All commits already cached HEAD is now at 8106bcf57f Merge pull request #27808 from Octachron/Ocaml_5.4.0_branching Updating 8106bcf57f..546d1768a2 Fast-forward packages/conf-openjdk/conf-openjdk.1/opam | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:87ba7e466cdd0681761cd2de151792ea6c957b7db80b9869e0213f8d7d502a2b) 2025-04-24 16:54.59 ---> saved as "3a0750868e37f39d75850e1034b2aeedb01dc6ad885de5649223ccd84aefa220" /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-04-24 16:54.59 ---> saved as "23e3e0b49a544f8227a1ad6cb23668366668c1ee14cbc2988b4f8cca2498559d" /home/opam: (run (network host) (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.2, 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] Initialised 2025-04-24 16:55.29 ---> saved as "cfcf83049a9a5817d058e03d5878845fb512bd65ae3f09d81375007d7242d374" /home/opam: (run (shell "opam option solver=builtin-0install && opam config report")) Set to 'builtin-0install' the field solver in global configuration # opam config report # opam-version 2.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724) # self-upgrade no # system arch=x86_64 os=linux os-distribution=alpine os-version=3.21.3 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 255 # repositories 1 (version-controlled) # pinned 1 (version) # current-switch 5.3 # invariant ["ocaml-base-compiler" {>= "5.3.0"}] # compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 5.3.0 2025-04-24 16:55.30 ---> saved as "25215cc31c7b8afcf4d5844c2a387718e4cde51df07438b9a25c70e518286255" /home/opam: (env OPAMDOWNLOADJOBS 1) /home/opam: (env OPAMERRLOGLEN 0) /home/opam: (env OPAMPRECISETRACKING 1) /home/opam: (env CI true) /home/opam: (env OPAM_REPO_CI true) /home/opam: (run (shell "rm -rf opam-repository/")) 2025-04-24 16:55.39 ---> saved as "c0202cb7b5382c656e727093134d0d3682452f22b6f8ddd998f4ed30d2ad80dc" /home/opam: (copy (src .) (dst opam-repository/)) 2025-04-24 16:55.45 ---> saved as "15f87093347e3f556c2b529e58e18aa97c4077d27144b12b8a3201cd60aa2d8a" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-04-24 16:56.08 ---> saved as "65ee6239762de2258059b8a326008804d367c9e6057ca38a83e316223aa79805" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apk" "update" - fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/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.21.3-367-g89b0579b785 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main] - v3.21.3-369-ge41b08bbcff [https://dl-cdn.alpinelinux.org/alpine/v3.21/community] - v20250108-6487-g373d50cba7f [https://dl-cdn.alpinelinux.org/alpine/edge/main] - v20250108-6478-g88494f6b508 [https://dl-cdn.alpinelinux.org/alpine/edge/community] - v20250108-6479-g657dee57003 [https://dl-cdn.alpinelinux.org/alpine/edge/testing] - OK: 57914 distinct packages available 2025-04-24 16:56.09 ---> saved as "d89c799a11bc858294b6cd7677fcc89e1e0fd00d9fe5aa2415b9c3beaf295360" /home/opam: (run (shell "opam pin add -k version -yn conf-openjdk.1 1")) conf-openjdk is now pinned to version 1 2025-04-24 16:56.10 ---> saved as "22edf93e455859bf14511f61875b0fe9f2b06e495514d8a42742fd0011c3d055" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-openjdk.1;\ \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 partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"alpine-3.21\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'conf-openjdk.1' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) conf-openjdk.1 is not installed. Install it? [y/n] y The following actions will be performed: === install 1 package - install conf-openjdk 1 (pinned) The following system packages will first need to be installed: openjdk21@edgecommunity <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apk to install them (may need root/sudo access) 2. Display the recommended apk command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/bin/sudo "apk" "add" "openjdk21@edgecommunity" - (1/22) Installing java-common (0.5-r0) - (2/22) Installing libtasn1 (4.20.0-r0) - (3/22) Installing p11-kit (0.25.5-r2) - (4/22) Installing p11-kit-trust (0.25.5-r2) - (5/22) Installing java-cacerts (1.1-r0) - (6/22) Installing openjdk21-jre-headless (21.0.7_p6-r0) - (7/22) Installing libxext (1.3.6-r2) - (8/22) Installing libxi (1.8.2-r0) - (9/22) Installing libxrender (0.9.11-r5) - (10/22) Installing libxtst (1.2.5-r0) - (11/22) Installing alsa-lib (1.2.12-r0) - (12/22) Installing libpng (1.6.47-r0) - (13/22) Installing freetype (2.13.3-r0) - (14/22) Installing giflib (5.2.2-r1) - (15/22) Installing libjpeg-turbo (3.0.4-r0) - (16/22) Installing lcms2 (2.16-r0) - (17/22) Installing openjdk21-jre (21.0.7_p6-r0) - (18/22) Installing openjdk21-jmods (21.0.7_p6-r0) - (19/22) Installing openjdk21-jdk (21.0.7_p6-r0) - (20/22) Installing openjdk21-demos (21.0.7_p6-r0) - (21/22) Installing openjdk21-doc (21.0.7_p6-r0) - (22/22) Installing openjdk21@edgecommunity (21.0.7_p6-r0) - Executing busybox-1.37.0-r12.trigger - Executing ca-certificates-20241121-r1.trigger - Executing java-common-0.5-r0.trigger - OK: 600 MiB in 124 packages <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed conf-openjdk.1 Done. # To update the current shell environment, run: eval $(opam env) 2025-04-24 16:56.20 ---> saved as "8d9728ab8f2e71b109f9836364fab79ca18fcae47d4fb9d93574dd27ffad43a4" Job succeeded 2025-04-24 16:56.32: Job succeeded