Organisationsocurrentobuilderfde3bb ()(lower-bound)

(lower-bound)

Logs

Show full logs
2024-06-05 14:55.55: New job: test ocurrent/obuilder https://github.com/ocurrent/obuilder.git#refs/pull/180/head (fde3bb09a28ef08db87672cb54f71df89c831a4e) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/obuilder.git" && cd "obuilder" && git fetch origin "refs/pull/180/head" && git reset --hard fde3bb09
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85
# debian-12-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 416bb59d4e5bd5a6dd8fb9323d97ea2c58b95d20 || git fetch origin master) && git reset -q --hard 416bb59d4e5bd5a6dd8fb9323d97ea2c58b95d20 && 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.7.0 alcotest-lwt.1.7.0 astring.0.8.5 base.v0.14.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 biniou.1.2.0 camlp-streams.5.0.1 checkseum.0.3.1 cmdliner.1.2.0 conf-pkg-config.1.0 conf-sqlite3.1 conf-which.1 cppo.1.6.1 crunch.3.3.1 csexp.1.3.1 cstruct.6.0.0 cstruct-lwt.3.4.0 decompress.1.5.1 dune.3.7.0 dune-configurator.2.9.0 easy-format.1.0.1 extunix.0.4.0 fmt.0.8.9 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 logs.0.6.3 lwt.5.6.1 num.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 optint.0.1.0 parsexp.v0.14.1 ppx_derivers.1.0 ppx_deriving.5.2 ppx_sexp_conv.v0.14.3 ppxlib.0.24.0 ptime.0.8.1 re.1.7.2 result.1.5 seq.0.2.2 sexplib.v0.14.0 sexplib0.v0.14.0 sha.1.15.4 sqlite3.3.0.0 stdlib-shims.0.3.0 tar.2.4.0 tar-unix.2.4.0 topkg.1.0.3 uchar.0.0.2 uutf.1.0.1 yojson.1.6.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --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-06-05 14:55.55: Using cache hint "ocurrent/obuilder-ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85-debian-12-4.14_opam-2.1-009bd97ebbcfa4297144904571f32e38"
2024-06-05 14:55.55: Using OBuilder spec:
((from ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85)
 (comment debian-12-4.14_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 416bb59d4e5bd5a6dd8fb9323d97ea2c58b95d20 || git fetch origin master) && git reset -q --hard 416bb59d4e5bd5a6dd8fb9323d97ea2c58b95d20 && 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.7.0 alcotest-lwt.1.7.0 astring.0.8.5 base.v0.14.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 biniou.1.2.0 camlp-streams.5.0.1 checkseum.0.3.1 cmdliner.1.2.0 conf-pkg-config.1.0 conf-sqlite3.1 conf-which.1 cppo.1.6.1 crunch.3.3.1 csexp.1.3.1 cstruct.6.0.0 cstruct-lwt.3.4.0 decompress.1.5.1 dune.3.7.0 dune-configurator.2.9.0 easy-format.1.0.1 extunix.0.4.0 fmt.0.8.9 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 logs.0.6.3 lwt.5.6.1 num.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 optint.0.1.0 parsexp.v0.14.1 ppx_derivers.1.0 ppx_deriving.5.2 ppx_sexp_conv.v0.14.3 ppxlib.0.24.0 ptime.0.8.1 re.1.7.2 result.1.5 seq.0.2.2 sexplib.v0.14.0 sexplib0.v0.14.0 sha.1.15.4 sqlite3.3.0.0 stdlib-shims.0.3.0 tar.2.4.0 tar-unix.2.4.0 topkg.1.0.3 uchar.0.0.2 uutf.1.0.1 yojson.1.6.0")
 (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.1 --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-06-05 14:55.55: Waiting for resource in pool OCluster
2024-06-06 10:17.42: Waiting for worker…
2024-06-06 10:21.12: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
HEAD is now at fde3bb0 Overlayfs backend

(from ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85)
Unable to find image 'ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85' locally
docker.io/ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85: Pulling from ocaml/opam
a500d41e397d: Pulling fs layer
a500d41e397d: Verifying Checksum
a500d41e397d: Download complete
a500d41e397d: Pull complete
Digest: sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85
Status: Downloaded newer image for ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85
2024-06-06 10:23.50 ---> saved as "8996bcdb05f2890613e4a5e164dd9dd2f7c66284ebfc49b1df9eef1d9b3fb2b6"

/: (comment debian-12-4.14_opam-2.1)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-06-06 10:23.50 ---> saved as "3fdb1e75f44987c576dd516b384d193513f5ddcb99bb76ede24e0fee9a87d0d3"

/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-06-06 10:25.14 ---> saved as "837f1c921195f81be5a563be012c9c22b2758b4b3e12aa2041ce209afd8c451d"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-107-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-06-06 10:25.14 ---> saved as "d36534f2839e87000e4662e84d0d3847dab1994f11fe6787d9a8e290b4ced637"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-06-06 10:25.14 ---> saved as "0e05757ab7a17e3305d283ca4ffcdf0a190928d8245e63046b734f0e2c628b9f"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 416bb59d4e5bd5a6dd8fb9323d97ea2c58b95d20 || git fetch origin master) && git reset -q --hard 416bb59d4e5bd5a6dd8fb9323d97ea2c58b95d20 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   eb2dcab0d8..dff745994c  master     -> origin/master
416bb59d4e Use parentheses in favour of precedence

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)


The following actions will be performed:
  - install   host-arch-x86_64      1
  - install   host-system-other     1
  - recompile ocaml-options-vanilla 1       [upstream or system changes]
  - recompile ocaml-base-compiler   4.14.2* [upstream or system changes]
  - recompile ocaml-config          2       [upstream or system changes]
  - recompile ocaml                 4.14.2  [uses ocaml-base-compiler, ocaml-config]
  - recompile opam-depext           1.2.1-1 [uses ocaml]
===== 2 to install | 5 to recompile =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.2  (cached)
-> removed   ocaml-options-vanilla.1
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved opam-depext.1.2.1-1  (cached)
-> retrieved ocaml-base-compiler.4.14.2  (cached)