2024-05-10 09:38.52: New job: test janestreet/spawn https://github.com/janestreet/spawn.git#refs/heads/master (fe3419b0db20819d7a31383544971e48a6dff20a) (freebsd-x86_64:freebsd-4.14_opam-2.1)
Base: freebsd-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/janestreet/spawn.git" -b "master" && cd "spawn" && git reset --hard fe3419b0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-4.14
# freebsd-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 spawn.opam ./
RUN opam pin add -yn spawn.dev './'
ENV DEPS="base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 jane-street-headers.v0.16.0 jst-config.v0.16.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_inline_test.v0.16.1 ppx_optcomp.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 re.1.11.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y spawn.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-05-10 09:38.52: Using cache hint "janestreet/spawn-freebsd-freebsd-ocaml-4.14-freebsd-4.14_opam-2.1-a095a467bdf401b8b46f4e99e43a4936"
2024-05-10 09:38.52: Using OBuilder spec:
((from freebsd-ocaml-4.14)
(comment freebsd-4.14_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src spawn.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn spawn.dev './'"))
(env DEPS "base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 jane-street-headers.v0.16.0 jst-config.v0.16.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_inline_test.v0.16.1 ppx_optcomp.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 re.1.11.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.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.1 --depext-only -y spawn.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-05-10 09:38.52: Waiting for resource in pool OCluster
2024-05-10 15:37.55: Waiting for worker…
2024-05-10 18:54.39: Got resource from pool OCluster
Building on spring
All commits already cached
HEAD is now at fe3419b Do not require C99 mode for older GCC (#62)
(from freebsd-ocaml-4.14)
2024-05-10 18:49.10 ---> using "57eeeabfec88366322a66f228a693df277d348dc99f1cc2a63749102c5e1e405" from cache
/: (comment freebsd-4.14_opam-2.1)
/: (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.1 /usr/local/bin/opam"))
2024-05-10 18:49.10 ---> using "e9fe3959c02c848d2766600d2fd363dc0faa291980b23311949b4972bc5ea188" 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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2024-05-10 18:49.11 ---> using "dba2ef0de478afdbd43a6552d310929f1c3c3ee6b86c81b7ff6f06256f6544c3" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p5
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-10 18:49.11 ---> using "fa8577a82f6c8311031f5ac9ddbcefef5d36d0876493f17a1dc5aa96593235c6" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-10 18:49.12 ---> using "1b1f323c7946b3615d1855d65edd6179caf157152d4670670539e49efbdc1d2e" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
69e073a577..20baedeee4 master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Constructing initial basis...
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.3.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-05-10 18:49.13 ---> using "8500110bb34f5fa0eecc8ffdce35dbb8d679b67af89bb1cba1cce8086b8f5e32" from cache
/src: (copy (src spawn.opam) (dst ./))
2024-05-10 18:49.13 ---> using "6ebfacaf3b8e4bbdc493c08b1550b06bfeaea1f28b398a751d0e2aaf7257b7e9" from cache
/src: (run (network host)
(shell "opam pin add -yn spawn.dev './'"))
[spawn.dev] synchronised (file:///src)
spawn is now pinned to file:///src (version dev)
2024-05-10 18:49.14 ---> using "92cc16963cb05c959953358da95f4d8b7ae0c3ae1528cdc4631afdae090fa19a" from cache
/src: (env DEPS "base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 jane-street-headers.v0.16.0 jst-config.v0.16.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_inline_test.v0.16.1 ppx_optcomp.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 re.1.11.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.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.1 --depext-only -y spawn.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[spawn.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 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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 13
Constructing conflict graph...
Conflict graph has 9 + 5 = 14 vertices
2024-05-10 18:49.14 ---> using "2db58636ff49d00cd30696567a2baeaa3e51a2b90d1097aa4cad708b000824b7" 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 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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 13
Constructing conflict graph...
Conflict graph has 9 + 5 = 14 vertices
The following actions will be performed:
∗ install conf-bash 1
∗ install seq base
∗ install dune 3.15.2
∗ install stdlib-shims 0.3.0
∗ install sexplib0 v0.16.0
∗ install re 1.11.0
∗ install ppx_derivers 1.2.1
∗ install ocaml-compiler-libs v0.12.4
∗ install jane-street-headers v0.16.0
∗ install csexp 1.5.2
∗ install ppxlib 0.32.1
∗ install dune-configurator 3.15.2
∗ install base v0.16.3
∗ install stdio v0.16.0
∗ install ppx_sexp_conv v0.16.0
∗ install ppx_here v0.16.0
∗ install ppx_globalize v0.16.0
∗ install ppx_enumerate v0.16.0
∗ install ppx_compare v0.16.0
∗ install ppx_cold v0.16.0
∗ install ppx_optcomp v0.16.0
∗ install ppx_hash v0.16.0
∗ install ppx_assert v0.16.0
∗ install ppx_base v0.16.0
∗ install jst-config v0.16.0
∗ install time_now v0.16.0
∗ install ppx_inline_test v0.16.1
∗ install ppx_expect v0.16.0
===== ∗ 28 =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved dune.3.15.2 (cached)
⬇ retrieved dune-configurator.3.15.2 (cached)
∗ installed conf-bash.1
⬇ retrieved jane-street-headers.v0.16.0 (cached)
⬇ retrieved csexp.1.5.2 (cached)
⬇ retrieved jst-config.v0.16.0 (cached)
⬇ retrieved ocaml-compiler-libs.v0.12.4 (cached)
⬇ retrieved ppx_assert.v0.16.0 (cached)
⬇ retrieved ppx_base.v0.16.0 (cached)
⬇ retrieved ppx_cold.v0.16.0 (cached)
⬇ retrieved ppx_compare.v0.16.0 (cached)
⬇ retrieved ppx_enumerate.v0.16.0 (cached)
⬇ retrieved ppx_derivers.1.2.1 (cached)
⬇ retrieved ppx_expect.v0.16.0 (cached)
⬇ retrieved ppx_globalize.v0.16.0 (cached)
⬇ retrieved ppx_here.v0.16.0 (cached)
⬇ retrieved ppx_hash.v0.16.0 (cached)
⬇ retrieved ppx_inline_test.v0.16.1 (cached)
⬇ retrieved ppx_optcomp.v0.16.0 (cached)
⬇ retrieved ppx_sexp_conv.v0.16.0 (cached)
⬇ retrieved ppxlib.0.32.1 (cached)
∗ installed seq.base
⬇ retrieved sexplib0.v0.16.0 (cached)
⬇ retrieved re.1.11.0 (cached)
⬇ retrieved stdio.v0.16.0 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved time_now.v0.16.0 (cached)
⬇ retrieved base.v0.16.3 (cached)
∗ installed dune.3.15.2
∗ installed jane-street-headers.v0.16.0
∗ installed ppx_derivers.1.2.1
∗ installed csexp.1.5.2
∗ installed stdlib-shims.0.3.0
∗ installed sexplib0.v0.16.0
∗ installed re.1.11.0
∗ installed ocaml-compiler-libs.v0.12.4
∗ installed dune-configurator.3.15.2
∗ installed base.v0.16.3
∗ installed stdio.v0.16.0
∗ installed ppxlib.0.32.1
∗ installed ppx_globalize.v0.16.0
∗ installed ppx_here.v0.16.0
∗ installed ppx_enumerate.v0.16.0
∗ installed ppx_optcomp.v0.16.0
∗ installed ppx_cold.v0.16.0
∗ installed ppx_compare.v0.16.0
∗ installed ppx_sexp_conv.v0.16.0
∗ installed ppx_assert.v0.16.0
∗ installed ppx_hash.v0.16.0
∗ installed ppx_base.v0.16.0
∗ installed jst-config.v0.16.0
∗ installed time_now.v0.16.0
∗ installed ppx_inline_test.v0.16.1
∗ installed ppx_expect.v0.16.0
Done.
2024-05-10 18:49.14 ---> using "d31ab887651146d719113cc9f772a65ebb2a2b56da45e46d0365ed929ce21f5c" from cache
/src: (copy (src .) (dst /src))
2024-05-10 18:49.22 ---> saved as "85aba9de20344be5d1689df89c0025e1a746fb40abd45a4d89e949aad10eb80f"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "bench/dune", line 5, characters 7-16:
5 | (pps ppx_bench)))
^^^^^^^^^
Error: Library "ppx_bench" not found.
-> required by _build/default/bench/.merlin-conf/lib-spawn_bench
-> required by alias bench/check
File "test/tests.ml", line 1, characters 0-0:
/usr/local/bin/git --no-pager diff --no-index --color=always -u _build/default/test/tests.ml _build/.sandbox/f0e3ea3745fc72f13d0f85d515f40e0e/default/test/tests.ml.corrected
diff --git a/_build/default/test/tests.ml b/_build/.sandbox/f0e3ea3745fc72f13d0f85d515f40e0e/default/test/tests.ml.corrected
index 117cdff..8daff73 100644
--- a/_build/default/test/tests.ml
+++ b/_build/.sandbox/f0e3ea3745fc72f13d0f85d515f40e0e/default/test/tests.ml.corrected
@@ -155,7 +155,17 @@ let%expect_test "pgid tests" =
()
~prog:"pgid_test/checkpgid.exe"
~argv:[]);
- [%expect {||}]
+ [%expect.unreachable]
+[@@expect.uncaught_exn {|
+ (* CR expect_test_collector: This test expectation appears to contain a backtrace.
+ This is strongly discouraged as backtraces are fragile.
+ Please change this test to not include a backtrace. *)
+
+ ("Unix.Unix_error(Unix.EINVAL, \"execve\", \"pgid_test/checkpgid.exe\")")
+ Raised by primitive operation at Spawn.spawn in file "src/spawn.ml" (inlined), line 176, characters 53-63
+ Called from Spawn.spawn in file "src/spawn.ml", line 182, characters 2-87
+ Called from Spawn_test__Tests.(fun) in file "test/tests.ml", line 153, characters 4-127
+ Called from Expect_test_collector.Make.Instance_io.exec in file "collector/expect_test_collector.ml", line 234, characters 12-19 |}]
;;
let%test_unit "sigprocmask" =
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 jane-street-headers.v0.16.0 jst-config.v0.16.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_inline_test.v0.16.1 ppx_optcomp.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 re.1.11.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed
"jail" "-c" "name=obuilder_3653_10140" "mount.devfs" "path=/obuilder/result/1252d59a217a45034748362a38b5be9f2b8adc432da514c763d2e38f22055e82/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.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 jane-street-headers.v0.16.0 jst-config.v0.16.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_inline_test.v0.16.1 ppx_optcomp.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 re.1.11.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 1
2024-05-10 18:55.15: Job failed: Failed: Build failed