Organisationsgildor478ocaml-fileutils0ebe90 ()fedora-40-4.14_opam-2.3

fedora-40-4.14_opam-2.3

Link Copied
Code Copied

Logs

2024-12-19 22:48.25: New job: test gildor478/ocaml-fileutils https://github.com/gildor478/ocaml-fileutils.git#refs/pull/59/head (0ebe9003654838141068ca097d58fadae5b0e374) (linux-x86_64:fedora-40-4.14_opam-2.3)
Base: ocaml/opam:fedora-40-ocaml-4.14@sha256:e14ca5b313f60ab0f191c908ac77bea4a2a5596c716479364d6ac3a5fbd1cc9b
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:fedora-40-ocaml-4.14@sha256:e14ca5b313f60ab0f191c908ac77bea4a2a5596c716479364d6ac3a5fbd1cc9b
# fedora-40-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 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 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:48.25: Using cache hint "gildor478/ocaml-fileutils-ocaml/opam:fedora-40-ocaml-4.14@sha256:e14ca5b313f60ab0f191c908ac77bea4a2a5596c716479364d6ac3a5fbd1cc9b-fedora-40-4.14_opam-2.3-7f863a9a2127a7886e476bcb320fdce3"
2024-12-19 22:48.25: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-4.14@sha256:e14ca5b313f60ab0f191c908ac77bea4a2a5596c716479364d6ac3a5fbd1cc9b)
(comment fedora-40-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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 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 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:48.25: Waiting for resource in pool OCluster
2024-12-20 09:56.14: Waiting for worker…
2024-12-20 10:01.45: Got resource from pool OCluster
Building on x86-bm-c12.sw.ocaml.org
All commits already cached
HEAD is now at 0ebe900 Make cmp return None for identical files


(from ocaml/opam:fedora-40-ocaml-4.14@sha256:e14ca5b313f60ab0f191c908ac77bea4a2a5596c716479364d6ac3a5fbd1cc9b)
2024-12-20 10:02.35 ---> saved as "0cd0bcae094bb98a173c972be1f7d6646dba4a81c51c3afc962a74429f8c4a78"


/: (comment fedora-40-4.14_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Fedora 40 - x86_64 - Updates                    196 kB/s |  24 kB     00:00
Fedora 40 - x86_64 - Updates                     79 kB/s | 5.1 MB     01:05
Last metadata expiration check: 0:00:05 ago on Fri Dec 20 10:03:42 2024.
Package findutils-1:4.9.0-9.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-12-20 10:03.49 ---> saved as "7b48ff33e7e961bb97d4a9ff04d61756c7b6b5f09a7be735dd2ba74b14747447"


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-12-20 10:03.49 ---> saved as "783c94e1333d66b579b9cf75f107d119c2125bb7c6804141e4d91ddd142d5b7c"


/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 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 10:05.23 ---> saved as "7901be321c90d4117e0345b096f73770cf75189e16f7010896d1084764a5240a"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.14.2
2.3.0
2024-12-20 10:05.23 ---> saved as "07a7f805fac1393c8f827ef29ac2a031d5e0581416298ae13a5a44b5a2b1c7d8"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-12-20 10:05.23 ---> saved as "a1a5362a992d1f0a1b9c108601e9d1b573f61fed5e7b20c6c6702eabda9f43f1"


/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..3531767c50  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 10:06.51 ---> saved as "9455441351f7f3150c7675bb231f43174822ca428881b2c7db423cd5abf297d2"


/src: (copy (src fileutils.opam) (dst ./))
2024-12-20 10:06.51 ---> saved as "3ed61514da1fc098bd1fd31e8b1685a684e4c0b6a08ab7410e32e5f20fc78299"


/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 10:06.53 ---> saved as "cb78367d4cdb8d18503afef6eda260286c7b2a3233e8d2b4efdf77f0f17c6ec8"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-20 10:06.53 ---> saved as "48caf53bf479bbf6abf82bfbcb21033f3ff5a2aa281bcd1dd3169257c65a7bcf"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.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 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 "yum" "makecache"
- Fedora 40 - x86_64                              154 kB/s |  27 kB     00:00
- Fedora 40 openh264 (From Cisco) - x86_64         13 kB/s | 989  B     00:00
- Fedora 40 - x86_64 - Updates                    266 kB/s |  24 kB     00:00
- Metadata cache created.


<><> 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-20 10:07.11 ---> saved as "48e058bcdfe678b24b3ea798ebd8ada24de13e5979162be8ef34b426db18fe40"


/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 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 10:08.04 ---> saved as "fc904a6a388ada5dc14117aff61f24c1a8435204439a435006d2fff6694b0fbf"


/src: (copy (src .) (dst /src))
2024-12-20 10:08.04 ---> saved as "b633427241f8cc3bc2d5cbdbc86aaaa3563d2deaf1a0a9f968e9c0c95cf08145"


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