Organisationsrobur-coopalbatross9e54c9 ()ubuntu-20.04-5.2_opam-2.2

ubuntu-20.04-5.2_opam-2.2

Link Copied
Code Copied

Logs

2024-09-03 18:52.31: New job: test robur-coop/albatross https://github.com/robur-coop/albatross.git#refs/heads/main (9e54c94b5515d6843d850c7aaebcbbb755418c89) (linux-x86_64:ubuntu-20.04-5.2_opam-2.2)
Base: ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/robur-coop/albatross.git" -b "main" && cd "albatross" && git reset --hard 9e54c94b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529
# ubuntu-20.04-5.2_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 c84345705ea5f90cfcd4b6a0ce7bd5b7b0772e13 || git fetch origin master) && git reset -q --hard c84345705ea5f90cfcd4b6a0ce7bd5b7b0772e13 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 albatross.opam ./
RUN opam pin add -yn albatross.dev './'
ENV DEPS="alcotest.1.8.0 angstrom.0.16.0 asn1-combinators.0.3.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.0 checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-libnl3.1 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 decompress.1.5.3 digestif.1.2.0 dns.9.0.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.10 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.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 hkdf.2.0.0 host-arch-x86_64.1 host-system-other.1 hpack.0.12.0 http-lwt-client.0.3.0 httpaf.0.7.1 httpun-types.0.1.0 ipaddr.5.6.0 logs.0.7.0 logs-syslog.0.4.1 lru.0.3.1 lwt.5.7.0 macaddr.5.6.0 metrics.0.4.1 metrics-influx.0.4.1 metrics-lwt.0.4.1 metrics-rusage.0.4.1 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-lwt.1.1.0 mtime.2.0.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.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 owee.0.7 pbkdf.2.0.0 psq.0.2.1 ptime.1.1.0 re.1.11.0 result.1.5 rresult.0.7.0 seq.base solo5-elftool.0.3.1 stdlib-shims.0.3.0 syslog-message.1.2.0 tls.1.0.0 tls-lwt.1.0.0 topkg.1.0.7 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 albatross.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-03 18:52.31: Using cache hint "robur-coop/albatross-ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529-ubuntu-20.04-5.2_opam-2.2-1a583982ebbf4000a1c1ee4251dd1f27"
2024-09-03 18:52.31: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529)
 (comment ubuntu-20.04-5.2_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 c84345705ea5f90cfcd4b6a0ce7bd5b7b0772e13 || git fetch origin master) && git reset -q --hard c84345705ea5f90cfcd4b6a0ce7bd5b7b0772e13 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src albatross.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn albatross.dev './'"))
 (env DEPS "alcotest.1.8.0 angstrom.0.16.0 asn1-combinators.0.3.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.0 checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-libnl3.1 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 decompress.1.5.3 digestif.1.2.0 dns.9.0.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.10 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.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 hkdf.2.0.0 host-arch-x86_64.1 host-system-other.1 hpack.0.12.0 http-lwt-client.0.3.0 httpaf.0.7.1 httpun-types.0.1.0 ipaddr.5.6.0 logs.0.7.0 logs-syslog.0.4.1 lru.0.3.1 lwt.5.7.0 macaddr.5.6.0 metrics.0.4.1 metrics-influx.0.4.1 metrics-lwt.0.4.1 metrics-rusage.0.4.1 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-lwt.1.1.0 mtime.2.0.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.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 owee.0.7 pbkdf.2.0.0 psq.0.2.1 ptime.1.1.0 re.1.11.0 result.1.5 rresult.0.7.0 seq.base solo5-elftool.0.3.1 stdlib-shims.0.3.0 syslog-message.1.2.0 tls.1.0.0 tls-lwt.1.0.0 topkg.1.0.7 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 albatross.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-03 18:52.31: Waiting for resource in pool OCluster
2024-09-03 18:52.31: Waiting for worker…
2024-09-03 18:52.50: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 9e54c94 Adapt to tls 1.0.0, mirage-crypto 1.0.0, and asn1-combinators 0.3.0 API changes (#187)


(from ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529' locally
docker.io/ocaml/opam@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529: Pulling from ocaml/opam
af4ee850e5e4: Pulling fs layer
af4ee850e5e4: Verifying Checksum
af4ee850e5e4: Download complete
af4ee850e5e4: Pull complete
Digest: sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529
Status: Downloaded newer image for ocaml/opam@sha256:3cb224d0c4191527facab6ef0e1fd6e70dbccb45b3c172785e97975e2921f529
2024-09-03 18:54.29 ---> saved as "39367f9505917995f9eaff72c8f1d1ce0d11606421d94b0d83720370dbefbf28"


/: (comment ubuntu-20.04-5.2_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-03 18:54.29 ---> saved as "c2a28c12f1ea91b4310f48b1cf9124539226240f1f7da99eaf1abfbf31087f6a"


/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.


Continue? [y/n] y
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.


[NOTE] The 'jobs' option was reset, its value was 31 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=31 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
2024-09-03 18:54.46: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled