Organisationsocurrentocaml-versionc1cd18 (add-sig)opensuse-16.0-5.4_opam-2.5

opensuse-16.0-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-04-16 16:40.35: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/add-sig (c1cd1832273b7fc49d1e178375f004d8a453963b) (linux-x86_64:opensuse-16.0-5.4_opam-2.5)
Base: ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:78cddc7af8976e354fc2ba208848413e0ad967cd1a5c7e891947641916892c01
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "add-sig" && cd "ocaml-version" && git reset --hard c1cd1832
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:78cddc7af8976e354fc2ba208848413e0ad967cd1a5c7e891947641916892c01
# opensuse-16.0-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && 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.1.0 dune.3.22.2 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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


2026-04-16 16:40.35: Using cache hint "ocurrent/ocaml-version-ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:78cddc7af8976e354fc2ba208848413e0ad967cd1a5c7e891947641916892c01-opensuse-16.0-5.4_opam-2.5-4a40feaffa9a89db02f5bc4d4a4e906c"
2026-04-16 16:40.35: Using OBuilder spec:
((from ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:78cddc7af8976e354fc2ba208848413e0ad967cd1a5c7e891947641916892c01)
(comment opensuse-16.0-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && 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 (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.1.0 dune.3.22.2 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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.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 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"))
)


2026-04-16 16:40.35: Waiting for resource in pool OCluster
2026-04-16 21:05.42: Waiting for worker…
2026-04-16 21:11.54: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at c1cd183 tweak to automate last two, suggestion from @gasche


(from ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:78cddc7af8976e354fc2ba208848413e0ad967cd1a5c7e891947641916892c01)
Unable to find image 'ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:78cddc7af8976e354fc2ba208848413e0ad967cd1a5c7e891947641916892c01' locally
docker.io/ocaml/opam@sha256:78cddc7af8976e354fc2ba208848413e0ad967cd1a5c7e891947641916892c01: Pulling from ocaml/opam
64cfa2a65095: Already exists
204ffcf2f1fe: Already exists
f6fa4529cc6b: Already exists
97af65095748: Already exists
b802a6057f6d: Already exists
47b045e79836: Already exists
2ce8a10bf29f: Already exists
781ee767d1c7: Already exists
2271c058ae3a: Already exists
2e5754ca2c40: Already exists
de21e4dabd9c: Already exists
f047029589c4: Already exists
0f454d36be04: Already exists
04ab44a2df2c: Already exists
ad401f078830: Already exists
096a51bccb57: Already exists
e7134f98c78b: Already exists
afc7c35ee433: Already exists
7bfa5dba7952: Already exists
4f4fb700ef54: Already exists
f6b6a751bb6a: Already exists
f71dccae2ee7: Already exists
fe37a54a1499: Already exists
1815b99ebc09: Already exists
363d1f23b2cf: Already exists
4bb0990bd121: Already exists
ac4f9c652c6c: Already exists
ab5409fef174: Already exists
5e58ee45c6c7: Already exists
ee06219176b1: Already exists
34fd31afeec8: Already exists
c7a97b361486: Already exists
fc2b6e5cc5d9: Pulling fs layer
1c145dfb6c8a: Pulling fs layer
f1bb600e92a6: Pulling fs layer
97457e4bb83c: Pulling fs layer
f443344b6027: Pulling fs layer
899babe8d9b2: Pulling fs layer
0782628cdc8a: Pulling fs layer
5f180230ef97: Pulling fs layer
f443344b6027: Waiting
f013892c68c1: Pulling fs layer
899babe8d9b2: Waiting
0782628cdc8a: Waiting
3c9c3f15c70f: Pulling fs layer
5f180230ef97: Waiting
97457e4bb83c: Waiting
dc2d418c83c6: Pulling fs layer
f013892c68c1: Waiting
3c9c3f15c70f: Waiting
dc2d418c83c6: Waiting
977e732b88fa: Pulling fs layer
45baf3280147: Pulling fs layer
45baf3280147: Waiting
977e732b88fa: Waiting
1c145dfb6c8a: Verifying Checksum
1c145dfb6c8a: Download complete
97457e4bb83c: Download complete
f443344b6027: Download complete
899babe8d9b2: Download complete
0782628cdc8a: Verifying Checksum
fc2b6e5cc5d9: Verifying Checksum
fc2b6e5cc5d9: Download complete
f013892c68c1: Verifying Checksum
f013892c68c1: Download complete
fc2b6e5cc5d9: Pull complete
1c145dfb6c8a: Pull complete
3c9c3f15c70f: Verifying Checksum
3c9c3f15c70f: Download complete
dc2d418c83c6: Verifying Checksum
dc2d418c83c6: Download complete
977e732b88fa: Download complete
45baf3280147: Download complete
5f180230ef97: Verifying Checksum
5f180230ef97: Download complete
f1bb600e92a6: Verifying Checksum
f1bb600e92a6: Download complete
f1bb600e92a6: Pull complete
97457e4bb83c: Pull complete
f443344b6027: Pull complete
899babe8d9b2: Pull complete
0782628cdc8a: Pull complete
5f180230ef97: Pull complete
f013892c68c1: Pull complete
3c9c3f15c70f: Pull complete
dc2d418c83c6: Pull complete
977e732b88fa: Pull complete
45baf3280147: Pull complete
Digest: sha256:78cddc7af8976e354fc2ba208848413e0ad967cd1a5c7e891947641916892c01
Status: Downloaded newer image for ocaml/opam@sha256:78cddc7af8976e354fc2ba208848413e0ad967cd1a5c7e891947641916892c01
2026-04-16 21:11.55 ---> using "ae84376c8ea64c3b44609ae7ddbc6e3c1ee969d9d31c6d20fd5399e1219d3141" from cache


/: (comment opensuse-16.0-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-04-16 21:11.55 ---> using "1ee9c1e317a25924020f89502dbdbad8fdf3f56681bfee7edfc8d0ed6348d80e" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-16 21:11.55 ---> using "7805bba59b7c6e676aabbcb51933844eaffb2f4bb1fab3f2094053a973466463" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 5.4.1
2.5.0
2026-04-16 21:11.55 ---> using "8368f41d2b7f9e27edfe538453b7a35ef59ae347249d166d59db90c1ae6552fb" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-16 21:11.55 ---> using "7811d14c159e034d2d2bb93679fdcd7e841dee20d8ba648dad9e05a22f63897b" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
42844088d7..0b0acbee05  master     -> origin/master
5f7bb1a6e6 Merge pull request #29704 from shonfeder/release-dune-3.22.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Everything as up-to-date as possible
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.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)
2026-04-16 21:11.55 ---> using "8caaf6cb40c414f7b82519a377445372366610b2e04579680f72dc25072f9eee" from cache


/src: (copy (src ocaml-version.opam) (dst ./))
2026-04-16 21:11.55 ---> using "8bb331d2ed74ac01e8bb07971b4c485ff23ba21f458991d05ad280eff44564d9" from cache


/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)
2026-04-16 21:11.55 ---> using "01bc08a8302a962e38f50bb9ac32572bc84da7d5ed9e830e2571054b41bfa7c4" from cache


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-16 21:11.55 ---> using "fa6032e392949672b361f7c8b36e06f0aea82e9e033b13931fd650bdde1761f3" from cache


/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.1.0 dune.3.22.2 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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.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 ocaml-version.dev $DEPS"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'repo-openh264 (16.0)' is up to date.
- Repository 'repo-oss (16.0)' is up to date.
- All repositories have been refreshed.


<><> 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.4.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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).
# To update the current shell environment, run: eval $(opam env)
2026-04-16 21:11.55 ---> using "afe9ab64d79dab765516e046a77d3cd72fb5d42db8d04fd4a533bcfee9bb5146" from cache


/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.4.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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.1.0
- install dune               3.22.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.1
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.22.2  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed dune.3.22.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)
2026-04-16 21:13.52 ---> saved as "28564fd2e00a3d8e63839bfd879b7b23520d10928d1ae7b7566240281ff0e731"


/src: (copy (src .) (dst /src))
2026-04-16 21:13.52 ---> saved as "ab60f54d64fd4830b2dc430fd6e18b76fb489d3d352390d0acdae4a03c829e58"


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


[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.
2026-04-16 21:13.54 ---> saved as "eac58584b1d9f3c62d61a5a88787bcd38cef4b384f84c98de7572eb403e7ba5e"
Job succeeded
2026-04-16 21:13.54: Job succeeded