Organisationsrobur-coopocaml-h18af724 (master)freebsd-14.1-4.14_opam-2.3

freebsd-14.1-4.14_opam-2.3

Logs

Show full logs
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) (freebsd-x86_64:freebsd-14.1-4.14_opam-2.3)
Base: freebsd-14.1-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 freebsd-14.1-ocaml-4.14
# freebsd-14.1-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.3 /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 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 ./
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.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 . /src
RUN 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-freebsd-14.1-ocaml-4.14-freebsd-14.1-4.14_opam-2.3-82c20ebb92ebf904771df3c37a0620e2"
2025-02-05 08:34.59: Using OBuilder spec:
((from freebsd-14.1-ocaml-4.14)
 (comment freebsd-14.1-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/local/bin/opam-2.3 /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 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 ./))
 (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.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 /src))
 (run (shell "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 10:15.21: Waiting for worker…
2025-02-05 11:47.45: Got resource from pool OCluster
Building on summer
All commits already cached
HEAD is now at 8af7249 Merge pull request #6 from robur-coop/prepare-v1.0.0

(from freebsd-14.1-ocaml-4.14)
2025-02-05 11:35.38 ---> using "ae13298952475462d6ff8423c053aa12bd6b321268da2da393f31b39d910ae06" from cache

/: (comment freebsd-14.1-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/local/bin/opam-2.3 /usr/local/bin/opam"))
2025-02-05 11:35.39 ---> using "a01a14b3afaf0e96198b4995f7495eb095c8d446bea3004be25da82cfecae768" 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-02-05 11:35.39 ---> using "a60b36efeb57e54e6ca4e23dae975fff8d0668822376b173ed63b66aa24444bc" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.1-RELEASE-p5
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-05 11:35.39 ---> using "188549049d3e68e7a3a1a01e1161c07610550818a3f0b75ffbaafa2a77641d27" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-02-05 11:35.40 ---> using "39fdaef227d4780a13f56312f6b694c46af609f82c1eca907bb338ae047f238f" from cache

/src: (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
   c31c18de15..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 git+file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.4.0
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2025-02-05 11:35.40 ---> using "139a2c6ec8d22cb7b2f4f20a3fca040ac5afe2995bd65ca22323937006a648d9" from cache

/src: (copy (src h1.opam h1-lwt-unix.opam) (dst ./))
2025-02-05 11:35.48 ---> saved as "01ff3ecd8cbe6fe0018ec9b12733d085139007c827cacf0b96def88f3d4f2a21"

/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-02-05 11:35.59 ---> saved as "40c3a7a6d51cfdb062d85a80795884dc3a27f3e3c6a950ce3b8c5adf5a3c8b48"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-05 11:36.02 ---> saved as "6ea2ef1ab11a01549926e84c3cb3c430a209c28ea4705f978b005e0cfa84a813"

/src: (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")

/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"))
[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-02-05 11:36.31 ---> saved as "a95e939c70509cca8363661694f995e2f1a1923b68d6400a900ee98a88ca342c"

/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.8.0
   angstrom           0.16.1
   astring            0.8.5
   base               v0.16.3
   base-bytes         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-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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved alcotest.1.8.0  (cached)
 retrieved astring.0.8.5  (cached)
 retrieved angstrom.0.16.1  (cached)
 retrieved bigstringaf.0.10.0  (cached)
 retrieved cmdliner.1.3.0  (cached)
 retrieved csexp.1.5.2  (cached)
 installed conf-bash.1
 retrieved cppo.1.8.0  (cached)
 retrieved base.v0.16.3  (cached)
 retrieved faraday.0.8.2, faraday-lwt.0.8.2, faraday-lwt-unix.0.8.2  (cached)
 retrieved fmt.0.9.0  (cached)
 retrieved httpun-types.0.2.0  (cached)
 retrieved lwt.5.9.0  (cached)
 retrieved ocaml-syntax-shims.1.0.0  (cached)
 retrieved ocamlbuild.0.15.0  (cached)
 retrieved ocplib-endian.1.2  (cached)
 retrieved ocamlfind.1.9.8  (cached)
 retrieved seq.base  (cached)
 installed seq.base
 retrieved sexplib0.v0.16.0  (cached)
 retrieved re.1.12.0  (cached)
 retrieved stdio.v0.16.0  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
 retrieved uutf.1.0.3  (cached)
 retrieved topkg.1.0.7  (cached)
 installed ocamlbuild.0.15.0
 installed cmdliner.1.3.0
 installed ocamlfind.1.9.8
 installed base-bytes.base
 installed topkg.1.0.7
 installed uutf.1.0.3
 installed fmt.0.9.0
 installed astring.0.8.5
 installed dune.3.17.2
 installed csexp.1.5.2
 installed stdlib-shims.0.3.0
 installed sexplib0.v0.16.0
 installed re.1.12.0
 installed ocaml-syntax-shims.1.0.0
 installed cppo.1.8.0
 installed ocplib-endian.1.2
 installed dune-configurator.3.17.2
 installed alcotest.1.8.0
 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.0
 installed faraday-lwt.0.8.2
 installed faraday-lwt-unix.0.8.2
 installed base.v0.16.3
 installed stdio.v0.16.0
Done.
2025-02-05 11:38.50 ---> saved as "81f7c43b495597c12fbd6bbb2a3d378f5910379077437f56ea289fdaf8fb0da9"

/src: (copy (src .) (dst /src))
2025-02-05 11:38.51 ---> saved as "5df7a0121cc001e2ae71c861c44f70e159a3a3c4d4af11a6a619a17b9677f5b2"

/src: (run (shell "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 `JT9U5758'.

  [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.503s. 71 tests run.
2025-02-05 11:38.54 ---> saved as "9c24cc7e759b0fb34288ce9316fcc377110cff795b812eee5e83271edbb1b62f"
Job succeeded
2025-02-05 11:51.02: Job succeeded