Organisationsmirageprometheusbdfdf4 ()debian-13-4.12_opam-2.4

debian-13-4.12_opam-2.4

Logs

Show full logs
2025-12-06 20:18.20: New job: test mirage/prometheus https://github.com/mirage/prometheus.git#refs/pull/51/head (bdfdf4f23142a026ed72c1b93e935aba7bcda0ce) (linux-x86_64:debian-13-4.12_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.12@sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/prometheus.git" && cd "prometheus" && git fetch origin "refs/pull/51/head" && git reset --hard bdfdf4f2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.12@sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da
# debian-13-4.12_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 prometheus.opam prometheus-app.opam ./
RUN opam pin add -yn prometheus.dev './' && \
    opam pin add -yn prometheus-app.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 alcotest-lwt.1.9.1 angstrom.0.16.1 asetmap.0.8.1 asn1-combinators.0.2.6 astring.0.8.5 base.v0.15.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.2.1 ca-certs.0.2.3 cmdliner.2.1.0 cohttp.6.0.0 cohttp-lwt.6.0.0 cohttp-lwt-unix.6.0.0 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.9 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 http.6.0.0 ipaddr.5.6.1 ipaddr-sexp.5.6.1 logs.0.8.0 lwt.5.9.2 macaddr.5.6.1 magic-mime.1.3.1 mirage-crypto.0.11.3 mirage-crypto-ec.0.11.3 mirage-crypto-pk.0.11.3 mirage-crypto-rng.0.11.3 num.1.6 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 parsexp.v0.15.0 pbkdf.1.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.15.1 ppxlib.0.35.0 ptime.1.2.0 re.1.12.0 rresult.0.7.0 seq.base sexplib.v0.15.1 sexplib0.v0.15.1 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.1 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.0.16.5 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y prometheus.dev prometheus-app.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-12-06 20:18.20: Using cache hint "mirage/prometheus-ocaml/opam:debian-13-ocaml-4.12@sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da-debian-13-4.12_opam-2.4-b78d5403d0c3bb975e916c77c81702fe"
2025-12-06 20:18.20: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.12@sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da)
 (comment debian-13-4.12_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src prometheus.opam prometheus-app.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn prometheus.dev './' && \
             \nopam pin add -yn prometheus-app.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 alcotest-lwt.1.9.1 angstrom.0.16.1 asetmap.0.8.1 asn1-combinators.0.2.6 astring.0.8.5 base.v0.15.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.2.1 ca-certs.0.2.3 cmdliner.2.1.0 cohttp.6.0.0 cohttp-lwt.6.0.0 cohttp-lwt-unix.6.0.0 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.9 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 http.6.0.0 ipaddr.5.6.1 ipaddr-sexp.5.6.1 logs.0.8.0 lwt.5.9.2 macaddr.5.6.1 magic-mime.1.3.1 mirage-crypto.0.11.3 mirage-crypto-ec.0.11.3 mirage-crypto-pk.0.11.3 mirage-crypto-rng.0.11.3 num.1.6 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 parsexp.v0.15.0 pbkdf.1.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.15.1 ppxlib.0.35.0 ptime.1.2.0 re.1.12.0 rresult.0.7.0 seq.base sexplib.v0.15.1 sexplib0.v0.15.1 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.1 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.0.16.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.4 --depext-only -y prometheus.dev prometheus-app.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-12-06 20:18.20: Waiting for resource in pool OCluster
2025-12-06 20:18.20: Waiting for worker…
2025-12-06 20:18.21: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at bdfdf4f use only one flag and default to 0.0.0.0:9090

(from ocaml/opam:debian-13-ocaml-4.12@sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.12@sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da' locally
docker.io/ocaml/opam@sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da: Pulling from ocaml/opam
c29a900b1811: Already exists
Digest: sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da
Status: Downloaded newer image for ocaml/opam@sha256:d928c76c87bc579e622b82bbc5416f92e849ccd1cb1217faa61aca2dbbd6c0da
2025-12-06 20:19.08 ---> saved as "00b2fce1e3fdf51b2b416ff8da9949ddd87c1779e8b58b70219558359d597f53"

/: (comment debian-13-4.12_opam-2.4)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-12-06 20:19.08 ---> saved as "9a7f4acd91e9a8c240b2b1298651d6d56496f293a07cf6edd3dfd7d06d6b77f9"

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

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-06 20:19.31 ---> saved as "a8fdf9d0f1599cf0fe544b341d734a0b6449eadc8aef5d6f19861f9c4df08f2e"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 4.12.1
2.4.1
2025-12-06 20:19.32 ---> saved as "62a787a84044f3ef01f716e12fd70b8b03bd388b067b6c82da676e52b5499752"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-12-06 20:19.32 ---> saved as "9417c6d92a3ef9bc390b0a8f994c28200fd30cb3048e919c99cb92ebf4712ea8"

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