Organisationsocaml-opamocaml-mccs4bea74 ()ubuntu-22.04-4.14_opam-2.3

ubuntu-22.04-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-02-17 23:24.51: 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-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158
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-4.14@sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158
# ubuntu-22.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 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-17 23:24.51: Using cache hint "ocaml-opam/ocaml-mccs-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158-ubuntu-22.04-4.14_opam-2.3-7563f4db69b5155b107e862414bb084f"
2025-02-17 23:24.51: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158)
(comment ubuntu-22.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 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-17 23:24.51: Waiting for resource in pool OCluster
2025-02-18 02:49.39: Waiting for worker…
2025-02-18 02:52.44: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 4bea74e Update to Dune 2.0


(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158)
2025-02-18 02:52.45 ---> using "3876891a3262e12317fc2c0c1c18b02258ee0abf5223e4b834eb0623ec1eafc3" from cache


/: (comment ubuntu-22.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"))
2025-02-18 02:52.45 ---> using "cf17b3cf0193d01b5d87b6958b67898c2b8db52b228401b069b6275b3f49aac2" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-02-18 02:52.45 ---> using "97e3688876b56c58a3d98277256270fd8ab7b243ffbf3c567469e3f9d7293f31" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-18 02:52.45 ---> using "5cb9119df828b04147daa6c17585dfd1008ec275d1123f958730e8c2d7bbe83d" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-02-18 02:52.45 ---> using "fc994d33f50f8cff1ab79beb366747dbfb1112cbd8543bffef30427c4ebf430f" 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 ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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-18 02:52.45 ---> using "b88222c74d5a818856d764648eafe1843569c4648f7c58da22027479995a3775" from cache


/src: (copy (src mccs.opam) (dst ./))
2025-02-18 02:52.45 ---> saved as "e16dffd9e586049c405338f4e4a4d691be828616a91fa9054e52d77667b2c659"


/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-18 02:52.47 ---> saved as "e41f7d14041bcd2c19db265d56f246c2f43327b1af92310803c95abaa6fd2503"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-18 02:52.48 ---> saved as "19e17effe165e97504eb29b07cbc568bc7b2cb39124ef6507ed4695a7d88a960"


/src: (env DEPS "base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2911 kB]
- Get:6 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2609 kB]
- Fetched 5904 kB in 1s (4904 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
2025-02-18 02:53.04 ---> saved as "f191436f0e29e02452231166d616d355f697034f3f5d85e3bf6ebda1801d1fec"


/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-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-18 02:53.39 ---> saved as "191e126ef9cb3a049c51ec98151b0e29f784f5677e3fef33a43c66574705f0c8"


/src: (copy (src .) (dst /src))
2025-02-18 02:53.40 ---> saved as "30a432424085d86bf467ea041cabf68aaccc34622a2e559844cc0784034ec457"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-02-18 02:53.43 ---> saved as "cccf48553ad612b14947fc9210256a05d2f8af64b15a4280bb8f3cbfc6093d20"
Job succeeded
2025-02-18 02:53.44: Job succeeded