Organisationsocurrentocaml-version66020c ()ubuntu-24.04-4.14_opam-2.3

ubuntu-24.04-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-03-24 08:54.41: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (66020ca8d3279a23b6945b9c11094c5dc12cc8f4) (linux-x86_64:ubuntu-24.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 66020ca8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d
# ubuntu-24.04-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.17.2 fmt.0.10.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ocaml-version.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


2025-03-24 08:54.41: Using cache hint "ocurrent/ocaml-version-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d-ubuntu-24.04-4.14_opam-2.3-f5051097c958bfddaef43b4560114cd1"
2025-03-24 08:54.41: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d)
(comment ubuntu-24.04-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocaml-version.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.17.2 fmt.0.10.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")
(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.3 --depext-only -y ocaml-version.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"))
)


2025-03-24 08:54.41: Waiting for resource in pool OCluster
2025-03-24 08:54.42: Waiting for worker…
2025-03-24 08:54.42: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
HEAD is now at 1165e18 Merge pull request #80 from mtelvers/maintenance-intent
HEAD is now at 66020ca Merge pull request #81 from ocurrent/shonfeder/4.08-as-oldest-recent


(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d' locally
docker.io/ocaml/opam@sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d: Pulling from ocaml/opam
2b2bf05c839f: Pulling fs layer
2b2bf05c839f: Verifying Checksum
2b2bf05c839f: Download complete
2025-03-24 08:56.06: Cancelling: Auto-cancelling job because it is no longer needed
2b2bf05c839f: Pull complete
Digest: sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d
Status: Downloaded newer image for ocaml/opam@sha256:c16115334565a581dbe16a37c8b9e0a6b552015855dafe8db20776f53e61dd7d
2025-03-24 08:57.04 ---> saved as "4d0d1d8e80b049e74cac526df5abf391925025822f8d4f59317c11ea6690ca98"


/: (comment ubuntu-24.04-4.14_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
Job cancelled