2025-09-15 07:51.37: New job: test ocurrent/ocaml-dockerfile https://github.com/ocurrent/ocaml-dockerfile.git#refs/heads/master (a844aaca266d127c97852aad2689f245b8bd5321) (linux-x86_64:ubuntu-24.10-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocurrent/ocaml-dockerfile.git" -b "master" && cd "ocaml-dockerfile" && git reset --hard a844aaca
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021
# ubuntu-24.10-4.14_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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && 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.16.4 base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.13.2 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.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-15 07:51.37: Using cache hint "ocurrent/ocaml-dockerfile-ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021-ubuntu-24.10-4.14_opam-2.4-4924d70a586c4641ffaca82a652644fc"
2025-09-15 07:51.37: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021)
(comment ubuntu-24.10-4.14_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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && 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.16.4 base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.13.2 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.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-15 07:51.37: Waiting for resource in pool OCluster
2025-09-15 07:51.38: Waiting for worker…
2025-09-15 07:51.38: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at a844aac Merge pull request #238 from mtelvers/oracular
(from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021)
Unable to find image 'ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021' locally
docker.io/ocaml/opam@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021: Pulling from ocaml/opam
0da077d1bd8d: Pulling fs layer
0da077d1bd8d: Verifying Checksum
0da077d1bd8d: Download complete
0da077d1bd8d: Pull complete
Digest: sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021
Status: Downloaded newer image for ocaml/opam@sha256:a96c91e19ea657f568ca7a7269062cf2f542504eef8ee663eefe4ab1425b7021
2025-09-15 07:51.39 ---> using "8e5f1bfa9ecbb24c84d2566b046729b7731a547229f6cd6deff026effd060f30" from cache
/: (comment ubuntu-24.10-4.14_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-15 07:51.39 ---> using "a6e1c158e73afe3cdffb021eaf105a53d54ecb5810fdb4692adb8145c6e2c9a6" 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-15 07:51.39 ---> using "64b8b243b40ce3df92b46635e624c5abda0122dd9fa3482a6caddd3d830681fc" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-15 07:51.39 ---> using "6dd2321648b8f596a68107699eec2a434e76c93e5283858d120df01bf2a6b06e" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-15 07:51.39 ---> using "e085a6ff92b838ea9f78cce9e0db76b88e01b5c57307821215f9e800f9574ecb" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
ee24528071..510d0692bb master -> origin/master
109398e2fd Merge pull request #28437 from maiste/release-dune-3.20.2
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-15 07:51.39 ---> using "fdc3276d4974becb9cd7ce590b201851ce0f5f23c1655d80e5446a30914c9a9a" from cache
/src: (copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)
(dst ./))
2025-09-15 07:51.39 ---> using "0baac24324ba5e5e90c5179d7795b603c01957417093832ef5e1296f3db0ec45" from cache
/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-15 07:51.39 ---> using "ad270953f7ae40f4c02ed61d08592f75bfd36c516454ece06eb0b46695fc6282" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-15 07:51.39 ---> using "b08e1ed30117ee89c12db18fae4f694c71ff204892e9a8f15edcde061dceaaeb" from cache
/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base.v0.16.4 base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.13.2 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.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"
- Ign:1 http://archive.ubuntu.com/ubuntu oracular InRelease
- Ign:2 http://security.ubuntu.com/ubuntu oracular-security InRelease
- Ign:3 http://archive.ubuntu.com/ubuntu oracular-updates InRelease
- Err:4 http://security.ubuntu.com/ubuntu oracular-security Release
- 404 Not Found [IP: 2620:2d:4000:1::101 80]
- Ign:5 http://archive.ubuntu.com/ubuntu oracular-backports InRelease
- Err:6 http://archive.ubuntu.com/ubuntu oracular Release
- 404 Not Found [IP: 2620:2d:4000:1::101 80]
- Err:7 http://archive.ubuntu.com/ubuntu oracular-updates Release
- 404 Not Found [IP: 2620:2d:4000:1::101 80]
- Err:8 http://archive.ubuntu.com/ubuntu oracular-backports Release
- 404 Not Found [IP: 2620:2d:4000:1::101 80]
- Reading package lists...
- E: The repository 'http://security.ubuntu.com/ubuntu oracular-security Release' no longer has a Release file.
- E: The repository 'http://archive.ubuntu.com/ubuntu oracular Release' no longer has a Release file.
- E: The repository 'http://archive.ubuntu.com/ubuntu oracular-updates Release' no longer has a Release file.
- E: The repository 'http://archive.ubuntu.com/ubuntu oracular-backports Release' no longer has a Release file.
Fatal error: System package update failed with exit code 100 at command:
sudo apt-get update
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.4 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS" failed with exit status 99
2025-09-15 07:51.41: Job failed: Failed: Build failed