2025-09-26 12:40.04: New job: test ocurrent/ocaml-dockerfile https://github.com/ocurrent/ocaml-dockerfile.git#refs/heads/master (c30a1e7b8636cc724ac0d830c33a9a57ade54b43) (linux-ppc64:debian-13-5.3_ppc64_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.3@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocurrent/ocaml-dockerfile.git" -b "master" && cd "ocaml-dockerfile" && git reset --hard c30a1e7b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.3@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c
# debian-13-5.3_ppc64_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 3f21ebe342ce440d9c9142ffe1185d8e5a326085 || git fetch origin master) && git reset -q --hard 3f21ebe342ce440d9c9142ffe1185d8e5a326085 && 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.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 num.1.6 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 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.14.0 rresult.0.7.0 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-09-26 12:40.04: Using cache hint "ocurrent/ocaml-dockerfile-ocaml/opam:debian-13-ocaml-5.3@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c-debian-13-5.3_ppc64_opam-2.4-bd211025a9eef81087cb902afd040149"
2025-09-26 12:40.04: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c)
(comment debian-13-5.3_ppc64_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 3f21ebe342ce440d9c9142ffe1185d8e5a326085 || git fetch origin master) && git reset -q --hard 3f21ebe342ce440d9c9142ffe1185d8e5a326085 && 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.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 num.1.6 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 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.14.0 rresult.0.7.0 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-09-26 12:40.04: Waiting for resource in pool OCluster
2025-09-26 12:40.05: Waiting for worker…
2025-09-26 12:40.05: Got resource from pool OCluster
Building on orithia.caelum.ci.dev
HEAD is now at 975e50b nit: remove mention of crunch in func description
HEAD is now at c30a1e7 Add a `layers` function to estimate the number of Dockerfile layers (#239)
(from ocaml/opam:debian-13-ocaml-5.3@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.3@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c' locally
docker.io/ocaml/opam@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c: Pulling from ocaml/opam
4cb8224e7ffc: Already exists
2881db2cc3cf: Already exists
cf01c503d686: Already exists
4054e65c31ad: Already exists
e6c01d044349: Already exists
e0a76dd209df: Already exists
ecab6eb02090: Already exists
438acffb07cb: Already exists
d40aab9c496a: Already exists
ce86cbfefb1d: Already exists
cad1f00a99f0: Already exists
e0155553d454: Already exists
613fd8361ffe: Already exists
676c1dbd7d45: Already exists
6ca47976dd8a: Already exists
bcfe9f127595: Already exists
175ac83e5cdf: Already exists
48d2a0e2b9a5: Already exists
b112c4ce8d57: Already exists
0f7191b2bdaa: Already exists
0f1085b9f93d: Already exists
4f4fb700ef54: Already exists
7ffac940511e: Already exists
5371474a2952: Already exists
4be0867080f1: Already exists
0af11b3d562b: Already exists
beeefac609e0: Already exists
faa6bec3a055: Already exists
f2ed69f80d8b: Already exists
83b8b73a5804: Already exists
bbb1508e54e8: Already exists
cdc3e1e54912: Already exists
815d1042e9ae: Already exists
4cc2ce004277: Already exists
a16325b67f55: Already exists
c5b7cc0b7bb5: Already exists
ee79fb7986e3: Already exists
7a865304e68a: Already exists
4027013c440c: Already exists
7add1e5ceb71: Already exists
513642d735bb: Pulling fs layer
ce3e6e26b7ff: Pulling fs layer
181906f75524: Pulling fs layer
ff4bc7044029: Pulling fs layer
70c09a9b6b6f: Pulling fs layer
c82adf1db94c: Pulling fs layer
0b1dd1439e94: Pulling fs layer
ff4bc7044029: Waiting
70c09a9b6b6f: Waiting
c82adf1db94c: Waiting
0b1dd1439e94: Waiting
181906f75524: Verifying Checksum
181906f75524: Download complete
ce3e6e26b7ff: Verifying Checksum
ce3e6e26b7ff: Download complete
513642d735bb: Verifying Checksum
513642d735bb: Download complete
513642d735bb: Pull complete
ce3e6e26b7ff: Pull complete
181906f75524: Pull complete
70c09a9b6b6f: Verifying Checksum
70c09a9b6b6f: Download complete
c82adf1db94c: Verifying Checksum
c82adf1db94c: Download complete
0b1dd1439e94: Verifying Checksum
0b1dd1439e94: Download complete
ff4bc7044029: Verifying Checksum
ff4bc7044029: Download complete
ff4bc7044029: Pull complete
70c09a9b6b6f: Pull complete
c82adf1db94c: Pull complete
0b1dd1439e94: Pull complete
Digest: sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c
Status: Downloaded newer image for ocaml/opam@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c
2025-09-26 12:40.06 ---> using "17959b867b6c7631c4b6c59bf49ee27af892fb57728c754bd0ab33125151034e" from cache
/: (comment debian-13-5.3_ppc64_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-09-26 12:40.06 ---> using "dc489b9ce23b1da220cafa26b081bd1972a4b89c2f4a8ceafd989237e7c5a5fc" from cache
/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.
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-09-26 12:40.06 ---> using "da34f4558c72d0f3e973863fd6c0f4eb2d8889dcf009858a3a674fc8ad386782" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-26 12:40.06 ---> using "09d340ee405579b28461e0cb2ab86dc359b4df9fe7577cfc619a6277031100ee" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-26 12:40.06 ---> using "ac9d03137970f00a9ca8ea5188136f69e48403ae3cda1f132a00d59bd20840f6" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3f21ebe342ce440d9c9142ffe1185d8e5a326085 || git fetch origin master) && git reset -q --hard 3f21ebe342ce440d9c9142ffe1185d8e5a326085 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bcac5d1731..3f21ebe342 master -> origin/master
3f21ebe342 Merge pull request #28544 from vouillon/opam-publish-re.1.14.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-09-26 12:40.06 ---> using "3bb3838dfedad4c8e4057fb038e714dfc26f34700da4822c49a7b8d8f52e19bd" from cache
/src: (copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)
(dst ./))
2025-09-26 12:40.06 ---> saved as "81d787b5dde210579a418a5e2790b6585cc5295f3be133da97fd74f7e33798e3"
/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-09-26 12:40.11 ---> saved as "ced898f384d8d4dbd194720b7bbebea675dd3f3c6db5eac94f3d6e6081c35cf4"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-26 12:40.11 ---> saved as "63defa25849e18c5ac9665176339694e00832c2a0f97cd117f3a558584374e39"
/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.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.9.0 num.1.6 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 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.14.0 rresult.0.7.0 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"
- 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 ppc64el Packages [43.3 kB]
- Fetched 134 kB in 0s (920 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-options-vanilla is already installed (current version is 1).
[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-base-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-09-26 12:40.20 ---> saved as "2799a10b84b93b98027e43acf747f0dc6ff223e3dc7bd885e0f3eb0fbdae7cc6"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[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-base-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 30 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.20.2
- install dune-configurator 3.20.2
- 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.14.0
- install rresult 0.7.0
- 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.14.0 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved sexplib.v0.17.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> installed cmdliner.1.3.0
-> installed num.1.6
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> 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.20.2
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.4.0.1
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ppx_derivers.1.2.1
-> installed re.1.14.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed alcotest.1.9.0
-> installed parsexp.v0.17.0
-> installed dune-configurator.3.20.2
-> 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-09-26 12:41.20 ---> saved as "ae83c0953d5f8f1d4006d0af15694572323edc06421a749081173696cfa65ac2"
/src: (copy (src .) (dst /src))
2025-09-26 12:41.20 ---> saved as "d4608199ed92cea964fe6eb13e7e8824735199b598c87cb7d49afabfe875f5a4"
/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 `QT6WHXKQ'.
[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.001s. 3 tests run.
2025-09-26 12:41.23 ---> saved as "9001b84e8411f08edcaced03b09796158d1ac82f59e9e3956d78f8c95d35ea52"
Job succeeded
2025-09-26 12:41.23: Job succeeded