Build:
- 0
2025-12-31 20:23.53: New job: test simple_httpd_caqti.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29154/head (8b93e61efd1dead1c10912f5e256af8cfe394e88)
on debian-unstable-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/29154/head" && git reset --hard 8b93e61e
git fetch origin master
git merge --no-edit 56368dd1acf4bf68f49ac2bdd09e360e687d4741
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-4.14@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235
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 simple_httpd_caqti.1.0 1.0
RUN opam reinstall simple_httpd_caqti.1.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-unstable\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'simple_httpd_caqti.1.0' && 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 simple_httpd_caqti.1.0) || true
RUN opam reinstall --with-test --verbose simple_httpd_caqti.1.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-unstable\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'simple_httpd_caqti.1.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-12-31 20:23.53: Using cache hint "ocaml/opam:debian-unstable-ocaml-4.14@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235-simple_httpd_caqti.1.0-8b93e61efd1dead1c10912f5e256af8cfe394e88"
2025-12-31 20:23.53: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235)
(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 simple_httpd_caqti.1.0 1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall simple_httpd_caqti.1.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-unstable\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'simple_httpd_caqti.1.0' && 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 simple_httpd_caqti.1.0) || true"))
(run (shell "opam reinstall --with-test --verbose simple_httpd_caqti.1.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-unstable\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'simple_httpd_caqti.1.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-12-31 20:23.53: Waiting for resource in pool OCluster
2025-12-31 20:23.54: Waiting for worker…
2025-12-31 20:24.00: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 56368dd1ac Merge pull request #29151 from dalps/opam-publish-menhir-lsp.0.1.2
Merge made by the 'ort' strategy.
packages/simple_httpd/simple_httpd.1.0/opam | 52 ++++++++++++++++++++++
.../simple_httpd_caqti/simple_httpd_caqti.1.0/opam | 41 +++++++++++++++++
2 files changed, 93 insertions(+)
create mode 100644 packages/simple_httpd/simple_httpd.1.0/opam
create mode 100644 packages/simple_httpd_caqti/simple_httpd_caqti.1.0/opam
(from ocaml/opam:debian-unstable-ocaml-4.14@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-4.14@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235' locally
docker.io/ocaml/opam@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235: Pulling from ocaml/opam
8d9b0d1957d2: Already exists
77bd5ce6de14: Already exists
59ace7bbb792: Already exists
b44820cf8c7c: Already exists
01779645db39: Already exists
2eff1215ea11: Already exists
cd204a506c17: Already exists
fdbe9d71b607: Already exists
1d1ef689aa4e: Already exists
21d29e096296: Already exists
f3c0f441dc5a: Already exists
24e024f45d9d: Already exists
70f2fc20df5f: Already exists
dc1d3669f80d: Already exists
d1960fd642f1: Already exists
5a522f53743b: Already exists
69c97573612d: Already exists
69c97573612d: Already exists
e309391d441d: Already exists
db1ca6399fa8: Already exists
14889b83b326: Already exists
44e6acdbb29a: Already exists
4f4fb700ef54: Already exists
1976d6d05edb: Already exists
847e4a574c7f: Already exists
6b92941a3055: Already exists
37281440a7ab: Already exists
b771055b6fbe: Already exists
8f4ee55b4bf4: Already exists
d31d3386bb00: Already exists
aa71471fafa8: Already exists
cab8c018bf1d: Already exists
efe6eb884787: Already exists
22ff1b490950: Already exists
08392e8ad44d: Already exists
06179f88ab5e: Already exists
d150b9aac864: Already exists
4b7a641c6ed8: Already exists
853fd7bbd04f: Already exists
2f5aec184633: Already exists
2b5266412aec: Already exists
a6ec80760222: Pulling fs layer
c9f257c7c758: Pulling fs layer
e8bb2587d8c6: Pulling fs layer
da75a76ef850: Pulling fs layer
a6ec80760222: Waiting
da75a76ef850: Waiting
c9f257c7c758: Waiting
e8bb2587d8c6: Waiting
c9f257c7c758: Verifying Checksum
c9f257c7c758: Download complete
e8bb2587d8c6: Download complete
da75a76ef850: Download complete
a6ec80760222: Verifying Checksum
a6ec80760222: Download complete
a6ec80760222: Pull complete
c9f257c7c758: Pull complete
e8bb2587d8c6: Pull complete
da75a76ef850: Pull complete
Digest: sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235
Status: Downloaded newer image for ocaml/opam@sha256:aca2ecb686c5c06a34ddacec15301a77cdd899803914bdfbdb76b12b117eb235
2025-12-31 20:31.41 ---> using "6f2d32328f9adbf8435f91c41c1addc0929ca398366e6aa52c28175e1333d2c2" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-31 20:31.41 ---> using "e5a817b8e6a8e2676a3e2efc5ccdb9ed63c30f0eb91bf29aa3b060aa088a56e9" 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 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] Initialised
2025-12-31 20:31.41 ---> using "5822ad48ba479743eba027d0d846106c71d101fdeae65664513ae77d7f44412f" from cache
/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.5.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=unknown
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-12-31 20:31.41 ---> using "88a4b9c6870dc859e2a140f2d0cb4342c4b2ce805b59aa603e272bb256f85474" 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-12-31 20:31.41 ---> using "d836336173d1712f91b0a47a985dfb0cccc9707f853ddd473cf459b91bf60f65" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-31 20:31.42 ---> using "abfd041e6f3177438c883726029af7c3404f1fca21314bdb857fb6cfacc26de3" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-31 20:31.42 ---> using "87c167cd2b7c16391fc337d6ebdd5bbbebf1af98f31f51cb655faba0ffa44794" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [187 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Err:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
- Couldn't find the start of the patch series
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [10.2 MB]
- Fetched 10.5 MB in 1s (10.5 MB/s)
- Reading package lists...
2025-12-31 20:31.43 ---> saved as "f990e714fd52701933eec51c21675d5afd0f58a145d5730aa2066e4531fe1f93"
/home/opam: (run (shell "opam pin add -k version -yn simple_httpd_caqti.1.0 1.0"))
simple_httpd_caqti is now pinned to version 1.0
2025-12-31 20:31.44 ---> saved as "12a170ca6bbca814e1ed123bd2680a2654b062dd44117d3098b2b888553bd9f3"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall simple_httpd_caqti.1.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-unstable\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'simple_httpd_caqti.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
simple_httpd_caqti.1.0 is not installed. Install it? [Y/n] y
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2
- simple_httpd_caqti -> ocaml >= 5.3.0
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.14.2
- simple_httpd_caqti -> ocaml >= 5.3.0 -> ocaml-variants >= 5.3.0~
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall simple_httpd_caqti.1.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-unstable\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'simple_httpd_caqti.1.0' && 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-12-31 20:31.57: Job failed: Failed: Build failed
2025-12-31 20:31.57: Log analysis:
2025-12-31 20:31.57: >>>
No solution found, exiting
(score = 100)
2025-12-31 20:31.57: [SKIP] Package not available