Organisationsmirageprometheusbdfdf4 ()fedora-43-5.4_opam-2.4

fedora-43-5.4_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:fedora-43-5.4_opam-2.4)
Base: ocaml/opam:fedora-43-ocaml-5.4@sha256:4f40afaba9cb3bfe7873dfa507d3cbd0919bdc57e78356dc26bf8ab981ba6566
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:fedora-43-ocaml-5.4@sha256:4f40afaba9cb3bfe7873dfa507d3cbd0919bdc57e78356dc26bf8ab981ba6566
# fedora-43-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:18.20: Using cache hint "mirage/prometheus-ocaml/opam:fedora-43-ocaml-5.4@sha256:4f40afaba9cb3bfe7873dfa507d3cbd0919bdc57e78356dc26bf8ab981ba6566-fedora-43-5.4_opam-2.4-f41ac82c8cc241910a63705aa2be5886"
2025-12-06 20:18.20: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-5.4@sha256:4f40afaba9cb3bfe7873dfa507d3cbd0919bdc57e78356dc26bf8ab981ba6566)
 (comment fedora-43-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: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 clete
HEAD is now at fb4f8b1 Merge pull request #53 from vch9/vch9@typo
HEAD is now at bdfdf4f use only one flag and default to 0.0.0.0:9090

(from ocaml/opam:fedora-43-ocaml-5.4@sha256:4f40afaba9cb3bfe7873dfa507d3cbd0919bdc57e78356dc26bf8ab981ba6566)
Unable to find image 'ocaml/opam:fedora-43-ocaml-5.4@sha256:4f40afaba9cb3bfe7873dfa507d3cbd0919bdc57e78356dc26bf8ab981ba6566' locally
docker.io/ocaml/opam@sha256:4f40afaba9cb3bfe7873dfa507d3cbd0919bdc57e78356dc26bf8ab981ba6566: Pulling from ocaml/opam
3a6ccf50917d: Already exists
2ac39db0f7b1: Already exists
4ab95fa37585: Already exists
ef05642a6c19: Already exists
6ce4105a6817: Already exists
482e731bee2c: Already exists
82b20b1785fc: Already exists
5033efba3ea4: Already exists
ac061f34d5de: Already exists
3699d934db19: Already exists
c70084606501: Already exists
92cba88bcd96: Already exists
87d6cf018c95: Already exists
47a5774c8fa4: Already exists
a7a793f430ef: Already exists
50749af763e4: Already exists
1931ff52ea8f: Already exists
d6cbdb0b2976: Already exists
c21f3fb8010b: Already exists
006e8a0d5bfe: Already exists
4f4fb700ef54: Already exists
bff3cbb02176: Already exists
b5138c38b1e4: Already exists
f9df0a6b27ec: Already exists
199f7dd22bb1: Already exists
4704820b8848: Already exists
813e8e89161a: Already exists
3fef5dd9f9c7: Already exists
33b83451bd83: Already exists
f32a57644710: Already exists
40216abfd9f1: Already exists
d689b2a1b34b: Already exists
c515a0f2353f: Already exists
6b7f7c537f40: Already exists
2def47abdae6: Already exists
fd11b9527539: Already exists
b49b2a2f9119: Already exists
23b9806e7d7a: Already exists
251f6be3be0f: Already exists
77df5933f202: Already exists
f363410542aa: Already exists
02b0f83c8144: Already exists
561ad12063d7: Already exists
bb777ec2f169: Already exists
Digest: sha256:4f40afaba9cb3bfe7873dfa507d3cbd0919bdc57e78356dc26bf8ab981ba6566
Status: Downloaded newer image for ocaml/opam@sha256:4f40afaba9cb3bfe7873dfa507d3cbd0919bdc57e78356dc26bf8ab981ba6566
2025-12-06 20:18.40 ---> saved as "ba6d18b62928370460223f977de9308ec394ac268d94d34b0cee5d6ca2044b67"

/: (comment fedora-43-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"))
Updating and loading repositories:
 Fedora 43 - x86_64                     100% |  10.0 KiB/s |  22.8 KiB |  00m02s
 Fedora 43 openh264 (From Cisco) - x86_ 100% |   1.0 KiB/s | 986.0   B |  00m01s
 Fedora 43 - x86_64 - Updates           100% |  30.5 KiB/s |  20.8 KiB |  00m01s
Repositories loaded.
Package "findutils-1:4.10.0-6.fc43.x86_64" is already installed.

Nothing to do.
2025-12-06 20:18.51 ---> saved as "ebfa901ac87bf29ca544c436b2f9cbf6f6f1bdfd291057300223062de1ad063b"

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-12-06 20:18.52 ---> saved as "3744f82be5b6b77c96af9c3adea90de92e65e64c2cc811548d5ea0e65762bb62"

/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.

Continue? [Y/n] y
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.

Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-06 20:19.16 ---> saved as "bb474263ea5495105e41a9e56a75be580b1f25658eb0d1b39eb4f6fdcc85d812"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-12-06 20:19.17 ---> saved as "24297fa171fb50abf71238f13f5d2788863dfb642ff69f0b34b0ee964ecb8732"

/src: (workdir /src)

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

/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
   2ec6d6cc92..2ab7464b16  master     -> origin/master
8a324a5b99 Add: cmdliner.2.1.0 (#28962)

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

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