Organisationsmirageprometheusf8a722 ()fedora-42-5.4_opam-2.4

fedora-42-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-12-06 20:19.50: New job: test mirage/prometheus https://github.com/mirage/prometheus.git#refs/pull/51/head (f8a722a1ae3467991527c9811d470da3f3057312) (linux-x86_64:fedora-42-5.4_opam-2.4)
Base: ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6
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 f8a722a1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6
# fedora-42-5.4_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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.3.2 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.1 cmdliner.2.1.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-unix.6.1.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 kdf.1.0.0 logs.0.10.0 lwt.5.9.2 macaddr.5.6.1 magic-mime.1.3.1 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.17.0 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.1.0.6 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:19.50: Using cache hint "mirage/prometheus-ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6-fedora-42-5.4_opam-2.4-f41ac82c8cc241910a63705aa2be5886"
2025-12-06 20:19.50: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6)
(comment fedora-42-5.4_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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.3.2 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.1 cmdliner.2.1.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-unix.6.1.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 kdf.1.0.0 logs.0.10.0 lwt.5.9.2 macaddr.5.6.1 magic-mime.1.3.1 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.17.0 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.1.0.6 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:19.50: Waiting for resource in pool OCluster
2025-12-06 20:19.50: Waiting for worker…
2025-12-06 20:19.50: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at f8a722a Add option to allow specifying address to bind to


(from ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6)
Unable to find image 'ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6' locally
docker.io/ocaml/opam@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6: Pulling from ocaml/opam
36fff8136b8f: Pulling fs layer
c6afda4f8977: Pulling fs layer
90199dcf0bc2: Pulling fs layer
36fff8136b8f: Waiting
c6afda4f8977: Waiting
9bac13b94950: Pulling fs layer
e64924156c65: Pulling fs layer
5ba6b09ff03a: Pulling fs layer
90199dcf0bc2: Waiting
5ba6b09ff03a: Waiting
9bac13b94950: Waiting
e64924156c65: Waiting
2025-12-06 20:20.48: Cancelling: Auto-cancelling job because it is no longer needed
c6afda4f8977: Verifying Checksum
c6afda4f8977: Download complete
9bac13b94950: Verifying Checksum
9bac13b94950: Download complete
e64924156c65: Verifying Checksum
e64924156c65: Download complete
5ba6b09ff03a: Download complete
90199dcf0bc2: Verifying Checksum
90199dcf0bc2: Download complete
36fff8136b8f: Verifying Checksum
36fff8136b8f: Download complete
36fff8136b8f: Pull complete
c6afda4f8977: Pull complete
90199dcf0bc2: Pull complete
9bac13b94950: Pull complete
e64924156c65: Pull complete
5ba6b09ff03a: Pull complete
Digest: sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6
Status: Downloaded newer image for ocaml/opam@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6
2025-12-06 20:23.54 ---> saved as "2a9cc73d8fa625428a41b3e2995ed89b8f4dbf344a4fde8dde60a4e56679d9f2"


/: (comment fedora-42-5.4_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
2025-12-06 20:23.54 Waiting for previous build to finish cancelling
Job cancelled