2024-05-23 15:02.15: New job: test dinosaure/multipart_form https://github.com/dinosaure/multipart_form.git#refs/heads/main (e02be3b7711b448c5b3cf86ca3d87a0ee7602c97) (linux-x86_64:debian-11-4.14_opam-2.1)
Base: ocaml/opam@sha256:a3663eaf011db1744c3edd7bd69e99bb1b170155a221c46c7ffead846e14223c
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/dinosaure/multipart_form.git" -b "main" && cd "multipart_form" && git reset --hard e02be3b7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:a3663eaf011db1744c3edd7bd69e99bb1b170155a221c46c7ffead846e14223c
# debian-11-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 8b1bcef2701b746b5322949a3b4eed51eca511ef || git fetch origin master) && git reset -q --hard 8b1bcef2701b746b5322949a3b4eed51eca511ef && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 multipart_form.opam multipart_form-lwt.opam multipart_form-eio.opam multipart_form-cohttp-lwt.opam ./
RUN opam pin add -yn multipart_form.dev './' && \
opam pin add -yn multipart_form-lwt.dev './' && \
opam pin add -yn multipart_form-eio.dev './' && \
opam pin add -yn multipart_form-cohttp-lwt.dev './'
ENV DEPS="alcotest.1.7.0 alcotest-lwt.1.7.0 angstrom.0.16.0 astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigarray-overlap.0.2.1 bigstringaf.0.9.1 cmdliner.1.3.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 coin.0.1.4 conf-bash.1 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 http.6.0.0~beta2 ke.0.6 logs.0.7.0 lwt.5.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 pecu.0.7 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 prettym.0.0.3 re.1.11.0 rosetta.0.3.0 rresult.0.7.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 unstrctrd.0.4 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 uuuu.0.3.0 yuscii.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y multipart_form.dev multipart_form-lwt.dev multipart_form-cohttp-lwt.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=multipart_form,multipart_form-lwt,multipart_form-cohttp-lwt @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-05-23 15:02.15: Using cache hint "dinosaure/multipart_form-ocaml/opam@sha256:a3663eaf011db1744c3edd7bd69e99bb1b170155a221c46c7ffead846e14223c-debian-11-4.14_opam-2.1-3c9177b8c820594616eb9a1eed64ee3e"
2024-05-23 15:02.15: Using OBuilder spec:
((from ocaml/opam@sha256:a3663eaf011db1744c3edd7bd69e99bb1b170155a221c46c7ffead846e14223c)
(comment debian-11-4.14_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /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 8b1bcef2701b746b5322949a3b4eed51eca511ef || git fetch origin master) && git reset -q --hard 8b1bcef2701b746b5322949a3b4eed51eca511ef && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src multipart_form.opam multipart_form-lwt.opam multipart_form-eio.opam multipart_form-cohttp-lwt.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn multipart_form.dev './' && \
\nopam pin add -yn multipart_form-lwt.dev './' && \
\nopam pin add -yn multipart_form-eio.dev './' && \
\nopam pin add -yn multipart_form-cohttp-lwt.dev './'"))
(env DEPS "alcotest.1.7.0 alcotest-lwt.1.7.0 angstrom.0.16.0 astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigarray-overlap.0.2.1 bigstringaf.0.9.1 cmdliner.1.3.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 coin.0.1.4 conf-bash.1 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 http.6.0.0~beta2 ke.0.6 logs.0.7.0 lwt.5.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 pecu.0.7 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 prettym.0.0.3 re.1.11.0 rosetta.0.3.0 rresult.0.7.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 unstrctrd.0.4 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 uuuu.0.3.0 yuscii.0.3.0")
(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.1 --depext-only -y multipart_form.dev multipart_form-lwt.dev multipart_form-cohttp-lwt.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 --only-packages=multipart_form,multipart_form-lwt,multipart_form-cohttp-lwt @install @check @runtest && rm -rf _build"))
)
2024-05-23 15:02.15: Waiting for resource in pool OCluster
2024-05-25 16:22.44: Waiting for worker…
2024-05-25 16:25.48: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at e02be3b Merge pull request #40 from dinosaure/prepare-v0.6.0
(from ocaml/opam@sha256:a3663eaf011db1744c3edd7bd69e99bb1b170155a221c46c7ffead846e14223c)
2024-05-25 16:25.48 ---> using "0a68a7ef48d04995f866560cc82f65b9ea786951ab10b045040903504cc4621a" from cache
/: (comment debian-11-4.14_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-25 16:25.48 ---> using "03eada02df4b11050d660e20cd1b4f1e7eaa7a67da4435b4fc6e5f64876da9db" 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.1, 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] synchronised from file:///home/opam/opam-repository
2024-05-25 16:25.48 ---> using "3bbd3c16f84325ae9af9bb0680bb071b9a0d11c99cb1032ba4c1af0ac26884b9" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-107-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-25 16:25.48 ---> using "912b7854718f552d433c81fee48b75c45d6897a15fdbcf7524c353657d1f9644" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-25 16:25.48 ---> using "4a66a257e8f8eaa8eef3922652ecae936eb1fcd5b983a944f4e89f53ae12cce6" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8b1bcef2701b746b5322949a3b4eed51eca511ef || git fetch origin master) && git reset -q --hard 8b1bcef2701b746b5322949a3b4eed51eca511ef && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
d4fc3679e9..6ed19e325e master -> origin/master
8b1bcef270 Add: cmdliner.1.3.0
<><> 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.
# Run eval $(opam env) to update the current shell environment
2024-05-25 16:25.48 ---> using "00813537a14fd8f867c969f0a5baf8ea6350dddeb9a3a93522c4f3c5e0954c6a" from cache
/src: (copy (src multipart_form.opam multipart_form-lwt.opam multipart_form-eio.opam multipart_form-cohttp-lwt.opam)
(dst ./))
2024-05-25 16:25.48 ---> saved as "657da37b09e4b54fb634c97e12ef961ebd94e16e99ab9a3dae24ebd026be3b98"
/src: (run (network host)
(shell "opam pin add -yn multipart_form.dev './' && \
\nopam pin add -yn multipart_form-lwt.dev './' && \
\nopam pin add -yn multipart_form-eio.dev './' && \
\nopam pin add -yn multipart_form-cohttp-lwt.dev './'"))
[multipart_form.dev] synchronised (file:///src)
multipart_form is now pinned to file:///src (version dev)
[multipart_form-lwt.dev] synchronised (file:///src)
multipart_form-lwt is now pinned to file:///src (version dev)
[multipart_form-eio.dev] synchronised (file:///src)
multipart_form-eio is now pinned to file:///src (version dev)
[multipart_form-cohttp-lwt.dev] synchronised (file:///src)
multipart_form-cohttp-lwt is now pinned to file:///src (version dev)
2024-05-25 16:25.55 ---> saved as "98783610694cd1df9add5179520c19cc75e3dbdc37a1ad29e860e99fceb70f25"
/src: (env DEPS "alcotest.1.7.0 alcotest-lwt.1.7.0 angstrom.0.16.0 astring.0.8.5 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigarray-overlap.0.2.1 bigstringaf.0.9.1 cmdliner.1.3.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 coin.0.1.4 conf-bash.1 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 http.6.0.0~beta2 ke.0.6 logs.0.7.0 lwt.5.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 pecu.0.7 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 prettym.0.0.3 re.1.11.0 rosetta.0.3.0 rresult.0.7.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 unstrctrd.0.4 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 uuuu.0.3.0 yuscii.0.3.0")
/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.1 --depext-only -y multipart_form.dev multipart_form-lwt.dev multipart_form-cohttp-lwt.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [273 kB]
- Fetched 366 kB in 0s (1080 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[multipart_form.dev] synchronised (no changes)
[multipart_form-cohttp-lwt.dev] synchronised (no changes)
[multipart_form-lwt.dev] synchronised (no changes)
[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 system packages will first need to be installed:
pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
2024-05-25 16:26.15 ---> saved as "5055c474852069198bac21f2118c58d774ac5d70decb00e05f065c1c5b08ca49"
/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 ocamlbuild 0.14.3
- install conf-bash 1
- install ocamlfind 1.9.6
- install seq base
- install conf-pkg-config 3
- install cmdliner 1.3.0
- install dune 3.15.2
- install topkg 1.0.7
- install base-bytes base
- install yuscii 0.3.0
- install stringext 1.6.0
- install stdlib-shims 0.3.0
- install sexplib0 v0.16.0
- install re 1.11.0
- install ppx_derivers 1.2.1
- install pecu 0.7
- install ocaml-syntax-shims 1.0.0
- install ocaml-compiler-libs v0.12.4
- install http 6.0.0~beta2
- install csexp 1.5.2
- install cppo 1.6.9
- install bigarray-overlap 0.2.1
- install base64 3.5.1
- install uutf 1.0.3
- install rresult 0.7.0
- install fmt 0.9.0
- install astring 0.8.5
- install uuuu 0.3.0
- install coin 0.1.4
- install ppxlib 0.32.1
- install dune-configurator 3.15.2
- install ocplib-endian 1.2
- install ke 0.6
- install alcotest 1.7.0
- install rosetta 0.3.0
- install bigstringaf 0.9.1
- install base v0.16.3
- install lwt 5.7.0
- install prettym 0.0.3
- install angstrom 0.16.0
- install ppx_sexp_conv v0.16.0
- install logs 0.7.0
- install uri 4.4.0
- install unstrctrd 0.4
- install alcotest-lwt 1.7.0
- install uri-sexp 4.4.0
- install cohttp 6.0.0~beta2
- install cohttp-lwt 6.0.0~beta2
===== 48 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.0 (cached)
-> retrieved alcotest.1.7.0 (cached)
-> retrieved alcotest-lwt.1.7.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.16.3 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigarray-overlap.0.2.1 (cached)
-> retrieved bigstringaf.0.9.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cohttp.6.0.0~beta2 (cached)
-> retrieved cohttp-lwt.6.0.0~beta2 (cached)
-> retrieved coin.0.1.4 (cached)
-> retrieved cppo.1.6.9 (cached)
-> installed conf-bash.1
-> installed conf-pkg-config.3
-> retrieved csexp.1.5.2 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved http.6.0.0~beta2 (cached)
-> retrieved ke.0.6 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved pecu.0.7 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.16.0 (cached)
-> retrieved ppxlib.0.32.1 (cached)
-> retrieved prettym.0.0.3 (cached)
-> retrieved re.1.11.0 (cached)
-> retrieved dune.3.15.2 (cached)
-> retrieved dune-configurator.3.15.2 (cached)
-> installed seq.base
-> retrieved rosetta.0.3.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved unstrctrd.0.4 (cached)
-> retrieved uri.4.4.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved uuuu.0.3.0 (cached)
-> retrieved yuscii.0.3.0 (cached)
-> retrieved uri-sexp.4.4.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.15.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed bigarray-overlap.0.2.1
-> installed http.6.0.0~beta2
-> installed ke.0.6
-> installed pecu.0.7
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed yuscii.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed coin.0.1.4
-> installed uuuu.0.3.0
-> installed rosetta.0.3.0
-> installed alcotest.1.7.0
-> installed dune-configurator.3.15.2
-> installed bigstringaf.0.9.1
-> installed angstrom.0.16.0
-> installed prettym.0.0.3
-> installed unstrctrd.0.4
-> installed uri.4.4.0
-> installed lwt.5.7.0
-> installed logs.0.7.0
-> installed alcotest-lwt.1.7.0
-> installed base.v0.16.3
-> installed ppxlib.0.32.1
-> installed ppx_sexp_conv.v0.16.0
-> installed uri-sexp.4.4.0
-> installed cohttp.6.0.0~beta2
-> installed cohttp-lwt.6.0.0~beta2
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-25 16:27.50 ---> saved as "ee81db6f1b5888a419453a8b643b649791252ac8e71358f3bfc0ceb66501bc68"
/src: (copy (src .) (dst /src))
2024-05-25 16:27.50 ---> saved as "373e856bdcb71db76ac24967dfc9ccce5343f6946c690e8c1d73452e0c7828df"
/src: (run (shell "opam exec -- dune build --only-packages=multipart_form,multipart_form-lwt,multipart_form-cohttp-lwt @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_lwt.exe --color=always)
Testing `multipart_form_lwt'.
This run has ID `UU0DJAEN'.
[OK] truncated 0 truncated flow (with CRLF).
[OK] truncated 1 truncated flow (without CRLF).
Full test results in `/src/_build/default/test/_build/_tests/multipart_form_lwt'.
Test Successful in 0.001s. 2 tests run.
(cd _build/default/test && ./test.exe --color=always)
Testing `multipart_form'.
This run has ID `ZQO5QY37'.
[OK] content-type 0 text/plain; charset=us-...
[OK] content-type 1 text/plain; charset="us...
[OK] content-type 2 text/plain; charset=ISO...
[OK] multipart_form (decoder) 0 simple.
[OK] multipart_form (decoder) 1 simple with helpers.
[OK] multipart_form (encoder) 0 simple.
[OK] filename with space 0 filename with space.
Full test results in `/src/_build/default/test/_build/_tests/multipart_form'.
Test Successful in 0.002s. 7 tests run.
2024-05-25 16:27.52 ---> saved as "b45c005bafb820a374241699086443eb62346c689a0114393189762aa479dd29"
Job succeeded
2024-05-25 16:27.52: Job succeeded