- github
- ocaml
- opam-repository
- 210152
- distributions,debian-11-ocaml-5.3,logs.0.8.0
(not at the head of any monitored branch or PR)
2025-03-14 15:30.09: New job: build logs.0.8.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27602/head (210152793ff26bd9b73bc84120642700db3766bb)
on debian-11-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/27602/head" && git reset --hard 21015279
git fetch origin master
git merge --no-edit 580fdfb74226d1dc1fad223ca0d05ab70a42bca1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-5.3@sha256:5acb2e3b77d627e8807f7b401a2d2b670c61bd8d626f7c5a87cda15b053f4e8c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 logs.0.8.0 0.8.0
RUN opam reinstall logs.0.8.0; \
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-11\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'logs.0.8.0' && 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-03-14 15:30.09: Using cache hint "ocaml/opam:debian-11-ocaml-5.3@sha256:5acb2e3b77d627e8807f7b401a2d2b670c61bd8d626f7c5a87cda15b053f4e8c-logs.0.8.0-210152793ff26bd9b73bc84120642700db3766bb"
2025-03-14 15:30.09: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-5.3@sha256:5acb2e3b77d627e8807f7b401a2d2b670c61bd8d626f7c5a87cda15b053f4e8c)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /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 logs.0.8.0 0.8.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall logs.0.8.0;\
\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-11\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'logs.0.8.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-03-14 15:30.09: Waiting for resource in pool OCluster
2025-03-14 15:30.09: Waiting for worker…
2025-03-14 15:30.13: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
Updating files: 99% (22490/22648)
Updating files: 100% (22648/22648)
Updating files: 100% (22648/22648), done.
HEAD is now at 580fdfb742 Merge pull request #27620 from panglesd/release-slipshow-v0.1.1
Merge made by the 'ort' strategy.
packages/logs/logs.0.8.0/opam | 70 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+)
create mode 100644 packages/logs/logs.0.8.0/opam
(from ocaml/opam:debian-11-ocaml-5.3@sha256:5acb2e3b77d627e8807f7b401a2d2b670c61bd8d626f7c5a87cda15b053f4e8c)
Unable to find image 'ocaml/opam:debian-11-ocaml-5.3@sha256:5acb2e3b77d627e8807f7b401a2d2b670c61bd8d626f7c5a87cda15b053f4e8c' locally
docker.io/ocaml/opam@sha256:5acb2e3b77d627e8807f7b401a2d2b670c61bd8d626f7c5a87cda15b053f4e8c: Pulling from ocaml/opam
3e5cd631be42: Pulling fs layer
3e5cd631be42: Download complete
3e5cd631be42: Pull complete
Digest: sha256:5acb2e3b77d627e8807f7b401a2d2b670c61bd8d626f7c5a87cda15b053f4e8c
Status: Downloaded newer image for ocaml/opam@sha256:5acb2e3b77d627e8807f7b401a2d2b670c61bd8d626f7c5a87cda15b053f4e8c
2025-03-14 15:32.09 ---> saved as "b4f3e3a5063982bbc841035e188663009352cabdae6127a84a77b2b1e7746a9c"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-03-14 15:32.09 ---> saved as "2d95eafb2cd218a7d65adf7979a043f9ba85ceae1c5e23fc725e252cc522a638"
/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.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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-03-14 15:33.44 ---> saved as "d6cdbc773c508e14e40a7b9fdc735c89bda5b375cf4e3cba4f985d54ac4e1529"
/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.4.0~alpha1~dev (f1cf50f2711981a605f81a80c68b73774d5841ff)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=11
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 31
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# invariant ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# 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-03-14 15:33.46 ---> saved as "f3e4a00cd92686096a05c0ce3963f053eee8ed9b864a8f2da09216d50ed2d782"
/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-03-14 15:33.57 ---> saved as "e770bcacf63d6e142602682b43fdb8511a07831f4de0b1871c249c76d785273e"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-14 15:34.13 ---> saved as "78fc9cbd3eb388c371ccfba9c5611c25513a84e3ba49c096bf3928dae6eb8c94"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-14 15:35.18 ---> saved as "729120f7015c89b3339d0349a7f6268940a5bd41b1149d577058ffe3404e9876"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [350 kB]
- Fetched 422 kB in 1s (288 kB/s)
- Reading package lists...
-
2025-03-14 15:35.21 ---> saved as "f294b9134000f42298eed704c6911af50fb5cee3cc853d3853319619c298de88"
/home/opam: (run (shell "opam pin add -k version -yn logs.0.8.0 0.8.0"))
logs is now pinned to version 0.8.0
2025-03-14 15:35.23 ---> saved as "df2027851b510d62c451123f5c6db14e2828b6be9b34d8a4ac7af0d3eb92ea3d"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall logs.0.8.0;\
\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-11\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'logs.0.8.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
logs.0.8.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 4 packages
- install logs 0.8.0 (pinned)
- install ocamlbuild 0.16.1 [required by logs]
- install ocamlfind 1.9.8 [required by logs]
- install topkg 1.0.8 [required by logs]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved logs.0.8.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved topkg.1.0.8 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed logs.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-14 15:36.03 ---> saved as "f0dca2eefde85c65e5229f9dc142f75511128a90051012efc972b1f28dc3c814"
Job succeeded
2025-03-14 15:36.12: Job succeeded