Organisationsmirageocaml-tarb4957e ()debian-12-4.09_opam-2.3

debian-12-4.09_opam-2.3

Link Copied
Code Copied

Logs

2024-11-19 18:58.23: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/pull/159/head (b4957e07e1b479f857c4c2ab5f0cd7d27f7f0534) (linux-x86_64:debian-12-4.09_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.09@sha256:7302ecb6d3db7d4bb17d1f9b084313efe5f8317495221a1333f3020c16061ffb
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-tar.git" && cd "ocaml-tar" && git fetch origin "refs/pull/159/head" && git reset --hard b4957e07
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.09@sha256:7302ecb6d3db7d4bb17d1f9b084313efe5f8317495221a1333f3020c16061ffb
# debian-12-4.09_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam ./
RUN opam pin add -yn tar.dev './' && \
opam pin add -yn tar-unix.dev './' && \
opam pin add -yn tar-mirage.dev './' && \
opam pin add -yn tar-eio.dev './'
ENV DEPS="alcotest.1.8.0 alcotest-lwt.1.8.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.1.3.0 conf-linux-libc-dev.0 cppo.1.7.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.16.1 dune-configurator.3.16.1 fmt.0.9.0 logs.0.7.0 lwt.5.9.0 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y tar.dev tar-unix.dev tar-mirage.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=tar,tar-unix,tar-mirage @install @check @runtest && rm -rf _build


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


2024-11-19 18:58.23: Using cache hint "mirage/ocaml-tar-ocaml/opam:debian-12-ocaml-4.09@sha256:7302ecb6d3db7d4bb17d1f9b084313efe5f8317495221a1333f3020c16061ffb-debian-12-4.09_opam-2.3-f9bcd64e452613029b9120171f41a451"
2024-11-19 18:58.23: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.09@sha256:7302ecb6d3db7d4bb17d1f9b084313efe5f8317495221a1333f3020c16061ffb)
(comment debian-12-4.09_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn tar.dev './' && \
\nopam pin add -yn tar-unix.dev './' && \
\nopam pin add -yn tar-mirage.dev './' && \
\nopam pin add -yn tar-eio.dev './'"))
(env DEPS "alcotest.1.8.0 alcotest-lwt.1.8.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.1.3.0 conf-linux-libc-dev.0 cppo.1.7.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.16.1 dune-configurator.3.16.1 fmt.0.9.0 logs.0.7.0 lwt.5.9.0 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3")
(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.3 --depext-only -y tar.dev tar-unix.dev tar-mirage.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=tar,tar-unix,tar-mirage @install @check @runtest && rm -rf _build"))
)


2024-11-19 18:58.23: Waiting for resource in pool OCluster
2024-11-19 20:32.33: Cancelling: Auto-cancelling job because it is no longer needed