2024-11-15 15:05.36: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/pull/55/head (027bc33fa6baf2b32ac374164676f78267815a4e) (freebsd-x86_64:freebsd-4.14_opam-2.2)
Base: freebsd-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-xenstore.git" && cd "ocaml-xenstore" && git fetch origin "refs/pull/55/head" && git reset --hard 027bc33f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-4.14
# freebsd-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.2 /usr/local/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 bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 xenstore.opam ./
RUN opam pin add -yn xenstore.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 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.2 --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
2024-11-15 15:05.36: Using cache hint "mirage/ocaml-xenstore-freebsd-ocaml-4.14-freebsd-4.14_opam-2.2-bf2e87b042ce75ff4d6291635b33dfe1"
2024-11-15 15:05.36: Using OBuilder spec:
((from freebsd-ocaml-4.14)
(comment freebsd-4.14_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.2 /usr/local/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 bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src xenstore.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn xenstore.dev './'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 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.2 --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"))
)
2024-11-15 15:05.36: Waiting for resource in pool OCluster
2024-11-15 15:05.36: Waiting for worker…
2024-11-15 15:31.58: Got resource from pool OCluster
Building on spring
All commits already cached
HEAD is now at 027bc33 client_unix: Add Directory_part support
(from freebsd-ocaml-4.14)
2024-11-15 15:20.36 ---> using "57eeeabfec88366322a66f228a693df277d348dc99f1cc2a63749102c5e1e405" from cache
/: (comment freebsd-4.14_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.2 /usr/local/bin/opam"))
2024-11-15 15:20.36 ---> using "331cb54c56ba47239b6522558e6295f68ba679de6d38a5ddae6e1282bd4c3227" from cache
/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.1 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 1 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=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2024-11-15 15:20.37 ---> using "0ea397e38f2ed580c996b50aedfdb35f589fe8d5328e4d5701e3485ad0ee7d31" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.1-RELEASE-p5
The OCaml toplevel, version 4.14.2
2.2.1
2024-11-15 15:20.37 ---> using "e6ed3443f91a45dc3e2b2fd8eca0fa438601ccaf0a656f5e040e0ef7ec1bf353" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-15 15:20.38 ---> using "a8768039a9919ab7082a771b4ea48607524661cf72600917c57416f2763555c6" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
d8b8ceaa57..a6cd5e9297 master -> origin/master
bf952fff41 Merge pull request #26877 from raphael-proust/opam-publish-lwt.5.9.0
<><> 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).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-11-15 15:20.38 ---> using "4dedad26c9ef6373d19c5af3b78c3de0e780e6ecc72266a9538c4434400c8373" from cache
/src: (copy (src xenstore.opam) (dst ./))
2024-11-15 15:20.38 ---> using "2010f5660fe46d6f9ab25c2885c33e025f560d683e5e621ee2e033db5411129e" from cache
/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)
2024-11-15 15:20.38 ---> using "f1161ebea59774046f6358c2ff8037816832bdc7f81aaa74e54274474853ccdb" from cache
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 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.2 --depext-only -y xenstore.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[xenstore.dev] synchronised (no changes)
[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-11-15 15:20.39 ---> using "b8aa0e5add9d7781c2b08276d0f67e9c8bd347c3a3436848100884b23eb4241e" from cache
/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 11 packages
∗ base-bytes base
∗ cppo 1.7.0
∗ csexp 1.5.2
∗ dune 3.16.1
∗ dune-configurator 3.16.1
∗ lwt 5.9.0
∗ ocamlfind 1.9.6
∗ ocplib-endian 1.2
∗ ounit2 2.2.7
∗ seq base
∗ stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved csexp.1.5.2 (cached)
⬇ retrieved cppo.1.7.0 (cached)
⬇ retrieved lwt.5.9.0 (cached)
⬇ retrieved ocamlfind.1.9.6 (cached)
⬇ retrieved ounit2.2.2.7 (cached)
⬇ retrieved seq.base (cached)
∗ installed seq.base
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved ocplib-endian.1.2 (cached)
⬇ retrieved dune.3.16.1, dune-configurator.3.16.1 (cached)
∗ installed ocamlfind.1.9.6
∗ installed base-bytes.base
∗ installed dune.3.16.1
∗ installed stdlib-shims.0.3.0
∗ installed csexp.1.5.2
∗ installed cppo.1.7.0
∗ installed ounit2.2.2.7
∗ installed ocplib-endian.1.2
∗ installed dune-configurator.3.16.1
∗ installed lwt.5.9.0
Done.
2024-11-15 15:20.39 ---> using "05fb01e510638d3e6d9e816e2ce6a1a10d876cade8fc0ec10b91c9cdbe70195f" from cache
/src: (copy (src .) (dst /src))
2024-11-15 15:20.40 ---> saved as "9277fdd67b37faaaf7ec96fc3a63593d59972f9e36058de49c62b0ac52e7991f"
/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.13 seconds.
OK
(cd _build/default/server_test && ./server_test.exe)
...................
Ran: 19 tests in: 0.01 seconds.
OK
2024-11-15 15:20.49 ---> saved as "b1600e22d39e424e0ad740e9cb106af253e72c97803fa08937305a29c40a9fd5"
Job succeeded
2024-11-15 15:32.15: Job succeeded