Organisationsmirageprometheusbdfdf4 ()debian-13-4.09_opam-2.4

debian-13-4.09_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.09_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5
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.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5
# debian-13-4.09_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.14.3 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.09.1 ocaml-base-compiler.4.09.1 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.14.2 pbkdf.1.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.14.3 ppxlib.0.25.1 ptime.1.2.0 re.1.11.0 rresult.0.7.0 seq.base sexplib.v0.14.0 sexplib0.v0.14.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.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.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5-debian-13-4.09_opam-2.4-08b82135a5c2b7a7617ae9e2119614d0"
2025-12-06 20:18.20: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5)
 (comment debian-13-4.09_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.14.3 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.09.1 ocaml-base-compiler.4.09.1 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.14.2 pbkdf.1.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.14.3 ppxlib.0.25.1 ptime.1.2.0 re.1.11.0 rresult.0.7.0 seq.base sexplib.v0.14.0 sexplib0.v0.14.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.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.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5)
2025-12-06 20:18.38 ---> saved as "fdec8556ea76014db997247791612cf485e44bed45b0b0c070f584c6a0d62e30"

/: (comment debian-13-4.09_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:18.38 ---> saved as "7637a87144ac5b0fa431f19e87275a98c9c9a544bf5ca307551f31f8cc56bbe0"

/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.04 ---> saved as "4cf22ea9a5b3d9107f08520d4de94d40f000372cd94e7b8a72ece69f3582c076"

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

/src: (workdir /src)

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

/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"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   21f97b2e6d..2ab7464b16  master     -> origin/master
8a324a5b99 Add: cmdliner.2.1.0 (#28962)

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-12-06 20:19.27 ---> saved as "20e952c6d54a541e7005b876d0255e810931f730ba60f0cf935a72aa8a51addf"

/src: (copy (src prometheus.opam prometheus-app.opam) (dst ./))
2025-12-06 20:19.28 ---> saved as "98f173485d678622c94a735cfae81c9f3bab4a2f6648ee0a6c2eef8bf8c13874"

/src: (run (network host)
           (shell  "opam pin add -yn prometheus.dev './' && \
                  \nopam pin add -yn prometheus-app.dev './'"))
[prometheus.dev] synchronised (file:///src)
prometheus is now pinned to file:///src (version dev)
[prometheus-app.dev] synchronised (file:///src)
prometheus-app is now pinned to file:///src (version dev)
2025-12-06 20:19.31 ---> saved as "f994c90d4e6788fa6031e537e3448e5bce3e2c3acc176b8ce8b0d3baa750bf8a"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-06 20:19.32 ---> saved as "28213fc6a377110b53a1548d6767f925bf7bed4f0c5cecacedb0f726b478eeba"

/src: (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.14.3 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.09.1 ocaml-base-compiler.4.09.1 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.14.2 pbkdf.1.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.14.3 ppxlib.0.25.1 ptime.1.2.0 re.1.11.0 rresult.0.7.0 seq.base sexplib.v0.14.0 sexplib0.v0.14.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.0.16.5 zarith.1.14")

/src: (env CI true)

/src: (env OCAMLCI true)

/src: (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"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [81.6 kB]
- Fetched 9983 kB in 2s (6652 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[prometheus.dev] synchronised (file:///src)
[prometheus-app.dev] synchronised (file:///src)

2025-12-06 20:19.36: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled