Organisationsrobur-coopalbatross80d24b ()ubuntu-22.04-5.2_opam-2.3

ubuntu-22.04-5.2_opam-2.3

Logs

Show full logs
2024-12-04 18:25.01: New job: test robur-coop/albatross https://github.com/robur-coop/albatross.git#refs/heads/main (80d24b58ba0c8a1033c38d9913956a3c9d9b3381) (linux-x86_64:ubuntu-22.04-5.2_opam-2.3)
Base: ocaml/opam:ubuntu-22.04-ocaml-5.2@sha256:b14964b5714587524d57a76be5a3ceb03d956838097477237c2a136555f59dd4
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/robur-coop/albatross.git" -b "main" && cd "albatross" && git reset --hard 80d24b58
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.2@sha256:b14964b5714587524d57a76be5a3ceb03d956838097477237c2a136555f59dd4
# ubuntu-22.04-5.2_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 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 albatross.opam ./
RUN opam pin add -yn albatross.dev './' && echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 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.8.0 csexp.1.5.2 cstruct.6.2.0 decompress.1.5.3 digestif.1.2.0 dns.9.1.0 domain-name.0.4.0 dune.3.17.0 dune-configurator.3.17.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.13.0 happy-eyeballs.1.2.2 happy-eyeballs-lwt.1.2.2 host-arch-x86_64.1 host-system-other.1 hpack.0.13.0 http-lwt-client.0.3.1 httpaf.0.7.1 httpun-types.0.2.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.7.0 logs-syslog.0.4.1 lru.0.3.1 lwt.5.9.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.1.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 psq.0.2.1 ptime.1.2.0 re.1.12.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.4 tls-lwt.1.0.4 topkg.1.0.7 uutf.1.0.3 x509.1.0.5 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-12-04 18:25.01: Using cache hint "robur-coop/albatross-ocaml/opam:ubuntu-22.04-ocaml-5.2@sha256:b14964b5714587524d57a76be5a3ceb03d956838097477237c2a136555f59dd4-ubuntu-22.04-5.2_opam-2.3-b7da3b530abf92410d2e9d31c1230945"
2024-12-04 18:25.01: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.2@sha256:b14964b5714587524d57a76be5a3ceb03d956838097477237c2a136555f59dd4)
 (comment ubuntu-22.04-5.2_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 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src albatross.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn albatross.dev './' && echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 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.8.0 csexp.1.5.2 cstruct.6.2.0 decompress.1.5.3 digestif.1.2.0 dns.9.1.0 domain-name.0.4.0 dune.3.17.0 dune-configurator.3.17.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.13.0 happy-eyeballs.1.2.2 happy-eyeballs-lwt.1.2.2 host-arch-x86_64.1 host-system-other.1 hpack.0.13.0 http-lwt-client.0.3.1 httpaf.0.7.1 httpun-types.0.2.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.7.0 logs-syslog.0.4.1 lru.0.3.1 lwt.5.9.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.1.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 psq.0.2.1 ptime.1.2.0 re.1.12.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.4 tls-lwt.1.0.4 topkg.1.0.7 uutf.1.0.3 x509.1.0.5 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.3 --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-12-04 18:25.01: Waiting for resource in pool OCluster
2024-12-04 18:51.31: Waiting for worker…
2024-12-04 18:53.44: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
HEAD is now at 80d24b5 On solo5 manifest mismatch print the manifest (#196)

(from ocaml/opam:ubuntu-22.04-ocaml-5.2@sha256:b14964b5714587524d57a76be5a3ceb03d956838097477237c2a136555f59dd4)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-5.2@sha256:b14964b5714587524d57a76be5a3ceb03d956838097477237c2a136555f59dd4' locally
docker.io/ocaml/opam@sha256:b14964b5714587524d57a76be5a3ceb03d956838097477237c2a136555f59dd4: Pulling from ocaml/opam
2b55ab07f9b1: Pulling fs layer
2b55ab07f9b1: Download complete
2b55ab07f9b1: Pull complete
Digest: sha256:b14964b5714587524d57a76be5a3ceb03d956838097477237c2a136555f59dd4
Status: Downloaded newer image for ocaml/opam@sha256:b14964b5714587524d57a76be5a3ceb03d956838097477237c2a136555f59dd4
2024-12-04 18:55.47 ---> saved as "0e1d8a9fbc5f2749522f74a194173eaeb73e40f79dc50e2840fb7670b0234595"

/: (comment ubuntu-22.04-5.2_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"))
2024-12-04 18:55.48 ---> saved as "868e2757f931f4f09eacfee7186c40eadde4d435e7ad73832990de0af0e8a05a"

/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.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 39 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=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-12-04 18:57.43 ---> saved as "d9fc4c3cc81703e56cef3eb4c6a48ec547cb7e8483d448f50fb9180a8527130a"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 5.2.0
2.3.0
2024-12-04 18:57.44 ---> saved as "5745558f52100be57c0c2b921d04f6e0675133cb1eb2ffbbf91f0c845084e17f"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-12-04 18:57.44 ---> saved as "2d066895d70ec8a821be126f9d6ba9621540003e0e85045a8ead06d99a242611"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u"))
fatal: unable to access 'https://github.com/ocaml/opam-repository/': The requested URL returned error: 502
"/usr/bin/env" "bash" "-c" "cd ~/opam-repository && (git cat-file -e 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u" failed with exit status 128
2024-12-04 18:58.01: Job failed: Failed: Build failed