Organisationstmcgilchristocaml-gitlabdc9f19 ()windows-server-2022-4.14_opam-2.2

windows-server-2022-4.14_opam-2.2

Link Copied
Code Copied

Logs

2024-11-05 03:40.52: New job: test tmcgilchrist/ocaml-gitlab https://github.com/tmcgilchrist/ocaml-gitlab.git#refs/heads/dependabot/github_actions/ocaml/setup-ocaml-3 (dc9f197ce2324b4f0f099454e1ec0b155f1969b4) (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/tmcgilchrist/ocaml-gitlab.git" -b "dependabot/github_actions/ocaml/setup-ocaml-3" && cd "ocaml-gitlab" && git reset --hard dc9f197c
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 654ee104df48ee785861d169cd1ca7eba64b6668 || git fetch origin master) && git reset -q --hard 654ee104df48ee785861d169cd1ca7eba64b6668 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lab.opam gitlab.opam gitlab-unix.opam gitlab-jsoo.opam /Users/opam/Documents/./
RUN opam pin add -yn lab.dev '/Users/opam/Documents/./' && \
opam pin add -yn gitlab.dev '/Users/opam/Documents/./' && \
opam pin add -yn gitlab-unix.dev '/Users/opam/Documents/./' && \
opam pin add -yn gitlab-jsoo.dev '/Users/opam/Documents/./'
ENV DEPS="alcotest.1.8.0 angstrom.0.16.1 arch-x86_64.1 asn1-combinators.0.3.2 astring.0.8.5 atd.2.15.0 atdgen.2.15.0 atdgen-runtime.2.15.0 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.5.3.0 cohttp-lwt.5.3.0 cohttp-lwt-jsoo.5.3.0 cohttp-lwt-unix.5.3.0 conduit.7.1.0 conduit-lwt.7.1.0 conduit-lwt-unix.7.1.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 conf-pkg-config.3 cppo.1.7.0 csexp.1.5.2 digestif.1.2.0 domain-name.0.4.0 dune.3.16.1 dune-configurator.3.16.1 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 flexdll.0.43 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-x86_64.1 host-system-mingw.1 ISO8601.0.2.6 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 js_of_ocaml-lwt.5.8.2 js_of_ocaml-ppx.5.8.2 jsonm.1.0.2 kdf.1.0.0 logs.0.7.0 lwt.5.8.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.0 ocamlbuild.0.15.0 ocamlfind.1.9.5 ocplib-endian.1.2 ohex.0.2.0 otoml.1.0.5 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 tls.1.0.4 topkg.1.0.7 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.5 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y lab.dev gitlab.dev gitlab-unix.dev gitlab-jsoo.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-11-05 03:40.52: Using cache hint "tmcgilchrist/ocaml-gitlab-windows-server-2022-ocaml-4.14-windows-server-2022-4.14_opam-2.2-cc2f6fb80f49cebb90cac17e3eceebd1"
2024-11-05 03:40.52: 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 654ee104df48ee785861d169cd1ca7eba64b6668 || git fetch origin master) && git reset -q --hard 654ee104df48ee785861d169cd1ca7eba64b6668 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src lab.opam gitlab.opam gitlab-unix.opam gitlab-jsoo.opam)
(dst /Users/opam/Documents/./))
(run (network host)
(shell  "opam pin add -yn lab.dev '/Users/opam/Documents/./' && \
\nopam pin add -yn gitlab.dev '/Users/opam/Documents/./' && \
\nopam pin add -yn gitlab-unix.dev '/Users/opam/Documents/./' && \
\nopam pin add -yn gitlab-jsoo.dev '/Users/opam/Documents/./'"))
(env DEPS "alcotest.1.8.0 angstrom.0.16.1 arch-x86_64.1 asn1-combinators.0.3.2 astring.0.8.5 atd.2.15.0 atdgen.2.15.0 atdgen-runtime.2.15.0 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.5.3.0 cohttp-lwt.5.3.0 cohttp-lwt-jsoo.5.3.0 cohttp-lwt-unix.5.3.0 conduit.7.1.0 conduit-lwt.7.1.0 conduit-lwt-unix.7.1.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 conf-pkg-config.3 cppo.1.7.0 csexp.1.5.2 digestif.1.2.0 domain-name.0.4.0 dune.3.16.1 dune-configurator.3.16.1 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 flexdll.0.43 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-x86_64.1 host-system-mingw.1 ISO8601.0.2.6 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 js_of_ocaml-lwt.5.8.2 js_of_ocaml-ppx.5.8.2 jsonm.1.0.2 kdf.1.0.0 logs.0.7.0 lwt.5.8.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.0 ocamlbuild.0.15.0 ocamlfind.1.9.5 ocplib-endian.1.2 ohex.0.2.0 otoml.1.0.5 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 tls.1.0.4 topkg.1.0.7 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.5 yojson.2.2.2 zarith.1.14")
(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 lab.dev gitlab.dev gitlab-unix.dev gitlab-jsoo.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-11-05 03:40.52: Waiting for resource in pool OCluster