Organisationsnomadic-labslwt-watcher70f826 ()fedora-40-5.2_opam-2.2

fedora-40-5.2_opam-2.2

Link Copied
Code Copied

Logs

2024-11-15 21:02.07: New job: test nomadic-labs/lwt-watcher https://gitlab.com/nomadic-labs/lwt-watcher.git#refs/heads/master (70f826c503cc094ed2de3aa81fa385ea9fddb903) (linux-x86_64:fedora-40-5.2_opam-2.2)
Base: ocaml/opam:fedora-40-ocaml-5.2@sha256:7624298e23f592846a062f5fd56a51ee46a1c63d6322cfb28c1c0aab2727764c
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:fedora-40-ocaml-5.2@sha256:7624298e23f592846a062f5fd56a51ee46a1c63d6322cfb28c1c0aab2727764c
# fedora-40-5.2_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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-x86_64.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:02.07: Using cache hint "nomadic-labs/lwt-watcher-ocaml/opam:fedora-40-ocaml-5.2@sha256:7624298e23f592846a062f5fd56a51ee46a1c63d6322cfb28c1c0aab2727764c-fedora-40-5.2_opam-2.2-7fa3a0bf23dcb5e5f6f49db482eae377"
2024-11-15 21:02.07: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-5.2@sha256:7624298e23f592846a062f5fd56a51ee46a1c63d6322cfb28c1c0aab2727764c)
(comment fedora-40-5.2_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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-x86_64.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:02.07: Waiting for resource in pool OCluster
2024-11-15 21:02.07: Waiting for worker…
2024-11-15 21:02.07: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
HEAD is now at 70f826c Merge branch 'add-dune-project-file' into 'master'


(from ocaml/opam:fedora-40-ocaml-5.2@sha256:7624298e23f592846a062f5fd56a51ee46a1c63d6322cfb28c1c0aab2727764c)
Unable to find image 'ocaml/opam:fedora-40-ocaml-5.2@sha256:7624298e23f592846a062f5fd56a51ee46a1c63d6322cfb28c1c0aab2727764c' locally
docker.io/ocaml/opam@sha256:7624298e23f592846a062f5fd56a51ee46a1c63d6322cfb28c1c0aab2727764c: Pulling from ocaml/opam
11e4d4c6b46f: Pulling fs layer
11e4d4c6b46f: Verifying Checksum
11e4d4c6b46f: Download complete
11e4d4c6b46f: Pull complete
Digest: sha256:7624298e23f592846a062f5fd56a51ee46a1c63d6322cfb28c1c0aab2727764c
Status: Downloaded newer image for ocaml/opam@sha256:7624298e23f592846a062f5fd56a51ee46a1c63d6322cfb28c1c0aab2727764c
2024-11-15 21:06.41 ---> saved as "186deb2945e86f1f3351ad9f90fecc0f195fdefbf17c33e3a23d487441920f63"


/: (comment fedora-40-5.2_opam-2.2)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Fedora 40 - x86_64 - Updates                    261 kB/s |  25 kB     00:00
Fedora 40 - x86_64 - Updates                    3.2 MB/s | 4.8 MB     00:01
Last metadata expiration check: 0:00:04 ago on Fri Nov 15 21:06:44 2024.
Package findutils-1:4.9.0-9.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-11-15 21:06.50 ---> saved as "9cd9be83dc0de4e70ec5a724decae682c3e35d349ffcbdffac174240b440caf0"


/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-11-15 21:06.50 ---> saved as "0f1096588758b9ca3c0188019750675bfee26ec204dea33b246a9b54d2af244e"


/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.05 ---> saved as "affa6c974fb3bbc4613252c88b246f007e6bc7672b5d216ab9781d8df0cbd28a"


/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.05 ---> saved as "2ac3ee8d8794439c4c742e34db1d7f4859b10e47eec9a88a7bd9b239b8941df3"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-15 21:08.06 ---> saved as "eaa03fb5344492feb856bbcbf574b14163583f97c62073f71158ce1aa57942a4"


/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:09.11 ---> saved as "00dafdf2853c4538f6c2302946f223d1aecc3d5fc5a804c487464a1f6d8859e8"


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


/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:09.12 ---> saved as "593fad536b060259c80c69c6970a4cd355204baf8452cc61c93b29cfa613912e"


/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-x86_64.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 "yum" "makecache"
- Fedora 40 - x86_64                              308 kB/s |  28 kB     00:00
- Fedora 40 openh264 (From Cisco) - x86_64         14 kB/s | 989  B     00:00
- Fedora 40 - x86_64 - Updates                    282 kB/s |  25 kB     00:00
- Metadata cache created.


<><> 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-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-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:09.32 ---> saved as "b23f75d9fcf45ae91fed1469a64bfecd385243900377b4597d0bda5907f0a8f9"


/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-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-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 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:10.40 ---> saved as "18a3cb715352a2829cf3fb5a2cdc32c45b39d10f07a559e9ab3dbe5a311d111f"


/src: (copy (src .) (dst /src))
2024-11-15 21:10.40 ---> saved as "07b3f00443ba9e4e4278202ecce3c3c163fc38762f6183ed01c85ab353302176"


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