Organisationsmirageocaml-xenstoredd2293 (main)fedora-41-5.3_opam-2.4

fedora-41-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-09-29 07:23.54: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/heads/main (dd229365a3e50a264cc258b440758ec9935a9937) (linux-x86_64:fedora-41-5.3_opam-2.4)
Base: ocaml/opam:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-xenstore.git" -b "main" && cd "ocaml-xenstore" && git reset --hard dd229365
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137
# fedora-41-5.3_opam-2.4
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.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 xenstore.opam ./
RUN opam pin add -yn xenstore.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 lwt.5.9.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2 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.4 --depext-only -y xenstore.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-09-29 07:23.54: Using cache hint "mirage/ocaml-xenstore-ocaml/opam:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137-fedora-41-5.3_opam-2.4-de5dbdc986c852b6f33719d8b070655a"
2025-09-29 07:23.54: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137)
(comment fedora-41-5.3_opam-2.4)
(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.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src xenstore.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn xenstore.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 lwt.5.9.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2 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.4 --depext-only -y xenstore.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-09-29 07:23.54: Waiting for resource in pool OCluster
2025-09-29 07:47.13: Waiting for worker…
2025-09-29 07:49.22: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialised empty Git repository in /var/cache/obuilder/ocluster/git/ocaml-xenstore.git-46419bfdb90b3e5eea3398f6d90dd9c4e7f51e53/.git/
HEAD is now at dd22936 dune: require at least 2.7 (#59)


(from ocaml/opam:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137)
2025-09-29 07:49.25 ---> using "be9a06297631f7f79d999c044f2c42a58e095ca3b69d8515739b94b6473b3c33" from cache


/: (comment fedora-41-5.3_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 41 - x86_64                     100% |  75.0 KiB/s |  27.2 KiB |  00m00s
Fedora 41 - x86_64 - Updates           100% |  33.2 KiB/s |   7.7 KiB |  00m00s
Fedora 41 openh264 (From Cisco) - x86_ 100% |   7.0 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.


Nothing to do.
2025-09-29 07:49.25 ---> using "b832f17aed08c7f5a6c8273f59bac5b8f8ca95ac91fcaffc7c6dfa98a54d7519" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-29 07:49.25 ---> using "319f6790d7cf9d26c9f07365b2e2cc06ce69438411278d77a94a58a31777d685" 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 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 255 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=255 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-29 07:49.25 ---> using "c84a22e1e1c4b1af4fbec5fe3f2f0367c1b71038b9db10fde30758292c7b1e71" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-153-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-29 07:49.25 ---> using "9e62d718a1e775c4c8ffb889e1cdd5c7f42df2840638f73aa20158ba3ad522e6" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-29 07:49.25 ---> using "437606f3f801a3aa9dd5c2fdea159ac969ede0f92f9ea2e21a85075644fd70cb" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bcac5d1731..3c6a0f524c  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-29 07:49.25 ---> using "be46368a04d0c46d93cf4bbeec922c762458895b79fb6e52d541c7d08ddc84d1" from cache


/src: (copy (src xenstore.opam) (dst ./))
2025-09-29 07:49.26 ---> saved as "d1a41627bb1caf2d84acd372483357b03c1b279589ee20a11229802760205921"


/src: (run (network host)
(shell "opam pin add -yn xenstore.dev './'"))
[xenstore.dev] synchronised (file:///src)
xenstore is now pinned to file:///src (version dev)
2025-09-29 07:49.28 ---> saved as "2df2528c3e6c21cde3551ac4860012d23a162264e65da48fb1350224b9cfbe57"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-29 07:49.28 ---> saved as "44f5317d51ac3f2288bb4a41faf44f9e6b1726eb61478571953b2667adc3eac0"


/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 lwt.5.9.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2 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.4 --depext-only -y xenstore.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[xenstore.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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-effects 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).
2025-09-29 07:49.48 ---> saved as "aa634a3f4b33c3e35e0a80451c61ec8a15c361f59691b48b25ef53fee2d3f7d7"


/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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-effects 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 11 packages
- install base-bytes        base
- install cppo              1.8.0
- install csexp             1.5.2
- install dune              3.20.2
- install dune-configurator 3.20.2
- install lwt               5.9.2
- install ocamlfind         1.9.8
- install ocplib-endian     1.2
- install ounit2            2.2.7
- install seq               base
- install stdlib-shims      0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed ounit2.2.2.7
-> installed dune-configurator.3.20.2
-> installed lwt.5.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-29 07:51.59 ---> saved as "dbcfe023d64381f79db7dd1a89fba67f761d0ca0c2dc9a62cfc84b438c0b21f7"


/src: (copy (src .) (dst /src))
2025-09-29 07:52.00 ---> saved as "43df5572a4181fc0c5d4b216b625e68419c309ac15cc5abbfe84b2cdfa6218a0"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/core_test && ./xs_test.exe)
.............................................................................................
Ran: 93 tests in: 0.07 seconds.
OK
(cd _build/default/server_test && ./server_test.exe)
...................
Ran: 19 tests in: 0.01 seconds.
OK
2025-09-29 07:52.04 ---> saved as "006647bafff1f877389a1ac3b3e38e96f949b399f891b231cb56f9f4ddb9c944"
Job succeeded
2025-09-29 07:52.04: Job succeeded