- github
- ocaml
- opam-repository
- 913ae0
- compilers,4.09,repr.0.8.0,tests
(not at the head of any monitored branch or PR)
2025-11-25 15:40.38: New job: test repr.0.8.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28963/head (913ae0345c6304f0663d1c952f124a1bcdb7ee1d)
on debian-13-ocaml-4.09/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/28963/head" && git reset --hard 913ae034
git fetch origin master
git merge --no-edit c80b5ac03487baaaf2f482adf2347e782d0b673c
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.09@sha256:6b0e0e14ced928fe88354c90592c7b0b8ab852db826ca4908dbadfb01072bd9f
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 repr.0.8.0 0.8.0
RUN opam reinstall repr.0.8.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" != 'repr.0.8.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 repr.0.8.0) || true
RUN opam reinstall --with-test --verbose repr.0.8.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" != 'repr.0.8.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-25 15:40.38: Using cache hint "ocaml/opam:debian-13-ocaml-4.09@sha256:6b0e0e14ced928fe88354c90592c7b0b8ab852db826ca4908dbadfb01072bd9f-repr.0.8.0-913ae0345c6304f0663d1c952f124a1bcdb7ee1d"
2025-11-25 15:40.38: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.09@sha256:6b0e0e14ced928fe88354c90592c7b0b8ab852db826ca4908dbadfb01072bd9f)
(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 repr.0.8.0 0.8.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall repr.0.8.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\" != 'repr.0.8.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 repr.0.8.0) || true"))
(run (shell "opam reinstall --with-test --verbose repr.0.8.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\" != 'repr.0.8.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-25 15:40.38: Waiting for resource in pool OCluster
2025-11-25 15:40.40: Waiting for worker…
2025-11-25 15:40.40: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files: 94% (17756/18877)
Updating files: 95% (17934/18877)
Updating files: 96% (18122/18877)
Updating files: 97% (18311/18877)
Updating files: 98% (18500/18877)
Updating files: 99% (18689/18877)
Updating files: 100% (18877/18877)
Updating files: 100% (18877/18877), done.
HEAD is now at c80b5ac034 [MLCUDDIDL] supports 5.0 by removing modules (#28849)
Updating c80b5ac034..913ae0345c
Fast-forward
packages/ppx_repr/ppx_repr.0.8.0/opam | 47 ++++++++++++++++++++++++++++
packages/repr-bench/repr-bench.0.8.0/opam | 42 +++++++++++++++++++++++++
packages/repr-fuzz/repr-fuzz.0.8.0/opam | 40 ++++++++++++++++++++++++
packages/repr/repr.0.8.0/opam | 51 +++++++++++++++++++++++++++++++
4 files changed, 180 insertions(+)
create mode 100644 packages/ppx_repr/ppx_repr.0.8.0/opam
create mode 100644 packages/repr-bench/repr-bench.0.8.0/opam
create mode 100644 packages/repr-fuzz/repr-fuzz.0.8.0/opam
create mode 100644 packages/repr/repr.0.8.0/opam
(from ocaml/opam:debian-13-ocaml-4.09@sha256:6b0e0e14ced928fe88354c90592c7b0b8ab852db826ca4908dbadfb01072bd9f)
2025-11-25 15:40.59 ---> using "902edd850513a56d409116ac3afe7c6939ad48529d0fa1e08dbe967ab9e991e9" 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-25 15:40.59 ---> using "b468f4f13c70448a9c6481143b8d0956a103e7c4a1ef65d19efc0b0a69eeaee5" 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-25 15:40.59 ---> using "125f4c827c93bee3f070a1c22b09679c9e89f35b407ae2464b37680284a9a8bc" 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~rc1
# 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 4.09
# invariant ["ocaml-base-compiler" {= "4.09.1"}]
# compiler-packages ocaml-base-compiler.4.09.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.09/lib/ocaml/stublibs:/home/opam/.opam/4.09/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.09.1
2025-11-25 15:40.59 ---> using "54b8fbd11113d4d16b5ff7b9c401c8f2fdad1e8a514822db5ba72bd8ae23ad95" 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-25 15:40.59 ---> using "e32201c8d68f62a1a2844483698fedac16520e4cc7f4e6920768c03295b8a50a" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-25 15:41.06 ---> saved as "18edca7da4b52f076981cbd04e03d30cf9ba4afda4e12f0c0a29030e08a51975"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-25 15:41.28 ---> saved as "73b03627ef6fee3b69146c9a09173ab7538c5b4bea6989ae60ed276cedcfb07c"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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]
- Fetched 90.7 kB in 0s (796 kB/s)
- Reading package lists...
-
2025-11-25 15:41.31 ---> saved as "bcc89d6a061e5ccba543517295df1de3e3bea29d23c6bfb3248d4330225fa991"
/home/opam: (run (shell "opam pin add -k version -yn repr.0.8.0 0.8.0"))
repr is now pinned to version 0.8.0
2025-11-25 15:41.32 ---> saved as "be04da8536a12de7c02cccb4ae0de817a296ac44fb5a33572018b25f4f2591ad"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall repr.0.8.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\" != 'repr.0.8.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
repr.0.8.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 11 packages
- install base64 3.5.2 [required by repr]
- install dune 3.20.2 [required by repr]
- install either 1.0.0 [required by repr]
- install fmt 0.11.0 [required by repr]
- install jsonm 1.0.2 [required by repr]
- install ocamlbuild 0.16.1 [required by fmt, jsonm]
- install ocamlfind 1.9.8 [required by fmt, jsonm]
- install optint 0.3.0 [required by repr]
- install repr 0.8.0 (pinned)
- install topkg 1.1.1 [required by fmt, jsonm]
- install uutf 1.0.4 [required by repr]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2 (cached)
-> retrieved dune.3.20.2 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved repr.0.8.0 (https://github.com/mirage/repr/releases/download/0.8.0/repr-0.8.0.tbz)
-> retrieved topkg.1.1.1 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed jsonm.1.0.2
-> installed dune.3.20.2
-> installed either.1.0.0
-> installed base64.3.5.2
-> installed optint.0.3.0
-> installed repr.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-25 15:42.08 ---> saved as "94e212bd7deaafa14f02c4e17d4b3cfa9d8ec8a5dea275e9169f981a858b5ce3"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test repr.0.8.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile repr 0.8.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed repr.0.8.0
-> installed repr.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-25 15:42.14 ---> saved as "97f3c43b2415623a66d6008b725fa22e9cffc53edfc67e15bdea2168781d6ac4"
/home/opam: (run (shell "opam reinstall --with-test --verbose repr.0.8.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\" != 'repr.0.8.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 repr 0.8.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [repr: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "repr" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.09/.opam-switch/build/repr.0.8.0)
-> compiled repr.0.8.0
-> removed repr.0.8.0
-> installed repr.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-25 15:42.22 ---> saved as "460ebc2fc80dc19c3c74bfc8a9c982789b0f8bdcdc71f893a351c497dcd3f50a"
Job succeeded
2025-11-25 15:42.32: Job succeeded