2024-12-28 17:30.09: New job: test gildor478/ocaml-fileutils https://github.com/gildor478/ocaml-fileutils.git#refs/heads/master (366a3c52ac9d860220dddde64988ebdd644d9257) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:801fa6e55faea5f4dddbbfb1e0273428c2790318f247c5927365e8aa8ecdb2af
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/gildor478/ocaml-fileutils.git" -b "master" && cd "ocaml-fileutils" && git reset --hard 366a3c52
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:801fa6e55faea5f4dddbbfb1e0273428c2790318f247c5927365e8aa8ecdb2af
# debian-12-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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && 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-bytes.base base-threads.base base-unix.base dune.2.9.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.1 ounit2.2.2.0 stdlib-shims.0.1.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-28 17:30.09: Using cache hint "gildor478/ocaml-fileutils-ocaml/opam:debian-12-ocaml-4.14@sha256:801fa6e55faea5f4dddbbfb1e0273428c2790318f247c5927365e8aa8ecdb2af-debian-12-4.14_opam-2.3-ee5b5e8ae030e7fefdb34bb2707e01cc"
2024-12-28 17:30.09: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:801fa6e55faea5f4dddbbfb1e0273428c2790318f247c5927365e8aa8ecdb2af)
(comment debian-12-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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && 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-bytes.base base-threads.base base-unix.base dune.2.9.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.1 ounit2.2.2.0 stdlib-shims.0.1.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-28 17:30.09: Waiting for resource in pool OCluster
2024-12-28 17:30.10: Waiting for worker…
2024-12-28 17:30.10: Got resource from pool OCluster
Building on x86-bm-c19.sw.ocaml.org
HEAD is now at 92732da Silence exceptions raised when closing after an exception in FileUtilCP
HEAD is now at 366a3c5 Auto-generate fileutils.opam and get rid of stdlib-shims and seq, which are not needed anymore for OCaml 4.14.
(from ocaml/opam:debian-12-ocaml-4.14@sha256:801fa6e55faea5f4dddbbfb1e0273428c2790318f247c5927365e8aa8ecdb2af)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:801fa6e55faea5f4dddbbfb1e0273428c2790318f247c5927365e8aa8ecdb2af' locally
docker.io/ocaml/opam@sha256:801fa6e55faea5f4dddbbfb1e0273428c2790318f247c5927365e8aa8ecdb2af: Pulling from ocaml/opam
258bb5da0827: Pulling fs layer
258bb5da0827: Verifying Checksum
258bb5da0827: Download complete
258bb5da0827: Pull complete
Digest: sha256:801fa6e55faea5f4dddbbfb1e0273428c2790318f247c5927365e8aa8ecdb2af
Status: Downloaded newer image for ocaml/opam@sha256:801fa6e55faea5f4dddbbfb1e0273428c2790318f247c5927365e8aa8ecdb2af
2024-12-28 17:32.06 ---> saved as "34049235888c55dfee8e0d042edc218e4ed0491550763b8d7f19e1f3c5a5c120"
/: (comment debian-12-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"))
2024-12-28 17:32.06 ---> saved as "d2fbd3a59ead45fbcc7378d02addd0d24ee0d905aa116dd2421057fd94d64419"
/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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-12-28 17:34.04 ---> saved as "c7fbe4ed35f37ea18d04bf8eb658488cbd1f84c20ef3d3f2ef8b9d8c39a48f8c"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.14.2
2.3.0
2024-12-28 17:34.04 ---> saved as "3fea42e29cc8c3977e9cdb3c4233709f5fca21f0c8fcbd0d11659a7352af3a7b"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-28 17:34.04 ---> saved as "80cc51404a478b04ced69314490b605ffb95c3bcbf82ff074e07ac50330b26bf"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> 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-28 17:35.25 ---> saved as "e4e47dddb41eea4e46d7c4767825806cead0bcfbf13cc983a77f878539483f5e"
/src: (copy (src fileutils.opam) (dst ./))
2024-12-28 17:35.25 ---> saved as "fd79a493d20e7d9063a1c15ccc5bd53f186110dd7c1fc1204216f299e06b89ea"
/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-28 17:35.27 ---> saved as "d16fed8221b60f8f7f24b74f6bdb54a8af7b3738a83b868df13bd69bdc9dbbe6"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-28 17:35.27 ---> saved as "7f99de28640deb9400b2ceb9b03fcca238d6f7ccbfed248e5b72b794da5e2fc9"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base dune.2.9.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.1 ounit2.2.2.0 stdlib-shims.0.1.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://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 [240 kB]
- Fetched 343 kB in 0s (1362 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 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-12-28 17:35.42 ---> saved as "a34a631c49a3e639e6a1675e70c0592a74be14b99f7a33bc26075206ad1b4784"
/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 5 packages
- install base-bytes base
- install dune 2.9.1
- install ocamlfind 1.9.1
- install ounit2 2.2.0
- install stdlib-shims 0.1.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.1 (cached)
-> retrieved ounit2.2.2.0 (cached)
-> retrieved dune.2.9.1 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed dune.2.9.1
-> installed stdlib-shims.0.1.0
-> installed ounit2.2.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-28 17:36.17 ---> saved as "31ef362e93246f9683da3d6b6d6ccb253d2732c5de50db65480b7300084d7f2a"
/src: (copy (src .) (dst /src))
2024-12-28 17:36.17 ---> saved as "02c2fec1da586ac96c0c2882c2f7efba9abba98feb52c98f022e7da450f457c1"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
test alias test/runtest
......................................................................................................................................................................................................................................
Ran: 230 tests in: 0.13 seconds.
OK
2024-12-28 17:36.18 ---> saved as "fffb99861969a518050e24ff36f12e0fe2ea329420156252a340d997d4c17a06"
Job succeeded
2024-12-28 17:36.19: Job succeeded