2024-11-14 17:02.23: New job: test ocurrent/opam-repo-ci https://github.com/ocurrent/opam-repo-ci.git#refs/heads/master (6f76fae21ccbcb92284052aed2285fa14c8ccee6) (linux-x86_64:debian-12-5.2_x86_32_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:fc5b98f9ba2e5b85dd11f6c0f5440686920283e903e92bbc9b144c3c08ac15e4
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocurrent/opam-repo-ci.git" -b "master" && cd "opam-repo-ci" && git reset --hard 6f76fae2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:fc5b98f9ba2e5b85dd11f6c0f5440686920283e903e92bbc9b144c3c08ac15e4
# debian-12-5.2_x86_32_opam-2.2
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 ac1ca8a60c98245e4b90bf0ac5dcf98bd0be4955 || git fetch origin master) && git reset -q --hard ac1ca8a60c98245e4b90bf0ac5dcf98bd0be4955 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-repo-ci-web.opam opam-repo-ci-service.opam opam-repo-ci-client.opam opam-repo-ci-api.opam opam-ci-check.opam ./
RUN opam pin add -yn opam-repo-ci-web.dev './' && \
opam pin add -yn opam-repo-ci-service.dev './' && \
opam pin add -yn opam-repo-ci-client.dev './' && \
opam pin add -yn opam-repo-ci-api.dev './' && \
opam pin add -yn opam-ci-check.dev './'
ENV DEPS="0install-solver.2.18 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-c++.1.0 cppo.1.7.0 cudf.0.10 dose3.7.0.0 dune.3.16.1 extlib.1.8.0 host-arch-x86_32.1 host-system-other.1 jsonm.1.0.2 mccs.1.1+18 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocamlgraph.2.1.0 opam-0install-cudf.0.5.0 opam-client.2.3.0 opam-core.2.3.0 opam-file-format.2.1.6 opam-format.2.3.0 opam-repository.2.3.0 opam-solver.2.3.0 opam-state.2.3.0 parsexp.v0.16.0 re.1.12.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.2.0 stdlib-shims.0.3.0 swhid_core.0.1 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 opam-ci-check.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=opam-ci-check @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-11-14 17:02.23: Using cache hint "ocurrent/opam-repo-ci-ocaml/opam:debian-12-ocaml-5.2@sha256:fc5b98f9ba2e5b85dd11f6c0f5440686920283e903e92bbc9b144c3c08ac15e4-debian-12-5.2_x86_32_opam-2.2-6486d4d8965393cbfe9df4de65409b2e"
2024-11-14 17:02.23: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:fc5b98f9ba2e5b85dd11f6c0f5440686920283e903e92bbc9b144c3c08ac15e4)
(comment debian-12-5.2_x86_32_opam-2.2)
(user (uid 1000) (gid 1000))
(shell /usr/bin/linux32 /bin/sh -c)
(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 ac1ca8a60c98245e4b90bf0ac5dcf98bd0be4955 || git fetch origin master) && git reset -q --hard ac1ca8a60c98245e4b90bf0ac5dcf98bd0be4955 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-repo-ci-web.opam opam-repo-ci-service.opam opam-repo-ci-client.opam opam-repo-ci-api.opam opam-ci-check.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn opam-repo-ci-web.dev './' && \
\nopam pin add -yn opam-repo-ci-service.dev './' && \
\nopam pin add -yn opam-repo-ci-client.dev './' && \
\nopam pin add -yn opam-repo-ci-api.dev './' && \
\nopam pin add -yn opam-ci-check.dev './'"))
(env DEPS "0install-solver.2.18 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-c++.1.0 cppo.1.7.0 cudf.0.10 dose3.7.0.0 dune.3.16.1 extlib.1.8.0 host-arch-x86_32.1 host-system-other.1 jsonm.1.0.2 mccs.1.1+18 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocamlgraph.2.1.0 opam-0install-cudf.0.5.0 opam-client.2.3.0 opam-core.2.3.0 opam-file-format.2.1.6 opam-format.2.3.0 opam-repository.2.3.0 opam-solver.2.3.0 opam-state.2.3.0 parsexp.v0.16.0 re.1.12.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.2.0 stdlib-shims.0.3.0 swhid_core.0.1 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 opam-ci-check.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 --only-packages=opam-ci-check @install @check @runtest && rm -rf _build"))
)
2024-11-14 17:02.23: Waiting for resource in pool OCluster
2024-11-14 20:34.38: Waiting for worker…
2024-11-14 20:34.38: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 6f76fae Update platforms
(from ocaml/opam:debian-12-ocaml-5.2@sha256:fc5b98f9ba2e5b85dd11f6c0f5440686920283e903e92bbc9b144c3c08ac15e4)
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2024-11-14 20:34.39 ---> using "21e98ad74afe3a22d2779395c2424e7fa1652accf231f0e07ccd2ce852e5f98c" from cache
/: (comment debian-12-5.2_x86_32_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (shell /usr/bin/linux32 /bin/sh -c)
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-11-14 20:34.39 ---> using "23384cf4b2685a60998e0d465fdcd73fa5e038e90fab9cbe0c983f405fefaeb0" 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 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-14 20:34.39 ---> using "b43112f603a422a246b92a7f7b607cdfc35a0fa977c956330fc828ddde69bb58" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-11-14 20:34.39 ---> using "f3992c3b0675696a2167db755ac13e915e42b360ad67042ac5f32a8b8277719c" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-14 20:34.39 ---> using "8716865cb1c9971dbc157bc6b750cf708f16c8e3a2443bd6670d8ddca1990d4c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e ac1ca8a60c98245e4b90bf0ac5dcf98bd0be4955 || git fetch origin master) && git reset -q --hard ac1ca8a60c98245e4b90bf0ac5dcf98bd0be4955 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
d872638bdf..9b17d95583 master -> origin/master
ac1ca8a60c Merge pull request #26887 from kit-ty-kate/opam-publish-opam-client.2.3.0
<><> 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.
# Run eval $(opam env) to update the current shell environment
2024-11-14 20:36.22 ---> saved as "f0b113dc64610441c72753bb841cf7866e4601be246199965322e13890ceae7d"
/src: (copy (src opam-repo-ci-web.opam opam-repo-ci-service.opam opam-repo-ci-client.opam opam-repo-ci-api.opam opam-ci-check.opam)
(dst ./))
2024-11-14 20:36.22 ---> saved as "72050e668b961710d24ae8dac4a8fa9d237a3d07aa4d27b87a45dd0bf16ca31f"
/src: (run (network host)
(shell "opam pin add -yn opam-repo-ci-web.dev './' && \
\nopam pin add -yn opam-repo-ci-service.dev './' && \
\nopam pin add -yn opam-repo-ci-client.dev './' && \
\nopam pin add -yn opam-repo-ci-api.dev './' && \
\nopam pin add -yn opam-ci-check.dev './'"))
Package opam-repo-ci-web does not exist, create as a NEW package? [y/n] y
[opam-repo-ci-web.dev] synchronised (file:///src)
opam-repo-ci-web is now pinned to file:///src (version dev)
Package opam-repo-ci-service does not exist, create as a NEW package? [y/n] y
[opam-repo-ci-service.dev] synchronised (file:///src)
opam-repo-ci-service is now pinned to file:///src (version dev)
Package opam-repo-ci-client does not exist, create as a NEW package? [y/n] y
[opam-repo-ci-client.dev] synchronised (file:///src)
opam-repo-ci-client is now pinned to file:///src (version dev)
Package opam-repo-ci-api does not exist, create as a NEW package? [y/n] y
[opam-repo-ci-api.dev] synchronised (file:///src)
opam-repo-ci-api is now pinned to file:///src (version dev)
Package opam-ci-check does not exist, create as a NEW package? [y/n] y
[opam-ci-check.dev] synchronised (file:///src)
opam-ci-check is now pinned to file:///src (version dev)
2024-11-14 20:36.33 ---> saved as "d7c81dc2bdf30729163e5a4a663ba0552e04de34158f14eb257825ad83c8b8ce"
/src: (env DEPS "0install-solver.2.18 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-c++.1.0 cppo.1.7.0 cudf.0.10 dose3.7.0.0 dune.3.16.1 extlib.1.8.0 host-arch-x86_32.1 host-system-other.1 jsonm.1.0.2 mccs.1.1+18 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocamlgraph.2.1.0 opam-0install-cudf.0.5.0 opam-client.2.3.0 opam-core.2.3.0 opam-file-format.2.1.6 opam-format.2.3.0 opam-repository.2.3.0 opam-solver.2.3.0 opam-state.2.3.0 parsexp.v0.16.0 re.1.12.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.2.0 stdlib-shims.0.3.0 swhid_core.0.1 topkg.1.0.7 uutf.1.0.3")
/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.2 --depext-only -y opam-ci-check.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main i386 Packages [8681 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main i386 Packages [203 kB]
- Fetched 9139 kB in 2s (5279 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-ci-check.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-option-bytecode-only is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_32 is already installed (current version is 1).
[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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-11-14 20:36.49 ---> saved as "87ccc388ea3ca63ca0db4092ece2b04516f0e5741dba3b0289a9a0859ac45265"
/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-option-bytecode-only is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_32 is already installed (current version is 1).
[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-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 34 packages
- install 0install-solver 2.18
- install base64 3.5.1
- install cmdliner 1.3.0
- install conf-c++ 1.0
- install cppo 1.7.0
- install cudf 0.10
- install dose3 7.0.0
- install dune 3.16.1
- install extlib 1.8.0
- install jsonm 1.0.2
- install mccs 1.1+18
- install num 1.5-1
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install ocamlgraph 2.1.0
- install opam-0install-cudf 0.5.0
- install opam-client 2.3.0
- install opam-core 2.3.0
- install opam-file-format 2.1.6
- install opam-format 2.3.0
- install opam-repository 2.3.0
- install opam-solver 2.3.0
- install opam-state 2.3.0
- install parsexp v0.16.0
- install re 1.12.0
- install seq base
- install sexplib v0.16.0
- install sexplib0 v0.16.0
- install sha 1.15.4
- install spdx_licenses 1.2.0
- install stdlib-shims 0.3.0
- install swhid_core 0.1
- install topkg 1.0.7
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.1 (cached)
-> installed conf-c++.1.0
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved cudf.0.10 (cached)
-> retrieved 0install-solver.2.18 (cached)
-> retrieved dose3.7.0.0 (cached)
-> retrieved extlib.1.8.0 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved num.1.5-1 (cached)
-> retrieved mccs.1.1+18 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved dune.3.16.1 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocamlgraph.2.1.0 (cached)
-> retrieved opam-0install-cudf.0.5.0 (cached)
-> retrieved opam-client.2.3.0, opam-core.2.3.0, opam-format.2.3.0, opam-repository.2.3.0, opam-solver.2.3.0, opam-state.2.3.0 (cached)
-> retrieved opam-file-format.2.1.6 (cached)
-> retrieved seq.base (cached)
-> retrieved parsexp.v0.16.0 (cached)
-> installed cmdliner.1.3.0
-> installed num.1.5-1
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved sha.1.15.4 (cached)
-> retrieved spdx_licenses.1.2.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved swhid_core.0.1 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed jsonm.1.0.2
-> installed dune.3.16.1
-> installed stdlib-shims.0.3.0
-> installed spdx_licenses.1.2.0
-> installed swhid_core.0.1
-> installed base64.3.5.1
-> installed sexplib0.v0.16.0
-> installed opam-file-format.2.1.6
-> installed 0install-solver.2.18
-> installed re.1.12.0
-> installed parsexp.v0.16.0
-> installed cppo.1.7.0
-> installed sha.1.15.4
-> installed ocamlgraph.2.1.0
-> installed sexplib.v0.16.0
-> installed extlib.1.8.0
-> installed cudf.0.10
-> installed opam-0install-cudf.0.5.0
-> installed dose3.7.0.0
-> installed opam-core.2.3.0
-> installed mccs.1.1+18
-> installed opam-format.2.3.0
-> installed opam-repository.2.3.0
-> installed opam-solver.2.3.0
-> installed opam-state.2.3.0
-> installed opam-client.2.3.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-14 20:38.20 ---> saved as "ecf1df62a1c34186410978fcaa6f387a508056887e021d9ff93f4b7a807d6092"
/src: (copy (src .) (dst /src))
2024-11-14 20:38.20 ---> saved as "2a9c98647a2901b592c064a4a8b4309415446d76a7597556cf1c316a6753f1fa"
/src: (run (shell "opam exec -- dune build --only-packages=opam-ci-check @install @check @runtest && rm -rf _build"))
2024-11-14 20:38.29 ---> saved as "050df0a9e37cd961b8b37e790b512deea78f4a3be6701ad8e8f2bf2e5019fb57"
Job succeeded
2024-11-14 20:38.29: Job succeeded