Organisationsrobur-coopocaml-h1389e5b (master)freebsd-14.3-4.14_opam-2.4

freebsd-14.3-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-10-07 16:47.40: New job: test robur-coop/ocaml-h1 https://github.com/robur-coop/ocaml-h1.git#refs/heads/master (389e5b99380fe090c6ff2622dc0d6819582334f0) (freebsd-x86_64:freebsd-14.3-4.14_opam-2.4)
Base: freebsd-14.3-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/robur-coop/ocaml-h1.git" -b "master" && cd "ocaml-h1" && git reset --hard 389e5b99
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.3-ocaml-4.14
# freebsd-14.3-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 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 h1.opam h1-lwt-unix.opam ./
RUN opam pin add -yn h1.dev './' && \
opam pin add -yn h1-lwt-unix.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 angstrom.0.16.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bstr.0.0.2 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.11.0 httpun-types.0.2.0 lwt.5.9.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y h1.dev h1-lwt-unix.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-10-07 16:47.40: Using cache hint "robur-coop/ocaml-h1-freebsd-14.3-ocaml-4.14-freebsd-14.3-4.14_opam-2.4-9894e88a9e600288ee450cf18fda67b8"
2025-10-07 16:47.40: Using OBuilder spec:
((from freebsd-14.3-ocaml-4.14)
(comment freebsd-14.3-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 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src h1.opam h1-lwt-unix.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn h1.dev './' && \
\nopam pin add -yn h1-lwt-unix.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 angstrom.0.16.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bstr.0.0.2 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.11.0 httpun-types.0.2.0 lwt.5.9.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4")
(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 h1.dev h1-lwt-unix.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-10-07 16:47.40: Waiting for resource in pool OCluster
2025-10-07 16:47.40: Waiting for worker…
2025-10-07 17:12.25: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at 389e5b9 Merge pull request #17 from robur-coop/prepare-v1.1.0


(from freebsd-14.3-ocaml-4.14)
2025-10-07 17:10.44 ---> using "7e5247e9853d1c2fb95ef9ffdfdb895ef70516f48155f08a9b10db936cb8c6c6" from cache


/: (comment freebsd-14.3-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-10-07 17:10.46 ---> using "f8f2ae50f983ba53790a433c81d8570b8becc44c74ab2707cf43746ed1b463d1" 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-10-07 17:10.47 ---> using "a95cd97103c96a777086d9508c45964fbffa4285a5c5e6703b704acabfb6945b" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.3-RELEASE-p3
The OCaml toplevel, version 4.14.2
2.4.1
2025-10-07 17:10.49 ---> using "199d8be57ed603ac6837a6d6cc7e578c2f630e2b79e2520a8892deff98662ca8" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-07 17:10.50 ---> using "c9d8693a3c313f3750cea43d98891a3f5490d8d3ab8357236d5eb49fea038272" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u"))
241aae26db Merge pull request #28629 from dinosaure/release-alcotest-1.9.1


<><> 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-10-07 17:10.51 ---> using "de0bd8698b2e3bc0711b3652af2879eb45db39585a1fe11d06fcfadb2457ddfe" from cache


/src: (copy (src h1.opam h1-lwt-unix.opam) (dst ./))
2025-10-07 17:10.54 ---> saved as "41c1d164bc97e2304ec668a54cada6062218856b45885bebd6f59fba62f3a736"


/src: (run (network host)
(shell  "opam pin add -yn h1.dev './' && \
\nopam pin add -yn h1-lwt-unix.dev './'"))
[h1.dev] synchronised (file:///src)
h1 is now pinned to file:///src (version dev)
[h1-lwt-unix.dev] synchronised (file:///src)
h1-lwt-unix is now pinned to file:///src (version dev)
2025-10-07 17:11.03 ---> saved as "b26f4a832412a62570be379ec616ead378d04cef68574f3f0bb010f0bc96fd76"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-07 17:11.06 ---> saved as "5097f5a09f59971ae1937618d1eaca2d58f9ffdf04c7034d27cd6e07491be64e"


/src: (env DEPS "alcotest.1.9.1 angstrom.0.16.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bstr.0.0.2 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.11.0 httpun-types.0.2.0 lwt.5.9.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4")


/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 h1.dev h1-lwt-unix.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[h1-lwt-unix.dev] synchronised (file:///src)
[h1.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-10-07 17:11.36 ---> saved as "8d26e0fd0bbe111d0d7be59c4863020de906e1f587a85d098c5645e093d6451a"


/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 29 packages
 alcotest           1.9.1
 angstrom           0.16.1
 astring            0.8.5
 base               v0.16.4
 base-bytes         base
 base64             3.5.2
 bigstringaf        0.10.0
 bstr               0.0.2
 cmdliner           2.0.0
 cppo               1.8.0
 csexp              1.5.2
 dune               3.20.2
 dune-configurator  3.20.2
 faraday            0.8.2
 faraday-lwt        0.8.2
 faraday-lwt-unix   0.8.2
 fmt                0.11.0
 httpun-types       0.2.0
 lwt                5.9.2
 ocaml-syntax-shims 1.0.0
 ocamlbuild         0.16.1
 ocamlfind          1.9.8
 ocplib-endian      1.2
 re                 1.14.0
 sexplib0           v0.16.0
 stdio              v0.16.0
 stdlib-shims       0.3.0
 topkg              1.1.0
 uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved astring.0.8.5  (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
 retrieved angstrom.0.16.1  (https://github.com/inhabitedtype/angstrom/archive/0.16.1.tar.gz)
 retrieved base64.3.5.2  (cached)
 retrieved alcotest.1.9.1  (https://github.com/mirage/alcotest/releases/download/1.9.1/alcotest-1.9.1.tbz)
 retrieved bigstringaf.0.10.0  (https://github.com/inhabitedtype/bigstringaf/archive/0.10.0.tar.gz)
 retrieved base.v0.16.4  (https://github.com/janestreet/base/archive/refs/tags/v0.16.4.tar.gz)
 retrieved cppo.1.8.0  (cached)
 retrieved csexp.1.5.2  (cached)
 retrieved bstr.0.0.2  (https://github.com/robur-coop/bstr/releases/download/v0.0.2/bstr-0.0.2.tbz)
 retrieved cmdliner.2.0.0  (https://erratique.ch/software/cmdliner/releases/cmdliner-2.0.0.tbz)
 retrieved fmt.0.11.0  (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
 retrieved httpun-types.0.2.0  (https://github.com/anmonteiro/httpun/releases/download/0.2.0/httpun-0.2.0.tbz)
 retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
 retrieved ocaml-syntax-shims.1.0.0  (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
 retrieved lwt.5.9.2  (https://github.com/ocsigen/lwt/archive/refs/tags/5.9.2.tar.gz)
 retrieved ocamlbuild.0.16.1  (cached)
 retrieved ocamlfind.1.9.8  (cached)
 retrieved faraday.0.8.2, faraday-lwt.0.8.2, faraday-lwt-unix.0.8.2  (https://github.com/inhabitedtype/faraday/archive/0.8.2.tar.gz)
 retrieved ocplib-endian.1.2  (https://github.com/OCamlPro/ocplib-endian/archive/refs/tags/1.2.tar.gz)
 retrieved re.1.14.0  (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.14.0.tar.gz)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved sexplib0.v0.16.0  (https://ocaml.janestreet.com/ocaml-core/v0.16/files/sexplib0-v0.16.0.tar.gz)
 retrieved uutf.1.0.4  (cached)
 retrieved stdio.v0.16.0  (https://ocaml.janestreet.com/ocaml-core/v0.16/files/stdio-v0.16.0.tar.gz)
 retrieved topkg.1.1.0  (cached)
 installed cmdliner.2.0.0
 installed ocamlfind.1.9.8
 installed base-bytes.base
 installed ocamlbuild.0.16.1
 installed topkg.1.1.0
 installed uutf.1.0.4
 installed fmt.0.11.0
 installed astring.0.8.5
 installed dune.3.20.2
 installed base64.3.5.2
 installed stdlib-shims.0.3.0
 installed csexp.1.5.2
 installed sexplib0.v0.16.0
 installed ocaml-syntax-shims.1.0.0
 installed cppo.1.8.0
 installed bstr.0.0.2
 installed ocplib-endian.1.2
 installed re.1.14.0
 installed dune-configurator.3.20.2
 installed bigstringaf.0.10.0
 installed alcotest.1.9.1
 installed faraday.0.8.2
 installed httpun-types.0.2.0
 installed angstrom.0.16.1
 installed lwt.5.9.2
 installed faraday-lwt.0.8.2
 installed faraday-lwt-unix.0.8.2
 installed base.v0.16.4
 installed stdio.v0.16.0
Done.
2025-10-07 17:14.10 ---> saved as "579ba563f0d3c2794c0cfa6f53563920369e0d0c65b2102007d25080087398ed"


/src: (copy (src .) (dst /src))
2025-10-07 17:14.12 ---> saved as "a89381f9bc1cf4d3330888861d310994b5bcadf069d94d44f90fa4a636d42ae1"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./test_h1.exe)
Testing `h1 unit tests'.
This run has ID `WCNFDVLC'.


[OK]          websocket                  0   parsing ping frame.
[OK]          websocket                  1   parsing close frame.
[OK]          websocket                  2   parsing text frame.
[OK]          version                    0   compare.
[OK]          version                    1   to_string.
[OK]          method                     0   is_safe.
[OK]          method                     1   is_cacheable.
[OK]          method                     2   is_idempotent.
[OK]          iovec                      0   lengthv.
[OK]          iovec                      1   shiftv.
[OK]          iovec                      2   shiftv raises .
[OK]          headers                    0   remove.
[OK]          headers                    1   replace.
[OK]          headers                    2   CI equal.
[OK]          request                    0   parse valid.
[OK]          request                    1   parse invalid errors.
[OK]          request                    2   body length.
[OK]          response                   0   parse valid.
[OK]          response                   1   parse invalid error.
[OK]          response                   2   body length.
[OK]          client connection          0   GET.
[OK]          client connection          1   send streaming body.
[OK]          client connection          2   Response EOF.
[OK]          client connection          3   Response header order preserved.
[OK]          client connection          4   report_exn.
[OK]          client connection          5   input_shrunk.
[OK]          client connection          6   failed response parse.
[OK]          client connection          7   schedule read with data availa...
[OK]          server connection          0   initial reader state.
[OK]          server connection          1   shutdown reader closed.
[OK]          server connection          2   single GET.
[OK]          server connection          3   multiple GETs.
[OK]          server connection          4   asynchronous response.
[OK]          server connection          5   echo POST.
[OK]          server connection          6   streaming response.
[OK]          server connection          7   asynchronous streaming response.
[OK]          server connection          8   asynchronous streaming respons...
[OK]          server connection          9   empty fixed streaming response.
[OK]          server connection         10   empty chunked streaming response.
[OK]          server connection         11   connection error.
[OK]          server connection         12   synchronous error, synchronous...
[OK]          server connection         13   synchronous error, asynchronou...
[OK]          server connection         14   asynchronous error, synchronou...
[OK]          server connection         15   asynchronous error, asynchrono...
[OK]          server connection         16   error while parsing.
[OK]          server connection         17   error before read.
[OK]          server connection         18   error left unhandled.
[OK]          server connection         19   chunked encoding.
[OK]          server connection         20   chunked encoding for error.
[OK]          server connection         21   blocked write on chunked encod...
[OK]          server connection         22   body writing when socket closes.
[OK]          server connection         23   writer unexpected eof.
[OK]          server connection         24   input shrunk.
[OK]          server connection         25   failed request parse.
[OK]          server connection         26   bad request.
[OK]          server connection         27   multiple requests in single read.
[OK]          server connection         28   multiple async requests in sin...
[OK]          server connection         29   multiple requests with connect...
[OK]          server connection         30   multiple requests with eof.
[OK]          server connection         31   parse failure after checkpoint.
[OK]          server connection         32   parse failure at eof.
[OK]          server connection         33   response finished before body ...
[OK]          server connection         34   shutdown in request handler.
[OK]          server connection         35   schedule read with data availa...
[OK]          server connection         36   test upgrades.
[OK]          server connection         37   test upgrade where server does...
[OK]          server connection         38   test upgrades.
[OK]          server connection         39   test upgrade where server does...
[OK]          server connection         40   upgrade.
[OK]          server connection         41   upgrade where server does not ...
[OK]          server connection         42   upgrade with initial data.
[OK]          server connection         43   upgrade with bad body length.
[OK]          server connection         44   asynchronous upgrade.
[OK]          server connection         45   upgrade interrupted by shutdown.


Full test results in `/src/_build/default/lib_test/_build/_tests/h1 unit tests'.
Test Successful in 1.024s. 74 tests run.
2025-10-07 17:14.19 ---> saved as "238909d0cce0981d6220e50a0f910b2dc1ed4e52f980ea307649fd42d961c8ae"
Job succeeded
2025-10-07 17:16.07: Job succeeded