Organisationsmirageprometheusf8a722 ()alpine-3.22-5.4_opam-2.4

alpine-3.22-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:alpine-3.22-5.4_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-5.4@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa
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:alpine-3.22-ocaml-5.4@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa
# alpine-3.22-5.4_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.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:alpine-3.22-ocaml-5.4@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa-alpine-3.22-5.4_opam-2.4-f41ac82c8cc241910a63705aa2be5886"
2025-12-06 20:19.50: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa)
(comment alpine-3.22-5.4_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.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 toxis.caelum.ci.dev
All commits already cached
HEAD is now at f8a722a Add option to allow specifying address to bind to


(from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-5.4@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa' locally
docker.io/ocaml/opam@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa: Pulling from ocaml/opam
1acd6848526d: Pulling fs layer
011c0aa8d664: Pulling fs layer
a04693dbb011: Pulling fs layer
46d3ce831e6b: Pulling fs layer
7e43a8d41d8a: Pulling fs layer
0f022733f029: Pulling fs layer
a04693dbb011: Waiting
1acd6848526d: Waiting
011c0aa8d664: Waiting
fd1b508ae401: Pulling fs layer
7e43a8d41d8a: Waiting
fd1b508ae401: Waiting
0f022733f029: Waiting
011c0aa8d664: Download complete
a04693dbb011: Verifying Checksum
a04693dbb011: Download complete
1acd6848526d: Verifying Checksum
1acd6848526d: Download complete
7e43a8d41d8a: Verifying Checksum
7e43a8d41d8a: Download complete
0f022733f029: Verifying Checksum
0f022733f029: Download complete
fd1b508ae401: Verifying Checksum
fd1b508ae401: Download complete
46d3ce831e6b: Verifying Checksum
46d3ce831e6b: Download complete
1acd6848526d: Pull complete
011c0aa8d664: Pull complete
a04693dbb011: Pull complete
46d3ce831e6b: Pull complete
7e43a8d41d8a: Pull complete
0f022733f029: Pull complete
fd1b508ae401: Pull complete
Digest: sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa
Status: Downloaded newer image for ocaml/opam@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa
2025-12-06 20:20.37 ---> saved as "3610d2e4ecf908516fa5cd0b42f61fa30c0a32fae0d20c6a95c58a2cde134d65"


/: (comment alpine-3.22-5.4_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:20.37 Waiting for previous build to finish cancelling
2025-12-06 20:20.37 ---> saved as "820118d0eb54b68c3da09657de32137103a9432395d1f6165aa111c0f0278039"


/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
2025-12-06 20:20.48: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled