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-4.14+flambda_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:4bb5eef666e2e97ce1f3126e53b681b3e2b1445d6e8683a2bc7c18e4838683c8
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-4.14-flambda@sha256:4bb5eef666e2e97ce1f3126e53b681b3e2b1445d6e8683a2bc7c18e4838683c8
# debian-12-4.14+flambda_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.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.1.3.0 conf-bash.1 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.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.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-4.14-flambda@sha256:4bb5eef666e2e97ce1f3126e53b681b3e2b1445d6e8683a2bc7c18e4838683c8-debian-12-4.14+flambda_opam-2.2-97f41f2e66f5845a3be2a17bc1d23643"
2024-10-19 20:13.39: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:4bb5eef666e2e97ce1f3126e53b681b3e2b1445d6e8683a2bc7c18e4838683c8)
(comment debian-12-4.14+flambda_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.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.1.3.0 conf-bash.1 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.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.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.42: 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-4.14-flambda@sha256:4bb5eef666e2e97ce1f3126e53b681b3e2b1445d6e8683a2bc7c18e4838683c8)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:4bb5eef666e2e97ce1f3126e53b681b3e2b1445d6e8683a2bc7c18e4838683c8' locally
docker.io/ocaml/opam@sha256:4bb5eef666e2e97ce1f3126e53b681b3e2b1445d6e8683a2bc7c18e4838683c8: Pulling from ocaml/opam
a16ce7af60e0: Pulling fs layer
a16ce7af60e0: Verifying Checksum
a16ce7af60e0: Download complete
2024-10-19 20:22.17: Cancelling: Auto-cancelling job because it is no longer needed
a16ce7af60e0: Pull complete
Digest: sha256:4bb5eef666e2e97ce1f3126e53b681b3e2b1445d6e8683a2bc7c18e4838683c8
Status: Downloaded newer image for ocaml/opam@sha256:4bb5eef666e2e97ce1f3126e53b681b3e2b1445d6e8683a2bc7c18e4838683c8
2024-10-19 20:25.28 ---> saved as "24e6f39ff2f0ca4a0e176eac84e8935cbb6859196b071164ef3c71e456d39fa7"
/: (comment debian-12-4.14+flambda_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