- github
- ocaml
- opam-repository
- adc5db
- compilers,5.1,pbrt.4.0,tests
(not at the head of any monitored branch or PR)
2025-11-19 19:31.56: New job: test pbrt.4.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28902/head (adc5db1552e3f9d4ca0762400bfebd1c1ac398e9)
on debian-13-ocaml-5.1/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:debian-13-ocaml-5.1@sha256:ef3bd03550dd55aca765c1fa6843c35b635b0a59f309878c134832f9f58a2a4e
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.4.0 4.0
RUN opam reinstall pbrt.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 "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'pbrt.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.4.0) || true
RUN opam reinstall --with-test --verbose pbrt.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 "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'pbrt.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.56: Using cache hint "ocaml/opam:debian-13-ocaml-5.1@sha256:ef3bd03550dd55aca765c1fa6843c35b635b0a59f309878c134832f9f58a2a4e-pbrt.4.0-adc5db1552e3f9d4ca0762400bfebd1c1ac398e9"
2025-11-19 19:31.56: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.1@sha256:ef3bd03550dd55aca765c1fa6843c35b635b0a59f309878c134832f9f58a2a4e)
(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.4.0 4.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall pbrt.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 \"\\\"debian-13\\\"\"; 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.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.4.0) || true"))
(run (shell "opam reinstall --with-test --verbose pbrt.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 \"\\\"debian-13\\\"\"; 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.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.56: Waiting for resource in pool OCluster
2025-11-19 19:31.58: Waiting for worker…
2025-11-19 19:31.59: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
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:debian-13-ocaml-5.1@sha256:ef3bd03550dd55aca765c1fa6843c35b635b0a59f309878c134832f9f58a2a4e)
2025-11-19 19:33.08 ---> using "45f4a4cb9488d3f242465043b202fc2df6e6978cf979fd1765b51d3de4111677" 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:33.08 ---> using "6237150a55a61572fff44471b5f5c7ad67ad0e4fa6ed2f664309fe1c7fe39de9" 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.
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.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-19 19:33.08 ---> using "9e90cd9acb7d1c74ff1d88d6c07dc5eec858c0b1a4f4465f9b830cb8423fdb16" 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=debian os-version=13
# 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 5.1
# invariant ["ocaml-base-compiler" {= "5.1.1"}]
# compiler-packages ocaml-base-compiler.5.1.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.1/lib/ocaml/stublibs:/home/opam/.opam/5.1/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.1.1
2025-11-19 19:33.08 ---> using "f7ab75400b13a8335d8947bb7d727221476a3401d3d0c8937789ef79cce0ac71" 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:33.08 ---> using "227c57b0f417b543801950927d9df773a3fb232cb5069930fe45665ddceb46d4" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-19 19:33.11 ---> saved as "19d18437fc628c048e866be569befa647b6aea9870bccae3d0706490fb5025ae"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-19 19:33.32 ---> saved as "9f5a1b7289e3833ba567cb61ac692316540e47e85a8394112c825de82e8ae064"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [71.8 kB]
- Fetched 9973 kB in 6s (1622 kB/s)
- Reading package lists...
-
2025-11-19 19:33.40 ---> saved as "250061c8254c6358b36d74fb5d32faa7cf888a700ed6fc9743a2273c59127fd7"
/home/opam: (run (shell "opam pin add -k version -yn pbrt.4.0 4.0"))
pbrt is now pinned to version 4.0
2025-11-19 19:33.40 ---> saved as "6eb9a219f86033ade6127e2cfb423327b76677fa50253d596cdd6cc94a061743"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall pbrt.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 \"\\\"debian-13\\\"\"; 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.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.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install dune 3.20.2 [required by pbrt]
- install pbrt 4.0 (pinned)
- install stdlib-shims 0.3.0 [required by pbrt]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.2 (cached)
-> retrieved pbrt.4.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.20.2
-> installed stdlib-shims.0.3.0
-> installed pbrt.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 19:34.13 ---> saved as "3db7e48167df9c0470f2f2a2b81fa99e09a3b5cd7206bd1a7d5736cd53557c8b"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test pbrt.4.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile pbrt 4.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed pbrt.4.0
-> installed pbrt.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 19:34.20 ---> saved as "8bab36914c1e196afa3c7673c766dca6964c8eae2fcc8bfd9efe4615c2e02567"
/home/opam: (run (shell "opam reinstall --with-test --verbose pbrt.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 \"\\\"debian-13\\\"\"; 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.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 4.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [pbrt: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "pbrt" "-j" "71" "@install" "@src/tests/unit-tests/pbrt/runtest" (CWD=/home/opam/.opam/5.1/.opam-switch/build/pbrt.4.0)
-> compiled pbrt.4.0
-> removed pbrt.4.0
-> installed pbrt.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 19:34.28 ---> saved as "4c2fa84996bb6b5fd45a096562d23c1e52791ced10979a6fd03a72946e4fd879"
Job succeeded
2025-11-19 19:35.04: Job succeeded