- github
- ocaml
- opam-repository
- 20766a
- extras,opam-2.0-ocaml-5.3,spices.0.0.3,tests
(not at the head of any monitored branch or PR)
2025-02-10 15:09.12: New job: test spices.0.0.3, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/25273/head (20766ae4a537a13e1ac026d21b630f786edfe10d)
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/25273/head" && git reset --hard 20766ae4
git fetch origin master
git merge --no-edit 36f4d2d5ceb882a79fd7d7f956b490201da67226
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683
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 spices.0.0.3 0.0.3
RUN opam depext spices.0.0.3 && opam reinstall spices.0.0.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" != 'spices.0.0.3' && 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 spices.0.0.3 && opam reinstall --with-test spices.0.0.3) || true
RUN opam depext --with-test spices.0.0.3 && opam reinstall --with-test --verbose spices.0.0.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" != 'spices.0.0.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 .
2025-02-10 15:09.12: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683-spices.0.0.3-20766ae4a537a13e1ac026d21b630f786edfe10d"
2025-02-10 15:09.12: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683)
(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 spices.0.0.3 0.0.3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext spices.0.0.3 && opam reinstall spices.0.0.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\" != 'spices.0.0.3' && 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 spices.0.0.3 && opam reinstall --with-test spices.0.0.3) || true"))
(run (shell "opam depext --with-test spices.0.0.3 && opam reinstall --with-test --verbose spices.0.0.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\" != 'spices.0.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-02-10 15:09.12: Waiting for resource in pool OCluster
2025-02-10 17:59.46: Waiting for worker…
2025-02-10 18:02.20: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files: 85% (19981/23306)
Updating files: 86% (20044/23306)
Updating files: 87% (20277/23306)
Updating files: 88% (20510/23306)
Updating files: 89% (20743/23306)
Updating files: 90% (20976/23306)
Updating files: 91% (21209/23306)
Updating files: 92% (21442/23306)
Updating files: 93% (21675/23306)
Updating files: 94% (21908/23306)
Updating files: 95% (22141/23306)
Updating files: 96% (22374/23306)
Updating files: 97% (22607/23306)
Updating files: 98% (22840/23306)
Updating files: 99% (23073/23306)
Updating files: 100% (23306/23306)
Updating files: 100% (23306/23306), done.
HEAD is now at 36f4d2d5ce Merge pull request #27169 from Frigory33/release-allegro5-0.1
Merge made by the 'ort' strategy.
packages/leaves/leaves.0.0.3/opam | 42 ++++++++++++++++++++++++++++++++++
packages/minttea/minttea.0.0.3/opam | 43 +++++++++++++++++++++++++++++++++++
packages/spices/spices.0.0.3/opam | 45 +++++++++++++++++++++++++++++++++++++
3 files changed, 130 insertions(+)
create mode 100644 packages/leaves/leaves.0.0.3/opam
create mode 100644 packages/minttea/minttea.0.0.3/opam
create mode 100644 packages/spices/spices.0.0.3/opam
(from ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683' locally
docker.io/ocaml/opam@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683: Pulling from ocaml/opam
a7d4498d29fd: Pulling fs layer
a7d4498d29fd: Verifying Checksum
a7d4498d29fd: Download complete
a7d4498d29fd: Pull complete
Digest: sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683
Status: Downloaded newer image for ocaml/opam@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683
2025-02-10 18:02.36 ---> using "2eea5bde28725c99a87e1f2a5b147a024a046c2a06cd3ab003a93e0be5a0f139" 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-02-10 18:02.36 ---> using "ff42299dd71c9cb3087a78856bcde3cbc85514135e98a5b28240833452a96df5" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[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-02-10 18:02.36 ---> using "5b204f302084be9fdd8f76970b288c8d2f79f2a0966ec9d7f4eff4ecce1ef288" 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), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
2025-02-10 18:02.37 ---> using "a54d9253c3b2cf608ddec9717d4c59f92788ac6bc062ecd45079328791ec37e7" 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-02-10 18:02.37 ---> using "4c42197ed3b6f60bb20d42621e691016114bb03cecdcc199f22a577d7ab7b660" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-10 18:02.47 ---> saved as "ccd13e0277acae047de68b919b41c6df75da561add7b9b8b3cf80a740a8f50d0"
/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-02-10 18:03.14 ---> saved as "1b1d7715ae3e91f9e7ba1cb08f1ef7af38d9f35663297b0774e5e59056f2140a"
/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 [244 kB]
Fetched 348 kB in 0s (925 kB/s)
Reading package lists...
# OS package update successful
2025-02-10 18:03.16 ---> saved as "9e69c22d9703dbf587deeaa782f75143e6c6c696547f2e17532dea007816236d"
/home/opam: (run (shell "opam pin add -k version -yn spices.0.0.3 0.0.3"))
spices is now pinned to version 0.0.3
2025-02-10 18:03.17 ---> saved as "f2a05751effb9ffe13e79ad1de4559b7b78aaabf117312f6f2aa7d93ed54f3f1"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext spices.0.0.3 && opam reinstall spices.0.0.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\" != 'spices.0.0.3' && 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.
spices.0.0.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install ocamlfind 1.9.8 [required by uutf]
- install ocamlbuild 0.15.0 [required by uutf]
- install dune 3.17.2 [required by spices]
- install topkg 1.0.7 [required by uutf]
- install colors 0.0.1 [required by spices]
- install uutf 1.0.3 [required by tty]
- install tty 0.0.2 [required by spices]
- install spices 0.0.3*
===== 8 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[colors.0.0.1] found in cache
[dune.3.17.2] found in cache
[ocamlbuild.0.15.0] found in cache
[ocamlfind.1.9.8] found in cache
[spices.0.0.3] found in cache
[topkg.1.0.7] found in cache
[tty.0.0.2] found in cache
[uutf.1.0.3] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed dune.3.17.2
-> installed colors.0.0.1
-> installed tty.0.0.2
-> installed spices.0.0.3
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-10 18:03.53 ---> saved as "1fc7925400a5b651a96f234d6c9f3719c11470e3fc7816cc7f07eaaa5bcd3e91"
/home/opam: (run (network host)
(shell "(opam depext --with-test spices.0.0.3 && opam reinstall --with-test spices.0.0.3) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
[ERROR] No solution for spices.0.0.3: The following dependencies couldn't be met:
- spices -> minttea >= 0.0.3 -> riot = 0.0.8 -> ocaml < 5.3
base of this switch (use `--unlock-base' to force)
Command failed: opam list --readonly --with-test --external '--resolve=spices.0.0.3' --color=never returned 20
2025-02-10 18:04.02 ---> saved as "47a2db7b8ef8f4445fcd96ec86deb8704dfc3c4e5f6e38d522bdcbbaca3daedf"
/home/opam: (run (shell "opam depext --with-test spices.0.0.3 && opam reinstall --with-test --verbose spices.0.0.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\" != 'spices.0.0.3' && 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
[ERROR] No solution for spices.0.0.3: The following dependencies couldn't be met:
- spices -> minttea >= 0.0.3 -> riot = 0.0.8 -> ocaml < 5.3
base of this switch (use `--unlock-base' to force)
Command failed: opam list --readonly --with-test --external '--resolve=spices.0.0.3' --color=never returned 20
"/usr/bin/env" "bash" "-c" "opam depext --with-test spices.0.0.3 && opam reinstall --with-test --verbose spices.0.0.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" != 'spices.0.0.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
2025-02-10 18:04.24: Job failed: Failed: Build failed
2025-02-10 18:04.24: Log analysis:
2025-02-10 18:04.24: >>>
[ERROR] No solution for spices.0.0.3: The following dependencies couldn't be met:
(score = 100)
2025-02-10 18:04.24: >>>
[ERROR] No solution for spices.0.0.3: The following dependencies couldn't be met:
(score = 100)
2025-02-10 18:04.24: [SKIP] Package not available