Organisationsmirageprometheus9bffcb ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-04-14 12:39.02: New job: test mirage/prometheus https://github.com/mirage/prometheus.git#refs/heads/master (9bffcbe0b45e8887353e1b4bd7462bc0cdd7baac) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/prometheus.git" -b "master" && cd "prometheus" && git reset --hard 9bffcbe0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f
# debian-12-4.02_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && 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 './'
ENV DEPS="asetmap.0.8.0 astring.0.8.0 base-bigarray.base base-bytes.base base-ocamlbuild.base base-threads.base base-unix.base conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 dune.2.3.0 lwt.2.5.0 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ppx_tools.0.99.1 re.1.0 result.1.0 topkg.0.7.5"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y prometheus.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=prometheus @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2024-04-14 12:39.02: Using cache hint "mirage/prometheus-ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f-debian-12-4.02_opam-2.1-0ea5ad58f9e72bd3a896a543f97dc5dd"
2024-04-14 12:39.02: Using OBuilder spec:
((from ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f)
 (comment debian-12-4.02_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && 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 './'"))
 (env DEPS "asetmap.0.8.0 astring.0.8.0 base-bigarray.base base-bytes.base base-ocamlbuild.base base-threads.base base-unix.base conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 dune.2.3.0 lwt.2.5.0 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ppx_tools.0.99.1 re.1.0 result.1.0 topkg.0.7.5")
 (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.1 --depext-only -y prometheus.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 --only-packages=prometheus @install @check @runtest && rm -rf _build"))
)


2024-04-14 12:39.02: Waiting for resource in pool OCluster
2024-04-14 12:39.03: Waiting for worker…
2024-04-14 12:39.49: Got resource from pool OCluster
Building on x86-bm-c15.sw.ocaml.org
All commits already cached
HEAD is now at 9bffcbe Merge pull request #50 from tmcgilchrist/api_docs


(from ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f)
Unable to find image 'ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f' locally
docker.io/ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f: Pulling from ocaml/opam
Digest: sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f
Status: Downloaded newer image for ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f
2024-04-14 12:40.08 ---> saved as "55554dc33b1f6c2b893d7323771050fdd260fbca6e92cf26cf38893a38d74dd6"


/: (comment debian-12-4.02_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-14 12:40.08 ---> saved as "a26f55618f42b98fa673adcd7f11ddefc4ec32aa460449e2aab6a518c8301ce3"


/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.1, 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] synchronised from file:///home/opam/opam-repository
2024-04-14 12:41.25 ---> saved as "16f676e51592c146d1bfb77157e1c14965c1f8a96a645fb7b5afb03abf343f76"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.02.3
2.1.5
2024-04-14 12:41.25 ---> saved as "6ff76871af3fc53940bf7acfd172d161f403277851e26d2b1e75231e7fc38979"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-14 12:41.25 ---> saved as "342b4f5221de0dd8b1cd98f6d7f552e90df7157eb319b90141c72be97fc779fe"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u"))
cbb8cd94c3 conf-pkg-config: rename nixos pkgconfig -> pkg-config


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-04-14 12:42.45 ---> saved as "9a3c862596728c8a5919707961ed0fd931002b8c6f908065006358ee4309bc34"


/src: (copy (src prometheus.opam prometheus-app.opam) (dst ./))
2024-04-14 12:42.45 ---> saved as "c8cddda990c2ebcae6d885fea23d7dad39dd4a7b2550630bc6b2cd510e49d53a"


/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)
2024-04-14 12:42.49 ---> saved as "069607269aac2e0cee9f6e29d04421c12200e865bd566a6cb5022189b9eca1a3"


/src: (env DEPS "asetmap.0.8.0 astring.0.8.0 base-bigarray.base base-bytes.base base-ocamlbuild.base base-threads.base base-unix.base conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 dune.2.3.0 lwt.2.5.0 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ppx_tools.0.99.1 re.1.0 result.1.0 topkg.0.7.5")


/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.1 --depext-only -y prometheus.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [151 kB]
- Fetched 255 kB in 0s (578 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[prometheus.dev] synchronised (no changes)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.02.3).
[NOTE] Package ocaml is already installed (current version is 4.02.3).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-ocamlbuild is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
    m4 ncurses-dev pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4" "ncurses-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed


2024-04-14 12:43.15 ---> saved as "066eb43d05f156c89cfe1587705da2482c83fa4a289bdce7cbdcddad06c440c0"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.02.3).
[NOTE] Package ocaml is already installed (current version is 4.02.3).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-ocamlbuild is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
  - install   ocamlbuild               0
  - install   conf-pkg-config          1.0
  - install   conf-m4                  1
  - install   result                   1.0
  - downgrade ocaml-secondary-compiler 4.08.1-1 to 4.08.1
  - install   conf-ncurses             1
  - install   ocamlfind                1.8.1
  - install   topkg                    0.7.5
  - install   re                       1.0
  - install   ppx_tools                0.99.1
  - install   ocamlfind-secondary      1.8.1
  - install   base-bytes               base
  - install   asetmap                  0.8.0
  - install   lwt                      2.5.0
  - install   dune                     2.3.0
  - install   astring                  0.8.0
===== 15 to install | 1 to downgrade =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asetmap.0.8.0  (cached)
-> retrieved dune.2.3.0  (cached)
-> installed conf-m4.1
-> installed conf-pkg-config.1.0
-> retrieved astring.0.8.0  (http://erratique.ch/software/astring/releases/astring-0.8.0.tbz)
-> installed ocamlbuild.0
-> installed conf-ncurses.1
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved ocamlfind-secondary.1.8.1  (cached)
-> retrieved ocaml-secondary-compiler.4.08.1  (cached)
-> retrieved ppx_tools.0.99.1  (http://github.com/ocaml-ppx/ppx_tools/archive/ppx_tools_0.99.1.tar.gz)
-> retrieved result.1.0  (cached)
-> retrieved lwt.2.5.0  (https://github.com/ocsigen/lwt/archive/2.5.0.tar.gz)
-> retrieved topkg.0.7.5  (cached)
-> retrieved re.1.0  (http://github.com/ocaml/ocaml-re/tarball/ocaml-re-1.0)
-> installed result.1.0
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed astring.0.8.0
-> installed topkg.0.7.5
-> installed asetmap.0.8.0
-> installed re.1.0
-> installed ppx_tools.0.99.1
-> installed lwt.2.5.0
-> removed   ocaml-secondary-compiler.4.08.1-1
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.2.3.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-14 12:47.36 ---> saved as "0a0bf03d7e5b4ac3ab5064ee4433e928199e6126c148c9b2c0c11890231fb49a"


/src: (copy (src .) (dst /src))
2024-04-14 12:47.37 ---> saved as "105b13f1e1640fdec7cb49b21ed08eab17e24fdd962a56d4f188b16865f10781"


/src: (run (shell "opam exec -- dune build --only-packages=prometheus @install @check @runtest && rm -rf _build"))
2024-04-14 12:47.37 ---> saved as "98318160518fe981eaab480d7d754c81a0a29cd92a79d480d10420b2a9a8dd84"
Job succeeded
2024-04-14 12:47.37: Job succeeded