Organisationsjeffa5ocaml-grpcefd6db (master)windows-server-2022-4.14_opam-2.2

windows-server-2022-4.14_opam-2.2

Link Copied
Code Copied

Logs

2024-10-28 14:47.58: New job: test jeffa5/ocaml-grpc https://github.com/jeffa5/ocaml-grpc.git#refs/heads/master (efd6dbfc2d044fef97b122f831a8c162d9d46625) (test:windows-server-2022-4.14_opam-2.2)
Base: windows-server-2022-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/jeffa5/ocaml-grpc.git" -b "master" && cd "ocaml-grpc" && git reset --hard efd6dbfc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-ocaml-4.14
# windows-server-2022-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.2 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 63cfa2da7451530777c99ac51ebfc3a717cff962 || git fetch origin master) && git reset -q --hard 63cfa2da7451530777c99ac51ebfc3a717cff962 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 grpc.opam grpc-lwt.opam /Users/opam/Documents/./
RUN opam pin add -yn grpc.dev '/Users/opam/Documents/./' && \
    opam pin add -yn grpc-lwt.dev '/Users/opam/Documents/./'
ENV DEPS="angstrom.0.16.1 arch-x86_64.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 faraday.0.8.2 flexdll.0.43 h2.dev host-arch-x86_64.1 host-system-mingw.1 hpack.0.13.0 httpaf.0.7.1 lwt.5.8.0 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-protoc.3.1.1 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.5 ocplib-endian.1.2 pbrt.3.1.1 psq.0.2.1 result.1.5 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 uri.4.4.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y grpc.dev grpc-lwt.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /Users/opam/Documents
RUN cd /cygdrive/c/Users/opam/Documents && opam exec -- dune build @install @check @runtest && rm -rf _build


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


2024-10-28 14:47.58: Using cache hint "jeffa5/ocaml-grpc-windows-server-2022-ocaml-4.14-windows-server-2022-4.14_opam-2.2-000fd7899ee9c27a587c31bebeda7790"
2024-10-28 14:47.58: Using OBuilder spec:
((from windows-server-2022-ocaml-4.14)
 (comment windows-server-2022-4.14_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 63cfa2da7451530777c99ac51ebfc3a717cff962 || git fetch origin master) && git reset -q --hard 63cfa2da7451530777c99ac51ebfc3a717cff962 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src grpc.opam grpc-lwt.opam) (dst /Users/opam/Documents/./))
 (run (network host)
      (shell  "opam pin add -yn grpc.dev '/Users/opam/Documents/./' && \
             \nopam pin add -yn grpc-lwt.dev '/Users/opam/Documents/./'"))
 (env DEPS "angstrom.0.16.1 arch-x86_64.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 faraday.0.8.2 flexdll.0.43 h2.dev host-arch-x86_64.1 host-system-mingw.1 hpack.0.13.0 httpaf.0.7.1 lwt.5.8.0 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-protoc.3.1.1 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.5 ocplib-endian.1.2 pbrt.3.1.1 psq.0.2.1 result.1.5 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 uri.4.4.0")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.2 --depext-only -y grpc.dev grpc-lwt.dev $DEPS"))
 (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /Users/opam/Documents))
 (run (shell "cd /cygdrive/c/Users/opam/Documents && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2024-10-28 14:47.58: Waiting for resource in pool OCluster
2024-10-28 18:05.43: Waiting for worker…
2024-10-28 21:13.05: Got resource from pool OCluster
Building on odawa
All commits already cached
HEAD is now at efd6dbf Update h2 src


(from windows-server-2022-ocaml-4.14)
2024-10-28 21:13.05 ---> using "dca183f00f9c8145447bdf8b51d17b6257e7f9880011947f8ed16449b5ac4c29" from cache


/: (comment windows-server-2022-4.14_opam-2.2)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-28 21:13.05 ---> using "48953ddf02e57e4d983259e75a775cbd4466818b4708048c926558f7b08f54b3" from cache


/: (run (shell "opam init --reinit -ni"))


2024-10-28 21:13.05 ---> using "2a10efc10f1937ea804ddd34e22b68952f9144c42211b0e87f1fa834e77cc9c4" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.4-1.x86_64


2024-10-28 21:13.05 ---> using "41ad6da2afd0643107458c4ad95b5d94cf37de63fe4e7447d4122b0af5d1d78f" from cache


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e 63cfa2da7451530777c99ac51ebfc3a717cff962 || git fetch origin master) && git reset -q --hard 63cfa2da7451530777c99ac51ebfc3a717cff962 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   924ed6223c..56e31a3bc1  master     -> origin/master
63cfa2da74 Merge pull request #26797 from raphael-proust/lwt-5-8-0-is-ok-on-windows


2024-10-28 21:13.05 ---> using "6c6aefaea61eccce99606998e3fadf358eab296da6128e0c2682d1b037556cbe" from cache


/: (copy (src grpc.opam grpc-lwt.opam) (dst /Users/opam/Documents/./))
2024-10-28 21:13.07 ---> saved as "17231d9ce67969168dc3048d2b85999cdc0367bb042a81c53fd0a7a5057117ab"


/: (run (network host)
        (shell  "opam pin add -yn grpc.dev '/Users/opam/Documents/./' && \
               \nopam pin add -yn grpc-lwt.dev '/Users/opam/Documents/./'"))


2024-10-28 21:13.24 ---> saved as "228176388caa0cac751e93bf17c5773ffb24b390c02da4f8ff64e8518aafd2bd"


/: (env DEPS "angstrom.0.16.1 arch-x86_64.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 faraday.0.8.2 flexdll.0.43 h2.dev host-arch-x86_64.1 host-system-mingw.1 hpack.0.13.0 httpaf.0.7.1 lwt.5.8.0 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-protoc.3.1.1 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.5 ocplib-endian.1.2 pbrt.3.1.1 psq.0.2.1 result.1.5 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 uri.4.4.0")


/: (env CI true)


/: (env OCAMLCI true)


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
        (network host)
        (shell "opam update --depexts && opam install --cli=2.2 --depext-only -y grpc.dev grpc-lwt.dev $DEPS"))


"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.2 --depext-only -y grpc.dev grpc-lwt.dev $DEPS" failed with exit status 5
2024-10-28 21:13.40: Job failed: Failed: Build failed