Organisationsmirageirmin-watchera25ae6 (master)debian-12-4.08_opam-2.1

debian-12-4.08_opam-2.1

Link Copied
Code Copied

Logs

2024-05-26 11:14.31: New job: test mirage/irmin-watcher https://github.com/mirage/irmin-watcher.git#refs/heads/master (a25ae6d0f53cf87c62d96cc4c881d922fa31d433) (linux-x86_64:debian-12-4.08_opam-2.1)
Base: ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/irmin-watcher.git" -b "master" && cd "irmin-watcher" && git reset --hard a25ae6d0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
# debian-12-4.08_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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 irmin-watcher.opam ./
RUN opam pin add -yn irmin-watcher.dev './'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cf.0.5.0 cf-lwt.0.5.0 cmdliner.1.3.0 conf-libffi.2.0.0 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 ctypes-foreign.0.22.0 dune.3.15.3 dune-configurator.3.15.3 fmt.0.9.0 fsevents.0.3.0 fsevents-lwt.0.3.0 inotify.2.5 integers.0.7.0 logs.0.7.0 lwt.5.7.0 mtime.2.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y irmin-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-05-26 11:14.31: Using cache hint "mirage/irmin-watcher-ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb-debian-12-4.08_opam-2.1-092f2e073b93c01e3b2b1aedab439f75"
2024-05-26 11:14.31: Using OBuilder spec:
((from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
 (comment debian-12-4.08_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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src irmin-watcher.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn irmin-watcher.dev './'"))
 (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cf.0.5.0 cf-lwt.0.5.0 cmdliner.1.3.0 conf-libffi.2.0.0 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 ctypes-foreign.0.22.0 dune.3.15.3 dune-configurator.3.15.3 fmt.0.9.0 fsevents.0.3.0 fsevents-lwt.0.3.0 inotify.2.5 integers.0.7.0 logs.0.7.0 lwt.5.7.0 mtime.2.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
 (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 irmin-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-05-26 11:14.31: Waiting for resource in pool OCluster
2024-05-26 18:08.46: Waiting for worker…
2024-05-26 18:12.57: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at a25ae6d Merge pull request #36 from art-w/odoc-cycle


(from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
2024-05-26 18:13.59 ---> saved as "e0805034d9e735da2cb99f3eb2cde6a7473dabe8bd1020b5bf9a6e9f3a9991fe"


/: (comment debian-12-4.08_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-05-26 18:13.59 ---> saved as "646bc87e0f57317c5ebf610ed55d499e1a9858c6afbb70f9b3c1442beb0c0bc7"


/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-05-26 18:15.28 ---> saved as "3efe606a65f6fe7269ee6813ddd2fa2c2714f24a04a227ae5fb5c7db864c4c57"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-107-generic
The OCaml toplevel, version 4.08.1
2.1.5
2024-05-26 18:15.28 ---> saved as "6225fba4323f2de754e24da77b187b22e091a3b5bdd8f66c82092a9cc9863ec9"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-26 18:15.28 ---> saved as "35c4353ebc362a36ebb5c4ac3584cadf9893526dc08b896ef76d9b395ed9c850"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   eb2dcab0d8..c61e9068d5  master     -> origin/master
1c7ec1efde [new release] dune (15 packages) (3.15.3)


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)


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-05-26 18:16.59 ---> saved as "d0ea6f0ac43a5bb21264c952dcb137a3a56d7f90860da88c985fb232a8491270"


/src: (copy (src irmin-watcher.opam) (dst ./))
2024-05-26 18:16.59 ---> saved as "2445d9fbc6a4aae612ed7b98654551ff51f6d562cfa88e5886bfbe7735c84c87"


/src: (run (network host)
           (shell "opam pin add -yn irmin-watcher.dev './'"))
[irmin-watcher.dev] synchronised (file:///src)
irmin-watcher is now pinned to file:///src (version dev)
2024-05-26 18:17.01 ---> saved as "81829565153075486d559c9a16559f2a125c1c8f86af9b45bf23f3cfef8017a9"


/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cf.0.5.0 cf-lwt.0.5.0 cmdliner.1.3.0 conf-libffi.2.0.0 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 ctypes-foreign.0.22.0 dune.3.15.3 dune-configurator.3.15.3 fmt.0.9.0 fsevents.0.3.0 fsevents-lwt.0.3.0 inotify.2.5 integers.0.7.0 logs.0.7.0 lwt.5.7.0 mtime.2.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")


/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 irmin-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 amd64 Packages [157 kB]
- Fetched 260 kB in 0s (1073 kB/s)
- Reading package lists...


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


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 system packages will first need to be installed:
    libffi-dev pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed


2024-05-26 18:17.22 ---> saved as "d4fe3a98a4ab15bacb3569b17aef30119e69951a012e983adf41969eb61b6020"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 conf-pkg-config    3
  - install dune               3.15.3
  - install ocamlfind          1.9.6
  - install cmdliner           1.3.0
  - install seq                base
  - install conf-libffi        2.0.0
  - install stdlib-shims       0.3.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 topkg              1.0.7
  - install base-bytes         base
  - install re                 1.11.0
  - install integers           0.7.0
  - install dune-configurator  3.15.3
  - install uutf               1.0.3
  - install mtime              2.0.0
  - install fmt                0.9.0
  - install astring            0.8.5
  - install ocplib-endian      1.2
  - install ctypes             0.22.0
  - install alcotest           1.7.0
  - install lwt                5.7.0
  - install ctypes-foreign     0.22.0
  - install logs               0.7.0
  - install inotify            2.5
  - install cf                 0.5.0
  - install fsevents           0.3.0
  - install cf-lwt             0.5.0
  - install fsevents-lwt       0.3.0
===== 32 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved cf.0.5.0  (cached)
-> retrieved cf-lwt.0.5.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> installed conf-pkg-config.3
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.22.0  (cached)
-> retrieved ctypes-foreign.0.22.0  (cached)
-> installed conf-libffi.2.0.0
-> retrieved fmt.0.9.0  (cached)
-> retrieved fsevents.0.3.0  (cached)
-> retrieved fsevents-lwt.0.3.0  (cached)
-> retrieved inotify.2.5  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved mtime.2.0.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved re.1.11.0  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved dune.3.15.3  (cached)
-> retrieved dune-configurator.3.15.3  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed mtime.2.0.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.15.3
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed integers.0.7.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.15.3
-> installed alcotest.1.7.0
-> installed lwt.5.7.0
-> installed inotify.2.5
-> installed logs.0.7.0
-> installed ctypes.0.22.0
-> installed ctypes-foreign.0.22.0
-> installed cf.0.5.0
-> installed fsevents.0.3.0
-> installed cf-lwt.0.5.0
-> installed fsevents-lwt.0.3.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-26 18:18.34 ---> saved as "f2ab882c7653801224940b8330a22413d5e6961ddc5175debca8b4e7135f36d4"


/src: (copy (src .) (dst /src))
2024-05-26 18:18.34 ---> saved as "10fcac2791cbc921397784791bef3c3031b65c3eb40f1d34e63dda016cd8bc88"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe -q --color=always)
Testing `irmin-watch'.
This run has ID `LNENIGW0'.


  [OK]          inotify          0   enoent.
  [OK]          inotify          1   basic.
  [OK]          inotify          2   100s.
  [SKIP]        inotify          3   1000s.


Full test results in `/src/_build/default/test/_build/_tests/irmin-watch'.
Test Successful in 5.609s. 3 tests run.
2024-05-26 18:18.41 ---> saved as "788a2a3d7192e3d000e8354b346b576434a041e840168d305e6b3f4f9a1032f1"
Job succeeded
2024-05-26 18:18.41: Job succeeded