Organisationsmirageprometheusbdfdf4 ()fedora-42-4.14_opam-2.4

fedora-42-4.14_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:fedora-42-4.14_opam-2.4)
Base: ocaml/opam:fedora-42-ocaml-4.14@sha256:3e49e3f53e9da26abef1c864a69c160a685605340f51e37176e1065a7f9f0761
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-42-ocaml-4.14@sha256:3e49e3f53e9da26abef1c864a69c160a685605340f51e37176e1065a7f9f0761
# fedora-42-4.14_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.16.4 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.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 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.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.16.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-42-ocaml-4.14@sha256:3e49e3f53e9da26abef1c864a69c160a685605340f51e37176e1065a7f9f0761-fedora-42-4.14_opam-2.4-e5a92c0f232688ca7f7ece5b13ab1ae6"
2025-12-06 20:18.20: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:3e49e3f53e9da26abef1c864a69c160a685605340f51e37176e1065a7f9f0761)
(comment fedora-42-4.14_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.16.4 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.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 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.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.16.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 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:fedora-42-ocaml-4.14@sha256:3e49e3f53e9da26abef1c864a69c160a685605340f51e37176e1065a7f9f0761)
2025-12-06 20:18.38 ---> saved as "6a83e27c50df4299be445e0a2c9e84032cd135e4865b6a595953d396a2bd6f66"


/: (comment fedora-42-4.14_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 42 - x86_64                     100% |  29.0 KiB/s |  23.3 KiB |  00m01s
Fedora 42 - x86_64 - Updates           100% |  66.9 KiB/s |  19.1 KiB |  00m00s
Fedora 42 openh264 (From Cisco) - x86_ 100% |   6.6 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.


Nothing to do.
2025-12-06 20:18.45 ---> saved as "e72cbb2a9321e495e5d6621ed89698212ff66690fcceeffcc9082784a3cd2738"


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-12-06 20:18.46 ---> saved as "26d3bf8fe3bec0cad2d70b750975a39213ba23045224636c2ef018923bb69d34"


/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.12 ---> saved as "a1c1dcafa7660908d892e2491a15849ed90bdf232daf8c4368e9bbc9e0b2805f"


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


/src: (workdir /src)


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


/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
ee3428377a..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.34 ---> saved as "2e136481daaa303f12be6619ccf5482787d3674c41f29a51df53005f3df15eab"


/src: (copy (src prometheus.opam prometheus-app.opam) (dst ./))
2025-12-06 20:19.34 ---> saved as "107b836bdca5f08e196a9dab9aac86941a8515a950b525b2ce51108fd358b8e8"


/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)
2025-12-06 20:19.36: Cancelling: Auto-cancelling job because it is no longer needed
prometheus-app is now pinned to file:///src (version dev)
2025-12-06 20:19.36 ---> saved as "13f0be8342cd6dbedcf1ffab0b7370335061056fcc478844be4d7866fe0212bf"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
Job cancelled