2025-02-05 08:34.59: New job: test robur-coop/ocaml-h1 https://github.com/robur-coop/ocaml-h1.git#refs/heads/master (8af72495de51ed84801fc93a25f3b47ee90ed709) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-amd64-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 8af72495
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 h1.opam h1-lwt-unix.opam /home/opam/src/./
RUN opam pin add -yn h1.dev '/home/opam/src/./' && \
opam pin add -yn h1-lwt-unix.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="alcotest.1.8.0 angstrom.0.16.1 astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 conf-bash.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.9.0 httpun-types.0.2.0 lwt.5.9.0 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.15.0 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y h1.dev h1-lwt-unix.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-02-05 08:34.59: Using cache hint "robur-coop/ocaml-h1-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-82c20ebb92ebf904771df3c37a0620e2"
2025-02-05 08:34.59: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src h1.opam h1-lwt-unix.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn h1.dev '/home/opam/src/./' && \
\nopam pin add -yn h1-lwt-unix.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "alcotest.1.8.0 angstrom.0.16.1 astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 conf-bash.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.9.0 httpun-types.0.2.0 lwt.5.9.0 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.15.0 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
(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.3 --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 /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-02-05 08:34.59: Waiting for resource in pool OCluster
2025-02-05 11:33.21: Waiting for worker…
2025-02-05 14:39.08: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at 8af7249 Merge pull request #6 from robur-coop/prepare-v1.0.0
(from openbsd-76-amd64-ocaml-4.14)
2025-02-05 14:39.08 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache
/: (comment openbsd-76-amd64-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-02-05 14:39.08 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" from cache
/: (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] synchronised from file:///home/opam/opam-repository
2025-02-05 14:39.08 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-05 14:39.08 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
727427c1e7..3ee951993d master -> origin/master
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-02-05 14:39.08 ---> using "f4587d66c140483884dd69e0f656f88ba7707fd6bfe52315af778111704c9c55" from cache
/: (copy (src h1.opam h1-lwt-unix.opam) (dst /home/opam/src/./))
2025-02-05 14:40.06 ---> saved as "b50c3dda8c19b87308e6fc7ae126d7f5043c5ecb705178323b26f2c07f4f4a1d"
/: (run (network host)
(shell "opam pin add -yn h1.dev '/home/opam/src/./' && \
\nopam pin add -yn h1-lwt-unix.dev '/home/opam/src/./'"))
[h1.dev] synchronised (file:///home/opam/src)
h1 is now pinned to file:///home/opam/src (version dev)
[h1-lwt-unix.dev] synchronised (file:///home/opam/src)
h1-lwt-unix is now pinned to file:///home/opam/src (version dev)
2025-02-05 14:41.02 ---> saved as "34510c82687e14c3199a71eb7509fa1dbf806e51c27fd45b874a18070e2ac4b3"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-02-05 14:42.00 ---> saved as "114540708e194f6052b18bff6147da2f36cc726bac89e5395b67145eaf5b057b"
/: (env DEPS "alcotest.1.8.0 angstrom.0.16.1 astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 conf-bash.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.9.0 httpun-types.0.2.0 lwt.5.9.0 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.15.0 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
/: (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.3 --depext-only -y h1.dev h1-lwt-unix.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[h1.dev] synchronised (file:///home/opam/src)
[h1-lwt-unix.dev] synchronised (file:///home/opam/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-02-05 14:43.07 ---> saved as "6505e0375565f4af544e2e1466d354592852b41cdc884b503bac5b32a1075eae"
/: (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
- install alcotest 1.8.0
- install angstrom 0.16.1
- install astring 0.8.5
- install base v0.16.3
- install base-bytes base
- install bigstringaf 0.10.0
- install cmdliner 1.3.0
- install conf-bash 1
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.17.2
- install dune-configurator 3.17.2
- install faraday 0.8.2
- install faraday-lwt 0.8.2
- install faraday-lwt-unix 0.8.2
- install fmt 0.9.0
- install httpun-types 0.2.0
- install lwt 5.9.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install re 1.12.0
- install seq base
- install sexplib0 v0.16.0
- install stdio v0.16.0
- install stdlib-shims 0.3.0
- install topkg 1.0.7
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved base.v0.16.3 (cached)
-> installed conf-bash.1
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved faraday.0.8.2, faraday-lwt.0.8.2, faraday-lwt-unix.0.8.2 (cached)
-> retrieved httpun-types.0.2.0 (cached)
-> retrieved lwt.5.9.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved seq.base (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdio.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.17.2
-> installed ocamlbuild.0.15.0
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed ocaml-syntax-shims.1.0.0
-> installed dune-configurator.3.17.2
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed bigstringaf.0.10.0
-> installed seq.base
-> installed sexplib0.v0.16.0
-> installed angstrom.0.16.1
-> installed base.v0.16.3
-> installed faraday.0.8.2
-> installed ocplib-endian.1.2
-> installed httpun-types.0.2.0
-> installed lwt.5.9.0
-> installed re.1.12.0
-> installed faraday-lwt.0.8.2
-> installed stdio.v0.16.0
-> installed faraday-lwt-unix.0.8.2
-> installed stdlib-shims.0.3.0
-> installed topkg.1.0.7
-> installed astring.0.8.5
-> installed fmt.0.9.0
-> installed uutf.1.0.3
-> installed alcotest.1.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-05 14:54.01 ---> saved as "fc3791a33d3dd9b87a05d14503040e8faa66320e8ce523f23d1b2b19d59ef06f"
/: (copy (src .) (dst /home/opam/src))
2025-02-05 14:54.59 ---> saved as "f74e9e2c71011634847d051d0329f10d0023bbda974c393f7517517f61298b4a"
/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./test_h1.exe)
Testing `httpaf unit tests'.
This run has ID `9KGIS9J5'.
[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/httpaf unit tests'.
Test Successful in 0.498s. 71 tests run.
2025-02-05 14:55.59 ---> saved as "a2073a6aac237ae08e376e746e73ac1a2b72fc625817ac83db73bbac5b5058f3"
Job succeeded
2025-02-05 14:55.59: Job succeeded