Organisationsocurrentobuilderaf4139 ()debian-12-5.1_opam-2.2

debian-12-5.1_opam-2.2

Logs

Show full logs
2024-10-19 20:13.39: New job: test ocurrent/obuilder https://github.com/ocurrent/obuilder.git#refs/pull/195/head (af4139005a6d2a5ae76cd0fbeb062e79f33f6e59) (linux-x86_64:debian-12-5.1_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-5.1@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/obuilder.git" && cd "obuilder" && git fetch origin "refs/pull/195/head" && git reset --hard af413900
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd
# debian-12-5.1_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 6c36a998c3c1cfdaab9aa58a3d14f14617ca36cb || git fetch origin master) && git reset -q --hard 6c36a998c3c1cfdaab9aa58a3d14f14617ca36cb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 obuilder.opam obuilder-spec.opam ./
RUN opam pin add -yn obuilder.dev './' && \
    opam pin add -yn obuilder-spec.dev './'
ENV DEPS="alcotest.1.8.0 alcotest-lwt.1.8.0 astring.0.8.5 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.1.3.0 conf-pkg-config.3 conf-sqlite3.1 cppo.1.7.0 crunch.3.3.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.16.0 dune-configurator.3.16.0 extunix.0.4.2 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 lwt.5.7.0 num.1.5-1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 ptime.1.2.0 re.1.12.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 sha.1.15.4 sqlite3.5.2.0 stdlib-shims.0.3.0 tar.2.6.0 tar-unix.2.6.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y obuilder.dev obuilder-spec.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

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

2024-10-19 20:13.39: Using cache hint "ocurrent/obuilder-ocaml/opam:debian-12-ocaml-5.1@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd-debian-12-5.1_opam-2.2-1fd154512a0ed39c4075c1e41a4c40a9"
2024-10-19 20:13.39: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd)
 (comment debian-12-5.1_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo 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"))
 (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 6c36a998c3c1cfdaab9aa58a3d14f14617ca36cb || git fetch origin master) && git reset -q --hard 6c36a998c3c1cfdaab9aa58a3d14f14617ca36cb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src obuilder.opam obuilder-spec.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn obuilder.dev './' && \
             \nopam pin add -yn obuilder-spec.dev './'"))
 (env DEPS "alcotest.1.8.0 alcotest-lwt.1.8.0 astring.0.8.5 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.1.3.0 conf-pkg-config.3 conf-sqlite3.1 cppo.1.7.0 crunch.3.3.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.16.0 dune-configurator.3.16.0 extunix.0.4.2 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 lwt.5.7.0 num.1.5-1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 ptime.1.2.0 re.1.12.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 sha.1.15.4 sqlite3.5.2.0 stdlib-shims.0.3.0 tar.2.6.0 tar-unix.2.6.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
 (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.2 --depext-only -y obuilder.dev obuilder-spec.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 @install @check @runtest && rm -rf _build"))
)

2024-10-19 20:13.39: Waiting for resource in pool OCluster
2024-10-19 20:13.39: Waiting for worker…
2024-10-19 20:13.41: Got resource from pool OCluster
Building on x86-bm-c20.sw.ocaml.org
All commits already cached
HEAD is now at af41390 QEMU backend

(from ocaml/opam:debian-12-ocaml-5.1@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd' locally
docker.io/ocaml/opam@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd: Pulling from ocaml/opam
d26e863cfc53: Pulling fs layer
d26e863cfc53: Verifying Checksum
d26e863cfc53: Download complete
2024-10-19 20:22.17: Cancelling: Auto-cancelling job because it is no longer needed
d26e863cfc53: Pull complete
Digest: sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd
Status: Downloaded newer image for ocaml/opam@sha256:8f56ed204049da44e6929f71bd0a97fea51803eb0925bf30aab63f51752a06bd
2024-10-19 20:25.28 ---> saved as "6ee1fe27fa6366d6c0b58a456592efca1ae7ebcb8c8dad869bb23ac981216fb0"

/: (comment debian-12-5.1_opam-2.2)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
Job cancelled