Organisationsnomadic-labslwt-watcher70f826 ()ubuntu-20.04-4.14_opam-2.2

ubuntu-20.04-4.14_opam-2.2

Link Copied
Code Copied

Logs

2024-11-15 21:05.12: New job: test nomadic-labs/lwt-watcher https://gitlab.com/nomadic-labs/lwt-watcher.git#refs/heads/master (70f826c503cc094ed2de3aa81fa385ea9fddb903) (linux-x86_64:ubuntu-20.04-4.14_opam-2.2)
Base: ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:55a86d739688bc4d97e0dbf3e99358635b8ba299d83390e40395b86ab1405908
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:ubuntu-20.04-ocaml-4.14@sha256:55a86d739688bc4d97e0dbf3e99358635b8ba299d83390e40395b86ab1405908
# ubuntu-20.04-4.14_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-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 lwt.5.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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:05.12: Using cache hint "nomadic-labs/lwt-watcher-ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:55a86d739688bc4d97e0dbf3e99358635b8ba299d83390e40395b86ab1405908-ubuntu-20.04-4.14_opam-2.2-588b36a4b611dd464afac48c06274a46"
2024-11-15 21:05.12: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:55a86d739688bc4d97e0dbf3e99358635b8ba299d83390e40395b86ab1405908)
(comment ubuntu-20.04-4.14_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-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 lwt.5.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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:05.12: Waiting for resource in pool OCluster
2024-11-15 21:05.12: Waiting for worker…
2024-11-15 21:07.53: Got resource from pool OCluster
Building on x86-bm-c16.sw.ocaml.org
All commits already cached
HEAD is now at 70f826c Merge branch 'add-dune-project-file' into 'master'


(from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:55a86d739688bc4d97e0dbf3e99358635b8ba299d83390e40395b86ab1405908)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:55a86d739688bc4d97e0dbf3e99358635b8ba299d83390e40395b86ab1405908' locally
docker.io/ocaml/opam@sha256:55a86d739688bc4d97e0dbf3e99358635b8ba299d83390e40395b86ab1405908: Pulling from ocaml/opam
e4eada0352e3: Pulling fs layer
e4eada0352e3: Verifying Checksum
e4eada0352e3: Download complete
e4eada0352e3: Pull complete
Digest: sha256:55a86d739688bc4d97e0dbf3e99358635b8ba299d83390e40395b86ab1405908
Status: Downloaded newer image for ocaml/opam@sha256:55a86d739688bc4d97e0dbf3e99358635b8ba299d83390e40395b86ab1405908
2024-11-15 21:09.52 ---> saved as "90c37adef7a39bd9d702222026c6cb9650050d3d018d967f023069cf364d623f"


/: (comment ubuntu-20.04-4.14_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:09.52 ---> saved as "ac318555f06a00af4dec1f06367a5ad85b5bf372f9f071d7304942cae7647872"


/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:11.26 ---> saved as "0b2a27cdd3b9fa50c64bde6aa940acb5a930b3b88acb00b813ea0adf0f7bd5bd"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-11-15 21:11.26 ---> saved as "212c86697fe127724ae283b16f2d1ae776d924c3abdbba70fe78d68e9eb5affb"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-15 21:11.26 ---> saved as "8cb158c772c3b734af208f9ec4cc2f6966ae735e03d7c5212c90457269c1235e"


/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:12.58 ---> saved as "039ee99ad9d1675fa6c9d8b82883643bcf7537ccaa28c567bbd014b071fa55a1"


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


/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:13.01 ---> saved as "36ee6d767a8586c8686c2c1a86f20b7279c0b778f3fb541be0b0c54549198f0f"


/src: (env DEPS "base-bigarray.base base-bytes.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-x86_64.1 host-system-other.1 lwt.5.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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"
- Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4107 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4570 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1566 kB]
- Get:8 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1276 kB]
- Fetched 11.9 MB in 1s (8593 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 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-bigarray is already installed (current version is base).
2024-11-15 21:13.29 ---> saved as "0ad89ef9f78f81e400fbac2b2efe3dce9728c1d07ea82fd753d27003a4f175c9"


/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 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-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 ocplib-endian.1.2  (cached)
-> retrieved dune.3.16.1, dune-configurator.3.16.1  (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:14.26 ---> saved as "592485278b9473c31eaa652a5b92df171e202c7f0da32d215bbe11072d5857b2"


/src: (copy (src .) (dst /src))
2024-11-15 21:14.26 ---> saved as "49b9bc4e05d53f3367bb1d7194a81c20a10c13562362283f67d45502491669e4"


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