2025-08-11 18:16.55: New job: test ocurrent/ocaml-dockerfile https://github.com/ocurrent/ocaml-dockerfile.git#refs/heads/master (2be2a613eabc4852effd9d3016b6fd0806d8e923) (linux-x86_64:debian-12-5.3+flambda_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocurrent/ocaml-dockerfile.git" -b "master" && cd "ocaml-dockerfile" && git reset --hard 2be2a613
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68
# debian-12-5.3+flambda_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam ./
RUN opam pin add -yn dockerfile.dev './' && \
opam pin add -yn dockerfile-opam.dev './' && \
opam pin add -yn dockerfile-cmd.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 num.1.6 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-syntax-shims.1.0.0 ocaml-variants.5.3.0+options ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.4 re.1.13.2 rresult.0.7.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-08-11 18:16.55: Using cache hint "ocurrent/ocaml-dockerfile-ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68-debian-12-5.3+flambda_opam-2.4-6b5c40449b57b38dc0fa51312e43894e"
2025-08-11 18:16.55: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68)
(comment debian-12-5.3+flambda_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn dockerfile.dev './' && \
\nopam pin add -yn dockerfile-opam.dev './' && \
\nopam pin add -yn dockerfile-cmd.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 num.1.6 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-syntax-shims.1.0.0 ocaml-variants.5.3.0+options ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.4 re.1.13.2 rresult.0.7.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-08-11 18:16.55: Waiting for resource in pool OCluster
2025-08-11 18:16.55: Waiting for worker…
2025-08-11 18:16.55: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
HEAD is now at 047c53c Update src-opam/distro.ml
HEAD is now at 2be2a61 Add Debian 13 (Trixie) (#237)
(from ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68' locally
docker.io/ocaml/opam@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68: Pulling from ocaml/opam
2b437dab448b: Already exists
97c86bfc0041: Pulling fs layer
b134a94e2dab: Pulling fs layer
fb6fd243e341: Pulling fs layer
beeb65099492: Pulling fs layer
aaa2c9a1a445: Pulling fs layer
d08a8b89f2c3: Pulling fs layer
6d17278fc02e: Pulling fs layer
beeb65099492: Waiting
aaa2c9a1a445: Waiting
d08a8b89f2c3: Waiting
6d17278fc02e: Waiting
b134a94e2dab: Verifying Checksum
b134a94e2dab: Download complete
fb6fd243e341: Verifying Checksum
fb6fd243e341: Download complete
97c86bfc0041: Verifying Checksum
97c86bfc0041: Download complete
97c86bfc0041: Pull complete
b134a94e2dab: Pull complete
fb6fd243e341: Pull complete
d08a8b89f2c3: Verifying Checksum
d08a8b89f2c3: Download complete
aaa2c9a1a445: Verifying Checksum
aaa2c9a1a445: Download complete
6d17278fc02e: Verifying Checksum
6d17278fc02e: Download complete
beeb65099492: Verifying Checksum
beeb65099492: Download complete
beeb65099492: Pull complete
aaa2c9a1a445: Pull complete
d08a8b89f2c3: Pull complete
6d17278fc02e: Pull complete
Digest: sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68
Status: Downloaded newer image for ocaml/opam@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68
2025-08-11 18:17.17 ---> saved as "8f19063995d2e91975b673384143fa4316c06cf525acaad5ddc9dfe32e879b21"
/: (comment debian-12-5.3+flambda_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-08-11 18:17.17 Waiting for previous build to finish cancelling
2025-08-11 18:17.17 ---> saved as "3964d961645aac4701995e7afa81c4230383d448cff22e07a607fd337d9459ea"
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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.
Continue? [Y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-11 18:17.37 ---> saved as "5aebcfda9685f3a603e14fa984661649d5b4c24cad7ac53b2dbd7993b0191857"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-08-11 18:17.37 ---> saved as "b3767d8466038a203e474e97e3c72b7e65c6cd3e74da7a70330f79ca1443edbb"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-08-11 18:17.37 ---> saved as "3777998cb18ca2c1bd519ed60e51da93fddf8559566beec5a9ce7afd99330774"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
e77940d8ff Merge pull request #28255 from dbuenzli/b0-publish-fmt.0.11.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-08-11 18:17.53 ---> saved as "63b31d405cf8a512f06ec83086bb2087cf3a01b407c89d327ccfecbb2baa0e5a"
/src: (copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)
(dst ./))
2025-08-11 18:17.53 ---> saved as "bd2f9be6963c86c40432390191bf48c5e42b3d5bed7abaf90493f8177bb4ce4a"
/src: (run (network host)
(shell "opam pin add -yn dockerfile.dev './' && \
\nopam pin add -yn dockerfile-opam.dev './' && \
\nopam pin add -yn dockerfile-cmd.dev './'"))
[dockerfile.dev] synchronised (file:///src)
dockerfile is now pinned to file:///src (version dev)
[dockerfile-opam.dev] synchronised (file:///src)
dockerfile-opam is now pinned to file:///src (version dev)
[dockerfile-cmd.dev] synchronised (file:///src)
dockerfile-cmd is now pinned to file:///src (version dev)
2025-08-11 18:17.57 ---> saved as "802586b8a45dfcc089b2e76e11a56e4f0a34020ae9786d9c551c5b1bb7646207"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-11 18:17.57 ---> saved as "8f9142feccfda7f0bc8cd5b762d29789be467d473aeae43adf8dd10c1c117b4f"
/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 num.1.6 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-syntax-shims.1.0.0 ocaml-variants.5.3.0+options ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.4 re.1.13.2 rresult.0.7.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [21.8 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Fetched 555 kB in 0s (1575 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dockerfile.dev] synchronised (file:///src)
[dockerfile-cmd.dev] synchronised (file:///src)
[dockerfile-opam.dev] synchronised (file:///src)
[NOTE] Package ocaml-variants is already installed (current version is 5.3.0+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-08-11 18:18.06 ---> saved as "5958a95babdee93c9a983b457a112c64ea0f64265bcce2a75bbda9e001ff10a4"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 5.3.0+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 31 packages
- install alcotest 1.9.0
- install astring 0.8.5
- install base v0.17.3
- install bos 0.2.1
- install cmdliner 1.3.0
- install csexp 1.5.2
- install dune 3.19.1
- install dune-configurator 3.19.1
- install fmt 0.11.0
- install fpath 0.7.3
- install logs 0.9.0
- install num 1.6
- install ocaml-compiler-libs v0.17.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 4.0.1
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install parsexp v0.17.0
- install ppx_derivers 1.2.1
- install ppx_sexp_conv v0.17.1
- install ppxlib 0.36.0
- install ppxlib_jane v0.17.4
- install re 1.13.2
- install rresult 0.7.0
- install seq base
- install sexplib v0.17.0
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install topkg 1.1.0
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved logs.0.9.0 (cached)
-> retrieved num.1.6 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.4.0.1 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> retrieved ppxlib_jane.v0.17.4 (cached)
-> retrieved re.1.13.2 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib.v0.17.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed cmdliner.1.3.0
-> installed num.1.6
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.9.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed dune.3.19.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-version.4.0.1
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed re.1.13.2
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed parsexp.v0.17.0
-> installed dune-configurator.3.19.1
-> installed alcotest.1.9.0
-> installed sexplib.v0.17.0
-> installed base.v0.17.3
-> installed ppxlib.0.36.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_sexp_conv.v0.17.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-11 18:19.19 ---> saved as "a42c5fb8c25c5c1f60351e6d995bf97fab9d4b6dfd303d3237cceea44e17d2ce"
/src: (copy (src .) (dst /src))
2025-08-11 18:19.19 ---> saved as "0f11aeb0e49311d6f76bda96d07c7089ba1cfce657daccedd5d7eaf6459df3ee"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./dockerfile.exe)
Testing `test'.
This run has ID `2SPDGCK3'.
[OK] dockerfile 0 string_of_t.
[OK] dockerfile 1 string_of_t.
[OK] dockerfile 2 Format RUN heredocs.
Full test results in `/src/_build/default/test/_build/_tests/test'.
Test Successful in 0.000s. 3 tests run.
2025-08-11 18:19.22 ---> saved as "78cc918eb458406270a26ad84441f560a872cbb86f9de58ecfd64106257452ae"
Job succeeded
2025-08-11 18:19.22: Job succeeded