Organisationsmirageprometheusbdfdf4 ()debian-13-4.11_opam-2.4

debian-13-4.11_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.11_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.11@sha256:ff624a0e21f01caa8535ed6af59df1086d4c2b4ae8ea0ff2d1e98d1d32ba6693
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.11@sha256:ff624a0e21f01caa8535ed6af59df1086d4c2b4ae8ea0ff2d1e98d1d32ba6693
# debian-13-4.11_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.11.2 ocaml-base-compiler.4.11.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.11@sha256:ff624a0e21f01caa8535ed6af59df1086d4c2b4ae8ea0ff2d1e98d1d32ba6693-debian-13-4.11_opam-2.4-6819f51593772845e55e5a18e1ef8ae1"
2025-12-06 20:18.20: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:ff624a0e21f01caa8535ed6af59df1086d4c2b4ae8ea0ff2d1e98d1d32ba6693)
(comment debian-13-4.11_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.11.2 ocaml-base-compiler.4.11.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.20: 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.11@sha256:ff624a0e21f01caa8535ed6af59df1086d4c2b4ae8ea0ff2d1e98d1d32ba6693)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.11@sha256:ff624a0e21f01caa8535ed6af59df1086d4c2b4ae8ea0ff2d1e98d1d32ba6693' locally
docker.io/ocaml/opam@sha256:ff624a0e21f01caa8535ed6af59df1086d4c2b4ae8ea0ff2d1e98d1d32ba6693: Pulling from ocaml/opam
2325d80becca: Already exists
Digest: sha256:ff624a0e21f01caa8535ed6af59df1086d4c2b4ae8ea0ff2d1e98d1d32ba6693
Status: Downloaded newer image for ocaml/opam@sha256:ff624a0e21f01caa8535ed6af59df1086d4c2b4ae8ea0ff2d1e98d1d32ba6693
2025-12-06 20:19.06 ---> saved as "ad715ac988295cbaf21a7f4a1e3686d1ef36ea7e0032909b6713a0d04cb2de20"


/: (comment debian-13-4.11_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 "e47d259a70378f1d8335d464a59b48daa96d7f46b44c0d9de0a521cbcab5ac22"


/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.32 ---> saved as "b5b9da039a5d782696c3cfa2366d84031c930e5ee4c5baae0e628ff3434d4828"


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-06 20:19.33 ---> saved as "764b419fdaf4efabe813c85182347bfb06277ca1ad8d75a6262a7d5e75bed83a"


/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