Organisationskoonwenobatcher7e66f3 ()debian-11-5.2_opam-2.2

debian-11-5.2_opam-2.2

Link Copied
Code Copied

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:debian-11-5.2_opam-2.2)
Base: ocaml/opam:debian-11-ocaml-5.2@sha256:732610448ab04fcd8405607d63114a25188346d4f6d97c0a34fd1c4f6b7dcd39
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:debian-11-ocaml-5.2@sha256:732610448ab04fcd8405607d63114a25188346d4f6d97c0a34fd1c4f6b7dcd39
# debian-11-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:debian-11-ocaml-5.2@sha256:732610448ab04fcd8405607d63114a25188346d4f6d97c0a34fd1c4f6b7dcd39-debian-11-5.2_opam-2.2-73650f09f1c90ebb8aaaa8c22d48850f"
2024-09-06 21:05.01: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-5.2@sha256:732610448ab04fcd8405607d63114a25188346d4f6d97c0a34fd1c4f6b7dcd39)
 (comment debian-11-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-c5.sw.ocaml.org
All commits already cached
HEAD is now at 7e66f3b work on README


(from ocaml/opam:debian-11-ocaml-5.2@sha256:732610448ab04fcd8405607d63114a25188346d4f6d97c0a34fd1c4f6b7dcd39)
Unable to find image 'ocaml/opam:debian-11-ocaml-5.2@sha256:732610448ab04fcd8405607d63114a25188346d4f6d97c0a34fd1c4f6b7dcd39' locally
docker.io/ocaml/opam@sha256:732610448ab04fcd8405607d63114a25188346d4f6d97c0a34fd1c4f6b7dcd39: Pulling from ocaml/opam
74fefaaec83d: Pulling fs layer
74fefaaec83d: Verifying Checksum
74fefaaec83d: Download complete
74fefaaec83d: Pull complete
Digest: sha256:732610448ab04fcd8405607d63114a25188346d4f6d97c0a34fd1c4f6b7dcd39
Status: Downloaded newer image for ocaml/opam@sha256:732610448ab04fcd8405607d63114a25188346d4f6d97c0a34fd1c4f6b7dcd39
2024-09-06 21:06.46 ---> saved as "3867130ca5f78e0781b0e4d2cdda1ba43641985d5e99c3f8aab7241aba7c6a27"


/: (comment debian-11-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:06.47 ---> saved as "f5e433e079c4f045b66c834bbbe86bd5996d6b5fe3e572cd9fb7077ba9cd4fdd"


/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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
2024-09-06 21:07.08: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled