Organisationsmirageprometheusbdfdf4 ()debian-13-4.10_opam-2.4

debian-13-4.10_opam-2.4

Link Copied
Code Copied

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.10_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.10@sha256:3c832d8c5802b150d1e250940a261f3ab7e57f38227a6bc15832b17542622ead
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.10@sha256:3c832d8c5802b150d1e250940a261f3ab7e57f38227a6bc15832b17542622ead
# debian-13-4.10_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.10.2 ocaml-base-compiler.4.10.2 ocaml-compiler-libs.v0.12.4 ocaml-config.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.11.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.10@sha256:3c832d8c5802b150d1e250940a261f3ab7e57f38227a6bc15832b17542622ead-debian-13-4.10_opam-2.4-2b89ce7f10fcb3ea31e8b1979efb4ca4"
2025-12-06 20:18.20: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.10@sha256:3c832d8c5802b150d1e250940a261f3ab7e57f38227a6bc15832b17542622ead)
(comment debian-13-4.10_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.10.2 ocaml-base-compiler.4.10.2 ocaml-compiler-libs.v0.12.4 ocaml-config.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.11.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 bremusa.ocamllabs.io
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.10@sha256:3c832d8c5802b150d1e250940a261f3ab7e57f38227a6bc15832b17542622ead)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.10@sha256:3c832d8c5802b150d1e250940a261f3ab7e57f38227a6bc15832b17542622ead' locally
docker.io/ocaml/opam@sha256:3c832d8c5802b150d1e250940a261f3ab7e57f38227a6bc15832b17542622ead: Pulling from ocaml/opam
488d250f9803: Already exists
Digest: sha256:3c832d8c5802b150d1e250940a261f3ab7e57f38227a6bc15832b17542622ead
Status: Downloaded newer image for ocaml/opam@sha256:3c832d8c5802b150d1e250940a261f3ab7e57f38227a6bc15832b17542622ead
2025-12-06 20:19.07 ---> saved as "4ba70bfe56a14af4b1c955a4d15699e456d03056dbef613b07326955dcd41691"


/: (comment debian-13-4.10_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.07 ---> saved as "ca93f3c15b84dbe5185616e470ec01fb40ec74482c64074f70dde2fb8588c56e"


/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.33 ---> saved as "d9d46b2bb041e274643b337a661ed0da7d1b628d9e87a3d90be0104e361fe9b0"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-85-generic
The OCaml toplevel, version 4.10.2
2.4.1
2025-12-06 20:19.33 ---> saved as "dcb40c02728e14c71d88a562eb513dfd0937e966ec5577664cc28c1f2dcca9d9"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-06 20:19.34 ---> saved as "e0c99ed469759c33a6e32656f2f1a9c762e521d1dad8d2102f7edfe3d166acf2"


/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