Organisationsgildor478ocaml-fileutils0ebe90 ()ubuntu-20.04-5.2_opam-2.3

ubuntu-20.04-5.2_opam-2.3

Logs

Show full logs
2024-12-19 23:06.41: New job: test gildor478/ocaml-fileutils https://github.com/gildor478/ocaml-fileutils.git#refs/pull/59/head (0ebe9003654838141068ca097d58fadae5b0e374) (linux-x86_64:ubuntu-20.04-5.2_opam-2.3)
Base: ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:8e4d65d022c81ea78ea9c209d0483ed7c2b79a3607c04237082e62880218d8ef
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/gildor478/ocaml-fileutils.git" && cd "ocaml-fileutils" && git fetch origin "refs/pull/59/head" && git reset --hard 0ebe9003
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:8e4d65d022c81ea78ea9c209d0483ed7c2b79a3607c04237082e62880218d8ef
# ubuntu-20.04-5.2_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 fileutils.opam ./
RUN opam pin add -yn fileutils.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ounit2.2.2.7 seq.base stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y fileutils.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-12-19 23:06.41: Using cache hint "gildor478/ocaml-fileutils-ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:8e4d65d022c81ea78ea9c209d0483ed7c2b79a3607c04237082e62880218d8ef-ubuntu-20.04-5.2_opam-2.3-bbb25dc88afa18562da405c8f7c184e4"
2024-12-19 23:06.41: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:8e4d65d022c81ea78ea9c209d0483ed7c2b79a3607c04237082e62880218d8ef)
 (comment ubuntu-20.04-5.2_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src fileutils.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn fileutils.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ounit2.2.2.7 seq.base stdlib-shims.0.3.0")
 (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.3 --depext-only -y fileutils.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-12-19 23:06.41: Waiting for resource in pool OCluster
2024-12-20 21:01.54: Waiting for worker…
2024-12-20 21:04.07: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 0ebe900 Make cmp return None for identical files

(from ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:8e4d65d022c81ea78ea9c209d0483ed7c2b79a3607c04237082e62880218d8ef)
2024-12-20 21:35.14 ---> using "08c6034ee5619cd6515b163242cda159188531a1e3ea3dfd3522ba092f1968d6" from cache

/: (comment ubuntu-20.04-5.2_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-12-20 21:35.14 ---> using "c33cd3b971d28562f350a6ee06aca8591552c12e8de7243d834046cad6a1efed" 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.

Continue? [y/n] y
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.

[NOTE] The 'jobs' option was reset, its value was 31 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=31 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-12-20 21:35.14 ---> using "d47ffecf2c7b75f8bf2834694f77a038ecce968d3d6163d3b20f7d11dd92dca0" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 5.2.1
2.3.0
2024-12-20 21:35.14 ---> using "e095488c8f9b47cb81f48da83e4bedc4bee3e98286bac1e5469355cf2dd863aa" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-12-20 21:35.14 ---> using "af11aa89b86ca6b29724adf1161d02a7bd0f02cce4c59c576bd4b2a4bc788c7a" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   de786e28db..f51b2f3708  master     -> origin/master
5c7ffb23c8 Merge pull request #27137 from maiste/release-dune-3.17.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.
# To update the current shell environment, run: eval $(opam env)
2024-12-20 21:35.14 ---> using "353a6aa182eb58bb4959c63b47d34a65319a1bddc7cd3c786349b98a3aa9505f" from cache

/src: (copy (src fileutils.opam) (dst ./))
2024-12-20 21:35.14 ---> using "470fb98e3da2cf49faaaf1135cb0a153c7d4ff9df1f6e2868b4eddc51d1a356e" from cache

/src: (run (network host)
           (shell "opam pin add -yn fileutils.dev './'"))
[fileutils.dev] synchronised (file:///src)
fileutils is now pinned to file:///src (version dev)
2024-12-20 21:35.14 ---> using "3afa9eed0db4752f507cb8ca3c9e12cdd4f56d3e4392f76f87b3066ddb4f51f3" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-20 21:35.14 ---> using "e1df99638f1d30aea92e649516d2145ffe0b7088143687d4f7f347bd91c2eb84" from cache

/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ounit2.2.2.7 seq.base stdlib-shims.0.3.0")

/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.3 --depext-only -y fileutils.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://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4227 kB]
- Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:5 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1296 kB]
- Get:6 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4157 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4639 kB]
- Get:9 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4426 kB]
- Get:10 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1587 kB]
- Fetched 20.7 MB in 2s (11.3 MB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[fileutils.dev] synchronised (file:///src)

[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.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[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-12-20 21:35.14 ---> using "fdcbbd045bdaede1e94d36a1b44e3c72812b0029af42491f6cfc78a981a90d0b" from cache

/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.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[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 4 packages
  - install dune         3.17.1
  - install ounit2       2.2.7
  - install seq          base
  - install stdlib-shims 0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved dune.3.17.1  (cached)
-> installed dune.3.17.1
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-20 21:35.14 ---> using "b30a56fd99ac20a3c87fef34f004c9db4682c4ffbb7665ef3c4148143014dfef" from cache

/src: (copy (src .) (dst /src))
2024-12-20 21:35.14 ---> saved as "9a6ebab9847365ec763504838de01818ca3f87f8d8c1375f08a8588de3d57ac7"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
...................................................................................................................................................................................................................................
Ran: 227 tests in: 0.14 seconds.
OK
2024-12-20 21:35.15 ---> saved as "79190a2781419fdf901776e50d7d43ddb76dcc27cf653201f44988b087e67513"
Job succeeded
2024-12-20 21:35.15: Job succeeded