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

windows-server-2022-5.2_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-5.2_opam-2.2)
Base: windows-server-2022-ocaml-5.2
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-5.2
# windows-server-2022-5.2_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-domains.base base-nnp.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.5.2.0 ocaml-base-compiler.5.2.0 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-5.2-windows-server-2022-5.2_opam-2.2-cbdec63aeeedc571d348ef01c0eb3b33"
2024-10-28 14:47.58: Using OBuilder spec:
((from windows-server-2022-ocaml-5.2)
 (comment windows-server-2022-5.2_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-domains.base base-nnp.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.5.2.0 ocaml-base-compiler.5.2.0 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:04.36: Waiting for worker…
2024-10-28 21:12.29: Got resource from pool OCluster
Building on odawa
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /data/obuilder/git/ocaml-grpc.git-62d5813d17840b219d14092379bace169379c127/.git/
HEAD is now at efd6dbf Update h2 src


(from windows-server-2022-ocaml-5.2)
2024-10-28 21:12.30 ---> using "d06d42c2ce15c2a01b42f8b17cebab1b932321c607f2ddc4dd5ddd2822e824d3" from cache


/: (comment windows-server-2022-5.2_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:12.30 ---> using "07caa043e99d274e8f5c24f90a23801bfecd8668fdfc89cbec291632f95cbe1d" from cache


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


2024-10-28 21:12.30 ---> using "48ce3edf601a937b33429fd277fc6d82f6328efd928637b9587c355ec03792b9" 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:12.30 ---> using "51ad9d179da4b254f08dbbab0e5e269388b9181b90328f4f7a98acabc90e86a1" 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"))
63cfa2da74 Merge pull request #26797 from raphael-proust/lwt-5-8-0-is-ok-on-windows


2024-10-28 21:12.30 ---> using "434550567831809aeb0191fc9c47dae367e2c6f1fff71179bada7b3855066961" from cache


/: (copy (src grpc.opam grpc-lwt.opam) (dst /Users/opam/Documents/./))
2024-10-28 21:12.31 ---> saved as "49934970278ff87158d9df9ac7280504c3b0607a7a4032947f655d2ae416d43e"


/: (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:12.47 ---> saved as "6604e46dfb6dd86c0b1d4dea6a6cc448d2af3e0230da35e490323cc33c488515"


/: (env DEPS "angstrom.0.16.1 arch-x86_64.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.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.5.2.0 ocaml-base-compiler.5.2.0 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.11: Job failed: Failed: Build failed