Organisationsmirageocaml-gite29345 ()alpine-3.20-4.14_opam-2.2

alpine-3.20-4.14_opam-2.2

Link Copied
Code Copied

Logs

2024-09-04 07:59.24: New job: test mirage/ocaml-git https://github.com/mirage/ocaml-git.git#refs/heads/main (e29345f6971109fb66d580c2a4ecb13785d1792d) (linux-x86_64:alpine-3.20-4.14_opam-2.2)
Base: ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ac900c97807cd1ba5e88edabdd59d4977afb30b3a516804e6e7d7979951bfd37
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-git.git" -b "main" && cd "ocaml-git" && git reset --hard e29345f6
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ac900c97807cd1ba5e88edabdd59d4977afb30b3a516804e6e7d7979951bfd37
# alpine-3.20-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 || git fetch origin master) && git reset -q --hard ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 git.opam git-unix.opam git-paf.opam git-mirage.opam ./
RUN opam pin add -yn git.dev './' && \
    opam pin add -yn git-unix.dev './' && \
    opam pin add -yn git-paf.dev './' && \
    opam pin add -yn git-mirage.dev './'
ENV DEPS="afl-persistent.1.4 alcotest.1.8.0 alcotest-lwt.1.8.0 angstrom.0.16.0 arp.3.1.1 asn1-combinators.0.3.1 astring.0.8.5 awa.0.4.0 awa-mirage.0.4.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs-nss.3.103 carton.0.7.2 carton-git.0.7.2 carton-lwt.0.7.2 checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.3 cppo.1.7.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 decompress.1.5.3 digestif.1.2.0 dns.9.0.0 dns-client.9.0.0 dns-client-mirage.9.0.0 domain-name.0.4.0 duff.0.5 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 emile.1.1 encore.0.8 eqaf.0.10 ethernet.3.2.0 faraday.0.8.2 fmt.0.9.0 fpath.0.7.3 gmap.0.3.0 h2.0.12.0 happy-eyeballs.1.2.0 happy-eyeballs-lwt.1.2.0 happy-eyeballs-mirage.1.2.0 hkdf.2.0.0 host-arch-x86_64.1 host-system-other.1 hpack.0.12.0 httpaf.0.7.1 httpun-types.0.1.0 hxd.0.3.2 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 ke.0.6 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mimic.0.0.9 mimic-happy-eyeballs.0.0.9 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mirage-crypto-rng-mirage.1.1.0 mirage-flow.4.0.2 mirage-kv.6.1.1 mirage-net.4.0.0 mirage-runtime.4.6.1 mirage-time.3.0.0 mirage-unix.5.0.1 mtime.2.0.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.15.0 ocamlfind.1.9.6 ocamlgraph.2.1.0 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 paf.0.7.0 pbkdf.2.0.0 pecu.0.7 psq.0.2.1 ptime.1.1.0 randomconv.0.2.0 re.1.12.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 tcpip.8.2.0 tls.1.0.0 tls-mirage.1.0.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3 x509.1.0.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y git.dev git-unix.dev git-paf.dev git-mirage.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-09-04 07:59.24: Using cache hint "mirage/ocaml-git-ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ac900c97807cd1ba5e88edabdd59d4977afb30b3a516804e6e7d7979951bfd37-alpine-3.20-4.14_opam-2.2-95733d3aa4b9989dcb29cefdabcb4c99"
2024-09-04 07:59.24: Using OBuilder spec:
((from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ac900c97807cd1ba5e88edabdd59d4977afb30b3a516804e6e7d7979951bfd37)
 (comment alpine-3.20-4.14_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 || git fetch origin master) && git reset -q --hard ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src git.opam git-unix.opam git-paf.opam git-mirage.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn git.dev './' && \
             \nopam pin add -yn git-unix.dev './' && \
             \nopam pin add -yn git-paf.dev './' && \
             \nopam pin add -yn git-mirage.dev './'"))
 (env DEPS "afl-persistent.1.4 alcotest.1.8.0 alcotest-lwt.1.8.0 angstrom.0.16.0 arp.3.1.1 asn1-combinators.0.3.1 astring.0.8.5 awa.0.4.0 awa-mirage.0.4.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs-nss.3.103 carton.0.7.2 carton-git.0.7.2 carton-lwt.0.7.2 checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.3 cppo.1.7.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 decompress.1.5.3 digestif.1.2.0 dns.9.0.0 dns-client.9.0.0 dns-client-mirage.9.0.0 domain-name.0.4.0 duff.0.5 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 emile.1.1 encore.0.8 eqaf.0.10 ethernet.3.2.0 faraday.0.8.2 fmt.0.9.0 fpath.0.7.3 gmap.0.3.0 h2.0.12.0 happy-eyeballs.1.2.0 happy-eyeballs-lwt.1.2.0 happy-eyeballs-mirage.1.2.0 hkdf.2.0.0 host-arch-x86_64.1 host-system-other.1 hpack.0.12.0 httpaf.0.7.1 httpun-types.0.1.0 hxd.0.3.2 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 ke.0.6 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mimic.0.0.9 mimic-happy-eyeballs.0.0.9 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mirage-crypto-rng-mirage.1.1.0 mirage-flow.4.0.2 mirage-kv.6.1.1 mirage-net.4.0.0 mirage-runtime.4.6.1 mirage-time.3.0.0 mirage-unix.5.0.1 mtime.2.0.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.15.0 ocamlfind.1.9.6 ocamlgraph.2.1.0 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 paf.0.7.0 pbkdf.2.0.0 pecu.0.7 psq.0.2.1 ptime.1.1.0 randomconv.0.2.0 re.1.12.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 tcpip.8.2.0 tls.1.0.0 tls-mirage.1.0.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3 x509.1.0.2 zarith.1.14")
 (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.2 --depext-only -y git.dev git-unix.dev git-paf.dev git-mirage.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-09-04 07:59.24: Waiting for resource in pool OCluster
2024-09-04 07:59.25: Waiting for worker…
2024-09-04 07:59.32: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
HEAD is now at 247bc56cb update to TLS 1.0.0 (and mirage-crypto 1.0.0) API
HEAD is now at e29345f69 Merge pull request #646 from hannesm/tls-1


(from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ac900c97807cd1ba5e88edabdd59d4977afb30b3a516804e6e7d7979951bfd37)
2024-09-04 08:00.32 ---> saved as "360f26edbd0764b52725b6294936e7148bc39f2a4ff846a4d8ad86f052b4c874"


/: (comment alpine-3.20-4.14_opam-2.2)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-04 08:00.32 ---> saved as "200c86535b79daa0ed9fd4ec7265f39fc5aade141e9f2cbabb8143f6040bf1c9"


/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
[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] synchronised from file:///home/opam/opam-repository
2024-09-04 08:02.12 ---> saved as "73d522c0d095471d6dfb7023b8f19cc58a229e565a5e67fc05f4c0f5fc25ef6a"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-09-04 08:02.12 ---> saved as "12d274586c7c3985bb430ba0ab811fc24f4571ff854916652190cee37a5be771"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-09-04 08:02.12 ---> saved as "1be42e60ed85d47ecf19634ade86e7dfb3d5eb822ffa9f2d57b29239420a3bdb"


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