2025-02-09 13:20.37: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (1165e18c18c2eed9109edfecbbe1a8eb81141272) (linux-x86_64:ubuntu-24.10-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 1165e18c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03
# ubuntu-24.10-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.17.2 fmt.0.9.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.15.0 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-02-09 13:20.37: Using cache hint "ocurrent/ocaml-version-ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03-ubuntu-24.10-5.3_opam-2.3-0747de6e6dbcf90654399b7d7f6357ad"
2025-02-09 13:20.37: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03)
(comment ubuntu-24.10-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.17.2 fmt.0.9.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.15.0 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
(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.3 --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-02-09 13:20.37: Waiting for resource in pool OCluster
2025-02-09 13:50.36: Waiting for worker…
2025-02-09 13:53.42: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
HEAD is now at 1165e18 Merge pull request #80 from mtelvers/maintenance-intent
(from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03)
Unable to find image 'ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03' locally
docker.io/ocaml/opam@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03: Pulling from ocaml/opam
5caad8e61a34: Pulling fs layer
5caad8e61a34: Verifying Checksum
5caad8e61a34: Download complete
5caad8e61a34: Pull complete
Digest: sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03
Status: Downloaded newer image for ocaml/opam@sha256:acaee7a8f23013b743b8897efb77dff26396aea5c2befd0a49dd69ebf1f88c03
2025-02-09 13:53.42 ---> using "2a35d0e220c6d2f8ee999fd3eb200a27836ebea0862fa317984b9d90fc798a23" from cache
/: (comment ubuntu-24.10-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-02-09 13:53.42 ---> using "903d5e3d66e2f366d9341024f25a6f031affeccdbf08b787d79b062a052fb68e" 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 development 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] synchronised from file:///home/opam/opam-repository
2025-02-09 13:53.42 ---> using "5ccfee2ebf71fa33480ffd338efa16757a9a8d445dbc884fd611c5d08ec1ea94" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-02-09 13:53.42 ---> using "6e4e0a85a237d05ed1aed90d3568d9e0f540059dd7857c3fd5f64ee12664b575" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-09 13:53.42 ---> using "595f40d70d476ba69215a2463eab823f4a89d7831735b3251efbf699d6001c0a" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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, 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-02-09 13:53.42 ---> using "bedb488aa9dc73cef4d0d8ebc2f1467af382a11281230ac4910d250f90a89c2e" from cache
/src: (copy (src ocaml-version.opam) (dst ./))
2025-02-09 13:53.43 ---> saved as "1231a23899a83ac467cda386a695c323041505698c1277b06066cb07ecb0dc06"
/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-02-09 13:53.46 ---> saved as "53da6d0ee37daef41a8bcf463b7797af7c568bc3da182bb83ef1d5ffe36913e0"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-09 13:53.46 ---> saved as "afd02f3037a409f58c062583f4af4aa6913f9e04b56055762393e2de7b15239d"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.17.2 fmt.0.9.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.15.0 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
/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.3 --depext-only -y ocaml-version.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu oracular InRelease
- Get:3 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [237 kB]
- Get:5 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [203 kB]
- Get:7 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [343 kB]
- Fetched 1162 kB in 1s (1108 kB/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-02-09 13:54.12 ---> saved as "96fda15ccfa49bd0efe6c4f092d32e8e48c13d54b3173a9eff06a705f9d1bc49"
/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 13 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install cmdliner 1.3.0
- install dune 3.17.2
- install fmt 0.9.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.8
- install re 1.12.0
- install seq base
- install stdlib-shims 0.3.0
- install topkg 1.0.7
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved dune.3.17.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.17.2
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed alcotest.1.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-09 13:55.45 ---> saved as "7ead9e1e80ad8d6ba6ea64491077140079f7996cf57777b68c3dcb7683a91e51"
/src: (copy (src .) (dst /src))
2025-02-09 13:55.45 ---> saved as "d98d9bf0ae1c4799fd7f3e3d26339f813fbac195567285934fbc4581ac2fb2e3"
/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 `IKSID1GJ'.
[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.001s. 6 tests run.
2025-02-09 13:55.46 ---> saved as "1557f60f425b8c67f4565099c15881c3a5662c428746ccc992c488132178760b"
Job succeeded
2025-02-09 13:55.46: Job succeeded