Organisationsocurrentocaml-dockerfileb1a932 ()fedora-43-4.14_opam-2.5

fedora-43-4.14_opam-2.5

Logs

Show full logs
2026-01-27 08:08.41: New job: test ocurrent/ocaml-dockerfile https://github.com/ocurrent/ocaml-dockerfile.git#refs/pull/257/head (b1a932365ca9359623ba9747d7e532d0c6593ae5) (linux-x86_64:fedora-43-4.14_opam-2.5)
Base: ocaml/opam:fedora-43-ocaml-4.14@sha256:d379acaa1b74ac6fd812a30ab52d87e801dca56e2a6f19ccd67c20799a9aded5
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/ocaml-dockerfile.git" && cd "ocaml-dockerfile" && git fetch origin "refs/pull/257/head" && git reset --hard b1a93236
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-4.14@sha256:d379acaa1b74ac6fd812a30ab52d87e801dca56e2a6f19ccd67c20799a9aded5
# fedora-43-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
RUN sudo ln -f /usr/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && 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.16.4 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 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.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.16.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.5 --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

2026-01-27 08:08.41: Using cache hint "ocurrent/ocaml-dockerfile-ocaml/opam:fedora-43-ocaml-4.14@sha256:d379acaa1b74ac6fd812a30ab52d87e801dca56e2a6f19ccd67c20799a9aded5-fedora-43-4.14_opam-2.5-1680413fc72ac4b2796a2dddf8c0686f"
2026-01-27 08:08.41: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-4.14@sha256:d379acaa1b74ac6fd812a30ab52d87e801dca56e2a6f19ccd67c20799a9aded5)
 (comment fedora-43-4.14_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && 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.16.4 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 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.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.16.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.5 --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"))
)

2026-01-27 08:08.41: Waiting for resource in pool OCluster
2026-01-27 08:08.42: Waiting for worker…
2026-01-27 08:08.51: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at b1a9323 Update system PATH

(from ocaml/opam:fedora-43-ocaml-4.14@sha256:d379acaa1b74ac6fd812a30ab52d87e801dca56e2a6f19ccd67c20799a9aded5)
Unable to find image 'ocaml/opam:fedora-43-ocaml-4.14@sha256:d379acaa1b74ac6fd812a30ab52d87e801dca56e2a6f19ccd67c20799a9aded5' locally
docker.io/ocaml/opam@sha256:d379acaa1b74ac6fd812a30ab52d87e801dca56e2a6f19ccd67c20799a9aded5: Pulling from ocaml/opam
1216d224fefc: Already exists
d2b80d0f9692: Already exists
b44754d8bf82: Already exists
36abc5888bbf: Already exists
13ceeda275e3: Already exists
9d0a0e279caf: Already exists
40e2d63e6bc8: Already exists
75b3ac574ea6: Already exists
1049f777ea82: Already exists
03fc9df51c6a: Already exists
b047e90b13a5: Already exists
9e9b975180f0: Already exists
67d0d0d5c8c1: Already exists
89a5d6bde7a7: Already exists
1d93c1211989: Already exists
29eae7cc87b0: Already exists
29eae7cc87b0: Already exists
cbc0891b6ad5: Already exists
1dcdb5dba4d6: Already exists
cbbbe6830481: Already exists
21e1ea572da2: Already exists
4f4fb700ef54: Already exists
98b69470db28: Already exists
2dcdfd57803f: Already exists
379ef38822e9: Already exists
3bc4f9dcff1f: Already exists
d9698ccc8ea7: Already exists
5ed663178eca: Already exists
c8305c642087: Already exists
8f6d93fd556f: Already exists
921519ed1807: Already exists
c60d13ca69bb: Already exists
2aac9c9633a8: Already exists
c0e95d961175: Already exists
27ce8579a8e4: Already exists
fe5862feaa51: Already exists
e29132ca7758: Already exists
7f1e364d449b: Already exists
a8bd8d8144bc: Already exists
571a3efac70d: Already exists
9c68ae25f7d9: Pulling fs layer
0f9e015b3d2e: Pulling fs layer
6bbac6cf626c: Pulling fs layer
9c68ae25f7d9: Waiting
1357dfaab010: Pulling fs layer
0f9e015b3d2e: Waiting
84b864a466fe: Pulling fs layer
6bbac6cf626c: Waiting
1357dfaab010: Waiting
84b864a466fe: Waiting
6bbac6cf626c: Verifying Checksum
6bbac6cf626c: Download complete
9c68ae25f7d9: Verifying Checksum
9c68ae25f7d9: Download complete
84b864a466fe: Verifying Checksum
84b864a466fe: Download complete
1357dfaab010: Download complete
9c68ae25f7d9: Pull complete
0f9e015b3d2e: Verifying Checksum
0f9e015b3d2e: Download complete
0f9e015b3d2e: Pull complete
6bbac6cf626c: Pull complete
1357dfaab010: Pull complete
84b864a466fe: Pull complete
Digest: sha256:d379acaa1b74ac6fd812a30ab52d87e801dca56e2a6f19ccd67c20799a9aded5
Status: Downloaded newer image for ocaml/opam@sha256:d379acaa1b74ac6fd812a30ab52d87e801dca56e2a6f19ccd67c20799a9aded5
2026-01-27 08:33.19 ---> saved as "f9a5319fd08a3d0936869d3ca5942bd93cc92745d834f6a608361cb54a429951"

/: (comment fedora-43-4.14_opam-2.5)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Updating and loading repositories:
 Fedora 43 - x86_64                     100% |  14.4 KiB/s |  21.9 KiB |  00m02s
 Fedora 43 openh264 (From Cisco) - x86_ 100% |   1.2 KiB/s | 986.0   B |  00m01s
 Fedora 43 - x86_64 - Updates           100% |  62.2 KiB/s |  20.4 KiB |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-6.fc43.x86_64" is already installed.

Nothing to do.
2026-01-27 08:33.24 ---> saved as "8ac7509c8bdad31fa4853da6b480df4d12af853b2635e4a86c46dbdc2eec4f40"

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-27 08:33.25 ---> saved as "ee8230386aa91c1af05ea74b49b036d1cc62222cc9641aecdb0585c755bda359"

/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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/sbin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocurrent/opam-repository/': Could not resolve host: github.com"
[default] Initialised
2026-01-27 08:33.54 ---> saved as "cb1fef56e6c814614e4ac3e804b34fc9119eb4a773dcf17de00c5f3b9031864e"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-01-27 08:33.55 ---> saved as "d05ee483c51035e435b0c841d1f8fa8b18538cdc3594578e7841555f6001396d"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-01-27 08:33.55 ---> saved as "6184ae243d77c34883d81aa8cac0d5634ef60821820cf75a0dbabb8c4362d65a"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   a6b2f19780..da10f1e072  master     -> origin/master
873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
[ocaml-patches-overlay] synchronised from git+https://github.com/ocurrent/opam-repository#patches

The following actions will be performed:
=== recompile 2 packages
  - recompile ocaml       4.14.2 [upstream or system changes]
  - recompile opam-depext 1.2.3  [uses ocaml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> removed   ocaml.4.14.2
-> installed ocaml.4.14.2
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2026-01-27 08:34.46 ---> saved as "1ca540ca7128792296769eb676cb127be790e21f508321aecbd15e1f6030b1e5"

/src: (copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)
            (dst ./))
2026-01-27 08:34.46 ---> saved as "36d7680820794a925539f7082b1623925c3f6f1799760e4ef437b169f3eeea5f"

/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)
2026-01-27 08:34.48 ---> saved as "cf460a9baaa6996719bd212de2d5c2c493d474fec186f78feca824448a1e97bb"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-27 08:34.48 ---> saved as "daf254d62b1426484fbcc62e38f0325312581b97f037b07d2cc2515de7daf043"

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 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.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 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.5 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.

<><> 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
# To update the current shell environment, run: eval $(opam env)
2026-01-27 08:34.55 ---> saved as "fd2efa8679c067c22a1840e0e549372c33ad8fe8ddc8a5165673384ced62d682"

/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 25 packages
  - install alcotest            1.9.1
  - install astring             0.8.5
  - install base                v0.16.4
  - install bos                 0.2.1
  - install cmdliner            2.1.0
  - install csexp               1.5.2
  - install dune                3.21.0
  - install dune-configurator   3.21.0
  - install fmt                 0.11.0
  - install fpath               0.7.3
  - install logs                0.10.0
  - install ocaml-compiler-libs v0.12.4
  - install ocaml-syntax-shims  1.0.0
  - install ocaml-version       4.0.3
  - install ocamlbuild          0.16.1
  - install ocamlfind           1.9.8
  - install ppx_derivers        1.2.1
  - install ppx_sexp_conv       v0.16.0
  - install ppxlib              0.35.0
  - install re                  1.14.0
  - install rresult             0.7.0
  - install sexplib0            v0.16.0
  - install stdlib-shims        0.3.0
  - install topkg               1.1.1
  - install uutf                1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.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.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.0.3  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.10.0
-> installed bos.0.2.1
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.4.0.3
-> installed ppx_derivers.1.2.1
-> installed re.1.14.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed alcotest.1.9.1
-> installed dune-configurator.3.21.0
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-27 08:35.35 ---> saved as "b26c8d582bf40521938e0d3e142d6cffff9e42e21df9b35b1a44c92eda734dba"

/src: (copy (src .) (dst /src))
2026-01-27 08:35.36 ---> saved as "2cb775a4bfcbe301665ee9a3a173c9c1a382482e359b8951ea5e0ae6b81b394e"

/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 `YH3SA7EQ'.

  [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.
(cd _build/default/test-opam && ./dockerfile.exe)
Testing `test'.
This run has ID `7AZKBNQP'.

  [OK]          dockerfile-opam          0   Distro.compare.

Full test results in `/src/_build/default/test-opam/_build/_tests/test'.
Test Successful in 0.000s. 1 test run.
2026-01-27 08:35.37 ---> saved as "557e50b525a65f02f0ecb25f40d0f8aa3e7ced88041c4138cb98c58d343347af"
Job succeeded
2026-01-27 08:35.38: Job succeeded