Organisationsgildor478ocaml-fileutils0ebe90 ()debian-12-4.08_opam-2.3

debian-12-4.08_opam-2.3

Link Copied
Code Copied

Logs

2024-12-19 22:53.26: New job: test gildor478/ocaml-fileutils https://github.com/gildor478/ocaml-fileutils.git#refs/pull/59/head (0ebe9003654838141068ca097d58fadae5b0e374) (linux-x86_64:debian-12-4.08_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679
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:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679
# debian-12-4.08_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-threads.base base-unix.base dune.3.17.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.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 22:53.26: Using cache hint "gildor478/ocaml-fileutils-ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679-debian-12-4.08_opam-2.3-efd5298e1ef59047c7c2774af0e92578"
2024-12-19 22:53.26: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679)
(comment debian-12-4.08_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-threads.base base-unix.base dune.3.17.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.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 22:53.26: Waiting for resource in pool OCluster
2024-12-20 18:48.27: Waiting for worker…
2024-12-20 18:50.31: 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:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679)
2024-12-20 19:15.58 ---> using "2c99520034ba7d2c12a0edb456b31a2f404e9da547f96b39b3b43810eae7bc5d" from cache


/: (comment debian-12-4.08_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 19:15.58 ---> using "9c7d267f7e92517e2e7ab4d7fc448d8fbbb94cc38a5840599e10f31251e4deb4" 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.


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-20 19:15.58 ---> using "a85c677794c09ff23dc8acdf20aecfae513f7cc60a85d118c52f015fe321d43e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.08.1
2.3.0
2024-12-20 19:15.58 ---> using "9c1e00b937b2e38fda6057914a79238c0808f3fdb6f52e94d95390dfae7f0a0c" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-12-20 19:15.58 ---> using "f584b3496481aecc521427cb7cbbdf8e119e34cd57b7f7ce22a6b3fcf867f9d5" 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..7990d7d220  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 19:15.58 ---> using "46d20e8a95f230a2e74bee18308d2ac8384d2758c1f2d632c82ca8873d56c0e9" from cache


/src: (copy (src fileutils.opam) (dst ./))
2024-12-20 19:15.59 ---> saved as "3ab41fa2af842a47a4f51127df96fab075d19e090183e7af6f24a592fd014a92"


/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 19:16.01 ---> saved as "a2c589598094c7557be9bea01849ef21365af2bf0fc7b904c0a5835969ce64aa"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-20 19:16.01 ---> saved as "bef22a4d32bbca5575fc83c935f4e07e438fb9ff32175c724a0fb10d65ed34e5"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.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://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 [236 kB]
- Fetched 339 kB in 0s (756 kB/s)
- Reading package lists...
- 


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


[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).
2024-12-20 19:16.17 ---> saved as "839f7e704a52adbdeb47e98571524f08f7a3931eb70edc0684e9e97f92519931"


/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 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 19:16.53 ---> saved as "532942cd4e30d27e97438f7b43e78719b82f4a5a5321feb90a183a3ab9d4366e"


/src: (copy (src .) (dst /src))
2024-12-20 19:16.54 ---> saved as "ba2063931e6f282e92716c3dba98bb4e439747f54b47d05a45d5db6171a659f0"


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