- github
- ocaml
- opam-repository
- 91b883
- extras,opam-2.2-ocaml-5.2,kappa-agents.4.1.3
(not at the head of any monitored branch or PR)
2024-09-11 08:27.12: New job: build kappa-agents.4.1.3, using opam 2.2
from https://github.com/ocaml/opam-repository.git#refs/pull/26530/head (91b8837bd693ab7fb62215fa396e96923b98d443)
on debian-12-ocaml-5.2/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/26530/head" && git reset --hard 91b8837b
git fetch origin master
git merge --no-edit abac1deff0ec6249cf93f6b25ffdc49ae1caf04c
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:10d28f101238978ac9df34e56eee610baff363b9d7fe43fd2317d70dd6bfde0e
USER 1000:1000
WORKDIR /home/opam
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
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
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 kappa-agents.4.1.3 4.1.3
RUN opam reinstall kappa-agents.4.1.3; \
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" != 'kappa-agents.4.1.3' && 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 .
2024-09-11 08:27.12: Using cache hint "ocaml/opam:debian-12-ocaml-5.2@sha256:10d28f101238978ac9df34e56eee610baff363b9d7fe43fd2317d70dd6bfde0e-kappa-agents.4.1.3-91b8837bd693ab7fb62215fa396e96923b98d443"
2024-09-11 08:27.12: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:10d28f101238978ac9df34e56eee610baff363b9d7fe43fd2317d70dd6bfde0e)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMSOLVERTIMEOUT 500)
(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 kappa-agents.4.1.3 4.1.3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall kappa-agents.4.1.3;\
\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\" != 'kappa-agents.4.1.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-09-11 08:27.12: Waiting for resource in pool OCluster
2024-09-11 08:27.13: Waiting for worker…
2024-09-11 08:34.02: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
Updating files: 78% (25301/32181)
Updating files: 79% (25423/32181)
Updating files: 80% (25745/32181)
Updating files: 81% (26067/32181)
Updating files: 82% (26389/32181)
Updating files: 83% (26711/32181)
Updating files: 84% (27033/32181)
Updating files: 85% (27354/32181)
Updating files: 86% (27676/32181)
Updating files: 87% (27998/32181)
Updating files: 88% (28320/32181)
Updating files: 89% (28642/32181)
Updating files: 90% (28963/32181)
Updating files: 91% (29285/32181)
Updating files: 92% (29607/32181)
Updating files: 93% (29929/32181)
Updating files: 94% (30251/32181)
Updating files: 95% (30572/32181)
Updating files: 96% (30894/32181)
Updating files: 97% (31216/32181)
Updating files: 98% (31538/32181)
Updating files: 99% (31860/32181)
Updating files: 100% (32181/32181)
Updating files: 100% (32181/32181), done.
HEAD is now at abac1deff0 Merge pull request #26532 from copy/master
Updating abac1deff0..91b8837bd6
Fast-forward
packages/kappa-agents/kappa-agents.4.1.3/opam | 64 +++++++++++++++++++++++
packages/kappa-binaries/kappa-binaries.4.1.3/opam | 64 +++++++++++++++++++++++
packages/kappa-library/kappa-library.4.1.3/opam | 61 +++++++++++++++++++++
3 files changed, 189 insertions(+)
create mode 100644 packages/kappa-agents/kappa-agents.4.1.3/opam
create mode 100644 packages/kappa-binaries/kappa-binaries.4.1.3/opam
create mode 100644 packages/kappa-library/kappa-library.4.1.3/opam
(from ocaml/opam:debian-12-ocaml-5.2@sha256:10d28f101238978ac9df34e56eee610baff363b9d7fe43fd2317d70dd6bfde0e)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:10d28f101238978ac9df34e56eee610baff363b9d7fe43fd2317d70dd6bfde0e' locally
docker.io/ocaml/opam@sha256:10d28f101238978ac9df34e56eee610baff363b9d7fe43fd2317d70dd6bfde0e: Pulling from ocaml/opam
178c5626a6e3: Pulling fs layer
178c5626a6e3: Verifying Checksum
178c5626a6e3: Download complete
178c5626a6e3: Pull complete
Digest: sha256:10d28f101238978ac9df34e56eee610baff363b9d7fe43fd2317d70dd6bfde0e
Status: Downloaded newer image for ocaml/opam@sha256:10d28f101238978ac9df34e56eee610baff363b9d7fe43fd2317d70dd6bfde0e
2024-09-11 08:34.12 ---> using "b13271ec6119a967aa0de6251e0b0b64dbc963966fa4a2de466e9ae4e7cb7de3" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-11 08:34.12 ---> saved as "738903159219b728d53e157aa37e2e2261b90ba47ac138d5d3870923fcbf3d7d"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-11 08:35.35 ---> saved as "8a0db5100f3347a917a56e37f96da48f67f5691b04ee4a30d389059fcf1a7999"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-09-11 08:35.35 ---> saved as "f5f1c095f7fe4df71674431e6975dbf5c20f3750c4373055adadc0ca4b0cf066"
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMSOLVERTIMEOUT 500)
/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/"))
2024-09-11 08:35.41 ---> saved as "66af7c461c2e6eaf116a262f3968f15ef26f1ff39063dcdcaeb3d73d06517502"
/home/opam: (copy (src .) (dst opam-repository/))
2024-09-11 08:35.53 ---> saved as "f6116c432c7a1f88ad0d8200b46317030956974c28ee5685018f1ae5ec241ffa"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-09-11 08:36.40 ---> saved as "7f5afa2cf36f13d38e81389a6469be33ae78c034bfdabcdca011de6d56e42828"
/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 bookworm-updates/main amd64 Packages.diff/Index [11.7 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Fetched 116 kB in 0s (517 kB/s)
- Reading package lists...
2024-09-11 08:36.41 ---> saved as "034e73533a5e593b042054484ff80edc934e0d8d5b822a771baceac334d4f1c2"
/home/opam: (run (shell "opam pin add -k version -yn kappa-agents.4.1.3 4.1.3"))
kappa-agents is now pinned to version 4.1.3
2024-09-11 08:36.43 ---> saved as "99a82a46b19beb4b00f8c463074d9a4ea9d3d973292669ca05875a3e2886a318"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall kappa-agents.4.1.3;\
\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\" != 'kappa-agents.4.1.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
kappa-agents.4.1.3 is not installed. Install it? [y/n] y
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler >= 5.2.0 -> ocaml = 5.2.0
- kappa-agents >= 4.1.3 -> ocaml < 5.0.0
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.2.0
- kappa-agents >= 4.1.3 -> ocaml < 5.0.0 -> dkml-base-compiler
* Missing dependency:
- kappa-agents >= 4.1.3 -> ocaml < 5.0.0 -> ocaml-base-compiler < 3.07+1 | ocaml-system < 3.07+1 | ocaml-variants < 3.8~
not available because the package is pinned to version 5.2.0
unmet availability conditions: 'sys-ocaml-version = "3.07"'
no matching version
* Missing dependency:
- kappa-agents >= 4.1.3 -> ocaml < 5.0.0 -> ocaml-base-compiler = 3.07+1 | ocaml-system = 3.07+1 | ocaml-variants < 3.8~
not available because the package is pinned to version 5.2.0
unmet availability conditions: 'sys-ocaml-version = "3.07+1"'
no matching version
* Missing dependency:
- kappa-agents >= 4.1.3 -> ocaml < 5.0.0 -> ocaml-base-compiler = 3.07+2 | ocaml-system = 3.07+2 | ocaml-variants < 3.8~
not available because the package is pinned to version 5.2.0
unmet availability conditions: 'sys-ocaml-version = "3.07+2"'
no matching version
* Missing dependency:
- kappa-agents >= 4.1.3 -> ocaml < 5.0.0 -> ocaml-base-compiler = 3.08.0 | ocaml-system >= 3.08.0 | ocaml-variants < 3.08.1~
not available because the package is pinned to version 5.2.0
unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.0"'
no matching version
* Missing dependency:
- kappa-agents >= 4.1.3 -> ocaml < 5.0.0 -> ocaml-base-compiler = 3.08.1 | ocaml-system >= 3.08.1 | ocaml-variants < 3.08.2~
not available because the package is pinned to version 5.2.0
unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.1"'
no matching version
* Missing dependency:
- kappa-agents >= 4.1.3 -> ocaml < 5.0.0 -> ocaml-base-compiler = 3.08.2 | ocaml-system >= 3.08.2 | ocaml-variants < 3.08.3~
not available because the package is pinned to version 5.2.0
unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.2"'
no matching version
* Missing dependency:
- kappa-agents >= 4.1.3 -> ocaml < 5.0.0 -> ocaml-base-compiler = 3.08.3 | ocaml-system >= 3.08.3 | ocaml-variants < 3.08.4~
not available because the package is pinned to version 5.2.0
unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.3"'
no matching version
* Missing dependency:
- kappa-agents >= 4.1.3 -> ocaml < 5.0.0 -> ocaml-base-compiler = 3.08.4 | ocaml-system >= 3.08.4 | ocaml-variants < 3.08.5~
not available because the package is pinned to version 5.2.0
unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.4"'
no matching version
* Missing dependency:
- kappa-agents >= 4.1.3 -> ocaml < 5.0.0 -> ocaml-base-compiler = 3.09.0 | ocaml-system >= 3.09.0 | ocaml-variants < 3.09.1~
not available because the package is pinned to version 5.2.0
unmet availability conditions, e.g. 'sys-ocaml-version = "3.09.0"'
no matching version
* Missing dependency:
- kappa-agents >= 4.1.3 -> ocaml < 5.0.0 -> ocaml-variants >= 4.05.1 -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- kappa-agents >= 4.1.3 -> ocaml < 5.0.0 -> ocaml-variants >= 4.05.1 -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall kappa-agents.4.1.3;
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" != 'kappa-agents.4.1.3' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 20
2024-09-11 08:37.22: Job failed: Failed: Build failed
2024-09-11 08:37.22: Log analysis:
2024-09-11 08:37.22: >>>
No solution found, exiting
(score = 100)
2024-09-11 08:37.22: [SKIP] Package not available