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

ubuntu-22.04-4.14_opam-2.2

Link Copied
Code Copied

Logs

2024-11-15 21:02.10: New job: test nomadic-labs/lwt-watcher https://gitlab.com/nomadic-labs/lwt-watcher.git#refs/heads/master (70f826c503cc094ed2de3aa81fa385ea9fddb903) (linux-x86_64:ubuntu-22.04-4.14_opam-2.2)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:90545b0431596417a6436d0d60bde31ef869f72394407c0eedd04e0f03299395
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-22.04-ocaml-4.14@sha256:90545b0431596417a6436d0d60bde31ef869f72394407c0eedd04e0f03299395
# ubuntu-22.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:02.10: Using cache hint "nomadic-labs/lwt-watcher-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:90545b0431596417a6436d0d60bde31ef869f72394407c0eedd04e0f03299395-ubuntu-22.04-4.14_opam-2.2-588b36a4b611dd464afac48c06274a46"
2024-11-15 21:02.10: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:90545b0431596417a6436d0d60bde31ef869f72394407c0eedd04e0f03299395)
(comment ubuntu-22.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:02.10: Waiting for resource in pool OCluster
2024-11-15 21:02.10: Waiting for worker…
2024-11-15 21:02.10: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at 70f826c Merge branch 'add-dune-project-file' into 'master'


(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:90545b0431596417a6436d0d60bde31ef869f72394407c0eedd04e0f03299395)
2024-11-15 21:03.04 ---> saved as "d28550435b862d29123c874b91deb9cfee8c9bc48a80e472a8afec57dde96328"


/: (comment ubuntu-22.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:03.04 ---> saved as "487ec788025ce48186f53ada121d5d2264b2a516c84ae651cfcd7acc0d485049"


/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:04.19 ---> saved as "0e233ba34c74f7f37cf4ae793b4970a11e516b561323597aaffe982d39f38510"


/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:04.19 ---> saved as "e7cbf5cc978548d82d3f5838e15087805c1ddf6ba3aad67de47de6c60a944ac6"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-15 21:04.19 ---> saved as "2cb51990894b94d8781418ea0a9f528d230e29d91fd5575f104724dd8b936f9c"


/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:05.20 ---> saved as "33563e96b7dabc6ba144e6b09ea242d1f010ce816253d325a3f66cc3b52405c8"


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


/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:05.23 ---> saved as "db865147984e465ba73d65e4a5f2d7bac437ff54c1f0b13287c5052fd87a5171"


/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 jammy-security InRelease [129 kB]
- Get:2 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3275 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:4 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1164 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2425 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2701 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1453 kB]
- Fetched 11.4 MB in 1s (8472 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:05.46 ---> saved as "95b85771da531fc626176467ce9536798d26358c2ead4dcb009e71e7176e09ce"


/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:06.34 ---> saved as "fd7e72c960c0ba533bfc0197a5a10fc80ef35fd51477f55398fcc137e0c1c140"


/src: (copy (src .) (dst /src))
2024-11-15 21:06.34 ---> saved as "609196ca50f7ffc0c5db5e23ff04565d3156b29e0a3547488b463ed131c696ec"


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