Organisationsocurrentocaml-dockerfile2bf406 ()ubuntu-22.04-5.4_opam-2.4

ubuntu-22.04-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-12-05 14:29.04: New job: test ocurrent/ocaml-dockerfile https://github.com/ocurrent/ocaml-dockerfile.git#refs/heads/master (2bf4063672e3970de42e6d8792e47b592a7610c9) (linux-x86_64:ubuntu-22.04-5.4_opam-2.4)
Base: ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:7e1bff730b72024184a59dbb99cc829c31586d5ed4669796afbebac108ebbdc7
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-dockerfile.git" -b "master" && cd "ocaml-dockerfile" && git reset --hard 2bf40636
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:7e1bff730b72024184a59dbb99cc829c31586d5ed4669796afbebac108ebbdc7
# ubuntu-22.04-5.4_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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && 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.1 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.2.1.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 re.1.14.0 rresult.0.7.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 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-12-05 14:29.04: Using cache hint "ocurrent/ocaml-dockerfile-ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:7e1bff730b72024184a59dbb99cc829c31586d5ed4669796afbebac108ebbdc7-ubuntu-22.04-5.4_opam-2.4-e06e4b509ae3ac51b3463a086d75fddf"
2025-12-05 14:29.04: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:7e1bff730b72024184a59dbb99cc829c31586d5ed4669796afbebac108ebbdc7)
(comment ubuntu-22.04-5.4_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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && 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.1 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.2.1.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 re.1.14.0 rresult.0.7.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 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-12-05 14:29.04: Waiting for resource in pool OCluster
2025-12-05 14:29.04: Waiting for worker…
2025-12-05 14:29.05: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 2bf4063 Merge pull request #252 from ocurrent/dune-3.20


(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:7e1bff730b72024184a59dbb99cc829c31586d5ed4669796afbebac108ebbdc7)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:7e1bff730b72024184a59dbb99cc829c31586d5ed4669796afbebac108ebbdc7' locally
docker.io/ocaml/opam@sha256:7e1bff730b72024184a59dbb99cc829c31586d5ed4669796afbebac108ebbdc7: Pulling from ocaml/opam
7e49dc6156b0: Already exists
1180d732f525: Pulling fs layer
f1fa6a9d2878: Pulling fs layer
ae75ad22ad26: Pulling fs layer
214e7036e73c: Pulling fs layer
2bbef2272d4b: Pulling fs layer
214e7036e73c: Waiting
b3c999630f3e: Pulling fs layer
2bbef2272d4b: Waiting
6bd9184aea7f: Pulling fs layer
98c55879f355: Pulling fs layer
b3c999630f3e: Waiting
0b11eee1f39a: Pulling fs layer
98c55879f355: Waiting
a79de8a2decf: Pulling fs layer
5eff59069a5d: Pulling fs layer
a2d2e92fd71e: Pulling fs layer
5eff59069a5d: Waiting
a803c872fa17: Pulling fs layer
a2d2e92fd71e: Waiting
8bf178d9ede5: Pulling fs layer
a803c872fa17: Waiting
3a0c50dc5658: Pulling fs layer
8bf178d9ede5: Waiting
3a0c50dc5658: Waiting
4f4fb700ef54: Pulling fs layer
a594e22c5ea3: Pulling fs layer
84a44b947611: Pulling fs layer
4f4fb700ef54: Waiting
a594e22c5ea3: Waiting
a2448ad56d4e: Pulling fs layer
84a44b947611: Waiting
ce8fd7cb0203: Pulling fs layer
a2448ad56d4e: Waiting
4e54ec9fedd2: Pulling fs layer
eae55e0ac60f: Pulling fs layer
886ea95d4fe1: Pulling fs layer
8f83ad5b80cb: Pulling fs layer
ce8fd7cb0203: Waiting
4e54ec9fedd2: Waiting
c1390abab8d0: Pulling fs layer
886ea95d4fe1: Waiting
eae55e0ac60f: Waiting
8f83ad5b80cb: Waiting
b3de6ba3d324: Pulling fs layer
8008e89d60a6: Pulling fs layer
b134a8c86639: Pulling fs layer
b3de6ba3d324: Waiting
c1390abab8d0: Waiting
896a8c1d823d: Pulling fs layer
8008e89d60a6: Waiting
b134a8c86639: Waiting
86edd63afa9d: Pulling fs layer
896a8c1d823d: Waiting
963c876663ad: Pulling fs layer
86edd63afa9d: Waiting
dd8c04693d5e: Pulling fs layer
910a4f3e57d9: Pulling fs layer
963c876663ad: Waiting
a5fc97429cc5: Pulling fs layer
dd8c04693d5e: Waiting
394be7fbbc0e: Pulling fs layer
c6c8d9f9ca2d: Pulling fs layer
4940d89a6b5c: Pulling fs layer
394be7fbbc0e: Waiting
ef2187a95774: Pulling fs layer
4940d89a6b5c: Waiting
f8c2b155a1cc: Pulling fs layer
c6c8d9f9ca2d: Waiting
2a24828ab6aa: Pulling fs layer
ef2187a95774: Waiting
0c5dbcb3a111: Pulling fs layer
a0108f1d7424: Pulling fs layer
f8c2b155a1cc: Waiting
74999efe4ed4: Pulling fs layer
2a24828ab6aa: Waiting
a0108f1d7424: Waiting
74c0d35ff310: Pulling fs layer
74999efe4ed4: Waiting
74c0d35ff310: Waiting
1180d732f525: Verifying Checksum
1180d732f525: Download complete
1180d732f525: Pull complete
f1fa6a9d2878: Download complete
f1fa6a9d2878: Pull complete
214e7036e73c: Verifying Checksum
214e7036e73c: Download complete
b3c999630f3e: Verifying Checksum
b3c999630f3e: Download complete
6bd9184aea7f: Verifying Checksum
6bd9184aea7f: Download complete
ae75ad22ad26: Verifying Checksum
ae75ad22ad26: Download complete
0b11eee1f39a: Verifying Checksum
0b11eee1f39a: Download complete
98c55879f355: Verifying Checksum
98c55879f355: Download complete
a79de8a2decf: Verifying Checksum
a79de8a2decf: Download complete
5eff59069a5d: Verifying Checksum
5eff59069a5d: Download complete
2bbef2272d4b: Download complete
a803c872fa17: Verifying Checksum
a803c872fa17: Download complete
8bf178d9ede5: Verifying Checksum
8bf178d9ede5: Download complete
a2d2e92fd71e: Verifying Checksum
a2d2e92fd71e: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
3a0c50dc5658: Verifying Checksum
3a0c50dc5658: Download complete
a594e22c5ea3: Download complete
ae75ad22ad26: Pull complete
84a44b947611: Verifying Checksum
84a44b947611: Download complete
214e7036e73c: Pull complete
a2448ad56d4e: Verifying Checksum
a2448ad56d4e: Download complete
ce8fd7cb0203: Verifying Checksum
ce8fd7cb0203: Download complete
4e54ec9fedd2: Verifying Checksum
4e54ec9fedd2: Download complete
eae55e0ac60f: Verifying Checksum
eae55e0ac60f: Download complete
c1390abab8d0: Download complete
886ea95d4fe1: Verifying Checksum
886ea95d4fe1: Download complete
8f83ad5b80cb: Verifying Checksum
8f83ad5b80cb: Download complete
b3de6ba3d324: Download complete
b134a8c86639: Download complete
896a8c1d823d: Verifying Checksum
896a8c1d823d: Download complete
8008e89d60a6: Verifying Checksum
8008e89d60a6: Download complete
86edd63afa9d: Download complete
963c876663ad: Download complete
910a4f3e57d9: Download complete
394be7fbbc0e: Verifying Checksum
394be7fbbc0e: Download complete
c6c8d9f9ca2d: Verifying Checksum
c6c8d9f9ca2d: Download complete
4940d89a6b5c: Verifying Checksum
4940d89a6b5c: Download complete
ef2187a95774: Download complete
2bbef2272d4b: Pull complete
f8c2b155a1cc: Download complete
b3c999630f3e: Pull complete
6bd9184aea7f: Pull complete
2a24828ab6aa: Verifying Checksum
2a24828ab6aa: Download complete
dd8c04693d5e: Verifying Checksum
dd8c04693d5e: Download complete
98c55879f355: Pull complete
a5fc97429cc5: Verifying Checksum
a5fc97429cc5: Download complete
0b11eee1f39a: Pull complete
a79de8a2decf: Pull complete
5eff59069a5d: Pull complete
a2d2e92fd71e: Pull complete
a803c872fa17: Pull complete
8bf178d9ede5: Pull complete
3a0c50dc5658: Pull complete
a0108f1d7424: Download complete
74999efe4ed4: Verifying Checksum
74999efe4ed4: Download complete
74c0d35ff310: Verifying Checksum
74c0d35ff310: Download complete
0c5dbcb3a111: Verifying Checksum
0c5dbcb3a111: Download complete
4f4fb700ef54: Pull complete
a594e22c5ea3: Pull complete
84a44b947611: Pull complete
a2448ad56d4e: Pull complete
ce8fd7cb0203: Pull complete
4e54ec9fedd2: Pull complete
eae55e0ac60f: Pull complete
886ea95d4fe1: Pull complete
8f83ad5b80cb: Pull complete
c1390abab8d0: Pull complete
b3de6ba3d324: Pull complete
8008e89d60a6: Pull complete
b134a8c86639: Pull complete
896a8c1d823d: Pull complete
86edd63afa9d: Pull complete
963c876663ad: Pull complete
2025-12-05 14:30.04: Cancelling: Auto-cancelling job because it is no longer needed
dd8c04693d5e: Pull complete
910a4f3e57d9: Pull complete
a5fc97429cc5: Pull complete
394be7fbbc0e: Pull complete
c6c8d9f9ca2d: Pull complete
4940d89a6b5c: Pull complete
ef2187a95774: Pull complete
f8c2b155a1cc: Pull complete
2a24828ab6aa: Pull complete
0c5dbcb3a111: Pull complete
a0108f1d7424: Pull complete
74999efe4ed4: Pull complete
74c0d35ff310: Pull complete
Digest: sha256:7e1bff730b72024184a59dbb99cc829c31586d5ed4669796afbebac108ebbdc7
Status: Downloaded newer image for ocaml/opam@sha256:7e1bff730b72024184a59dbb99cc829c31586d5ed4669796afbebac108ebbdc7
2025-12-05 14:31.27 ---> saved as "ba8becb351302c48dbf7346fd914615a4ff310f4acb9f013c967434ccbe00b2f"


/: (comment ubuntu-22.04-5.4_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"))
Job cancelled