Organisationsocurrentocaml-version4e3f1e ()ubuntu-22.04-5.3_opam-2.4

ubuntu-22.04-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-10-10 08:51.11: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (4e3f1e6b088d3b12fc5ed33486867170a8f10f37) (linux-x86_64:ubuntu-22.04-5.3_opam-2.4)
Base: ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:648f8f28e08bb056edd33d7596374802133dab1f18b42d250619e28e70727bf4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 4e3f1e6b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:648f8f28e08bb056edd33d7596374802133dab1f18b42d250619e28e70727bf4
# ubuntu-22.04-5.3_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 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 dune.3.20.2 fmt.0.11.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.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 ocaml-version.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-10-10 08:51.11: Using cache hint "ocurrent/ocaml-version-ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:648f8f28e08bb056edd33d7596374802133dab1f18b42d250619e28e70727bf4-ubuntu-22.04-5.3_opam-2.4-9fec5694827bdca990fc54c44dd8bb4d"
2025-10-10 08:51.11: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:648f8f28e08bb056edd33d7596374802133dab1f18b42d250619e28e70727bf4)
(comment ubuntu-22.04-5.3_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 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocaml-version.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 dune.3.20.2 fmt.0.11.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.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 ocaml-version.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-10-10 08:51.11: Waiting for resource in pool OCluster
2025-10-10 08:51.11: Waiting for worker…
2025-10-10 08:51.11: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 4e3f1e6 Merge pull request #85 from Octachron/ocaml_5.4.0_release


(from ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:648f8f28e08bb056edd33d7596374802133dab1f18b42d250619e28e70727bf4)
2025-10-10 08:51.12 ---> using "f9f43f0793e79eeca6d1ecabd3e8700e2e2490761681f205da0d7dcee91233d5" from cache


/: (comment ubuntu-22.04-5.3_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-10-10 08:51.12 ---> using "9a881eff57d7916737438142e869753fe2b46e7ab22df51f27fe77ab300d4e31" 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-10-10 08:51.12 ---> using "5041beb2446e3140f1b2df474acba581438d1ca26fa22084f1b685653932cabb" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-10-10 08:51.12 ---> using "f7539d8b08e3fb639500711f640ead259030accf1a22c5cea677e22d736437fc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-10 08:51.12 ---> using "52ea5bf08af3fff3cae40d4982e5c8acad7e57e5e96c6a931940f55a472bbef8" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bcac5d1731..1b2e16586e  master     -> origin/master
241aae26db Merge pull request #28629 from dinosaure/release-alcotest-1.9.1


<><> 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-10-10 08:51.29 ---> saved as "6200a3c9604f2bb21068a2e110469ff8884f1d59fe857b707434b813e1e73906"


/src: (copy (src ocaml-version.opam) (dst ./))
2025-10-10 08:51.29 ---> saved as "646aa647005e63b1572c2f8d82718387f6d033601e2b560ab0fb3a696ff6f358"


/src: (run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
[ocaml-version.dev] synchronised (file:///src)
ocaml-version is now pinned to file:///src (version dev)
2025-10-10 08:51.31 ---> saved as "ba79665b06a0b879c00d782df3b6c882470033b5fbadbe77191a1aae38803c9e"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-10 08:51.31 ---> saved as "fe563d1f241bf382ee8b39d28f0370656ee56ae6e2b1be2f20013e4e8f07aae2"


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 dune.3.20.2 fmt.0.11.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.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 ocaml-version.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1584 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5922 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [69.1 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3750 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.2 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [83.9 kB]
- Get:11 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1276 kB]
- Get:12 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3425 kB]
- Get:13 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [71.0 kB]
- Get:14 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5727 kB]
- Fetched 22.3 MB in 2s (13.4 MB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-version.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-10-10 08:51.41 ---> saved as "70d8e062aad5fdbea096327d7f3798bdc2a818eae179595b7fd2ff8811d2871f"


/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 12 packages
- install alcotest           1.9.1
- install astring            0.8.5
- install cmdliner           2.0.0
- install dune               3.20.2
- install fmt                0.11.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install re                 1.14.0
- install stdlib-shims       0.3.0
- install topkg              1.1.0
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved re.1.14.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  (cached)
-> installed cmdliner.2.0.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.2
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed alcotest.1.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-10 08:52.06 ---> saved as "03de21f618d409e2343ae2079c87b15bb4f83440299fb7f3026b6bc8752796e8"


/src: (copy (src .) (dst /src))
2025-10-10 08:52.06 ---> saved as "fc7501a24a8e26e24282592c24d4aedae456d5ddd136df5996178bfff20cb093"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_unit.exe)
Testing `ocaml-version'.
This run has ID `6JYU9AVS'.


[OK]          Compiler_variants          0   Multicore not on 4.12 x86-64.
[OK]          Compiler_variants          1   Multicore not on 4.10 i386.
[OK]          Compiler_variants          2   Multicore not on 4.12 xi386.
[OK]          Configure_options          0   FP on last 4.07.
[OK]          Configure_options          1   FP on first 4.08.
[OK]          Configure_options          2   FP on 3.12.


Full test results in `/src/_build/default/test/_build/_tests/ocaml-version'.
Test Successful in 0.000s. 6 tests run.
2025-10-10 08:52.07 ---> saved as "ba079a7bb65bdfcbc50fa3a7e19abf3388ba5df316878264212a4a553b6c88dd"
Job succeeded
2025-10-10 08:52.07: Job succeeded