Organisationsmiragecheckseum33f923 (main)fedora-39-5.2_opam-2.1

fedora-39-5.2_opam-2.1

Link Copied
Code Copied

Logs

2024-06-17 13:14.27: New job: test mirage/checkseum https://github.com/mirage/checkseum.git#refs/heads/main (33f923852958baa2791e2753fc1bd13841ad7234) (linux-x86_64:fedora-39-5.2_opam-2.1)
Base: ocaml/opam@sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/checkseum.git" -b "main" && cd "checkseum" && git reset --hard 33f92385
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96
# fedora-39-5.2_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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 checkseum.opam ./
RUN opam pin add -yn checkseum.dev './'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 optint.0.3.0 re.1.11.0 rresult.0.7.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 checkseum.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-06-17 13:14.27: Using cache hint "mirage/checkseum-ocaml/opam@sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96-fedora-39-5.2_opam-2.1-3368c1d6419177817fee2eb4d506aa90"
2024-06-17 13:14.27: Using OBuilder spec:
((from ocaml/opam@sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96)
 (comment fedora-39-5.2_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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src checkseum.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn checkseum.dev './'"))
 (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 optint.0.3.0 re.1.11.0 rresult.0.7.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 checkseum.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-06-17 13:14.27: Waiting for resource in pool OCluster
2024-06-19 15:02.16: Waiting for worker…
2024-06-19 15:06.00: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 33f9238 Merge pull request #85 from hannesm/fix-Wdeprecated-non-prototype


(from ocaml/opam@sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96)
Unable to find image 'ocaml/opam@sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96' locally
docker.io/ocaml/opam@sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96: Pulling from ocaml/opam
56e7de2e9232: Pulling fs layer
ef109ff8c7de: Pulling fs layer
ce93f466e4e6: Pulling fs layer
56e7de2e9232: Waiting
a91829056df3: Pulling fs layer
ef109ff8c7de: Waiting
ce93f466e4e6: Waiting
ae25c2b23627: Pulling fs layer
a91829056df3: Waiting
f16bfe3e05be: Pulling fs layer
ae25c2b23627: Waiting
ef109ff8c7de: Verifying Checksum
ef109ff8c7de: Download complete
a91829056df3: Download complete
ae25c2b23627: Download complete
ce93f466e4e6: Verifying Checksum
ce93f466e4e6: Download complete
f16bfe3e05be: Verifying Checksum
f16bfe3e05be: Download complete
56e7de2e9232: Verifying Checksum
56e7de2e9232: Download complete
56e7de2e9232: Pull complete
ef109ff8c7de: Pull complete
ce93f466e4e6: Pull complete
a91829056df3: Pull complete
ae25c2b23627: Pull complete
f16bfe3e05be: Pull complete
Digest: sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96
Status: Downloaded newer image for ocaml/opam@sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96
2024-06-19 15:06.01 ---> using "1fb067e40a504376644340ea9061b90ca90281abe6945ffbcdd5f8481eb0bf1d" from cache


/: (comment fedora-39-5.2_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                              238 kB/s |  30 kB     00:00    
Fedora 39 openh264 (From Cisco) - x86_64        9.7 kB/s | 989  B     00:00    
Fedora 39 - x86_64 - Updates                    231 kB/s |  28 kB     00:00    
Fedora 39 - x86_64 - Updates                    6.3 MB/s | 8.3 MB     00:01    
Package findutils-1:4.9.0-5.fc39.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-06-19 15:06.01 ---> using "2e7d89bf82bb141f24856d9111b217f37bb27c8610c3559d31a9327d79008f86" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-06-19 15:06.01 ---> using "b959f86f46a11b8c746e712287520cf614a4eae890cbe2261cbc219727e687fa" 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.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-06-19 15:06.01 ---> using "8c253ec291d3fe2bc074ea97ba3c0efd6da2b898689c483d83f1a351d8c83f5f" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-112-generic
The OCaml toplevel, version 5.2.0
2.1.6
2024-06-19 15:06.01 ---> using "86675b0ebf00725a35580f8b7e5ced1f428a20dc1801d711c1b95cdc94ffcf70" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-19 15:06.01 ---> using "908a116e1651f43cdbdbe53794662d7c8a6c4c6e42c637962738b55f744afe42" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c45f5bab71..5d6f1cf035  master     -> origin/master
a6069b9eeb [new release] dune (15 packages) (3.16.0)


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


The following actions will be performed:
  - install   host-arch-x86_64      1
  - install   host-system-other     1
  - recompile ocaml-options-vanilla 1       [upstream or system changes]
  - recompile ocaml-base-compiler   5.2.0*  [upstream or system changes]
  - recompile ocaml-config          3       [uses ocaml-base-compiler]
  - recompile ocaml                 5.2.0   [uses ocaml-base-compiler]
  - recompile opam-depext           1.2.1-1 [uses ocaml]
  - recompile base-domains          base    [uses ocaml]
  - recompile base-nnp              base    [uses base-domains]
===== 2 to install | 7 to recompile =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> removed   ocaml-options-vanilla.1
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved opam-depext.1.2.1-1  (cached)
-> retrieved ocaml-base-compiler.5.2.0  (cached)
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   opam-depext.1.2.1-1
-> removed   ocaml.5.2.0
-> removed   ocaml-config.3
-> removed   ocaml-base-compiler.5.2.0
-> installed ocaml-base-compiler.5.2.0
-> installed ocaml-config.3
-> installed ocaml.5.2.0
-> installed base-domains.base
-> installed base-nnp.base
-> installed opam-depext.1.2.1-1
Done.


<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-06-19 15:06.01 ---> using "030497128e2ce2c9865bd82778de02c0dbb6204c386668afc461762b09299b89" from cache


/src: (copy (src checkseum.opam) (dst ./))
2024-06-19 15:06.01 ---> saved as "1f1fda6774423319a89e76a49fb2b669486c2e6c89a2887868d0de257de1ad26"


/src: (run (network host)
           (shell "opam pin add -yn checkseum.dev './'"))
[checkseum.dev] synchronised (file:///src)
checkseum is now pinned to file:///src (version dev)
2024-06-19 15:06.02 ---> saved as "4f6382c4031c6abb7b382d2a510a9e7be7628ac879e53f2ab0ab06650bb0ceac"


/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 optint.0.3.0 re.1.11.0 rresult.0.7.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 checkseum.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 39 - x86_64                              239 kB/s |  30 kB     00:00    
- Fedora 39 openh264 (From Cisco) - x86_64         10 kB/s | 989  B     00:00    
- Fedora 39 - x86_64 - Updates                    213 kB/s |  27 kB     00:00    
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[checkseum.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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-06-19 15:06.14 ---> saved as "d7df28ab9856ca9cf5971a23dc83549bd3f9a6209a02f0afef7ac091d5f37e7f"


/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-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-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 ocamlbuild         0.14.3
  - install dune               3.16.0
  - install ocamlfind          1.9.6
  - install cmdliner           1.3.0
  - install seq                base
  - install stdlib-shims       0.3.0
  - install optint             0.3.0
  - install ocaml-syntax-shims 1.0.0
  - install csexp              1.5.2
  - install topkg              1.0.7
  - install re                 1.11.0
  - install dune-configurator  3.16.0
  - install uutf               1.0.3
  - install rresult            0.7.0
  - install fmt                0.9.0
  - install astring            0.8.5
  - install logs               0.7.0
  - install fpath              0.7.3
  - install alcotest           1.7.0
  - install bos                0.2.1
===== 20 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved dune-configurator.3.16.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed bos.0.2.1
-> installed dune.3.16.0
-> installed csexp.1.5.2
-> installed optint.0.3.0
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> installed ocaml-syntax-shims.1.0.0
-> installed alcotest.1.7.0
-> installed dune-configurator.3.16.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-19 15:06.56 ---> saved as "a47d4dbb833bdfbe026f0a1904e99aec77e41d29d813a1bbcfca363f245104c0"


/src: (copy (src .) (dst /src))
2024-06-19 15:06.56 ---> saved as "756431c0f4e8692a8f7269a5ca457bc64c15096e015299c5e3de250f2b666d0f"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/ocaml && ./test.exe --color=always)
Testing `checkseum'.
This run has ID `PRB0XXF4'.


  [OK]          adler32          0   0.
  [OK]          adler32          1   1.
  [OK]          adler32          2   2.
  [OK]          adler32          3   3.
  [OK]          adler32          4   4.
  [OK]          adler32          5   5.
  [OK]          crc32c           0   0.
  [OK]          crc32c           1   1.
  [OK]          crc32c           2   2.
  [OK]          crc32c           3   3.
  [OK]          crc32c           4   4.
  [OK]          crc32            0   0.
  [OK]          crc32            1   1.
  [OK]          crc32            2   2.
  [OK]          crc32            3   3.
  [OK]          crc32            4   4.
  [OK]          crc32            5   5.
  [OK]          crc24            0   0.
  [OK]          crc24            1   1.
  [OK]          crc24            2   2.
  [OK]          crc24            3   3.


Full test results in `/src/_build/default/test/ocaml/_build/_tests/checkseum'.
Test Successful in 0.004s. 21 tests run.
(cd _build/default/test/c && ./test.exe --color=always)
Testing `checkseum'.
This run has ID `YTOMVVBK'.


  [OK]          adler32          0   0.
  [OK]          adler32          1   1.
  [OK]          adler32          2   2.
  [OK]          adler32          3   3.
  [OK]          adler32          4   4.
  [OK]          adler32          5   5.
  [OK]          crc32c           0   0.
  [OK]          crc32c           1   1.
  [OK]          crc32c           2   2.
  [OK]          crc32c           3   3.
  [OK]          crc32c           4   4.
  [OK]          crc32            0   0.
  [OK]          crc32            1   1.
  [OK]          crc32            2   2.
  [OK]          crc32            3   3.
  [OK]          crc32            4   4.
  [OK]          crc32            5   5.
  [OK]          crc24            0   0.
  [OK]          crc24            1   1.
  [OK]          crc24            2   2.
  [OK]          crc24            3   3.


Full test results in `/src/_build/default/test/c/_build/_tests/checkseum'.
Test Successful in 0.004s. 21 tests run.
2024-06-19 15:06.57 ---> saved as "b9095d0ce42b9dc3737ead8d6ec9093276a967fc63ce907fbffc8b1a3c9ad8be"
Job succeeded
2024-06-19 15:06.58: Job succeeded