Organisationsmiragedigestifbe4eb6 ()ubuntu-20.04-5.3_opam-2.3

ubuntu-20.04-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-04-17 09:48.12: New job: test mirage/digestif https://github.com/mirage/digestif.git#refs/heads/main (be4eb6e691062b941678b7ad3896672e1ce02274) (linux-x86_64:ubuntu-20.04-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/digestif.git" -b "main" && cd "digestif" && git reset --hard be4eb6e6
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4
# ubuntu-20.04-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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 digestif.opam ./
RUN opam pin add -yn digestif.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="afl-persistent.1.4 alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 cppo.1.8.0 crowbar.0.2.1 dune.3.18.0 eqaf.0.10 fmt.0.10.0 fpath.0.7.3 logs.0.8.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.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y digestif.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-04-17 09:48.12: Using cache hint "mirage/digestif-ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4-ubuntu-20.04-5.3_opam-2.3-21d99e536fee49a7aa03b63a05b955ed"
2025-04-17 09:48.12: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4)
(comment ubuntu-20.04-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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src digestif.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn digestif.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "afl-persistent.1.4 alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 cppo.1.8.0 crowbar.0.2.1 dune.3.18.0 eqaf.0.10 fmt.0.10.0 fpath.0.7.3 logs.0.8.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.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 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.3 --depext-only -y digestif.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-04-17 09:48.12: Waiting for resource in pool OCluster
2025-04-17 09:48.13: Waiting for worker…
2025-04-17 09:48.13: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
HEAD is now at 7884f23 Merge pull request #159 from mirage/prepare-v1.3.0
HEAD is now at be4eb6e Merge pull request #160 from jonahbeckford/remove-dkml


(from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4' locally
docker.io/ocaml/opam@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4: Pulling from ocaml/opam
57aad1afeeb6: Pulling fs layer
57aad1afeeb6: Verifying Checksum
57aad1afeeb6: Download complete
57aad1afeeb6: Pull complete
Digest: sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4
Status: Downloaded newer image for ocaml/opam@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4
2025-04-17 09:48.13 ---> using "853635adef2bb46ed82ab0428f2bf6f3d8227c7cd6aa3b98f96d3e6528544fba" from cache


/: (comment ubuntu-20.04-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-04-17 09:48.13 ---> using "9877eb90380b673f78ef312392a72cf3a3691c2919b727596ed03c486e5d2f6d" 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] Initialised
2025-04-17 09:48.13 ---> using "070a6c8e64fffdd9231b8a9facbf333d50f8e9d4495c27760377d14972ed951e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-04-17 09:48.13 ---> using "b0f48e797bb83267f7666cd2ecf3befc301498f3a08fd34d704371ae98fc7ac9" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-04-17 09:48.13 ---> using "8575763cf362d031e8ee27989b7086e7f8c5a94c27edf329a6d55412d678fa39" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
2025-04-17 09:48.16: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled