2025-01-11 05:17.30: New job: test linol.0.8, using opam 2.1
from https://github.com/ocaml/opam-repository.git#refs/pull/27246/head (a9279ecc3d9507e2ac76b01c358ecdea7b0c393a)
on debian-12-ocaml-5.3/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27246/head" && git reset --hard a9279ecc
git fetch origin master
git merge --no-edit 67e940587b8aca227f511e1943bcd31eabe6b1db
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn linol.0.8 0.8
RUN opam reinstall linol.0.8; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'linol.0.8' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test linol.0.8) || true
RUN opam reinstall --with-test --verbose linol.0.8; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'linol.0.8' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2025-01-11 05:17.30: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14-linol.0.8-a9279ecc3d9507e2ac76b01c358ecdea7b0c393a"
2025-01-11 05:17.30: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn linol.0.8 0.8"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall linol.0.8;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'linol.0.8' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test linol.0.8) || true"))
(run (shell "opam reinstall --with-test --verbose linol.0.8;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'linol.0.8' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-01-11 05:17.30: Waiting for resource in pool OCluster
2025-01-11 05:17.32: Waiting for worker…
2025-01-11 05:22.09: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
Updating files: 68% (19793/28897)
Updating files: 69% (19939/28897)
Updating files: 70% (20228/28897)
Updating files: 71% (20517/28897)
Updating files: 72% (20806/28897)
Updating files: 73% (21095/28897)
Updating files: 74% (21384/28897)
Updating files: 75% (21673/28897)
Updating files: 76% (21962/28897)
Updating files: 77% (22251/28897)
Updating files: 78% (22540/28897)
Updating files: 79% (22829/28897)
Updating files: 80% (23118/28897)
Updating files: 81% (23407/28897)
Updating files: 82% (23696/28897)
Updating files: 83% (23985/28897)
Updating files: 84% (24274/28897)
Updating files: 85% (24563/28897)
Updating files: 86% (24852/28897)
Updating files: 87% (25141/28897)
Updating files: 88% (25430/28897)
Updating files: 89% (25719/28897)
Updating files: 90% (26008/28897)
Updating files: 91% (26297/28897)
Updating files: 92% (26586/28897)
Updating files: 93% (26875/28897)
Updating files: 94% (27164/28897)
Updating files: 95% (27453/28897)
Updating files: 96% (27742/28897)
Updating files: 97% (28031/28897)
Updating files: 98% (28320/28897)
Updating files: 99% (28609/28897)
Updating files: 100% (28897/28897)
Updating files: 100% (28897/28897), done.
HEAD is now at 67e940587b Merge pull request #27236 from kit-ty-kate/opam-publish-mccs.1.1-19
Updating 67e940587b..a9279ecc3d
Fast-forward
packages/linol-eio/linol-eio.0.8/opam | 41 +++++++++++++++++++++++++++++++++++
packages/linol-lwt/linol-lwt.0.8/opam | 40 ++++++++++++++++++++++++++++++++++
packages/linol/linol.0.8/opam | 41 +++++++++++++++++++++++++++++++++++
3 files changed, 122 insertions(+)
create mode 100644 packages/linol-eio/linol-eio.0.8/opam
create mode 100644 packages/linol-lwt/linol-lwt.0.8/opam
create mode 100644 packages/linol/linol.0.8/opam
(from ocaml/opam:debian-12-ocaml-5.3@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14' locally
docker.io/ocaml/opam@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14: Pulling from ocaml/opam
cf97b94f459b: Pulling fs layer
cf97b94f459b: Verifying Checksum
cf97b94f459b: Download complete
cf97b94f459b: Pull complete
Digest: sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14
Status: Downloaded newer image for ocaml/opam@sha256:be0c99119253d3c2c275fc274b77eb2b00a9a1cad42e18fab213cb0581c9ba14
2025-01-11 05:23.20 ---> using "76cb069d266c7e5611900f60c6d821d76d2aab80f5760e5b9cd16d837b1967b1" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2025-01-11 05:23.20 ---> using "748fc686a7151d879c38ab1ebbe9e0666773d0b90b52a4df8773d156784be451" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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.1, 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
2025-01-11 05:24.14 ---> saved as "cb2c0addda95b1c49b202ca67a829941285f5352c1e453a46af0670e62b8f0e4"
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.1.6 (263921263e1f745613e2882745114b7b08f3608b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria
# upgrade-criteria
# jobs 39
# repositories 1 (local)
# pinned 1 (version)
# current-switch 5.3
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-01-11 05:24.18 ---> saved as "5bdefd621d32ed118bc46a96a02c25f8aad19d92d2b9fc9adc8c3d3a4755c460"
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2025-01-11 05:24.26 ---> saved as "b87774321100236aa2c9cb29f46e2e84e1e0b712e887bb8c9e2cac9993576aab"
/home/opam: (copy (src .) (dst opam-repository/))
2025-01-11 05:24.34 ---> saved as "3dc2280fd260a7ee3a933cfc7414601719f43ec609be1402d4feed849e18b389"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-01-11 05:24.51 ---> saved as "164ba8ba0a060eb2a6488b044e5eb38fb007821f70b4255447132075ac091128"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /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-security bookworm-security/main amd64 Packages [239 kB]
- Fetched 343 kB in 0s (1080 kB/s)
- Reading package lists...
2025-01-11 05:24.52 ---> saved as "0d40f92a7aa9eef6c00d6ba09fa30fc684382ca4029238f65bd828c4413633d0"
/home/opam: (run (shell "opam pin add -k version -yn linol.0.8 0.8"))
linol is now pinned to version 0.8
2025-01-11 05:24.53 ---> saved as "f38f4954a4bc5370d46c926c9208a1e85b166401e47bfcd2e6aa1a88e951412f"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall linol.0.8;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'linol.0.8' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
linol.0.8 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install seq base [required by yojson]
- install atomic base [required by linol]
- install ocamlbuild 0.15.0 [required by logs]
- install dune 3.17.1 [required by linol]
- install ocamlfind 1.9.6 [required by logs]
- install yojson 2.2.2 [required by linol]
- install trace 0.8 [required by linol]
- install jsonrpc 1.20.1 [required by linol]
- install topkg 1.0.7 [required by logs]
- install ppx_yojson_conv_lib v0.17.0 [required by lsp]
- install uutf 1.0.3 [required by lsp]
- install logs 0.7.0 [required by linol]
- install lsp 1.20.1 [required by linol]
- install linol 0.8*
===== 14 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved atomic.base (cached)
-> installed atomic.base
-> retrieved dune.3.17.1 (cached)
-> retrieved jsonrpc.1.20.1 (cached)
-> retrieved linol.0.8 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lsp.1.20.1 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ppx_yojson_conv_lib.v0.17.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved topkg.1.0.7 (cached)
-> retrieved trace.0.8 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed logs.0.7.0
-> installed dune.3.17.1
-> installed jsonrpc.1.20.1
-> installed trace.0.8
-> installed yojson.2.2.2
-> installed ppx_yojson_conv_lib.v0.17.0
-> installed lsp.1.20.1
-> installed linol.0.8
Done.
# Run eval $(opam env) to update the current shell environment
2025-01-11 05:25.39 ---> saved as "e15370d3445b11f7896c3c4e57b4e3fcbccc50c6284037b8d3ad61ae82292836"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test linol.0.8) || true"))
The following actions will be performed:
- recompile linol 0.8*
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed linol.0.8
-> installed linol.0.8
Done.
# Run eval $(opam env) to update the current shell environment
2025-01-11 05:25.55 ---> saved as "901a0efeb969c7222007594608daf9e10b2d17badf63df345e2af5fb91971505"
/home/opam: (run (shell "opam reinstall --with-test --verbose linol.0.8;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'linol.0.8' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
- recompile linol 0.8*
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [linol: dune subst]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "subst" (CWD=/home/opam/.opam/5.3/.opam-switch/build/linol.0.8)
Processing 2/4: [linol: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "linol" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/linol.0.8)
-> compiled linol.0.8
-> removed linol.0.8
-> installed linol.0.8
Done.
# Run eval $(opam env) to update the current shell environment
2025-01-11 05:26.10 ---> saved as "2d40e6481af4413ada316060dad2116a29dfbf0cf78f7389f51e3f087fa64367"
Job succeeded
2025-01-11 05:26.20: Job succeeded