2025-02-09 13:19.32: New job: test ocaml-opam/ocaml-mccs https://github.com/ocaml-opam/ocaml-mccs.git#refs/pull/57/head (4bea74ef933a369c4cc8886f1d658754e42cfa23) (linux-x86_64:ubuntu-22.04-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:46e30b8fdd1d9b46ddeaf85ef12a5df5551afca40b55c7bf011c9b318c7621fe
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-opam/ocaml-mccs.git" && cd "ocaml-mccs" && git fetch origin "refs/pull/57/head" && git reset --hard 4bea74ef
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:46e30b8fdd1d9b46ddeaf85ef12a5df5551afca40b55c7bf011c9b318c7621fe
# ubuntu-22.04-5.3_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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mccs.opam ./
RUN opam pin add -yn mccs.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-c++.1.0 cppo.1.8.0 cudf.0.10 dune.3.17.2 extlib.1.8.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mccs.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-02-09 13:19.32: Using cache hint "ocaml-opam/ocaml-mccs-ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:46e30b8fdd1d9b46ddeaf85ef12a5df5551afca40b55c7bf011c9b318c7621fe-ubuntu-22.04-5.3_opam-2.3-e89d71ca60d4b465d06893930ca7ecad"
2025-02-09 13:19.32: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:46e30b8fdd1d9b46ddeaf85ef12a5df5551afca40b55c7bf011c9b318c7621fe)
(comment ubuntu-22.04-5.3_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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mccs.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mccs.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-c++.1.0 cppo.1.8.0 cudf.0.10 dune.3.17.2 extlib.1.8.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1")
(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 mccs.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-02-09 13:19.32: Waiting for resource in pool OCluster
2025-02-09 13:31.51: Waiting for worker…
2025-02-09 13:37.48: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 4bea74e Update to Dune 2.0
(from ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:46e30b8fdd1d9b46ddeaf85ef12a5df5551afca40b55c7bf011c9b318c7621fe)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:46e30b8fdd1d9b46ddeaf85ef12a5df5551afca40b55c7bf011c9b318c7621fe' locally
docker.io/ocaml/opam@sha256:46e30b8fdd1d9b46ddeaf85ef12a5df5551afca40b55c7bf011c9b318c7621fe: Pulling from ocaml/opam
04356b34b04f: Pulling fs layer
04356b34b04f: Verifying Checksum
04356b34b04f: Download complete
04356b34b04f: Pull complete
Digest: sha256:46e30b8fdd1d9b46ddeaf85ef12a5df5551afca40b55c7bf011c9b318c7621fe
Status: Downloaded newer image for ocaml/opam@sha256:46e30b8fdd1d9b46ddeaf85ef12a5df5551afca40b55c7bf011c9b318c7621fe
2025-02-09 13:37.49 ---> using "31451f5728eb3f67b26796b4150111830b3287640bd035a81b84c5a041f1e7de" from cache
/: (comment ubuntu-22.04-5.3_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"))
2025-02-09 13:37.49 ---> using "b73247610e5f3b6a1c7c527bf530c1f0d05a50bd80eea1d18db215b62bc73af2" from cache
/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
2025-02-09 13:37.49 ---> using "7846796580efb13e7c3506a7c99eabe051f10e4457a6063d96e7e4accd2475f2" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-02-09 13:37.49 ---> using "492a36a0f826997eb5d14be5367fefc673aaa13b7ed25d541cd960affff149d8" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-09 13:37.49 ---> using "3d7a70bb77ce3b908cf62dd1e3d95c58b7ea5b2508e4381c53c461c43ddd0e49" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u"))
d1a3803c0c Merge pull request #27313 from maiste/release-dune-3.17.2
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-02-09 13:37.49 ---> using "b4cd1ef7f926c3a404775065b3b7976718bad966a780ab56df91ff5e339eaffb" from cache
/src: (copy (src mccs.opam) (dst ./))
2025-02-09 13:37.49 ---> using "dc32018f54d1e2013731f3fc29aa08fb494f31c269db0fa3e831ac150aa11b7b" from cache
/src: (run (network host)
(shell "opam pin add -yn mccs.dev './'"))
[mccs.dev] synchronised (file:///src)
mccs is now pinned to file:///src (version dev)
2025-02-09 13:37.49 ---> using "c4883d7ef3c28116396cea6b6e69e9f199a3a6cba804667ceeb16d4a78fe3d71" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-09 13:37.49 ---> using "bc0236b5c849ccd2b639bda938e8bb7b8d22fa6f0d76c46dfdfaed7d3e166160" from cache
/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-c++.1.0 cppo.1.8.0 cudf.0.10 dune.3.17.2 extlib.1.8.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y mccs.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1523 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2907 kB]
- Get:7 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1230 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2606 kB]
- Fetched 8649 kB in 2s (5140 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mccs.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-02-09 13:37.49 ---> using "0b44769967165ce860b43d41fcd5099e71f5f2c21cc56d03ec9d8f24f9333f03" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 5 packages
- install conf-c++ 1.0
- install cppo 1.8.0
- install cudf 0.10
- install dune 3.17.2
- install extlib 1.8.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved cudf.0.10 (cached)
-> installed conf-c++.1.0
-> retrieved extlib.1.8.0 (cached)
-> retrieved dune.3.17.2 (cached)
-> installed dune.3.17.2
-> installed cppo.1.8.0
-> installed extlib.1.8.0
-> installed cudf.0.10
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-09 13:37.49 ---> using "16f0b5c782911be9229f853ce82c00ae674baa291c2275a7acd7648531fcc0b9" from cache
/src: (copy (src .) (dst /src))
2025-02-09 13:37.49 ---> using "71623aaa9dc3797c03e7c9be303850bff528c80b8aa6b76b6ecadbf3232721e2" from cache
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-02-09 13:37.49 ---> using "d83bbc521b33e9f81ed2902fb1d41a4ba8b6d0b05a21460520b912671e47a2ed" from cache
Job succeeded
2025-02-09 13:37.52: Job succeeded