Organisationskoonwenobatcher7e66f3 ()opensuse-15.6-5.2_opam-2.2

opensuse-15.6-5.2_opam-2.2

Logs

Show full logs
2024-09-06 21:05.01: New job: test koonwen/obatcher https://github.com/koonwen/obatcher.git#refs/heads/main (7e66f3b8151dfc6381fbf43ab43a766af5831d05) (linux-x86_64:opensuse-15.6-5.2_opam-2.2)
Base: ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:aae5b87d533a51140ad9b1f39ff99fa81880fa2ad9dc8f2b078d254f7d95c3d3
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/koonwen/obatcher.git" -b "main" && cd "obatcher" && git reset --hard 7e66f3b8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:aae5b87d533a51140ad9b1f39ff99fa81880fa2ad9dc8f2b078d254f7d95c3d3
# opensuse-15.6-5.2_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 e6779b3c37b6fe7eac7a15623ec4fc0bff719fec || git fetch origin master) && git reset -q --hard e6779b3c37b6fe7eac7a15623ec4fc0bff719fec && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 obatcher.opam ./
RUN opam pin add -yn obatcher.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 containers.3.13.1 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 either.1.0.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ounit2.2.2.7 picos.0.5.0 qcheck.0.22 qcheck-alcotest.0.22 qcheck-core.0.22 qcheck-ounit.0.22 re.1.12.0 seq.base stdlib-shims.0.3.0 thread-local-storage.0.2 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y obatcher.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-09-06 21:05.01: Using cache hint "koonwen/obatcher-ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:aae5b87d533a51140ad9b1f39ff99fa81880fa2ad9dc8f2b078d254f7d95c3d3-opensuse-15.6-5.2_opam-2.2-73650f09f1c90ebb8aaaa8c22d48850f"
2024-09-06 21:05.01: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:aae5b87d533a51140ad9b1f39ff99fa81880fa2ad9dc8f2b078d254f7d95c3d3)
 (comment opensuse-15.6-5.2_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 e6779b3c37b6fe7eac7a15623ec4fc0bff719fec || git fetch origin master) && git reset -q --hard e6779b3c37b6fe7eac7a15623ec4fc0bff719fec && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src obatcher.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn obatcher.dev './'"))
 (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 containers.3.13.1 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 either.1.0.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ounit2.2.2.7 picos.0.5.0 qcheck.0.22 qcheck-alcotest.0.22 qcheck-core.0.22 qcheck-ounit.0.22 re.1.12.0 seq.base stdlib-shims.0.3.0 thread-local-storage.0.2 topkg.1.0.7 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.2 --depext-only -y obatcher.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-09-06 21:05.01: Waiting for resource in pool OCluster
2024-09-06 21:05.01: Waiting for worker…
2024-09-06 21:05.01: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at 7e66f3b work on README

(from ocaml/opam:opensuse-15.6-ocaml-5.2@sha256:aae5b87d533a51140ad9b1f39ff99fa81880fa2ad9dc8f2b078d254f7d95c3d3)
2024-09-06 21:05.47 ---> saved as "4df735824e7ae1db2b611ef392a4a1a0304b26a8d028f752710489b1968c51b3"

/: (comment opensuse-15.6-5.2_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"))
2024-09-06 21:05.47 ---> saved as "8824e318f7bd78c9786d6722bc09d6a8c5fca25178f4990e9c4fdd7189d71446"

/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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-06 21:07.08: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled