Organisationsnomadic-labslwt-watcher70f826 ()debian-12-5.2_arm64_opam-2.2

debian-12-5.2_arm64_opam-2.2

Logs

Show full logs
2024-11-15 21:01.45: New job: test nomadic-labs/lwt-watcher https://gitlab.com/nomadic-labs/lwt-watcher.git#refs/heads/master (70f826c503cc094ed2de3aa81fa385ea9fddb903) (linux-arm64:debian-12-5.2_arm64_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:584facdead21104960d6fcdf9e0d7a6a9c4becab5a3f93e6964fc90dab030257
Opam project build

To reproduce locally:

git clone --recursive "https://gitlab.com/nomadic-labs/lwt-watcher.git" -b "master" && cd "lwt-watcher" && git reset --hard 70f826c5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:584facdead21104960d6fcdf9e0d7a6a9c4becab5a3f93e6964fc90dab030257
# debian-12-5.2_arm64_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lwt-watcher.opam ./
RUN opam pin add -yn lwt-watcher.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-arm64.1 host-system-other.1 lwt.5.8.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y lwt-watcher.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

2024-11-15 21:01.45: Using cache hint "nomadic-labs/lwt-watcher-ocaml/opam:debian-12-ocaml-5.2@sha256:584facdead21104960d6fcdf9e0d7a6a9c4becab5a3f93e6964fc90dab030257-debian-12-5.2_arm64_opam-2.2-aabc230a375bf56a364aabcbec1a869a"
2024-11-15 21:01.45: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:584facdead21104960d6fcdf9e0d7a6a9c4becab5a3f93e6964fc90dab030257)
 (comment debian-12-5.2_arm64_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src lwt-watcher.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn lwt-watcher.dev './'"))
 (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-arm64.1 host-system-other.1 lwt.5.8.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2")
 (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.2 --depext-only -y lwt-watcher.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"))
)

2024-11-15 21:01.45: Waiting for resource in pool OCluster
2024-11-15 21:01.45: Waiting for worker…
2024-11-15 21:08.36: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
All commits already cached
HEAD is now at 70f826c Merge branch 'add-dune-project-file' into 'master'

(from ocaml/opam:debian-12-ocaml-5.2@sha256:584facdead21104960d6fcdf9e0d7a6a9c4becab5a3f93e6964fc90dab030257)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:584facdead21104960d6fcdf9e0d7a6a9c4becab5a3f93e6964fc90dab030257' locally
docker.io/ocaml/opam@sha256:584facdead21104960d6fcdf9e0d7a6a9c4becab5a3f93e6964fc90dab030257: Pulling from ocaml/opam
0fbaf195dc0a: Already exists
89c2a7d835d2: Pulling fs layer
3463c81bfcb1: Pulling fs layer
5f9645403b4d: Pulling fs layer
402ba2026182: Pulling fs layer
97192b0944e5: Pulling fs layer
37b717253d9d: Pulling fs layer
11d915120e24: Pulling fs layer
11d915120e24: Waiting
97192b0944e5: Waiting
37b717253d9d: Waiting
402ba2026182: Waiting
3463c81bfcb1: Download complete
89c2a7d835d2: Download complete
5f9645403b4d: Verifying Checksum
5f9645403b4d: Download complete
89c2a7d835d2: Pull complete
3463c81bfcb1: Pull complete
5f9645403b4d: Pull complete
97192b0944e5: Verifying Checksum
97192b0944e5: Download complete
37b717253d9d: Verifying Checksum
37b717253d9d: Download complete
11d915120e24: Verifying Checksum
11d915120e24: Download complete
402ba2026182: Verifying Checksum
402ba2026182: Download complete
402ba2026182: Pull complete
97192b0944e5: Pull complete
37b717253d9d: Pull complete
11d915120e24: Pull complete
Digest: sha256:584facdead21104960d6fcdf9e0d7a6a9c4becab5a3f93e6964fc90dab030257
Status: Downloaded newer image for ocaml/opam@sha256:584facdead21104960d6fcdf9e0d7a6a9c4becab5a3f93e6964fc90dab030257
2024-11-15 21:08.36 ---> using "a851057cd7693c020ef99e41d5110952bca16079bb2660ba698df3868acb4ed1" from cache

/: (comment debian-12-5.2_arm64_opam-2.2)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-11-15 21:08.36 ---> using "fcece8c2d95c1d6018b59e50e322385e3edc67f99411aa5d132a17928a911158" 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 development 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] synchronised from file:///home/opam/opam-repository
2024-11-15 21:08.36 ---> using "ac406e53e5bfe741a447cc96a868cc8e7bc2e8a96d0d957ba1dbe5485ce1e09c" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-11-15 21:08.36 ---> using "4aad5af5937895d1b17ce9885fa2af962aa3b68a38840789ed684c268dbc8347" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-11-15 21:08.36 ---> using "55c123d9a84bf8d5fce012299aed1f1417a66ba110b672c3992b8803bc3d733a" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
371a52f4a8 Merge pull request #26816 from maiste/release-dune-3.16.1

<><> 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-11-15 21:08.36 ---> using "7f3b7c691809c9f5ac614f5152b12d760c0ce3e8e53ac55350d70c2f2cc2d4b9" from cache

/src: (copy (src lwt-watcher.opam) (dst ./))
2024-11-15 21:08.37 ---> saved as "80b9b79d429dc2a1d145f6017b503173ffc532388828c851352057e4c50949e8"

/src: (run (network host)
           (shell "opam pin add -yn lwt-watcher.dev './'"))
[lwt-watcher.dev] synchronised (file:///src)
lwt-watcher is now pinned to file:///src (version dev)
2024-11-15 21:08.39 ---> saved as "56b5bc32d9da7a819f50a8820ac80dba27d3cef0ecc730b3685dfd9d93da77c1"

/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-arm64.1 host-system-other.1 lwt.5.8.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2")

/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.2 --depext-only -y lwt-watcher.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 arm64 Packages [201 kB]
- Fetched 304 kB in 0s (768 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[lwt-watcher.dev] synchronised (no changes)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 is already installed (current version is 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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-11-15 21:08.52 ---> saved as "bb9c33eff0448e794779c4a44ebe3ef566f0d9619adf9a27c2c0d6e8f1dcbfe9"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 is already installed (current version is 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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 8 packages
  - install base-bytes        base
  - install cppo              1.7.0
  - install csexp             1.5.2
  - install dune              3.16.1
  - install dune-configurator 3.16.1
  - install lwt               5.8.0
  - install ocamlfind         1.9.6
  - install ocplib-endian     1.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.7.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved lwt.5.8.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved dune.3.16.1, dune-configurator.3.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed dune.3.16.1
-> installed csexp.1.5.2
-> installed cppo.1.7.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.16.1
-> installed lwt.5.8.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-15 21:09.35 ---> saved as "fc99b2f3c0bc998baa17a5de2d10b200cf8ea81446f49438b305959f4c883647"

/src: (copy (src .) (dst /src))
2024-11-15 21:09.35 ---> saved as "375fb84edf9e09dcd2ccfbd9ed3d6a0b16281000b253b0c685817aca89379d7c"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-11-15 21:09.36 ---> saved as "5100e3ceecdc2ea5b190bb5de3ac6eff7c822ff255315733c66042054d4a9428"
Job succeeded
2024-11-15 21:09.37: Job succeeded