2024-12-04 18:31.38: New job: test ocurrent/opam-repo-ci https://github.com/ocurrent/opam-repo-ci.git#refs/heads/live-web (08c7d6bcfbe52dd9323e2910496b5c76d59d9562) (linux-x86_64:debian-12-4.14_x86_32_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:6b1246fb24a0f650d6c7f09d152cdff7faf221cb3cc1f8acce2f22be807a819b
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocurrent/opam-repo-ci.git" -b "live-web" && cd "opam-repo-ci" && git reset --hard 08c7d6bc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:6b1246fb24a0f650d6c7f09d152cdff7faf221cb3cc1f8acce2f22be807a819b
# debian-12-4.14_x86_32_opam-2.3
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.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 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && 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 './' && echo '(lang dune 3.0)' > './dune-project' && \
opam pin add -yn opam-repo-ci-service.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
opam pin add -yn opam-repo-ci-client.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
opam pin add -yn opam-repo-ci-api.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
opam pin add -yn opam-ci-check.dev './' && echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="0install-solver.2.18 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-c++.1.0 cppo.1.8.0 cudf.0.10 dose3.7.0.0 dune.3.17.0 extlib.1.8.0 host-arch-x86_32.1 host-system-other.1 jsonm.1.0.2 mccs.1.1+18 mula.0.1.2 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.3 --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-12-04 18:31.38: Using cache hint "ocurrent/opam-repo-ci-ocaml/opam:debian-12-ocaml-4.14@sha256:6b1246fb24a0f650d6c7f09d152cdff7faf221cb3cc1f8acce2f22be807a819b-debian-12-4.14_x86_32_opam-2.3-1c3aed91062805e41359185be1dc5392"
2024-12-04 18:31.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:6b1246fb24a0f650d6c7f09d152cdff7faf221cb3cc1f8acce2f22be807a819b)
(comment debian-12-4.14_x86_32_opam-2.3)
(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.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 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && 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 './' && echo '(lang dune 3.0)' > './dune-project' && \
\nopam pin add -yn opam-repo-ci-service.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
\nopam pin add -yn opam-repo-ci-client.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
\nopam pin add -yn opam-repo-ci-api.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
\nopam pin add -yn opam-ci-check.dev './' && echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "0install-solver.2.18 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-c++.1.0 cppo.1.8.0 cudf.0.10 dose3.7.0.0 dune.3.17.0 extlib.1.8.0 host-arch-x86_32.1 host-system-other.1 jsonm.1.0.2 mccs.1.1+18 mula.0.1.2 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.3 --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-12-04 18:31.38: Waiting for resource in pool OCluster
2024-12-04 20:17.07: Waiting for worker…
2024-12-04 20:19.40: Got resource from pool OCluster
Building on x86-bm-c11.sw.ocaml.org
All commits already cached
HEAD is now at 08c7d6b Add instructions to reproduce linting locally
(from ocaml/opam:debian-12-ocaml-4.14@sha256:6b1246fb24a0f650d6c7f09d152cdff7faf221cb3cc1f8acce2f22be807a819b)
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2024-12-04 20:19.40 ---> using "99f5bd896443aa98df58156e0199b932b7e9a3bc1c44124c74e348842a0b1e5a" from cache
/: (comment debian-12-4.14_x86_32_opam-2.3)
/: (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.3 /usr/bin/opam"))
2024-12-04 20:19.40 ---> using "3e8d780edf833fb95ace4b82a8e740f4cb145cedbc1db458013035a780953d08" 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 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-12-04 20:19.40 ---> using "a4a57b72f55ac56bd48686d99f284fb828a2de1b693ccc2b45ef0f41e72efb27" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.14.2
2.3.0
2024-12-04 20:19.40 ---> using "c2d82ec12124538ced75d548a33474640052b5e463268357273bd66d056d1080" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-04 20:19.40 ---> using "4853e5267422df731b30340cc117494324962deb87d5a6404633f24ca2d26cb8" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
11bdbee611..9a4a489e63 master -> origin/master
9a4a489e63 Merge pull request #27019 from fpottier/opam-publish-cppo.1.8.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.
# To update the current shell environment, run: eval $(opam env)
2024-12-04 20:19.40 ---> using "fa8a051d6d6ed697e1c7221f81f98b368171619583fe2b0adc765c2e93a8dd5e" from cache
/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-12-04 20:19.40 ---> saved as "cba108103eaaf4f2533e0715b413bac7863995ea06705c9a06530d921024daf3"
/src: (run (network host)
(shell "opam pin add -yn opam-repo-ci-web.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
\nopam pin add -yn opam-repo-ci-service.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
\nopam pin add -yn opam-repo-ci-client.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
\nopam pin add -yn opam-repo-ci-api.dev './' && echo '(lang dune 3.0)' > './dune-project' && \
\nopam pin add -yn opam-ci-check.dev './' && echo '(lang dune 3.0)' > './dune-project'"))
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-12-04 20:19.51 ---> saved as "390df0c39b7804b48a11acdb9172f5246f7484686e4729372c9ec63c9b855f92"
/src: (env DEPS "0install-solver.2.18 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-c++.1.0 cppo.1.8.0 cudf.0.10 dose3.7.0.0 dune.3.17.0 extlib.1.8.0 host-arch-x86_32.1 host-system-other.1 jsonm.1.0.2 mccs.1.1+18 mula.0.1.2 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.3 --depext-only -y opam-ci-check.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- 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-updates/main i386 Packages.diff/Index [12.8 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main i386 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main i386 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main i386 Packages [205 kB]
- Fetched 321 kB in 0s (868 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-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 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-bigarray is already installed (current version is base).
2024-12-04 20:20.13 ---> saved as "b6e140882f4ba3d12a7d8acb431794685ac7f5dc713346cbcbbcf77e5f443030"
/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 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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 35 packages
- install 0install-solver 2.18
- install base64 3.5.1
- install cmdliner 1.3.0
- install conf-c++ 1.0
- install cppo 1.8.0
- install cudf 0.10
- install dose3 7.0.0
- install dune 3.17.0
- install extlib 1.8.0
- install jsonm 1.0.2
- install mccs 1.1+18
- install mula 0.1.2
- 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 0install-solver.2.18 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved cudf.0.10 (cached)
-> retrieved dose3.7.0.0 (cached)
-> retrieved extlib.1.8.0 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved mula.0.1.2 (cached)
-> retrieved num.1.5-1 (cached)
-> retrieved mccs.1.1+18 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved dune.3.17.0 (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)
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved re.1.12.0 (cached)
-> installed cmdliner.1.3.0
-> installed num.1.5-1
-> installed seq.base
-> 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 topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (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.17.0
-> installed stdlib-shims.0.3.0
-> installed spdx_licenses.1.2.0
-> installed mula.0.1.2
-> installed base64.3.5.1
-> installed swhid_core.0.1
-> installed sexplib0.v0.16.0
-> installed opam-file-format.2.1.6
-> installed 0install-solver.2.18
-> installed cppo.1.8.0
-> installed re.1.12.0
-> installed extlib.1.8.0
-> installed parsexp.v0.16.0
-> installed ocamlgraph.2.1.0
-> installed cudf.0.10
-> installed sexplib.v0.16.0
-> installed sha.1.15.4
-> installed opam-0install-cudf.0.5.0
-> installed dose3.7.0.0
-> installed mccs.1.1+18
-> installed opam-core.2.3.0
-> 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.
# To update the current shell environment, run: eval $(opam env)
2024-12-04 20:21.39 ---> saved as "2b3e74978c11b487583e5d56f7fc510bac47e69c254195c0e16d62bb04409abb"
/src: (copy (src .) (dst /src))
2024-12-04 20:21.39 ---> saved as "9f3befba850c4e3e8ae7efefb057f7be14b23aa5449bc89268cb096985057c68"
/src: (run (shell "opam exec -- dune build --only-packages=opam-ci-check @install @check @runtest && rm -rf _build"))
2024-12-04 20:21.41 ---> saved as "565b6a3f383d49e2b943c39ac82405bd2ade2a32ddf921567ba68af535179641"
Job succeeded
2024-12-04 20:21.41: Job succeeded