- github
- ocaml
- opam-repository
- adc5db
- distributions,alpine-3.22-ocaml-4.14,pbrt_yojson.4.0,tests
(not at the head of any monitored branch or PR)
2025-11-19 19:31.57: New job: test pbrt_yojson.4.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28902/head (adc5db1552e3f9d4ca0762400bfebd1c1ac398e9)
on alpine-3.22-ocaml-4.14/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/28902/head" && git reset --hard adc5db15
git fetch origin master
git merge --no-edit fec8c490c3a00e719b359dce180fbfff342471f7
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:287617f3df10faa6d1de969ba1efa16ac4a795317a263c37c9223a29777129b4
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 pbrt_yojson.4.0 4.0
RUN opam reinstall pbrt_yojson.4.0; \
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.22\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'pbrt_yojson.4.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test pbrt_yojson.4.0) || true
RUN opam reinstall --with-test --verbose pbrt_yojson.4.0; \
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.22\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'pbrt_yojson.4.0' && 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-11-19 19:31.57: Using cache hint "ocaml/opam:alpine-3.22-ocaml-4.14@sha256:287617f3df10faa6d1de969ba1efa16ac4a795317a263c37c9223a29777129b4-pbrt_yojson.4.0-adc5db1552e3f9d4ca0762400bfebd1c1ac398e9"
2025-11-19 19:31.57: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:287617f3df10faa6d1de969ba1efa16ac4a795317a263c37c9223a29777129b4)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /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 pbrt_yojson.4.0 4.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall pbrt_yojson.4.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 partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'pbrt_yojson.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test pbrt_yojson.4.0) || true"))
(run (shell "opam reinstall --with-test --verbose pbrt_yojson.4.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 partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'pbrt_yojson.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-11-19 19:31.57: Waiting for resource in pool OCluster
2025-11-19 19:32.05: Waiting for worker…
2025-11-19 19:35.51: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at fec8c490c3 Merge pull request #28851 from jhjourdan/unison_release
Updating fec8c490c3..adc5db1552
Fast-forward
packages/ocaml-protoc/ocaml-protoc.4.0/opam | 42 +++++++++++++++++++++++++++
packages/pbrt/pbrt.4.0/opam | 40 +++++++++++++++++++++++++
packages/pbrt_services/pbrt_services.4.0/opam | 38 ++++++++++++++++++++++++
packages/pbrt_yojson/pbrt_yojson.4.0/opam | 41 ++++++++++++++++++++++++++
4 files changed, 161 insertions(+)
create mode 100644 packages/ocaml-protoc/ocaml-protoc.4.0/opam
create mode 100644 packages/pbrt/pbrt.4.0/opam
create mode 100644 packages/pbrt_services/pbrt_services.4.0/opam
create mode 100644 packages/pbrt_yojson/pbrt_yojson.4.0/opam
(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:287617f3df10faa6d1de969ba1efa16ac4a795317a263c37c9223a29777129b4)
2025-11-19 19:36.13 ---> using "e821dfb516735d95fc106a94c8aeaffc526d092fbab635f4d2de2aa18466fa73" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-19 19:36.13 ---> using "c3dacfe5f027b4e4874ff85989916479fc3947b473da44a1cc4476107e52e326" from cache
/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.
Continue? [Y/n] y
This 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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-19 19:36.13 ---> using "b0bd82b7d89a72e8b219df312891ca6aea33850beac3c50ed03448067c69dc82" from cache
/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.5.0~beta1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=alpine os-version=3.22.2
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-11-19 19:36.13 ---> using "93bb73e5f9ccec331e3eaa3d15a5a186ff0a32f3ed67b540845d90e33bca4cc7" from cache
/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-11-19 19:36.13 ---> using "156ff08d14e44e149299dc066e128086cdb80d8b66302305b70d4a468740039c" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-19 19:36.35 ---> saved as "10b59521a5cf60bf7188a74e2026eb9f53ae2fbaabf1194c1532fcfbd91ccbd7"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-19 19:36.58 ---> saved as "1637542c22d418f717397a4666826750cc7a9f02144289ee2e5620be6ccf4402"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/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.22.2-215-gdba36b915ea [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-219-g83da0fc9bea [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20251016-2657-g1a96f37c7bf [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20251016-2657-g1a96f37c7bf [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20251016-2652-g39a331aacdd [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60176 distinct packages available
2025-11-19 19:37.01 ---> saved as "00a2c5cdd44fee1e8325ed625b84e60a43d70f6e5d34b4270c169f55f91ffbbc"
/home/opam: (run (shell "opam pin add -k version -yn pbrt_yojson.4.0 4.0"))
pbrt_yojson is now pinned to version 4.0
2025-11-19 19:37.02 ---> saved as "cab84f314d6e167bb43a8dffe35c2e9b519e3743efcfcb6634e097f028b58789"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall pbrt_yojson.4.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 partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'pbrt_yojson.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
pbrt_yojson.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 4 packages
- install base64 3.5.2 [required by pbrt_yojson]
- install dune 3.20.2 [required by pbrt_yojson]
- install pbrt_yojson 4.0 (pinned)
- install yojson 3.0.0 [required by pbrt_yojson]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2 (cached)
-> retrieved dune.3.20.2 (cached)
-> retrieved pbrt_yojson.4.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed dune.3.20.2
-> installed base64.3.5.2
-> installed yojson.3.0.0
-> installed pbrt_yojson.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 19:37.40 ---> saved as "72bb6158c0d2dd3b6de95d1a77fab6d4788345292a374bc6c628e8dd982ecce1"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test pbrt_yojson.4.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile pbrt_yojson 4.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed pbrt_yojson.4.0
-> installed pbrt_yojson.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 19:37.48 ---> saved as "fbba77fedca0faf0c394e0083371f821f73d8bd40726a387d85f1f9a7a5fbabf"
/home/opam: (run (shell "opam reinstall --with-test --verbose pbrt_yojson.4.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 partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'pbrt_yojson.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile pbrt_yojson 4.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [pbrt_yojson: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "pbrt_yojson" "-j" "71" "@install" "@src/tests/yojson/runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/pbrt_yojson.4.0)
-> compiled pbrt_yojson.4.0
-> removed pbrt_yojson.4.0
-> installed pbrt_yojson.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 19:37.54 ---> saved as "b41e6ac1eb408ecd9d384fedec7de1fb9feffafd5375f8b78d3eaf038da1406f"
Job succeeded
2025-11-19 19:38.05: Job succeeded