Organisationsocurrentobuilderaf4139 ()fedora-39-4.14_opam-2.2

fedora-39-4.14_opam-2.2

Link Copied
Code Copied

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:fedora-39-4.14_opam-2.2)
Base: ocaml/opam:fedora-39-ocaml-4.14@sha256:3780b9ff54e28fa9fee240cabc3a82cdf8962e19390749493c8c40f35c524f65
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:fedora-39-ocaml-4.14@sha256:3780b9ff54e28fa9fee240cabc3a82cdf8962e19390749493c8c40f35c524f65
# fedora-39-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 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:fedora-39-ocaml-4.14@sha256:3780b9ff54e28fa9fee240cabc3a82cdf8962e19390749493c8c40f35c524f65-fedora-39-4.14_opam-2.2-49f14ef6ac29a0f80359336ff29459f2"
2024-10-19 20:13.39: Using OBuilder spec:
((from ocaml/opam:fedora-39-ocaml-4.14@sha256:3780b9ff54e28fa9fee240cabc3a82cdf8962e19390749493c8c40f35c524f65)
(comment fedora-39-4.14_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 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.40: 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:fedora-39-ocaml-4.14@sha256:3780b9ff54e28fa9fee240cabc3a82cdf8962e19390749493c8c40f35c524f65)
Unable to find image 'ocaml/opam:fedora-39-ocaml-4.14@sha256:3780b9ff54e28fa9fee240cabc3a82cdf8962e19390749493c8c40f35c524f65' locally
docker.io/ocaml/opam@sha256:3780b9ff54e28fa9fee240cabc3a82cdf8962e19390749493c8c40f35c524f65: Pulling from ocaml/opam
1c47e776213e: Pulling fs layer
1c47e776213e: Verifying Checksum
1c47e776213e: Download complete
2024-10-19 20:22.17: Cancelling: Auto-cancelling job because it is no longer needed
1c47e776213e: Pull complete
Digest: sha256:3780b9ff54e28fa9fee240cabc3a82cdf8962e19390749493c8c40f35c524f65
Status: Downloaded newer image for ocaml/opam@sha256:3780b9ff54e28fa9fee240cabc3a82cdf8962e19390749493c8c40f35c524f65
2024-10-19 20:25.28 ---> saved as "5e4c7418a3757f034f656d730a41711f313cb5b4da84619709a19c032c8c579b"


/: (comment fedora-39-4.14_opam-2.2)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Job cancelled