Organisationshannesmduration42b811 (main)opensuse-15.6-4.14_opam-2.5

opensuse-15.6-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-03-28 07:24.41: New job: test hannesm/duration https://github.com/hannesm/duration.git#refs/heads/main (42b811fcf5c0e07ccf17601d9a8a2c7f11e6f272) (linux-x86_64:opensuse-15.6-4.14_opam-2.5)
Base: ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:ea7df7b97205b48d47783accd725289689add0bdd28c25efd13baad8a7f63e67
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/hannesm/duration.git" -b "main" && cd "duration" && git reset --hard 42b811fc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:ea7df7b97205b48d47783accd725289689add0bdd28c25efd13baad8a7f63e67
# opensuse-15.6-4.14_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 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 duration.opam ./
RUN opam pin add -yn duration.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.0 fmt.0.11.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 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 duration.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-03-28 07:24.41: Using cache hint "hannesm/duration-ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:ea7df7b97205b48d47783accd725289689add0bdd28c25efd13baad8a7f63e67-opensuse-15.6-4.14_opam-2.5-59796a0c9d28ba29ad65387933a349d3"
2026-03-28 07:24.41: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:ea7df7b97205b48d47783accd725289689add0bdd28c25efd13baad8a7f63e67)
(comment opensuse-15.6-4.14_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 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src duration.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn duration.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.0 fmt.0.11.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 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 duration.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-03-28 07:24.41: Waiting for resource in pool OCluster
2026-03-28 07:31.38: Waiting for worker…
2026-03-28 07:32.14: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 42b811f add maintenance intent


(from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:ea7df7b97205b48d47783accd725289689add0bdd28c25efd13baad8a7f63e67)
Unable to find image 'ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:ea7df7b97205b48d47783accd725289689add0bdd28c25efd13baad8a7f63e67' locally
docker.io/ocaml/opam@sha256:ea7df7b97205b48d47783accd725289689add0bdd28c25efd13baad8a7f63e67: Pulling from ocaml/opam
cf0250ddcb79: Already exists
54ef38c3c526: Already exists
aefa76fd54e9: Already exists
5160a68bee03: Already exists
dff8487ca90e: Already exists
b5251e6ddd43: Already exists
d04e35b39212: Already exists
8a2c8750a65d: Already exists
c2bd98b2043f: Already exists
92d1ca2d50ad: Already exists
0c6bc91a1b86: Already exists
d401ac8151ea: Already exists
fecb8eb50ef9: Already exists
994c30767800: Already exists
373c0f192c59: Already exists
2ab629b957a4: Already exists
547301ca33cf: Already exists
45dd79c31b90: Already exists
45dd79c31b90: Already exists
4f4fb700ef54: Already exists
bbf088cc8b89: Already exists
7d084657d09b: Already exists
2f7fdd47d012: Already exists
bacfe3fbab4c: Already exists
8dd3fdf6dbcc: Already exists
178679eaaecc: Already exists
833aa5f3f1e1: Already exists
3fe068bfdf2c: Already exists
49b5535fa493: Already exists
e5952018833a: Already exists
525eae7302cc: Already exists
4f96601806d7: Already exists
ad34c1ad9b31: Already exists
cd5ff2180057: Already exists
dd297f4c55fb: Already exists
291468184bd2: Already exists
1fbd20167461: Already exists
d39c1baaf8e5: Already exists
17b7502e279e: Pulling fs layer
1a08779b4d9e: Pulling fs layer
0d2853b618f6: Pulling fs layer
5ee207db47eb: Pulling fs layer
5a776fd8eb40: Pulling fs layer
5ee207db47eb: Waiting
5a776fd8eb40: Waiting
0d2853b618f6: Verifying Checksum
0d2853b618f6: Download complete
5ee207db47eb: Download complete
5a776fd8eb40: Verifying Checksum
5a776fd8eb40: Download complete
17b7502e279e: Verifying Checksum
17b7502e279e: Download complete
17b7502e279e: Pull complete
1a08779b4d9e: Download complete
1a08779b4d9e: Pull complete
0d2853b618f6: Pull complete
5ee207db47eb: Pull complete
5a776fd8eb40: Pull complete
Digest: sha256:ea7df7b97205b48d47783accd725289689add0bdd28c25efd13baad8a7f63e67
Status: Downloaded newer image for ocaml/opam@sha256:ea7df7b97205b48d47783accd725289689add0bdd28c25efd13baad8a7f63e67
2026-03-28 07:32.14 ---> using "cd5ffe9eb783a234fb2269492629f1d7ab95728a3b4bc5415fbf3c844d82edbb" from cache


/: (comment opensuse-15.6-4.14_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-03-28 07:32.14 ---> using "b38dc0966963e77ed21e23d461bad85d02565fcf67a50922c57e4b2af9540307" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/bin/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-03-28 07:32.14 ---> using "ef396fa5a5d7537257565a5bcbb59afbf4aa6b15b8cafed6c6e5e61b84ec6690" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-106-generic
The OCaml toplevel, version 4.14.3
2.5.0
2026-03-28 07:32.14 ---> using "ddd4f8b68bc9f8bc2defa466f036f815b09acabb6864105826cee62ba3597dbf" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-03-28 07:32.14 ---> using "9e9ba07ed62b7ce49d36fe4d5f009843b66191bf327353bcaf40035913d106a4" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && git log --no-decorate -n1 --oneline && opam update -u"))
9f189ca4f9 Merge pull request #29562 from shonfeder/release-dune-3.22.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[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.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-03-28 07:32.14 ---> using "61137f6566d8d3a4762072b3a2a198dfaade98317b0123e86a9e7612aa44ebcb" from cache


/src: (copy (src duration.opam) (dst ./))
2026-03-28 07:32.14 ---> using "1c46ebe3be5d49f322e0fc1ed27f3c261f78585f0e2c84510c87ae44cfbf67b8" from cache


/src: (run (network host)
(shell "opam pin add -yn duration.dev './'"))
[duration.dev] synchronised (file:///src)
duration is now pinned to file:///src (version dev)
2026-03-28 07:32.14 ---> using "eb0cde4a5ef383c2de7558ce79942356f866e3599e2b7edc1eaab7f45fdb8eb4" from cache


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-03-28 07:32.14 ---> using "31bd9bd25b36489a7d963d9c7b07b7a8737e47dc831dd855cb1ae3a55c39ed2b" from cache


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.0 fmt.0.11.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 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 duration.dev $DEPS"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [..
- Looking for gpg keys in repository Update repository of openSUSE Backports.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/backports/repodata/repomd.xml.key
- ...
- .....
- ....
- ....
- ...
- ....
- .........
- ...........
- ............
- done]
- Building repository 'Update repository of openSUSE Backports' cache [....done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [.
- .
- Looking for gpg keys in repository Update repository with updates from SUSE Linux Enterprise 15.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/sle/repodata/repomd.xml.key
- ......
- ....
- ....
- ....
- .........
- ...........
- ..........
- .........
- ........
- ..........
- .........
- ..........
- ..........
- ..........
- .........
- .....
- .........
- ........
- .........
- ........
- .........
- ..........
- .........
- ..........
- ..........
- ......
- .......
- .......
- .....
- .....
- .......
- ........
- ..........
- ........
- ..........
- .........
- .........
- .......
- ....
- ...
- .........
- ....
- ....
- ........
- ......
- .......
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ........
- ..........
- ..........
- .........
- ........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- .........
- ........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- .........
- ......
- ....
- ....
- ....
- ....
- ...........
- ............
- ..........
- .........
- ..........
- .........
- .....done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Repository 'Main Update Repository' is up to date.
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[duration.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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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-03-28 07:34.56 ---> saved as "2623ca75df564d7cbff874436fac031ebee33eb4f46138c2142e06673c3a50ef"


/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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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 12 packages
- install alcotest           1.9.1
- install astring            0.8.5
- install cmdliner           2.1.0
- install dune               3.22.0
- 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 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.1  (cached)
-> retrieved dune.3.22.0  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.22.0
-> 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-03-28 07:35.23 ---> saved as "8374d39e909e422afabddbb05bc5a667da69140e04256cfb3180d1ee2efc743a"


/src: (copy (src .) (dst /src))
2026-03-28 07:35.24 ---> saved as "a0246c495ddb4f69256b93715c81490196dc59935861ff14585f8e8b23c4682c"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && ./tests.exe)
Testing `Duration tests'.
This run has ID `CZLWB2XQ'.


[OK]          Duration          0   of_us is good.
[OK]          Duration          1   to_us is good.
[OK]          Duration          2   inverse of/to_us.
[OK]          Duration          3   of_us is good.
[OK]          Duration          4   to_us is good.
[OK]          Duration          5   inverse of/to_us.
[OK]          Duration          6   of_ms is good.
[OK]          Duration          7   to_ms is good.
[OK]          Duration          8   inverse of/to_ms.
[OK]          Duration          9   of_ms is good.
[OK]          Duration         10   to_ms is good.
[OK]          Duration         11   inverse of/to_ms.
[OK]          Duration         12   of_sec is good.
[OK]          Duration         13   to_sec is good.
[OK]          Duration         14   inverse of/to_sec.
[OK]          Duration         15   of_sec is good.
[OK]          Duration         16   to_sec is good.
[OK]          Duration         17   inverse of/to_sec.
[OK]          Duration         18   of_min is good.
[OK]          Duration         19   to_min is good.
[OK]          Duration         20   inverse of/to_min.
[OK]          Duration         21   of_hour is good.
[OK]          Duration         22   to_hour is good.
[OK]          Duration         23   inverse of/to_hour.
[OK]          Duration         24   of_day is good.
[OK]          Duration         25   to_day is good.
[OK]          Duration         26   inverse of/to_day.
[OK]          Duration         27   of_year is good.
[OK]          Duration         28   to_year is good.
[OK]          Duration         29   inverse of/to_year.
[OK]          Duration         30   of_f is good.
[OK]          Duration         31   to_f is good.
[OK]          Duration         32   inverse of/to_f.


Full test results in `/src/_build/default/_build/_tests/Duration tests'.
Test Successful in 0.002s. 33 tests run.
2026-03-28 07:35.24 ---> saved as "30d935cce92382dc284dae9d84a288630b2fb131572a86c1ff3a619d98467e39"
Job succeeded
2026-03-28 07:35.24: Job succeeded