- github
- ocaml
- opam-repository
- adc5db
- distributions,fedora-42-ocaml-4.14,ocaml-protoc.4.0,tests
(not at the head of any monitored branch or PR)
2025-11-19 19:31.57: New job: test ocaml-protoc.4.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28902/head (adc5db1552e3f9d4ca0762400bfebd1c1ac398e9)
on fedora-42-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:fedora-42-ocaml-4.14@sha256:181d824b1275534c2a566e7c509ad41fb7f77e7d243a4f2953f6edcda0217432
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 ocaml-protoc.4.0 4.0
RUN opam reinstall ocaml-protoc.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 "\"fedora-42\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-protoc.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 ocaml-protoc.4.0) || true
RUN opam reinstall --with-test --verbose ocaml-protoc.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 "\"fedora-42\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-protoc.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:fedora-42-ocaml-4.14@sha256:181d824b1275534c2a566e7c509ad41fb7f77e7d243a4f2953f6edcda0217432-ocaml-protoc.4.0-adc5db1552e3f9d4ca0762400bfebd1c1ac398e9"
2025-11-19 19:31.57: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:181d824b1275534c2a566e7c509ad41fb7f77e7d243a4f2953f6edcda0217432)
(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 ocaml-protoc.4.0 4.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-protoc.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 \"\\\"fedora-42\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-protoc.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 ocaml-protoc.4.0) || true"))
(run (shell "opam reinstall --with-test --verbose ocaml-protoc.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 \"\\\"fedora-42\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-protoc.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.00: Waiting for worker…
2025-11-19 19:34.54: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files: 98% (18540/18783)
Updating files: 99% (18596/18783)
Updating files: 100% (18783/18783)
Updating files: 100% (18783/18783), done.
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:fedora-42-ocaml-4.14@sha256:181d824b1275534c2a566e7c509ad41fb7f77e7d243a4f2953f6edcda0217432)
2025-11-19 19:34.56 ---> using "9ed726754034292a989d384c5e0562ef32e5e71bf08fd3d16d06fb401232a35b" 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:34.56 ---> using "5ddcea2cc026aa15b8649d174020c07351c2e6a5a71ba740f5955efdce816e9a" 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:34.56 ---> using "490cc7101b0ae828d868d0ce0c06f49c536e34a76823b07c01c0ebe9a8798ff0" 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=fedora os-version=42
# 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:34.56 ---> using "b0bc7d1045f930b3ebaca9ae8df970d2d4e9019632f618c87f4ffa9da06f904e" 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:34.56 ---> using "609e874fd9076ed8485bc84fd55d37c3b5223786facbef645442c57f0db599fd" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-19 19:35.17 ---> saved as "4063205aad2e8ec73b606903f26817a730f3f177604a939c6449ad7ec85e1cfd"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-19 19:35.38 ---> saved as "ba314f25ca45ff64530007dabe9a46ab4d4418417bc739c4ee171d9f18c7b9e4"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 42 - x86_64 - Updates 100% | 71.7 KiB/s | 21.3 KiB | 00m00s
- Repositories loaded.
- Metadata cache created.
2025-11-19 19:35.44 ---> saved as "c7f56f41c928e34e2deac792bc7a80a5d9e945039bfbb5abcef790944aa92da8"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-protoc.4.0 4.0"))
ocaml-protoc is now pinned to version 4.0
2025-11-19 19:35.46 ---> saved as "fe83a329233519c13ecde3460a4c6a7d51a89b65c17f800f08b5b7f9e44164b4"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-protoc.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 \"\\\"fedora-42\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-protoc.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"))
ocaml-protoc.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 4 packages
- install dune 3.20.2 [required by ocaml-protoc]
- install ocaml-protoc 4.0 (pinned)
- install pbrt 4.0 [required by ocaml-protoc]
- install stdlib-shims 0.3.0 [required by pbrt]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.2 (cached)
-> retrieved ocaml-protoc.4.0, 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
-> installed ocaml-protoc.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 19:36.19 ---> saved as "ae3f2c0b63e7e4a3eac4079ed2117a08914b56b61f9dc883acc1786c11d3d6e6"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ocaml-protoc.4.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile ocaml-protoc 4.0 (pinned)
=== install 11 packages
- install base64 3.5.2 [required by pbrt_yojson]
- install cppo 1.8.0 [required by ppx_deriving]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ocamlfind 1.9.8 [required by ppx_deriving]
- install pbrt_services 4.0 [required by ocaml-protoc]
- install pbrt_yojson 4.0 [required by ocaml-protoc]
- install ppx_derivers 1.2.1 [required by ppx_deriving]
- install ppx_deriving 6.1.1 [required by ocaml-protoc]
- install ppxlib 0.37.0 [required by ppx_deriving]
- install sexplib0 v0.17.0 [required by ppxlib]
- install yojson 3.0.0 [required by pbrt_yojson]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2 (https://opam.ocaml.org/cache)
-> retrieved cppo.1.8.0 (https://opam.ocaml.org/cache)
-> retrieved ocaml-compiler-libs.v0.12.4 (https://opam.ocaml.org/cache)
-> installed base64.3.5.2
-> retrieved ocaml-protoc.4.0, pbrt_services.4.0, pbrt_yojson.4.0 (https://github.com/mransan/ocaml-protoc/releases/download/v4.0/ocaml-protoc-4.0.tbz)
-> retrieved ocamlfind.1.9.8 (https://opam.ocaml.org/cache)
-> retrieved ppx_derivers.1.2.1 (https://opam.ocaml.org/cache)
-> retrieved ppx_deriving.6.1.1 (https://opam.ocaml.org/cache)
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.37.0 (https://opam.ocaml.org/cache)
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> retrieved sexplib0.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved yojson.3.0.0 (https://opam.ocaml.org/cache)
-> installed sexplib0.v0.17.0
-> installed yojson.3.0.0
-> installed pbrt_yojson.4.0
-> removed ocaml-protoc.4.0
-> installed ocamlfind.1.9.8
-> installed pbrt_services.4.0
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
-> installed ocaml-protoc.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 19:36.57 ---> saved as "8611bdda106ec6c112768583ac2c422865001183a462c320b2191642abceff61"
/home/opam: (run (shell "opam reinstall --with-test --verbose ocaml-protoc.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 \"\\\"fedora-42\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-protoc.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 ocaml-protoc 4.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [ocaml-protoc: dune subst]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "subst" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocaml-protoc.4.0)
Processing 2/4: [ocaml-protoc: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocaml-protoc" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocaml-protoc.4.0)
- (cd _build/default/src/tests/unit-tests && ./graph_test.exe)
- Graph Test ... Ok
- (cd _build/default/src/tests/unit-tests && ./pbtt_compile_p1.exe)
- Pbtt Compile P1 ... Ok
- (cd _build/default/src/tests/unit-tests && ./pbtt_compile_p2.exe)
- Pbtt Compile P2 ... Ok
- (cd _build/default/src/tests/unit-tests && ./parse_message.exe)
- Parse Message ... Ok
- Parse Message ... Ok
- (cd _build/default/src/tests/unit-tests && ./verify_syntax_invariants.exe)
- Verify syntax invariants ... Ok
- (cd _build/default/src/tests/unit-tests && ./parse_field_options.exe)
- Parse Field Options ... Ok
- (cd _build/default/src/tests/unit-tests && ./parse_import.exe)
- Parse Import ... Ok
- (cd _build/default/src/tests/unit-tests && ./parse_enum.exe)
- Parse Enum ... Ok
- (cd _build/default/src/tests/unit-tests && ./parse_file_options.exe)
- Parse File Options ... Ok
- (cd _build/default/src/tests/yojson && ./yojson_unittest_ml.exe)
- {"basic":[{"name":"basic0"}],"repeatedEnum":["VALUE0","Value1","Value_Two"],"singleOneOfRecursive":{"recursiveValue":{"smallMessage":{"smString":"This \"IS\" a small string"}}},"singleOneOfSmallMessage":{"smallMessage":{"smString":"This \"IS\" a small string"}},"singleOneOfEnum":{"enumValue":"VALUE0"},"singleOneOfInt":{"intValue":-273962069},"singleOneOfString":{"stringValue":"This is the single one \"string\""},"testEnum2":"Value_Two","testEnum1":"Value1","testEnum0":"VALUE0","allBasicTypes":{"repeated14":["This is a test \"string\""],"repeated13":[true],"repeated10":["-1464888499971052629"],"repeated09":[-268435457],"repeated08":["-1464888499971052629"],"repeated07":[-268435457],"repeated06":["8911405041490570155"],"repeated05":[2147483647],"repeated04":["-1464888499971052629"],"repeated03":[-268435457],"repeated02":[1.2],"repeated01":["1.2000001"],"field14":"This is a test \"string\"","field13":true,"field10":"-1464888499971052629","field09":-268435457,"field08":"-1464888499971052629","field07":-268435457,"field06":"8911405041490570155","field05":2147483647,"field04":"-1464888499971052629","field03":-268435457,"field02":1.2,"field01":"1.2000001"}}
-
- Consistency tests... Ok
-
- Conformance tests ... Ok
- (cd _build/default/src/tests/google_unittest && ./google_unittest.exe)
- Google unittest .... OK
-> compiled ocaml-protoc.4.0
-> removed ocaml-protoc.4.0
-> installed ocaml-protoc.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 19:37.11 ---> saved as "6aecf5f05259a014dbad77505b24d6652863b5298fff78808fe2e6fd89b77112"
Job succeeded
2025-11-19 19:37.49: Job succeeded