- github
- ocaml
- opam-repository
- e2e946
- compilers,4.14,dune.3.20.0~alpha4,revdeps,bencode.2.0
(not at the head of any monitored branch or PR)
2025-08-12 13:25.08: New job: test bencode.2.0 with dune.3.20.0~alpha4, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28333/head (e2e946ed909ce4d2c3e1e35bbaff78b566760128)
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/28333/head" && git reset --hard e2e946ed
git fetch origin master
git merge --no-edit 5b99878077ddf3134c09e188d937954bd33cfa58
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 dune.3.20.0~alpha4 3.20.0~alpha4
RUN opam reinstall dune.3.20.0~alpha4; \
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" != 'dune.3.20.0~alpha4' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall bencode.2.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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'bencode.2.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 bencode.2.0) || true
RUN opam reinstall --with-test --verbose bencode.2.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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'bencode.2.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-08-12 13:25.08: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63-dune.3.20.0~alpha4-bencode.2.0-e2e946ed909ce4d2c3e1e35bbaff78b566760128"
2025-08-12 13:25.08: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 dune.3.20.0~alpha4 3.20.0~alpha4"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.20.0~alpha4;\
\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\" != 'dune.3.20.0~alpha4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall bencode.2.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-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\" != 'bencode.2.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 bencode.2.0) || true"))
(run (shell "opam reinstall --with-test --verbose bencode.2.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-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\" != 'bencode.2.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-08-12 13:25.08: Waiting for resource in pool OCluster
2025-08-12 22:58.10: Waiting for worker…
2025-08-12 23:00.26: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 5b99878077 Merge pull request #28318 from ocamllibs/metaquot-0.6.0
Updating 5b99878077..e2e946ed90
Fast-forward
.../chrome-trace/chrome-trace.3.20.0~alpha4/opam | 41 ++++++++++++
.../dune-action-plugin.3.20.0~alpha4/opam | 54 ++++++++++++++++
.../dune-build-info.3.20.0~alpha4/opam | 47 ++++++++++++++
.../dune-configurator.3.20.0~alpha4/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.20.0~alpha4/opam | 44 +++++++++++++
.../dune-private-libs.3.20.0~alpha4/opam | 52 +++++++++++++++
.../dune-rpc-lwt/dune-rpc-lwt.3.20.0~alpha4/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.20.0~alpha4/opam | 46 ++++++++++++++
packages/dune-site/dune-site.3.20.0~alpha4/opam | 39 ++++++++++++
packages/dune/dune.3.20.0~alpha4/opam | 74 ++++++++++++++++++++++
packages/dyn/dyn.3.20.0~alpha4/opam | 42 ++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.20.0~alpha4/opam | 45 +++++++++++++
packages/ordering/ordering.3.20.0~alpha4/opam | 40 ++++++++++++
packages/stdune/stdune.3.20.0~alpha4/opam | 46 ++++++++++++++
packages/xdg/xdg.3.20.0~alpha4/opam | 41 ++++++++++++
15 files changed, 705 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.20.0~alpha4/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.20.0~alpha4/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.20.0~alpha4/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.20.0~alpha4/opam
create mode 100644 packages/dune-glob/dune-glob.3.20.0~alpha4/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.20.0~alpha4/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.20.0~alpha4/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.20.0~alpha4/opam
create mode 100644 packages/dune-site/dune-site.3.20.0~alpha4/opam
create mode 100644 packages/dune/dune.3.20.0~alpha4/opam
create mode 100644 packages/dyn/dyn.3.20.0~alpha4/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.20.0~alpha4/opam
create mode 100644 packages/ordering/ordering.3.20.0~alpha4/opam
create mode 100644 packages/stdune/stdune.3.20.0~alpha4/opam
create mode 100644 packages/xdg/xdg.3.20.0~alpha4/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63)
2025-08-12 23:00.40 ---> using "7f53aba96fd697ea92c7c7d3f6be48133fa7f3f6538a693606c4cbcecd7917b8" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-12 23:00.40 ---> using "e4ec4ab2139d3c4a94c2b5470fe84288e4986c518ff4f4ae2d7c7e30aeac0731" 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 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-12 23:00.40 ---> using "707659fd6393183061072104f3ce800d69d94ba93e0f39ab380130268d0ee81e" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# 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-08-12 23:00.40 ---> using "3ec3067d40f73cc0ec4554b242939c55b0261973e091b54a647662451dc49933" 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-08-12 23:00.40 ---> using "376e3b49c8c08cb1ff0d45feb403c06e037d8df5800c560fdd8dd472f1e36b9a" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-12 23:00.41 ---> using "e17457918b8520f1cc4845647d0b13a39117eff71b59a3c5352a8dccd3e736a1" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-12 23:00.41 ---> using "a9c87a01beb7b470788e26aa155c7a9aa4fe1265c42bbb2e46588f264ba6e313" 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 bookworm InRelease [151 kB]
- 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 [21.8 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Fetched 555 kB in 0s (1863 kB/s)
- Reading package lists...
2025-08-12 23:00.41 ---> using "4f267453f72fd37713de377ca2564e961df391a8a15b228dc4ea0efbc9db6963" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune.3.20.0~alpha4 3.20.0~alpha4"))
dune is now pinned to version 3.20.0~alpha4
2025-08-12 23:00.41 ---> using "d0d559b8464c3a1e20f8b5572aaf9064ec29fd9ff7cf39aecd1c3a72009a2248" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.20.0~alpha4;\
\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\" != 'dune.3.20.0~alpha4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dune.3.20.0~alpha4 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
- install dune 3.20.0~alpha4 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.0~alpha4 (cached)
-> installed dune.3.20.0~alpha4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-12 23:00.41 ---> using "931361170f901e9fbbbdcd0df6be77ceb7cde9d0ee367b0395427635cd735e4a" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall bencode.2.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-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\" != 'bencode.2.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
bencode.2.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
- install bencode 2.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bencode.2.0 (cached)
-> installed bencode.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-12 23:00.45 ---> saved as "b0c6252ca75d451f2fadef1c9acf67d7be10f8362e5fad916c026ee8cba3ab9c"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test bencode.2.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile bencode 2.0
=== install 8 packages
- install ocamlfind 1.9.8 [required by ounit]
- install ounit 2.2.7 [required by bencode]
- install ounit2 2.2.7 [required by ounit]
- install qcheck 0.26 [required by bencode]
- install qcheck-core 0.26 [required by qcheck]
- install qcheck-ounit 0.26 [required by qcheck]
- install seq base [required by ounit2]
- install stdlib-shims 0.3.0 [required by ounit2]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bencode.2.0 (https://opam.ocaml.org/cache)
-> retrieved ocamlfind.1.9.8 (https://opam.ocaml.org/cache)
-> retrieved ounit.2.2.7, ounit2.2.2.7 (https://opam.ocaml.org/cache)
-> retrieved qcheck.0.26, qcheck-core.0.26, qcheck-ounit.0.26 (https://opam.ocaml.org/cache)
-> retrieved seq.base (2 extra sources)
-> retrieved seq.base (2 extra sources)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed qcheck-core.0.26
-> installed ounit2.2.2.7
-> installed qcheck-ounit.0.26
-> installed qcheck.0.26
-> removed bencode.2.0
-> installed ocamlfind.1.9.8
-> installed ounit.2.2.7
-> installed bencode.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-12 23:00.55 ---> saved as "fcd31607f8cb1ff17b797c9471de46f63e861494522a72fdb8a735dae46b586d"
/home/opam: (run (shell "opam reinstall --with-test --verbose bencode.2.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-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\" != 'bencode.2.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile bencode 2.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [bencode.2.0: extract]
-> retrieved bencode.2.0 (cached)
Processing 2/4: [bencode: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bencode" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/bencode.2.0)
Processing 2/4: [bencode: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "bencode" (CWD=/home/opam/.opam/4.14/.opam-switch/build/bencode.2.0)
- (cd _build/default/lib_test && ./test.exe)
- [
- ("announce", <string:39>);
- ("announce-list", [
- [
- <string:39>;
- ];
- [
- <string:44>;
- ];
- ]);
- ("comment", <string:29>);
- ("creation date", 1366878928);
- ("info", [
- ("length", 823132160);
- ("name", <string:30>);
- ("piece length", 524288);
- ("pieces", <string:31400>);
- ]);
- ]
- Encoded to: 31737 bytes
- Pass
- (cd _build/default/lib_test && ./test_ounit.exe)
- ....
- Ran: 4 tests in: 0.10 seconds.
- OK
- (cd _build/default/lib_test && ./test_qcheck.exe)
-
random seed: 30610867
- ================================================================================
- success (ran 3 tests)
-> compiled bencode.2.0
-> removed bencode.2.0
-> installed bencode.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-12 23:01.01 ---> saved as "2ec985b3f07066911c8470b0e5886b7c55e523a4ba48bd06c31ceed7c2ccf271"
Job succeeded
2025-08-12 23:01.11: Job succeeded