Organisationshannesmduration6abe42 (main)fedora-39-4.14_opam-2.1

fedora-39-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-05-12 09:16.17: New job: test hannesm/duration https://github.com/hannesm/duration.git#refs/heads/main (6abe42ebe585a96f79eb91045911b9a73c1db19e) (linux-x86_64:fedora-39-4.14_opam-2.1)
Base: ocaml/opam@sha256:ed7c1e0d99e0721e1f70d37387d85dc50ee1cd18e94bb53a454c6064400c0db3
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/hannesm/duration.git" -b "main" && cd "duration" && git reset --hard 6abe42eb
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:ed7c1e0d99e0721e1f70d37387d85dc50ee1cd18e94bb53a454c6064400c0db3
# fedora-39-4.14_opam-2.1
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.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 duration.opam ./
RUN opam pin add -yn duration.dev './'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.2.0 dune.3.15.2 fmt.0.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.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.1 --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


2024-05-12 09:16.17: Using cache hint "hannesm/duration-ocaml/opam@sha256:ed7c1e0d99e0721e1f70d37387d85dc50ee1cd18e94bb53a454c6064400c0db3-fedora-39-4.14_opam-2.1-6af871df9bf64f6c926ade4b53c7bc1b"
2024-05-12 09:16.17: Using OBuilder spec:
((from ocaml/opam@sha256:ed7c1e0d99e0721e1f70d37387d85dc50ee1cd18e94bb53a454c6064400c0db3)
 (comment fedora-39-4.14_opam-2.1)
 (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.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src duration.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn duration.dev './'"))
 (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.2.0 dune.3.15.2 fmt.0.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.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.1 --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"))
)


2024-05-12 09:16.17: Waiting for resource in pool OCluster
2024-05-12 09:16.18: Waiting for worker…
2024-05-12 09:19.37: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
All commits already cached
HEAD is now at 6abe42e changes for 0.2.1


(from ocaml/opam@sha256:ed7c1e0d99e0721e1f70d37387d85dc50ee1cd18e94bb53a454c6064400c0db3)
2024-05-12 09:21.35 ---> saved as "de5c85e07ee957c3bc1265b45c1243eb411cb9ddce0938b3d6424d1fb62b675a"


/: (comment fedora-39-4.14_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Fedora 39 - x86_64                              195 kB/s |  25 kB     00:00    
Fedora 39 openh264 (From Cisco) - x86_64         12 kB/s | 989  B     00:00    
Fedora 39 - x86_64 - Updates                    216 kB/s |  22 kB     00:00    
Fedora 39 - x86_64 - Updates                     14 MB/s |  32 MB     00:02    
Package findutils-1:4.9.0-5.fc39.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-05-12 09:22.05 ---> saved as "c83495299c31d099e69c8ae8d78b7d87dbcacc4a0da1d6de3ba106095978cc72"


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-12 09:22.06 ---> saved as "9900d95d490eb7388fac05e6319c9fec3bfcd14a566dc9d93a3295f7196fec06"


/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.1, 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
2024-05-12 09:23.32 ---> saved as "93df74f63cd2c4616683b082f460a7adde58962d579e2601f9bf4cc755893cf0"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-12 09:23.32 ---> saved as "e051b4c4fe40af6432c57ad1c5b3847c92265813c1723580447b65ec069fe6e2"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-12 09:23.32 ---> saved as "12f1339482168279e6b6ff9d29ff95d72a63bc254a0f4c7c402c007570a4d23b"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   6a2ad82c27..fec8ff50cd  master     -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages


<><> 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.
# Run eval $(opam env) to update the current shell environment
2024-05-12 09:24.53 ---> saved as "78350c386d0fbf20d059b1bcaaedb7b51f80f003726e16bb03668496ad487060"


/src: (copy (src duration.opam) (dst ./))
2024-05-12 09:24.53 ---> saved as "88cb70d6eae2aa31f66e70dc78cb8e31b27f4e0a55505e138d2271791f488449"


/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)
2024-05-12 09:24.55 ---> saved as "f11e1c78bc781988b689c4fbad77ff18893f9f936ef4a4daec7abaf30922e6c4"


/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.2.0 dune.3.15.2 fmt.0.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.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.1 --depext-only -y duration.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 39 - x86_64                              323 kB/s |  25 kB     00:00    
- Fedora 39 openh264 (From Cisco) - x86_64         16 kB/s | 989  B     00:00    
- Fedora 39 - x86_64 - Updates                    287 kB/s |  22 kB     00:00    
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[duration.dev] synchronised (no changes)


[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).
2024-05-12 09:25.14 ---> saved as "492fba0f2c9601f486a5ea57b2aaabcba7c30dc9c36073ed9336fc019507f4f7"


/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 seq                base
  - install dune               3.15.2
  - install ocamlbuild         0.14.3
  - install cmdliner           1.2.0
  - install ocamlfind          1.9.6
  - install stdlib-shims       0.3.0
  - install re                 1.11.0
  - install ocaml-syntax-shims 1.0.0
  - install topkg              1.0.7
  - install uutf               1.0.3
  - install fmt                0.9.0
  - install astring            0.8.5
  - install alcotest           1.7.0
===== 13 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> installed seq.base
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.15.2
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed alcotest.1.7.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-12 09:26.09 ---> saved as "47dce5eb1d5c38ca2bee432e8548ebeb463ccd56b1034a64134bc0440227c69b"


/src: (copy (src .) (dst /src))
2024-05-12 09:26.10 ---> saved as "9713b0da85d1b28d0586efc5a2c78d561f6fcf3683f92f1142c4fa8192de1a98"


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


  [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.003s. 33 tests run.
2024-05-12 09:26.10 ---> saved as "81b1c3b7d7d7802b2c53525034d23c2cbcc9b106177cd211b7c8da600dbe27ae"
Job succeeded
2024-05-12 09:26.11: Job succeeded