2025-01-11 05:17.30: New job: test linol.0.8, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/27246/head (a9279ecc3d9507e2ac76b01c358ecdea7b0c393a)
on debian-12-ocaml-4.14/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-4.14@sha256:a65a93c4a095cc9775d83ee598601a4331c579cbba932195941a78b08101e42c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn linol.0.8 0.8
RUN opam depext linol.0.8 && 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 depext --with-test linol.0.8 && opam reinstall --with-test linol.0.8) || true
RUN opam depext --with-test linol.0.8 && 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-4.14@sha256:a65a93c4a095cc9775d83ee598601a4331c579cbba932195941a78b08101e42c-linol.0.8-a9279ecc3d9507e2ac76b01c358ecdea7b0c393a"
2025-01-11 05:17.30: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:a65a93c4a095cc9775d83ee598601a4331c579cbba932195941a78b08101e42c)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || 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 depext linol.0.8 && 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 depext --with-test linol.0.8 && opam reinstall --with-test linol.0.8) || true"))
(run (shell "opam depext --with-test linol.0.8 && 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:21.46: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
Updating files: 71% (20591/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-4.14@sha256:a65a93c4a095cc9775d83ee598601a4331c579cbba932195941a78b08101e42c)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:a65a93c4a095cc9775d83ee598601a4331c579cbba932195941a78b08101e42c' locally
docker.io/ocaml/opam@sha256:a65a93c4a095cc9775d83ee598601a4331c579cbba932195941a78b08101e42c: Pulling from ocaml/opam
23e19378e136: Pulling fs layer
23e19378e136: Verifying Checksum
23e19378e136: Download complete
23e19378e136: Pull complete
Digest: sha256:a65a93c4a095cc9775d83ee598601a4331c579cbba932195941a78b08101e42c
Status: Downloaded newer image for ocaml/opam@sha256:a65a93c4a095cc9775d83ee598601a4331c579cbba932195941a78b08101e42c
2025-01-11 05:22.03 ---> using "a792e5946b4d48afdcbf520f697909e337e010de14707452e737dfc14fd373cf" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-01-11 05:22.03 ---> using "746567f3e43cbfb2b867b01b698b88e96da5ba3379003d8bb545505d45d67dee" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-01-11 05:22.03 ---> using "b4a6510172a99b9d2c2fb2a83825a51957851b6138eb38b9da12eb0ded5351cb" from cache
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 39
# repositories 1 (local)
# pinned 1 (version)
# current-switch 4.14
2025-01-11 05:22.03 ---> using "582c54b72d0b70885e3b9b401c79c3d4a900746defd07ee7191668063a345240" from cache
/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:22.03 ---> using "11a7f4896589f047e460c7dc9df7894e463ca1d104d6c1a98166bc384c962d38" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-01-11 05:22.09 ---> saved as "438afba810d0967dcdc469a3ff5cb53e460ee24f03accd8cc47ea63d657a0089"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-01-11 05:22.32 ---> saved as "913a5ddb3f09c27c9f88894037f104a34fed053416fc3a50b28b3feb15fef572"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 (1311 kB/s)
Reading package lists...
# OS package update successful
2025-01-11 05:22.34 ---> saved as "8b4d290886d04fe2ade9f7d9899b7262cf60b0fa02d087fd98038389ea64261d"
/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:22.36 ---> saved as "65533e4bad8435f91035134410ae367d6dbbb6f61543cad9435823487cae8e7d"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext linol.0.8 && 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
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.16.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 =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.17.1] found in cache
[jsonrpc.1.20.1] found in cache
[linol.0.8] found in cache
[logs.0.7.0] found in cache
[lsp.1.20.1] found in cache
[ocamlbuild.0.15.0] found in cache
[ocamlfind.1.9.6] found in cache
[ppx_yojson_conv_lib.v0.16.0] found in cache
[topkg.1.0.7] found in cache
[trace.0.8] found in cache
[uutf.1.0.3] found in cache
[yojson.2.2.2] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed atomic.base
-> installed seq.base
-> 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.16.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:23.29 ---> saved as "b0d6958e449b218d6834fce3e2426b63fa9bd9b1be8567da712f3dfca1ebced6"
/home/opam: (run (network host)
(shell "(opam depext --with-test linol.0.8 && opam reinstall --with-test linol.0.8) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
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:23.47 ---> saved as "5d41e6b5182c853a9d7d430efece3599f4e7b58570f90c9d5e69a2f2a2b54f65"
/home/opam: (run (shell "opam depext --with-test linol.0.8 && 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following actions will be performed:
- recompile linol 0.8*
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3: [linol: dune subst]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "subst" (CWD=/home/opam/.opam/4.14/.opam-switch/build/linol.0.8)
Processing 1/3: [linol: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "linol" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.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:24.05 ---> saved as "91e3ebf6aa584e07a37ed183d8541d5521c3e3566b802471850d541fa5d247f1"
Job succeeded
2025-01-11 05:24.11: Job succeeded