Build:
- 0
2025-12-03 21:27.11: New job: test dockerfile.8.3.4, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29021/head (7009d47a555f413e286737807f043c0069eee471)
on debian-13-ocaml-4.14-flambda-fp/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/29021/head" && git reset --hard 7009d47a
git fetch origin master
git merge --no-edit d126db7f3538437450adc43cd0d4ab31ebe228d8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14-flambda-fp@sha256:acb7397e19b0ea9326753256d8c667734f2bad4acbdaa8bfccf62ce3a0617c61
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 dockerfile.8.3.4 8.3.4
RUN opam reinstall dockerfile.8.3.4; \
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" != 'dockerfile.8.3.4' && 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 dockerfile.8.3.4) || true
RUN opam reinstall --with-test --verbose dockerfile.8.3.4; \
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" != 'dockerfile.8.3.4' && 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-12-03 21:27.11: Using cache hint "ocaml/opam:debian-13-ocaml-4.14-flambda-fp@sha256:acb7397e19b0ea9326753256d8c667734f2bad4acbdaa8bfccf62ce3a0617c61-dockerfile.8.3.4-7009d47a555f413e286737807f043c0069eee471"
2025-12-03 21:27.11: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-flambda-fp@sha256:acb7397e19b0ea9326753256d8c667734f2bad4acbdaa8bfccf62ce3a0617c61)
(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 dockerfile.8.3.4 8.3.4"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dockerfile.8.3.4;\
\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\" != 'dockerfile.8.3.4' && 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 dockerfile.8.3.4) || true"))
(run (shell "opam reinstall --with-test --verbose dockerfile.8.3.4;\
\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\" != 'dockerfile.8.3.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-12-03 21:27.11: Waiting for resource in pool OCluster
2025-12-03 21:27.16: Waiting for worker…
2025-12-03 21:31.10: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at d126db7f35 Merge pull request #29011 from hannesm/mark-old-ocaml-compilers-unmaintained
Updating d126db7f35..7009d47a55
Fast-forward
packages/dockerfile-cmd/dockerfile-cmd.8.3.4/opam | 73 ++++++++++++++++++++++
.../dockerfile-opam/dockerfile-opam.8.3.4/opam | 71 +++++++++++++++++++++
packages/dockerfile/dockerfile.8.3.4/opam | 67 ++++++++++++++++++++
3 files changed, 211 insertions(+)
create mode 100644 packages/dockerfile-cmd/dockerfile-cmd.8.3.4/opam
create mode 100644 packages/dockerfile-opam/dockerfile-opam.8.3.4/opam
create mode 100644 packages/dockerfile/dockerfile.8.3.4/opam
(from ocaml/opam:debian-13-ocaml-4.14-flambda-fp@sha256:acb7397e19b0ea9326753256d8c667734f2bad4acbdaa8bfccf62ce3a0617c61)
2025-12-03 21:31.15 ---> using "54c8790255c7eab17af19ecea714c89b306b3b43c01449fb377085f5fd9dea2a" 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-12-03 21:31.15 ---> using "421f2d35e1d58700ec7de1c1ba525235abac2a163e8575e5c8cae0d15e030287" 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-12-03 21:31.43 ---> saved as "78d2c5b18054a881c24e6a4611a73435e85f0a594b3991abfe9f690237684c86"
/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
# 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.14
# invariant ["ocaml-options-only-flambda-fp"]
# compiler-packages ocaml-option-flambda.1, ocaml-option-fp.1, ocaml-options-only-flambda-fp.1, ocaml-variants.4.14.2+options
# 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+options+fp+flambda
2025-12-03 21:31.45 ---> saved as "709c641ae7e0ad32b554d532afc3945d01e585a4d892122503763cbe03fbe3ed"
/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-12-03 21:31.56 ---> saved as "5eb048427eae93e0ccf4dc9a8e2d56a828f22b293aa8dc2edd9bc5093ab49b20"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-03 21:32.10 ---> saved as "ce8dc088af4110320dca8297a258052e340de07727e01a06381535d7136d7bf4"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-03 21:32.34 ---> saved as "ce97c9ab71f3a20a6b031bb82fbbc5d3e2c891c94d510d83d92f04f27e7a462c"
/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]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [80.9 kB]
- Fetched 172 kB in 0s (1119 kB/s)
- Reading package lists...
-
2025-12-03 21:32.36 ---> saved as "2d9c5786b2f99e382e3734cfd066fddd4f7dafd83b745eeef40067862ff23d00"
/home/opam: (run (shell "opam pin add -k version -yn dockerfile.8.3.4 8.3.4"))
dockerfile is now pinned to version 8.3.4
2025-12-03 21:32.37 ---> saved as "aacdab703f91d9e3f6650ba83964a318ebd13bcc93d307e54e4fd11393bddc3c"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dockerfile.8.3.4;\
\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\" != 'dockerfile.8.3.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dockerfile.8.3.4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 15 packages
- install base v0.16.4 [required by ppx_sexp_conv]
- install csexp 1.5.2 [required by dune-configurator]
- install dockerfile 8.3.4 (pinned)
- install dune 3.20.2 [required by dockerfile]
- install dune-configurator 3.20.2 [required by base]
- install fmt 0.11.0 [required by dockerfile]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ocamlbuild 0.16.1 [required by fmt]
- install ocamlfind 1.9.8 [required by fmt]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_sexp_conv v0.16.0 [required by dockerfile]
- install ppxlib 0.35.0 [required by ppx_sexp_conv]
- install sexplib0 v0.16.0 [required by dockerfile]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install topkg 1.1.1 [required by fmt]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dockerfile.8.3.4 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.16.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed dune-configurator.3.20.2
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.16.0
-> installed dockerfile.8.3.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-03 21:34.00 ---> saved as "ff348dea44a5c2e71de264f03b8f7d1413d039acd66d7f4a81699fb3e49a16bd"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test dockerfile.8.3.4) || true"))
The following actions will be performed:
=== recompile 2 packages
- recompile dockerfile 8.3.4 (pinned)
- recompile fmt 0.11.0 [uses cmdliner]
=== install 6 packages
- install alcotest 1.9.1 [required by dockerfile]
- install astring 0.8.5 [required by alcotest]
- install cmdliner 2.1.0 [required by alcotest]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install re 1.14.0 [required by alcotest]
- install uutf 1.0.4 [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.1.0 (https://opam.ocaml.org/cache)
-> retrieved dockerfile.8.3.4 (https://github.com/ocurrent/ocaml-dockerfile/releases/download/8.3.4/ocaml-dockerfile-8.3.4.tbz)
-> retrieved fmt.0.11.0 (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0 (https://opam.ocaml.org/cache)
-> 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 dockerfile.8.3.4
-> removed fmt.0.11.0
-> installed cmdliner.2.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed alcotest.1.9.1
-> installed dockerfile.8.3.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-03 21:34.22 ---> saved as "d9b60968a0feed40d253f808b34549c4fabae661dfc8c4b5ec26a4ad315d9006"
/home/opam: (run (shell "opam reinstall --with-test --verbose dockerfile.8.3.4;\
\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\" != 'dockerfile.8.3.4' && 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 dockerfile 8.3.4 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [dockerfile.8.3.4: extract]
-> retrieved dockerfile.8.3.4 (cached)
Processing 2/4: [dockerfile: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dockerfile" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dockerfile.8.3.4)
- (cd _build/default/test && ./dockerfile.exe)
- Testing `test'.
- This run has ID `KC00YDJU'.
-
- [OK] dockerfile 0 string_of_t.
- [OK] dockerfile 1 string_of_t.
- [OK] dockerfile 2 Format RUN heredocs.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/dockerfile.8.3.4/_build/default/test/_build/_tests/test'.
- Test Successful in 0.000s. 3 tests run.
-> compiled dockerfile.8.3.4
-> removed dockerfile.8.3.4
-> installed dockerfile.8.3.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-03 21:34.30 ---> saved as "306eea34ca0012e81fbcf0f2087ca167ed98c4974a3743d37ed9f5c663962e66"
Job succeeded
2025-12-03 21:34.36: Job succeeded