Organisationsmirageprometheus9bffcb ()debian-12-4.07_opam-2.1

debian-12-4.07_opam-2.1

Link Copied
Code Copied

Logs

2024-04-10 22:03.23: New job: test mirage/prometheus https://github.com/mirage/prometheus.git#refs/heads/master (9bffcbe0b45e8887353e1b4bd7462bc0cdd7baac) (linux-x86_64:debian-12-4.07_opam-2.1)
Base: ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7
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:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7
# debian-12-4.07_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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && 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.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cppo.1.6.9 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 lwt.5.5.0 mmap.1.2.0 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 re.1.11.0 result.1.5 seq.base topkg.1.0.7"
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-10 22:03.23: Using cache hint "mirage/prometheus-ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7-debian-12-4.07_opam-2.1-d149b9c1b0523cad7a03f80396f7b8c7"
2024-04-10 22:03.23: Using OBuilder spec:
((from ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7)
 (comment debian-12-4.07_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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && 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.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cppo.1.6.9 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 lwt.5.5.0 mmap.1.2.0 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 re.1.11.0 result.1.5 seq.base topkg.1.0.7")
 (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-10 22:03.23: Waiting for resource in pool OCluster
2024-04-10 22:14.29: Waiting for worker…
2024-04-10 22:16.50: Got resource from pool OCluster
Building on x86-bm-c13.sw.ocaml.org
All commits already cached
HEAD is now at 9bffcbe Merge pull request #50 from tmcgilchrist/api_docs


(from ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7)
Unable to find image 'ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7' locally
docker.io/ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7: Pulling from ocaml/opam
Digest: sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7
Status: Downloaded newer image for ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7
2024-04-10 22:16.50 ---> using "806ee51389d0d0b27276ea06607814da90a34f50afdb3fb2005ff5fcd3467b54" from cache


/: (comment debian-12-4.07_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-10 22:16.50 ---> using "09c04342bf31ec923ba053d573e6ff2d412202553c52b25881635a4b123865ee" from cache


/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-10 22:17.44 ---> saved as "b6841472aef4c9a63ba325bbb235525d9affaa827e5eb82cf487b5efeff5877d"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.07.1
2.1.5
2024-04-10 22:17.44 ---> saved as "82ce05af440115d77785080055cbe3b5fd6625c715cb9f8db0de1449a9c839a0"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-10 22:17.44 ---> saved as "8aea573edecf398a34c5e749ffcf6e9f35856fbce9ec6ab868e2cc250ad11fa7"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u"))
950c52962d [new release] dune (15 packages) (3.15.0)


<><> 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-10 22:18.49 ---> saved as "f6026681efa760f8e7194d5efbbc6fa75ffae015f1aebec2fde9885ca1d954cc"


/src: (copy (src prometheus.opam prometheus-app.opam) (dst ./))
2024-04-10 22:18.49 ---> saved as "1ae25d69175d086c0b868672d0c1d2831a74f22cab8a5682b620cfd06433e48d"


/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-10 22:18.53 ---> saved as "66470df96398b0393754f0745769b21184ebe67e7299ef05bb1751788b82f76e"


/src: (env DEPS "asetmap.0.8.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cppo.1.6.9 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 lwt.5.5.0 mmap.1.2.0 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 re.1.11.0 result.1.5 seq.base topkg.1.0.7")


/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]
- Fetched 103 kB in 0s (471 kB/s)
- Reading package lists...
- 


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


[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.1).
[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-bigarray is already installed (current version is base).
2024-04-10 22:19.09 ---> saved as "43317e471fde27dfec64608a413bd739a7e37e91a18e14cbd904614232707996"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.1).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
  - install ocamlbuild          0.14.3
  - install ocamlfind           1.9.6
  - install seq                 base
  - install topkg               1.0.7
  - install ocamlfind-secondary 1.9.6
  - install base-bytes          base
  - install astring             0.8.5
  - install asetmap             0.8.1
  - install dune                3.15.0
  - install result              1.5
  - install re                  1.11.0
  - install ocaml-syntax-shims  1.0.0
  - install csexp               1.5.2
  - install cppo                1.6.9
  - install bigarray-compat     1.1.0
  - install dune-configurator   3.15.0
  - install ocplib-endian       1.2
  - install mmap                1.2.0
  - install lwt                 5.5.0
===== 19 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asetmap.0.8.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved lwt.5.5.0  (cached)
-> retrieved mmap.1.2.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved dune.3.15.0  (cached)
-> retrieved dune-configurator.3.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocamlfind-secondary.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed asetmap.0.8.1
-> installed astring.0.8.5
-> installed dune.3.15.0
-> installed result.1.5
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed mmap.1.2.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.15.0
-> installed lwt.5.5.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-10 22:20.17 ---> saved as "340c6834d258e824e21caad21d3b9c25faafd89ae876a6e67566ba213abc1046"


/src: (copy (src .) (dst /src))
2024-04-10 22:20.17 ---> saved as "c0bcdc2271ad4a23c05376ea580461068ac73068cd7f731f6914feea8634584a"


/src: (run (shell "opam exec -- dune build --only-packages=prometheus @install @check @runtest && rm -rf _build"))
2024-04-10 22:20.17 ---> saved as "307802978e0151527ebda085bab81b1df93cfab2ec419390c62c10db16792357"
Job succeeded
2024-04-10 22:20.17: Job succeeded