2024-05-17 13:57.16: New job: test dinosaure/multipart_form https://github.com/dinosaure/multipart_form.git#refs/heads/main (e02be3b7711b448c5b3cf86ca3d87a0ee7602c97) (linux-x86_64:debian-12-4.13_opam-2.1)
Base: ocaml/opam@sha256:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882
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:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882
# debian-12-4.13_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 c3efef47f6cef033a2a86117ef9bb65e51a9266e || git fetch origin master) && git reset -q --hard c3efef47f6cef033a2a86117ef9bb65e51a9266e && 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.15.1 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.2.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 coin.0.1.4 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.13.1 ocaml-base-compiler.4.13.1 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.15.1 ppxlib.0.32.1 prettym.0.0.3 re.1.11.0 rosetta.0.3.0 rresult.0.7.0 seq.base sexplib0.v0.15.1 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-17 13:57.16: Using cache hint "dinosaure/multipart_form-ocaml/opam@sha256:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882-debian-12-4.13_opam-2.1-39ac47b3629a535cca4f0a10b4eedafa"
2024-05-17 13:57.16: Using OBuilder spec:
((from ocaml/opam@sha256:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882)
(comment debian-12-4.13_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 c3efef47f6cef033a2a86117ef9bb65e51a9266e || git fetch origin master) && git reset -q --hard c3efef47f6cef033a2a86117ef9bb65e51a9266e && 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.15.1 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.2.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 coin.0.1.4 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.13.1 ocaml-base-compiler.4.13.1 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.15.1 ppxlib.0.32.1 prettym.0.0.3 re.1.11.0 rosetta.0.3.0 rresult.0.7.0 seq.base sexplib0.v0.15.1 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-17 13:57.16: Waiting for resource in pool OCluster
2024-05-17 23:10.53: Connecting to build cluster…
2024-05-18 04:29.45: Waiting for worker…
2024-05-18 04:37.18: Got resource from pool OCluster
Building on x86-bm-c2.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:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882)
2024-05-18 04:38.32 ---> saved as "322f79c71ed8814cef3e68607dc1333796d15a90742fb2b32972fd79fe86255a"
/: (comment debian-12-4.13_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-18 04:38.32 ---> saved as "4fb86a38ca30eed10bc40bd94af385acd0c4fd8dd6b4d7d83c7e2462a0bb63ec"
/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-18 04:39.55 ---> saved as "cf4bfcd388545de658100f7f59267cdd26527aa5e9d555b745cd2aa03d950de1"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.13.1
2.1.5
2024-05-18 04:39.55 ---> saved as "8a671644cdc419a51b6da054473c05439c3eeb18bfcd534ea60db855cb4a3c12"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-18 04:39.55 ---> saved as "348995232b6d4be083cbd719cba07b6fb6c9a8b0d2c5c6765fd0150fdad53874"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c3efef47f6cef033a2a86117ef9bb65e51a9266e || git fetch origin master) && git reset -q --hard c3efef47f6cef033a2a86117ef9bb65e51a9266e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
76d09264e9..ec28f29e7d master -> origin/master
c3efef47f6 `http` version bounds
<><> 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-18 04:41.36 ---> saved as "98123a853419c24aca54bc3ddf49b83c2b2fc6795ec1027b176b0d7f8b646a3a"
/src: (copy (src multipart_form.opam multipart_form-lwt.opam multipart_form-eio.opam multipart_form-cohttp-lwt.opam)
(dst ./))
2024-05-18 04:41.37 ---> saved as "72bb7d3715ed83583dab5393d0416421383554a21da610e06c3734e05b9e9ca5"
/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-18 04:41.47 ---> saved as "c29e6f420379b902205dac2fec1c7663ccad8a6a2c07dc944c7af10e801d43f5"
/src: (env DEPS "alcotest.1.7.0 alcotest-lwt.1.7.0 angstrom.0.16.0 astring.0.8.5 base.v0.15.1 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.2.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 coin.0.1.4 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.13.1 ocaml-base-compiler.4.13.1 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.15.1 ppxlib.0.32.1 prettym.0.0.3 re.1.11.0 rosetta.0.3.0 rresult.0.7.0 seq.base sexplib0.v0.15.1 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 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 [156 kB]
- Fetched 259 kB in 0s (1011 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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[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-18 04:42.11 ---> saved as "aebeb5fbed12a6ae6cf3177cb9c30cf9a241f3cd9919cec8f1102b0a781fb5bf"
/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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[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 cmdliner 1.2.0
- install ocamlfind 1.9.6
- install seq base
- install conf-pkg-config 3
- 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.15.1
- 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.15.1
- install lwt 5.7.0
- install prettym 0.0.3
- install angstrom 0.16.0
- install ppx_sexp_conv v0.15.1
- 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
===== 47 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.7.0 (cached)
-> retrieved alcotest-lwt.1.7.0 (cached)
-> retrieved base.v0.15.1 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigarray-overlap.0.2.1 (cached)
-> retrieved bigstringaf.0.9.1 (cached)
-> retrieved cmdliner.1.2.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-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.15.1 (cached)
-> retrieved ppxlib.0.32.1 (cached)
-> retrieved dune.3.15.2 (cached)
-> retrieved dune-configurator.3.15.2 (cached)
-> retrieved prettym.0.0.3 (cached)
-> retrieved re.1.11.0 (cached)
-> installed seq.base
-> retrieved rosetta.0.3.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved sexplib0.v0.15.1 (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 uutf.1.0.3 (cached)
-> retrieved uri.4.4.0 (cached)
-> retrieved uri-sexp.4.4.0 (cached)
-> retrieved uuuu.0.3.0 (cached)
-> retrieved yuscii.0.3.0 (cached)
-> installed cmdliner.1.2.0
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> 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.15.1
-> 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 cppo.1.6.9
-> installed re.1.11.0
-> installed ocplib-endian.1.2
-> installed coin.0.1.4
-> installed uuuu.0.3.0
-> installed rosetta.0.3.0
-> installed dune-configurator.3.15.2
-> installed alcotest.1.7.0
-> 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.15.1
-> installed ppxlib.0.32.1
-> installed ppx_sexp_conv.v0.15.1
-> 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-18 04:43.47 ---> saved as "eb45c3ad32a84632590a53c90ecad15edd3c9778d57e0cb8045c213c0c83a6ee"
/src: (copy (src .) (dst /src))
2024-05-18 04:43.47 ---> saved as "22240c791053cbb080dc80ba04046b9de6634dc3775f1b8c3ee0ffe5ff2c9dc2"
/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 `EO7UBCJM'.
[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 `PJFNALJH'.
[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-18 04:43.48 ---> saved as "bfa9e79a2d879d9eea4e80e58e9c675a790ab5a3f9ad3951c2c1cf0801908da1"
Job succeeded
2024-05-18 04:43.49: Job succeeded