Organisationsgildor478ocaml-fileutils7f0077 (master)ubuntu-22.04-4.14_opam-2.3

ubuntu-22.04-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-06-17 18:28.08: New job: test gildor478/ocaml-fileutils https://github.com/gildor478/ocaml-fileutils.git#refs/heads/master (7f007779741f578f2749f1699d47a1c28e9c3f0d) (linux-x86_64:ubuntu-22.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:fed295db1e4aa126a8e74b05a77d6d8b11e2e0712b6d390e2dbc2c4907f878e1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/gildor478/ocaml-fileutils.git" -b "master" && cd "ocaml-fileutils" && git reset --hard 7f007779
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:fed295db1e4aa126a8e74b05a77d6d8b11e2e0712b6d390e2dbc2c4907f878e1
# ubuntu-22.04-4.14_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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-threads.base base-unix.base dune.3.19.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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


2025-06-17 18:28.08: Using cache hint "gildor478/ocaml-fileutils-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:fed295db1e4aa126a8e74b05a77d6d8b11e2e0712b6d390e2dbc2c4907f878e1-ubuntu-22.04-4.14_opam-2.3-6bd3447c7c8850ea7e9e97a71e53e49d"
2025-06-17 18:28.08: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:fed295db1e4aa126a8e74b05a77d6d8b11e2e0712b6d390e2dbc2c4907f878e1)
(comment ubuntu-22.04-4.14_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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-threads.base base-unix.base dune.3.19.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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"))
)


2025-06-17 18:28.08: Waiting for resource in pool OCluster
2025-06-17 20:07.15: Waiting for worker…
2025-06-17 20:10.23: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 7f00777 Prepare release v0.6.6.


(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:fed295db1e4aa126a8e74b05a77d6d8b11e2e0712b6d390e2dbc2c4907f878e1)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:fed295db1e4aa126a8e74b05a77d6d8b11e2e0712b6d390e2dbc2c4907f878e1' locally
docker.io/ocaml/opam@sha256:fed295db1e4aa126a8e74b05a77d6d8b11e2e0712b6d390e2dbc2c4907f878e1: Pulling from ocaml/opam
1dfad754f7ed: Pulling fs layer
1dfad754f7ed: Verifying Checksum
1dfad754f7ed: Download complete
1dfad754f7ed: Pull complete
Digest: sha256:fed295db1e4aa126a8e74b05a77d6d8b11e2e0712b6d390e2dbc2c4907f878e1
Status: Downloaded newer image for ocaml/opam@sha256:fed295db1e4aa126a8e74b05a77d6d8b11e2e0712b6d390e2dbc2c4907f878e1
2025-06-17 20:11.27 ---> saved as "d1dad4e44dc1160978f0d844499b596292ad1c23895f406011baa026e666a9db"


/: (comment ubuntu-22.04-4.14_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"))
2025-06-17 20:11.27 ---> saved as "1c40d65fc69305b76b11a74c06bd669410e5cdf4419b74b7713e73fd662533fd"


/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] Initialised
2025-06-17 20:11.54 ---> saved as "5e6d1d1732ee3e39af3bd7d6fcea3ab703aff316310c69312027b87e40d9c9c7"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-141-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-17 20:11.54 ---> saved as "64a7ae5b74fd2fa8d47ace12712149d555a844faf215bfcff474303a6a4b1fe2"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-06-17 20:11.54 ---> saved as "d57e08691102860abc759126a89bb8069f639c21e357258749de0a65186bead9"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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)
2025-06-17 20:12.13 ---> saved as "d51b07e1d88eef3d742d53b156bd92ec9c5c1c0f881a5bf6218a2a2be99f5130"


/src: (copy (src fileutils.opam) (dst ./))
2025-06-17 20:12.14 ---> saved as "60b426b52b7621f9539eeca7b91d5753ad7a2dcadd54cfffe1ebe4f2ef8cb28f"


/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)
2025-06-17 20:12.16 ---> saved as "91cbce21a4a4606261b8bfbd5856e22d45b554179ee613d79b2cf3bd85c7265e"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 20:12.16 ---> saved as "c7542569c12317b36925c95b2ac30bd420a581d01c0c42a10c805d71c6307199"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.19.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1250 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1557 kB]
- Get:7 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2986 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3296 kB]
- Fetched 9473 kB in 3s (2805 kB/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 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 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).
2025-06-17 20:12.31 ---> saved as "b2ec74559ad23580e55a7b16f48c5548bb4956cf17e5d96efac052bb747b3a54"


/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 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 4 packages
- install dune         3.19.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.19.1  (cached)
-> installed dune.3.19.1
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-17 20:13.02 ---> saved as "8a6898a30d9ea96d016ef108cef8a38bd3e113ef6c7d459749bb4ad5f0bd8631"


/src: (copy (src .) (dst /src))
2025-06-17 20:13.02 ---> saved as "0c08c1a230ad2f34093e5d89131ff93eef80cbe3229b53335dec8c11e81f577d"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
......................................................................................................................................................................................................................................
Ran: 230 tests in: 0.14 seconds.
OK
2025-06-17 20:13.03 ---> saved as "fa6c456146ef3cb3e2c8f8ab4faec4a888b8190d7c40dc60a670033c500c3f1e"
Job succeeded
2025-06-17 20:13.03: Job succeeded