2025-09-10 00:51.02: New job: test robur-coop/ocaml-h1 https://github.com/robur-coop/ocaml-h1.git#refs/heads/master (389e5b99380fe090c6ff2622dc0d6819582334f0) (linux-x86_64:ubuntu-24.04-5.3_opam-2.4)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:a944e8caba71d986a38ea2486d80a4c138f0034cd7455f30c704105331f75503
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 ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:a944e8caba71d986a38ea2486d80a4c138f0034cd7455f30c704105331f75503
# ubuntu-24.04-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && 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.0 angstrom.0.16.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bstr.0.0.2 cmdliner.1.3.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.13.2 seq.base sexplib0.v0.17.0 stdio.v0.17.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-09-10 00:51.02: Using cache hint "robur-coop/ocaml-h1-ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:a944e8caba71d986a38ea2486d80a4c138f0034cd7455f30c704105331f75503-ubuntu-24.04-5.3_opam-2.4-e4b76fd905ff88e6f32f0f9df5002138"
2025-09-10 00:51.02: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:a944e8caba71d986a38ea2486d80a4c138f0034cd7455f30c704105331f75503)
(comment ubuntu-24.04-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && 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.0 angstrom.0.16.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bstr.0.0.2 cmdliner.1.3.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.13.2 seq.base sexplib0.v0.17.0 stdio.v0.17.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-09-10 00:51.02: Waiting for resource in pool OCluster
2025-09-10 07:30.00: Waiting for worker…
2025-09-10 07:33.33: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 389e5b9 Merge pull request #17 from robur-coop/prepare-v1.1.0
(from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:a944e8caba71d986a38ea2486d80a4c138f0034cd7455f30c704105331f75503)
2025-09-10 07:48.48 ---> using "a3fb076ae83bdaf7592966046ebc2761206d1317189e29c8754cf767b4f87c27" from cache
/: (comment ubuntu-24.04-5.3_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-10 07:48.48 ---> using "d3ab3f07d7d6c1fbc4461c42fc2568ec90ac7b9cebe982af3884925436fffc84" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-10 07:48.48 ---> using "bb93f1c7a5f9d981e4e0c647fa689b0e4adfc6e3f0d8fcf80812d15d0c801ca0" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-10 07:48.48 ---> using "5521c6d4c568a693550eb44a7f49d4c23542b83c4898d3831c6541214f31405f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-10 07:48.48 ---> using "c5e46e94efc02ee9159ad7321c25cf7b95179a8f81c8318e6bbac0c5f19e082c" 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"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
ee24528071..ea994caae6 master -> origin/master
109398e2fd Merge pull request #28437 from maiste/release-dune-3.20.2
<><> 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-10 07:48.48 ---> using "8a0b4edea5c1198357b0b3cf11f8f86ba66e0c5e5345e43b227fde30aa5b3b4b" from cache
/src: (copy (src h1.opam h1-lwt-unix.opam) (dst ./))
2025-09-10 07:48.48 ---> saved as "01d44a126a2546c0f9fbc61e58c02fb0a633cba4d5f8b490a3c1945a0965a880"
/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-09-10 07:48.51 ---> saved as "f3df85e36eec2986130c82fd86c668f038e39eaa548e14e1318bf5c986dba47b"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-10 07:48.51 ---> saved as "953668c65fffe0dc750bc296a043c8689fdf2a1d3a5b423cb53a45a661758ba2"
/src: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bstr.0.0.2 cmdliner.1.3.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.13.2 seq.base sexplib0.v0.17.0 stdio.v0.17.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"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2159 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1408 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2269 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1135 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1918 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1761 kB]
- Fetched 11.0 MB in 2s (6619 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[h1.dev] synchronised (file:///src)
[h1-lwt-unix.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-10 07:49.01 ---> saved as "851d644f53c54169cf1ad68fdb4c78d7ad40a44c30f011de9a2588221dd8f1ab"
/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 31 packages
- install alcotest 1.9.0
- install angstrom 0.16.1
- install astring 0.8.5
- install base v0.17.3
- install base-bytes base
- install base64 3.5.1
- install bigstringaf 0.10.0
- install bstr 0.0.2
- install cmdliner 1.3.0
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.20.2
- install dune-configurator 3.20.2
- install faraday 0.8.2
- install faraday-lwt 0.8.2
- install faraday-lwt-unix 0.8.2
- install fmt 0.11.0
- install httpun-types 0.2.0
- install lwt 5.9.2
- install ocaml-syntax-shims 1.0.0
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install re 1.13.2
- install seq base
- install sexplib0 v0.17.0
- install stdio v0.17.0
- install stdlib-shims 0.3.0
- install topkg 1.1.0
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved bstr.0.0.2 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved faraday.0.8.2, faraday-lwt.0.8.2, faraday-lwt-unix.0.8.2 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved lwt.5.9.2 (cached)
-> retrieved httpun-types.0.2.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.13.2 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdio.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> 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 csexp.1.5.2
-> installed base64.3.5.1
-> installed bstr.0.0.2
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed re.1.13.2
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.0
-> installed dune-configurator.3.20.2
-> installed bigstringaf.0.10.0
-> installed faraday.0.8.2
-> installed angstrom.0.16.1
-> installed httpun-types.0.2.0
-> installed lwt.5.9.2
-> installed faraday-lwt.0.8.2
-> installed faraday-lwt-unix.0.8.2
-> installed base.v0.17.3
-> installed stdio.v0.17.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-10 07:49.35 ---> saved as "88c86859260b3dfe74b36c326945a56b209a40e972b393414fcece9936f3b479"
/src: (copy (src .) (dst /src))
2025-09-10 07:49.35 ---> saved as "35e737412007acdc7d103addc24fd8e5d545e505d1da0072e815139b55079134"
/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 `O6XC4I24'.
[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 0.208s. 74 tests run.
2025-09-10 07:49.37 ---> saved as "ab45b249e31d4c664d42ef2d66dcf681aea2a6a9a0997aeb638bd5b5eeb9dd7d"
Job succeeded
2025-09-10 07:49.37: Job succeeded