Organisationsrobur-coopocaml-h19bb699 ()debian-12-4.14_opam-2.3

debian-12-4.14_opam-2.3

Logs

Show full logs
2025-06-17 18:24.08: New job: test robur-coop/ocaml-h1 https://github.com/robur-coop/ocaml-h1.git#refs/pull/8/head (9bb6998da05a80eb92c90d016e668115e86ab755) (linux-x86_64:debian-12-4.14_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/robur-coop/ocaml-h1.git" && cd "ocaml-h1" && git fetch origin "refs/pull/8/head" && git reset --hard 9bb6998d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
# debian-12-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.10.0 httpun-types.0.2.0 lwt.5.9.1 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.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
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 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2025-06-17 18:24.08: Using cache hint "robur-coop/ocaml-h1-ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1-debian-12-4.14_opam-2.3-a8f32725a039134993b045b96a5ffc1e"
2025-06-17 18:24.08: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1)
 (comment debian-12-4.14_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo 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"))
 (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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.10.0 httpun-types.0.2.0 lwt.5.9.1 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.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 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.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 /src))
 (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2025-06-17 18:24.08: Waiting for resource in pool OCluster
2025-06-17 18:37.57: Waiting for worker…
2025-06-17 18:40.39: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialised empty Git repository in /var/cache/obuilder/ocluster/git/ocaml-h1.git-b42979af0313d67d98f8dab9912094583a92f49b/.git/
HEAD is now at 9bb6998 merge websocketaf

(from ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1' locally
docker.io/ocaml/opam@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1: Pulling from ocaml/opam
60046a54970b: Pulling fs layer
60046a54970b: Verifying Checksum
60046a54970b: Download complete
60046a54970b: Pull complete
Digest: sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
Status: Downloaded newer image for ocaml/opam@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
2025-06-17 18:40.41 ---> using "e0b6b42c8d38d9348dfef46f8898d95202a2f66c4a54682abc09332d121e9399" from cache

/: (comment debian-12-4.14_opam-2.3)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-17 18:40.41 ---> using "087e08b165a4c96e5651843463842a95f76d0840a59aa7a384c29ebd289028aa" 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 development 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-06-17 18:40.41 ---> using "1fc90f758c2a9c5a702116c42b73f4d00ed4c97867bb8f33e39732c915533175" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-141-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-17 18:40.41 ---> using "907d9d16d8ee77c0c5555113122dd0c6e70daaa557fdf4c491949956707acf69" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-06-17 18:40.41 ---> using "2d576fc7dcae21eaff29797780d6d1b4d59f570977e957d814c1084a3ed8a1f4" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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-06-17 18:40.41 ---> using "0599b6458a70016dacefe2329b39fb7f1ccd8e9635f954db2bef750a7802a1c6" from cache

/src: (copy (src h1.opam h1-lwt-unix.opam) (dst ./))
2025-06-17 18:40.42 ---> saved as "dcdeca3155f67aaa0279cd9304a87179de1f3b586ed7b2006416293d4414016f"

/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-06-17 18:40.48 ---> saved as "3a52167796dda023a0883613d6f2cb7774d879f3dc9962ed52c75ea04bbaa6d8"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 18:40.48 ---> saved as "9df31746db86189cb78edb35cb43273a5227844a529104610ce2b48c40b89c26"

/src: (env DEPS "alcotest.1.9.0 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.1 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.10.0 httpun-types.0.2.0 lwt.5.9.1 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.12.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 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.3 --depext-only -y h1.dev h1-lwt-unix.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [263 kB]
- Fetched 366 kB in 1s (431 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 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-06-17 18:41.16 ---> saved as "077bc7f9eb014eb8c0c62ce09870ea0d2eaf90df0c5458ad472d1e97596852f9"

/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
  - install alcotest           1.9.0
  - install angstrom           0.16.1
  - install astring            0.8.5
  - install base               v0.16.4
  - install base-bytes         base
  - install base64             3.5.1
  - install bigstringaf        0.10.0
  - install cmdliner           1.3.0
  - install cppo               1.8.0
  - install csexp              1.5.2
  - install dune               3.19.1
  - install dune-configurator  3.19.1
  - install faraday            0.8.2
  - install faraday-lwt        0.8.2
  - install faraday-lwt-unix   0.8.2
  - install fmt                0.10.0
  - install httpun-types       0.2.0
  - install lwt                5.9.1
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - 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.8
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigstringaf.0.10.0  (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.10.0  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved httpun-types.0.2.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> 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.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.8.0
-> installed re.1.12.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.1
-> installed alcotest.1.9.0
-> installed bigstringaf.0.10.0
-> installed faraday.0.8.2
-> installed httpun-types.0.2.0
-> installed angstrom.0.16.1
-> installed lwt.5.9.1
-> installed faraday-lwt.0.8.2
-> installed faraday-lwt-unix.0.8.2
-> installed base.v0.16.4
-> installed stdio.v0.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-17 18:43.45 ---> saved as "89e99fb0ebbfdd9b34caa88fa016b659054e5cc19b541bdbbe827ccede4699ca"

/src: (copy (src .) (dst /src))
2025-06-17 18:43.46 ---> saved as "6ed0cb4d6c9d4dd827986b570dd96eea52983f5204bc48ffc26ebf47f25c553a"

/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 `9QKK05CV'.

  [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.494s. 74 tests run.
2025-06-17 18:43.50 ---> saved as "bf27649d14c6d1e00ed82cb4c557f03fb1bfd82fb4dca821be03f58f89940538"
Job succeeded
2025-06-17 18:43.50: Job succeeded