Organisationsrobur-coopocaml-h19bb699 ()fedora-41-5.3_opam-2.3

fedora-41-5.3_opam-2.3

Logs

Show full logs
2025-06-13 12:20.34: New job: test robur-coop/ocaml-h1 https://github.com/robur-coop/ocaml-h1.git#refs/pull/8/head (9bb6998da05a80eb92c90d016e668115e86ab755) (linux-x86_64:fedora-41-5.3_opam-2.3)
Base: ocaml/opam:fedora-41-ocaml-5.3@sha256:146713442ed5c2eb4e9d95547da36a8643e814340597351b96fb871f2855c3b7
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:fedora-41-ocaml-5.3@sha256:146713442ed5c2eb4e9d95547da36a8643e814340597351b96fb871f2855c3b7
# fedora-41-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77 || git fetch origin master) && git reset -q --hard 59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77 && 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 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.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.12.0 seq.base sexplib0.v0.17.0 stdio.v0.17.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-13 12:20.34: Using cache hint "robur-coop/ocaml-h1-ocaml/opam:fedora-41-ocaml-5.3@sha256:146713442ed5c2eb4e9d95547da36a8643e814340597351b96fb871f2855c3b7-fedora-41-5.3_opam-2.3-bb1646893c3ef583735b660964856c3d"
2025-06-13 12:20.34: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:146713442ed5c2eb4e9d95547da36a8643e814340597351b96fb871f2855c3b7)
 (comment fedora-41-5.3_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (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 59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77 || git fetch origin master) && git reset -q --hard 59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77 && 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 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.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.12.0 seq.base sexplib0.v0.17.0 stdio.v0.17.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-13 12:20.34: Waiting for resource in pool OCluster
2025-06-13 12:48.48: Waiting for worker…
2025-06-13 12:53.40: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 9bb6998 merge websocketaf

(from ocaml/opam:fedora-41-ocaml-5.3@sha256:146713442ed5c2eb4e9d95547da36a8643e814340597351b96fb871f2855c3b7)
2025-06-13 12:53.41 ---> using "6885aab87f4fe22185c8b8094f735035f681f36e522db31f68b1c3410c45c8dc" from cache

/: (comment fedora-41-5.3_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Updating and loading repositories:
 Fedora 41 - x86_64 - Updates           100% |  77.9 KiB/s |  24.6 KiB |  00m00s
 Fedora 41 - x86_64 - Updates           100% |   3.4 MiB/s |   3.6 MiB |  00m01s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.

Nothing to do.
2025-06-13 12:53.41 ---> using "be913ffc0559d1f9061ab7a5a14cead2760cef4759fb2f507009e508be9d1904" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-13 12:53.41 ---> using "06b698498e5a5e5c62763942374272aaa9f8ccb14dba2ca9a6ee215e79a511a7" 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-13 12:53.41 ---> using "2ab33c3e3494a4a312bd0b70e17e60f5891afea9b3bc06c2dfbf6b765ac5d2d7" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-59-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-06-13 12:53.41 ---> using "a10b4865dcd3eb52b5cd422f7f390da13f120a6bc87cf8de5f3c86eae9dd43d0" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-06-13 12:53.41 ---> using "b54fc704a579008027213d2076ec99cf59bb09f2216bd0f1b7c5760bec3a4607" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77 || git fetch origin master) && git reset -q --hard 59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   bc726805e3..59e7a58f9d  master     -> origin/master
59e7a58f9d Merge pull request #28012 from dkalinichenko-js/opam-publish-base.v0.17.3

<><> 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-13 12:53.41 ---> using "5d3cc7dab17832f2f3c0c52072e859666fa7380ed090b09a9ea9e0ae0a46b364" from cache

/src: (copy (src h1.opam h1-lwt-unix.opam) (dst ./))
2025-06-13 12:53.41 ---> saved as "8da153633273f2b8961da8aea84eaa5568e322212159add8120cbc2a68ccbcd1"

/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-13 12:53.45 ---> saved as "3b94882dbe2491713ecb3853a16bfcee6f272ea1f8f9434637a730a0c8cfb6ea"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-13 12:53.46 ---> saved as "eb7c5e7a0fc19b0d4db3f1fa7a84ff1eaf59373f8661707a7118def06d06e9d3"

/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 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.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.12.0 seq.base sexplib0.v0.17.0 stdio.v0.17.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 "yum" "makecache"
- Updating and loading repositories:
-  Fedora 41 - x86_64 - Updates           100% |  67.0 KiB/s |   7.4 KiB |  00m00s
-  Fedora 41 - x86_64 - Updates           100% |   2.5 MiB/s |   3.3 MiB |  00m01s
- Repositories loaded.
- Metadata cache created.

<><> 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-06-13 12:54.21 ---> saved as "aefb8b9ee9b7f9e27f8640981d6e0fa151ab8fe746f132e39d262ce704327f68"

/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 30 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 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 ocaml_intrinsics_kernel v0.17.1
  - 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.17.0
  - install stdio                   v0.17.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.17.3  (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 httpun-types.0.2.0  (cached)
-> retrieved lwt.5.9.1  (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.12.0  (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.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 stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed sexplib0.v0.17.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.0
-> installed dune-configurator.3.19.1
-> 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.1
-> 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-06-13 12:57.01 ---> saved as "40b713d6e6f9749f0f48c78656366b61474964ddd37a2a1ab6dd463a33eed023"

/src: (copy (src .) (dst /src))
2025-06-13 12:57.02 ---> saved as "86f4fff32856caeb74704171b83e2f9c64e68fbf965931a74eaaf8b2a59510e3"

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

  [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.544s. 74 tests run.
2025-06-13 12:57.09 ---> saved as "6544ed88c7c47b687d4bf00496527473f6bdceba703c9b276f4457576e50457d"
Job succeeded
2025-06-13 12:57.09: Job succeeded