- github
- ocaml
- opam-repository
- 913ae0
- compilers,5.2,ppx_repr.0.8.0,tests
(not at the head of any monitored branch or PR)
2025-11-25 15:40.38: New job: test ppx_repr.0.8.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28963/head (913ae0345c6304f0663d1c952f124a1bcdb7ee1d)
on debian-13-ocaml-5.2/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-5.2@sha256:e0ebd50d3a808340d83b89be7ec179dd5cc0ad96aae97c1a6f7942cf58be6020
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 ppx_repr.0.8.0 0.8.0
RUN opam reinstall ppx_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" != 'ppx_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 ppx_repr.0.8.0) || true
RUN opam reinstall --with-test --verbose ppx_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" != 'ppx_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-5.2@sha256:e0ebd50d3a808340d83b89be7ec179dd5cc0ad96aae97c1a6f7942cf58be6020-ppx_repr.0.8.0-913ae0345c6304f0663d1c952f124a1bcdb7ee1d"
2025-11-25 15:40.38: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.2@sha256:e0ebd50d3a808340d83b89be7ec179dd5cc0ad96aae97c1a6f7942cf58be6020)
(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 ppx_repr.0.8.0 0.8.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_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\" != 'ppx_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 ppx_repr.0.8.0) || true"))
(run (shell "opam reinstall --with-test --verbose ppx_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\" != 'ppx_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.42: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
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-5.2@sha256:e0ebd50d3a808340d83b89be7ec179dd5cc0ad96aae97c1a6f7942cf58be6020)
2025-11-25 15:42.39 ---> saved as "54eafbb8c2a16e449175617f61924ff5b3f21ec04bb0f266d2d9034a54b58ee9"
/: (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:42.39 ---> saved as "44362398238f7316dc7e8df220701f89b5bcf41ce24b4d9ae1f57acb46fcf35a"
/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:43.12 ---> saved as "b37041548ec2adf90583bcc034640552a35ced4edf27078e9ee9f29b3f943a14"
/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.2
# invariant ["ocaml-base-compiler" {= "5.2.1"}]
# compiler-packages ocaml-base-compiler.5.2.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.2/lib/ocaml/stublibs:/home/opam/.opam/5.2/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.2.1
2025-11-25 15:43.13 ---> saved as "896a1eaace4e5ae249991c799fbc6ad93da3bb636835b6ce7985c30d9198e4fc"
/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:43.24 ---> saved as "6b43ad19d1ae4853bff924a86cf04152727ef751bf565a4d65d42a6e8d13988a"
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-25 15:43.46 ---> saved as "bd3f08379f777fe62e11aa03c5ad97d67686f6f57bd626c9a9d270bb2628c59b"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-25 15:44.11 ---> saved as "515512b1c30c9a76174137a9330ce20be63e9aa21dae8fff6292ecb2538d27b8"
/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 2s (5391 kB/s)
- Reading package lists...
-
2025-11-25 15:44.14 ---> saved as "406721b2024a9a875a2ea6bd44c73d503a43d3ec5b9613430a3e9027740908c9"
/home/opam: (run (shell "opam pin add -k version -yn ppx_repr.0.8.0 0.8.0"))
ppx_repr is now pinned to version 0.8.0
2025-11-25 15:44.15 ---> saved as "6e8bb5a7624ca5c6e308fc29dd71b8a15965f595ec3fc3c88b633e2316498b9a"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_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\" != 'ppx_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"))
ppx_repr.0.8.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 19 packages
- install base64 3.5.2 [required by repr]
- install cppo 1.8.0 [required by ppx_deriving]
- install dune 3.20.2 [required by ppx_repr]
- install either 1.0.0 [required by repr]
- install fmt 0.11.0 [required by ppx_repr]
- install jsonm 1.0.2 [required by repr]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocamlbuild 0.16.1 [required by fmt]
- install ocamlfind 1.9.8 [required by fmt, ppx_deriving]
- install optint 0.3.0 [required by repr]
- install ppx_derivers 1.2.1 [required by ppx_deriving]
- install ppx_deriving 6.1.1 [required by ppx_repr]
- install ppx_repr 0.8.0 (pinned)
- install ppxlib 0.37.0 [required by ppx_repr]
- install repr 0.8.0 [required by ppx_repr]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install topkg 1.1.1 [required by fmt]
- install uutf 1.0.4 [required by repr]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2 (cached)
-> retrieved cppo.1.8.0 (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 ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.1.1 (cached)
-> retrieved ppx_repr.0.8.0, repr.0.8.0 (cached)
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> 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 ppx_derivers.1.2.1
-> installed either.1.0.0
-> installed base64.3.5.2
-> installed stdlib-shims.0.3.0
-> installed optint.0.3.0
-> installed sexplib0.v0.17.0
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed repr.0.8.0
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
-> installed ppx_repr.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-25 15:45.21 ---> saved as "579e88cc4c49df0bae5e229e611b557e8cd267657b03121fb4ff67d6af80af43"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ppx_repr.0.8.0) || true"))
The following actions will be performed:
=== recompile 5 packages
- recompile fmt 0.11.0 [uses cmdliner]
- recompile jsonm 1.0.2 [uses uutf]
- recompile ppx_repr 0.8.0 (pinned)
- recompile repr 0.8.0 [uses fmt, uutf]
- recompile uutf 1.0.4 [uses cmdliner]
=== install 7 packages
- install alcotest 1.9.1 [required by ppx_repr]
- install astring 0.8.5 [required by alcotest]
- install cmdliner 2.0.0 [required by alcotest]
- install cstruct 6.2.0 [required by hex]
- install hex 1.5.0 [required by ppx_repr]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install re 1.14.0 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1 (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5 (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.0.0 (https://opam.ocaml.org/cache)
-> retrieved cstruct.6.2.0 (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0 (https://opam.ocaml.org/cache)
-> retrieved hex.1.5.0 (https://opam.ocaml.org/cache)
-> retrieved jsonm.1.0.2 (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_repr.0.8.0, repr.0.8.0 (https://github.com/mirage/repr/releases/download/0.8.0/repr-0.8.0.tbz)
-> retrieved re.1.14.0 (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4 (https://opam.ocaml.org/cache)
-> installed ocaml-syntax-shims.1.0.0
-> installed astring.0.8.5
-> installed re.1.14.0
-> removed ppx_repr.0.8.0
-> removed repr.0.8.0
-> removed fmt.0.11.0
-> removed jsonm.1.0.2
-> removed uutf.1.0.4
-> installed cmdliner.2.0.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed cstruct.6.2.0
-> installed hex.1.5.0
-> installed alcotest.1.9.1
-> installed jsonm.1.0.2
-> installed repr.0.8.0
-> installed ppx_repr.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-25 15:45.50 ---> saved as "0ae8f56b73e68d6eaab60d3c8fb44c5259fe5e7fd1126f356e1894f0cb41282e"
/home/opam: (run (shell "opam reinstall --with-test --verbose ppx_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\" != 'ppx_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 ppx_repr 0.8.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [ppx_repr: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppx_repr" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ppx_repr.0.8.0)
- (cd _build/default/test/repr && ./main.exe)
- Testing `repr'.
- This run has ID `E95HORG1'.
-
- [OK] main 0 base.
- [OK] main 1 boxing.
- [OK] main 2 json.
- [OK] main 3 json_option.
- [OK] main 4 json_float.
- [OK] main 5 json_assoc.
- [OK] main 6 bin.
- [OK] main 7 to_string.
- [OK] main 8 pp_dump.
- [OK] main 9 pp_ty.
- [OK] main 10 compare.
- [OK] main 11 equal.
- [OK] main 12 random.
- [OK] main 13 ints.
- [OK] main 14 decode.
- [OK] main 15 test_variants.
- [OK] main 16 test_duplicate_names.
- [OK] main 17 test_malformed_utf8.
- [OK] main 18 test_stdlib_containers.
- [OK] size_of 0 primitive.
- [OK] size_of 1 int.
- [OK] size_of 2 container.
- [OK] size_of 3 variant.
- [OK] size_of 4 recursive.
- [OK] size_of 5 unknown.
- [OK] pre_hash 0 nested custom.
- [OK] pre_hash 1 injective.
-
- Full test results in `~/.opam/5.2/.opam-switch/build/ppx_repr.0.8.0/_build/default/test/repr/_build/_tests/repr'.
- Test Successful in 0.409s. 27 tests run.
-> compiled ppx_repr.0.8.0
-> removed ppx_repr.0.8.0
-> installed ppx_repr.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-25 15:46.05 ---> saved as "ee6e8ea2b6111250eb5b5c12e2b4f1a184fb7458aaacd287925c62ba9c695ade"
Job succeeded
2025-11-25 15:46.17: Job succeeded