- github
- ocaml
- opam-repository
- d050d0
- distributions,alpine-3.23-ocaml-5.4,dockerfile-cmd.8.3.8
(not at the head of any monitored branch or PR)
2026-05-04 18:49.01: New job: build dockerfile-cmd.8.3.8, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29843/head (d050d0001516b25d1ccda860cb4e9f79161ace3a)
on alpine-3.23-ocaml-5.4/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/29843/head" && git reset --hard d050d000
git fetch origin master
git merge --no-edit ade76687fbc9001333af45d7dd28419a7869b2ae
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.23-ocaml-5.4@sha256:4844f73058b692f3aec45d56e4a564e3450b3d2726baa495cf7325ec9d2350fc
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-cmd.8.3.8 8.3.8
RUN opam reinstall dockerfile-cmd.8.3.8; \
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 "\"alpine-3.23\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'dockerfile-cmd.8.3.8' && 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 .
2026-05-04 18:49.01: Using cache hint "ocaml/opam:alpine-3.23-ocaml-5.4@sha256:4844f73058b692f3aec45d56e4a564e3450b3d2726baa495cf7325ec9d2350fc-dockerfile-cmd.8.3.8-d050d0001516b25d1ccda860cb4e9f79161ace3a"
2026-05-04 18:49.01: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:4844f73058b692f3aec45d56e4a564e3450b3d2726baa495cf7325ec9d2350fc)
(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-cmd.8.3.8 8.3.8"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dockerfile-cmd.8.3.8;\
\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 \"\\\"alpine-3.23\\\"\"; 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-cmd.8.3.8' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-05-04 18:49.01: Waiting for resource in pool OCluster
2026-05-04 18:49.02: Waiting for worker…
2026-05-04 18:49.05: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files: 97% (18435/18908)
Updating files: 98% (18530/18908)
Updating files: 99% (18719/18908)
Updating files: 100% (18908/18908)
Updating files: 100% (18908/18908), done.
HEAD is now at ade76687fb Merge pull request #29842 from dinosaure/release-stem-v0.0.1
Updating ade76687fb..d050d00015
Fast-forward
packages/dockerfile-cmd/dockerfile-cmd.8.3.8/opam | 73 ++++++++++++++++++++++
.../dockerfile-opam/dockerfile-opam.8.3.8/opam | 71 +++++++++++++++++++++
packages/dockerfile/dockerfile.8.3.8/opam | 67 ++++++++++++++++++++
3 files changed, 211 insertions(+)
create mode 100644 packages/dockerfile-cmd/dockerfile-cmd.8.3.8/opam
create mode 100644 packages/dockerfile-opam/dockerfile-opam.8.3.8/opam
create mode 100644 packages/dockerfile/dockerfile.8.3.8/opam
(from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:4844f73058b692f3aec45d56e4a564e3450b3d2726baa495cf7325ec9d2350fc)
Unable to find image 'ocaml/opam:alpine-3.23-ocaml-5.4@sha256:4844f73058b692f3aec45d56e4a564e3450b3d2726baa495cf7325ec9d2350fc' locally
docker.io/ocaml/opam@sha256:4844f73058b692f3aec45d56e4a564e3450b3d2726baa495cf7325ec9d2350fc: Pulling from ocaml/opam
6a0ac1617861: Already exists
9630673831f3: Already exists
4cffb540229a: Already exists
aa3cee094119: Already exists
f2700202f619: Already exists
33135c7375d5: Already exists
1ea4b64ae955: Already exists
ca34ef70eda1: Already exists
d4998b6f8f35: Already exists
4a43cfe8648c: Already exists
453dd28eaace: Already exists
a962f0379f0a: Already exists
b68882dcbbd8: Already exists
3f63b4eac828: Already exists
0720e1e1068a: Already exists
0676d4d6023a: Already exists
0ab690805f49: Already exists
fc0af979c0fe: Already exists
4f4fb700ef54: Already exists
63f1d0bef8ae: Already exists
43fd6995d88f: Already exists
c775bfb331ab: Already exists
a7a9b5ed8780: Already exists
86ac791930d3: Already exists
2e34d70b785c: Already exists
56c554cb0baa: Already exists
0109b7ea4beb: Already exists
a72aa581a14e: Already exists
0b969b88b90b: Already exists
d1ae0e2bf910: Already exists
cfd8efe5a061: Already exists
cac47c5c71ca: Already exists
0789edf993f4: Already exists
bfdb5e6b1847: Already exists
58bc33feccda: Already exists
1a9fb6ceaf2b: Already exists
3ebd1efd1da6: Already exists
8e96b4de80a3: Pulling fs layer
95e95a115420: Pulling fs layer
e06070040291: Pulling fs layer
84b2469f2a2a: Pulling fs layer
e877306222f4: Pulling fs layer
84b2469f2a2a: Waiting
43371e78182e: Pulling fs layer
e877306222f4: Waiting
43371e78182e: Waiting
8e96b4de80a3: Download complete
8e96b4de80a3: Pull complete
95e95a115420: Download complete
95e95a115420: Pull complete
84b2469f2a2a: Download complete
e877306222f4: Verifying Checksum
e877306222f4: Download complete
e06070040291: Verifying Checksum
e06070040291: Download complete
43371e78182e: Verifying Checksum
e06070040291: Pull complete
84b2469f2a2a: Pull complete
e877306222f4: Pull complete
43371e78182e: Pull complete
Digest: sha256:4844f73058b692f3aec45d56e4a564e3450b3d2726baa495cf7325ec9d2350fc
Status: Downloaded newer image for ocaml/opam@sha256:4844f73058b692f3aec45d56e4a564e3450b3d2726baa495cf7325ec9d2350fc
2026-05-04 18:50.13 ---> using "1dfd2c56cf7ef4c022880aa8954d59ce7487f51393001535964d58a880590384" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-04 18:50.13 ---> using "44193b3415e71c4a3e25aab7093716a0f232d53568de9ce8e74f845373e48bf4" 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.
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-05-04 18:50.13 ---> using "921cd81aaed996e1ad0aa8185edf869948dfae1b13140827a3863c37c49e191a" 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.1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=alpine os-version=3.23.4
# 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.4
# invariant ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.1
2026-05-04 18:50.13 ---> using "b08740678b2eee1f741a4cb0afd54edcda7b9da433c2d495426242d886ac1a61" 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/"))
2026-05-04 18:50.13 ---> using "c1e8b9ea029b67eb75a7b5610e82561423d1e4fd27a24be2018148442ee34c1c" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-05-04 18:50.27 ---> saved as "c169860fff5f6341524217b6f12eac8a61332422169d2e8190fbe9739e0251c1"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-04 18:50.48 ---> saved as "2fc69b5e8086c00479d303629d3b6d1679801d3763ef71c2a6b48d742f7d7492"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- v3.23.4-127-g72ab63c5ff9 [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-131-gb5d853bc1dd [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v20260127-9007-g1fcfbf13a85 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-8999-gf8a49710f0a [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-8997-gcd6dcfc18bf [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62167 distinct packages available
2026-05-04 18:51.22 ---> saved as "cf495ba399384656294c4b7475f53138e3bab0c2b773a4d0fd022bc8c32f209f"
/home/opam: (run (shell "opam pin add -k version -yn dockerfile-cmd.8.3.8 8.3.8"))
dockerfile-cmd is now pinned to version 8.3.8
2026-05-04 18:51.24 ---> saved as "3b78bd28bc08111432ca8b703b0c1d6459e25e8578ab51973e89b749f2beba87"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dockerfile-cmd.8.3.8;\
\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 \"\\\"alpine-3.23\\\"\"; 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-cmd.8.3.8' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dockerfile-cmd.8.3.8 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 26 packages
- install astring 0.8.5 [required by dockerfile-cmd]
- install base v0.17.3 [required by ppx_sexp_conv]
- install bos 0.3.0 [required by dockerfile-cmd]
- install cmdliner 2.1.1 [required by dockerfile-cmd]
- install csexp 1.5.2 [required by dune-configurator]
- install dockerfile 8.3.8 [required by dockerfile-opam]
- install dockerfile-cmd 8.3.8 (pinned)
- install dockerfile-opam 8.3.8 [required by dockerfile-cmd]
- install dune 3.22.2 [required by dockerfile-cmd]
- install dune-configurator 3.22.2 [required by base]
- install fmt 0.11.0 [required by dockerfile-cmd]
- install fpath 0.7.3 [required by bos]
- install logs 0.10.0 [required by dockerfile-cmd]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml-version 4.1.0 [required by dockerfile-opam]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ocamlbuild 0.16.1 [required by astring, bos]
- install ocamlfind 1.9.8 [required by astring, bos]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_sexp_conv v0.17.1 [required by dockerfile-cmd]
- install ppxlib 0.38.0 [required by ppx_sexp_conv]
- install ppxlib_jane v0.17.4 [required by ppx_sexp_conv]
- install rresult 0.7.0 [required by bos]
- install sexplib0 v0.17.0 [required by dockerfile-cmd]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install topkg 1.1.1 [required by astring, bos]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved bos.0.3.0 (cached)
-> retrieved cmdliner.2.1.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dockerfile.8.3.8, dockerfile-cmd.8.3.8, dockerfile-opam.8.3.8 (https://github.com/ocurrent/ocaml-dockerfile/releases/download/8.3.8/ocaml-dockerfile-8.3.8.tbz)
-> retrieved dune.3.22.2, dune-configurator.3.22.2 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-version.4.1.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> installed cmdliner.2.1.1
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> retrieved ppxlib.0.38.0 (cached)
-> retrieved ppxlib_jane.v0.17.4 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved sexplib0.v0.17.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 rresult.0.7.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.10.0
-> installed fpath.0.7.3
-> installed bos.0.3.0
-> installed dune.3.22.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-version.4.1.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.22.2
-> installed base.v0.17.3
-> installed ppxlib.0.38.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_sexp_conv.v0.17.1
-> installed dockerfile.8.3.8
-> installed dockerfile-opam.8.3.8
-> installed dockerfile-cmd.8.3.8
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-04 18:52.42 ---> saved as "7c080a3267ca942666b674f1d40359d2a93b8480ad256a2deba000f5d886262d"
Job succeeded
2026-05-04 18:52.55: Job succeeded