2025-09-10 00:51.02: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/better-ci-test-ppx (06449cc7530261c49e509a3f740a950a7e42a606) (freebsd-x86_64:freebsd-14.2-4.14_opam-2.4)
Base: freebsd-14.2-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocsigen/lwt.git" -b "better-ci-test-ppx" && cd "lwt" && git reset --hard 06449cc7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.2-ocaml-4.14
# freebsd-14.2-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.4 /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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam ./
RUN opam pin add -yn lwt_retry.dev './' && \
opam pin add -yn lwt_react.dev './' && \
opam pin add -yn lwt_ppx.dev './' && \
opam pin add -yn lwt.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 react.1.2.2 topkg.1.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y lwt_retry.dev lwt_react.dev lwt.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-09-10 00:51.02: Using cache hint "ocsigen/lwt-freebsd-14.2-ocaml-4.14-freebsd-14.2-4.14_opam-2.4-1d7a65c633dc4701645b02681727d190"
2025-09-10 00:51.02: Using OBuilder spec:
((from freebsd-14.2-ocaml-4.14)
(comment freebsd-14.2-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.4 /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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn lwt_retry.dev './' && \
\nopam pin add -yn lwt_react.dev './' && \
\nopam pin add -yn lwt_ppx.dev './' && \
\nopam pin add -yn lwt.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 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 react.1.2.2 topkg.1.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.4 --depext-only -y lwt_retry.dev lwt_react.dev lwt.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 --only-packages=lwt_retry,lwt_react,lwt @install @check @runtest && rm -rf _build"))
)
2025-09-10 00:51.02: Waiting for resource in pool OCluster
2025-09-10 14:25.55: Waiting for worker…
2025-09-10 15:38.34: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at 06449cc75 improve maintainability of github action
(from freebsd-14.2-ocaml-4.14)
2025-09-10 15:45.47 ---> using "e232d73c9161ea3ff94ff4ae2b5a6983da9a9ca98d5185b2db1dbadeae5228e2" from cache
/: (comment freebsd-14.2-4.14_opam-2.4)
/: (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.4 /usr/local/bin/opam"))
2025-09-10 15:45.48 ---> using "ab3b72ff1bef5200ab51bf41b5ce466d603a607c082bc77b8cb9a89bd0ee8e2b" 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
2025-09-10 15:45.48 ---> using "4f5272944a297469599fadae70be6af0a741315c350ad35dc552c1741ce274b4" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.2-RELEASE-p1
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-10 15:45.48 ---> using "07a4e313abba0673771074c9860cdd9543e4761d68d2fb7c6d7221bc739a7e75" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-10 15:45.48 ---> using "3a9f22eefbfbdecb5fa973f708084041cdbe652271a081208757b5e926d582b0" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
109398e2fd Merge pull request #28437 from maiste/release-dune-3.20.2
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Everything as up-to-date as possible
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.3.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2025-09-10 15:45.49 ---> using "f375a32f8a606486050a6512e695133072c22ad57d7355c90c4c9672d74aa735" from cache
/src: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
(dst ./))
2025-09-10 15:45.50 ---> saved as "4cd65b0552e7b656abe1c1e318b2a407bd1a9617c2d42bee8b8aa7c02c16edff"
/src: (run (network host)
(shell "opam pin add -yn lwt_retry.dev './' && \
\nopam pin add -yn lwt_react.dev './' && \
\nopam pin add -yn lwt_ppx.dev './' && \
\nopam pin add -yn lwt.dev './'"))
[lwt_retry.dev] synchronised (file:///src)
lwt_retry is now pinned to file:///src (version dev)
[lwt_react.dev] synchronised (file:///src)
lwt_react is now pinned to file:///src (version dev)
[lwt_ppx.dev] synchronised (file:///src)
lwt_ppx is now pinned to file:///src (version dev)
[lwt.dev] synchronised (file:///src)
lwt is now pinned to file:///src (version dev)
2025-09-10 15:45.56 ---> saved as "5aea0229664dd9aaec5b4e71bf72152c2f2196a52bdb734799476c4d43998635"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-10 15:45.57 ---> saved as "5e443cc1f818c710e07ce024aff98fcb391ba21bd350ab64c42ce1359cfc18ce"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 react.1.2.2 topkg.1.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.4 --depext-only -y lwt_retry.dev lwt_react.dev lwt.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[lwt_retry.dev] synchronised (file:///src)
[lwt_react.dev] synchronised (file:///src)
[lwt.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 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).
2025-09-10 15:46.10 ---> saved as "0fc73c803172efc8efe8870f78fa505b2868ea046feecc01e8321ded5195c8e5"
/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 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 10 packages
∗ base-bytes base
∗ cppo 1.8.0
∗ csexp 1.5.2
∗ dune 3.20.2
∗ dune-configurator 3.20.2
∗ ocamlbuild 0.16.1
∗ ocamlfind 1.9.8
∗ ocplib-endian 1.2
∗ react 1.2.2
∗ topkg 1.1.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved csexp.1.5.2 (cached)
⬇ retrieved cppo.1.8.0 (cached)
⬇ retrieved ocamlbuild.0.16.1 (cached)
⬇ retrieved ocplib-endian.1.2 (cached)
⬇ retrieved ocamlfind.1.9.8 (cached)
⬇ retrieved react.1.2.2 (cached)
⬇ retrieved topkg.1.1.0 (cached)
⬇ retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
∗ installed ocamlbuild.0.16.1
∗ installed ocamlfind.1.9.8
∗ installed base-bytes.base
∗ installed topkg.1.1.0
∗ installed react.1.2.2
∗ installed dune.3.20.2
∗ installed csexp.1.5.2
∗ installed cppo.1.8.0
∗ installed ocplib-endian.1.2
∗ installed dune-configurator.3.20.2
Done.
2025-09-10 15:47.30 ---> saved as "0eaad92aad56338ec96d38773754a2f9d2eeb587ff3cf3521b3fec53ecab10f9"
/src: (copy (src .) (dst /src))
2025-09-10 15:47.32 ---> saved as "badd3f087609cc8a60662673441905d0beaa454d3ebf3ca46d6bb02d8da5ddf9"
/src: (run (shell "opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt @install @check @runtest && rm -rf _build"))
(cd _build/default/test/retry && ./main.exe)
Testing library 'retry'...
..............
Ok. 14 tests ran, 0 tests skipped in 0.01 seconds
(cd _build/default/test/core && ./main.exe)
Testing library 'core'...
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSS..................................................................................................................................................
Ok. 705 tests ran, 23 tests skipped in 0.27 seconds
(cd _build/default/test/react && ./main.exe)
Testing library 'react'...
...........
Ok. 11 tests ran, 0 tests skipped in 4.51 seconds
File "test/unix/dune", line 22, characters 7-11:
22 | (name main)
^^^^
(cd _build/default/test/unix && ./main.exe)
Testing library 'unix'...
.....................................SS.................................................................................................................ESES...................................................................................
Test 'mcast-join-loop' in suite 'unix_mcast' raised 'Unix.Unix_error(Unix.EADDRNOTAVAIL, "setsockopt", "")'
Test 'mcast-join-noloop' in suite 'unix_mcast' raised 'Unix.Unix_error(Unix.EADDRNOTAVAIL, "setsockopt", "")'
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 react.1.2.2 topkg.1.1.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt @install @check @runtest && rm -rf _build': failed
"jail" "-c" "name=obuilder_58756_6181" "mount.devfs" "path=/obuilder/result/d481b515e42ef68486813131cd7863a2da0335c253edc64cb368f95b1225a376/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 react.1.2.2 topkg.1.1.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt @install @check @runtest && rm -rf _build'" failed with exit status 1
2025-09-10 15:48.53: Job failed: Failed: Build failed