(for PR #28931)
2025-11-20 12:12.54: New job: test lmdb.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28931/head (42572bec27fac3424f6dd5330fa72d5c4d17b92d)
on debian-13-ocaml-4.08/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/28931/head" && git reset --hard 42572bec
git fetch origin master
git merge --no-edit 2a5ab3fbccdfdb06d413c48cfe1c129758b3a413
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:9982c3800a12eb968433911fb1c564ff499d3a40ba70611346130db2fdd77f8e
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 lmdb.1.0 1.0
RUN opam reinstall lmdb.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-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'lmdb.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 lmdb.1.0) || true
RUN opam reinstall --with-test --verbose lmdb.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-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'lmdb.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-11-20 12:12.54: Using cache hint "ocaml/opam:debian-13-ocaml-4.08@sha256:9982c3800a12eb968433911fb1c564ff499d3a40ba70611346130db2fdd77f8e-lmdb.1.0-42572bec27fac3424f6dd5330fa72d5c4d17b92d"
2025-11-20 12:12.54: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:9982c3800a12eb968433911fb1c564ff499d3a40ba70611346130db2fdd77f8e)
(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 lmdb.1.0 1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lmdb.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-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'lmdb.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 lmdb.1.0) || true"))
(run (shell "opam reinstall --with-test --verbose lmdb.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-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'lmdb.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-11-20 12:12.54: Waiting for resource in pool OCluster
2025-11-20 12:12.55: Waiting for worker…
2025-11-20 12:12.55: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 2a5ab3fbcc Merge pull request #28924 from hannesm/release-ca-certs-nss-v3.118
Merge made by the 'ort' strategy.
packages/lmdb/lmdb.1.0/opam | 2 ++
1 file changed, 2 insertions(+)
(from ocaml/opam:debian-13-ocaml-4.08@sha256:9982c3800a12eb968433911fb1c564ff499d3a40ba70611346130db2fdd77f8e)
2025-11-20 12:13.34 ---> saved as "1539c0fbe1186783e769fde5ed330c81a67bb3555b832f1b93518c3fe8f9445f"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-20 12:13.34 ---> saved as "50aa07a50ed7b23fc9714635a794f08f1101c115cd80d9fe7e3fa171a281a2e3"
/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
[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-11-20 12:13.54 ---> saved as "d1e22fd8b0c6c0fe69ba9b6fa95326f2f7c21e66242ef48f3fb2ba095d7eb0bd"
/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~beta1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# 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.08
# invariant ["ocaml-base-compiler" {= "4.08.1"}]
# compiler-packages ocaml-base-compiler.4.08.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.08/lib/ocaml/stublibs:/home/opam/.opam/4.08/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.08.1
2025-11-20 12:13.54 ---> saved as "71b741be32d191793f1de5e30aa86daae758546049ba736b1d38e5668b1ee592"
/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-11-20 12:14.04 ---> saved as "7d80bcc6aad1d6470e6e21402cbda0644ec703bb5636b998d5dd13c49724313e"
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-20 12:14.08 ---> saved as "6b5af74a461ffa9ada8d88e4643066af880e0a7cce5a1a15a70abbbc041395e1"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-20 12:14.25 ---> saved as "7042103b87406b6b0048986432336dd4542ee6ea90e6df71ba4a738b1221a3d8"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [71.8 kB]
- Fetched 9973 kB in 1s (6921 kB/s)
- Reading package lists...
2025-11-20 12:14.27 ---> saved as "3334a8b47b820493d78c9f64b4e2134927b0fee9f08a829c714a30e4a285009e"
/home/opam: (run (shell "opam pin add -k version -yn lmdb.1.0 1.0"))
lmdb is now pinned to version 1.0
2025-11-20 12:14.27 ---> saved as "3a4a92d444b60b5613549fd219c3157543dd888df89aeebc2eda7148ad18c050"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lmdb.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-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'lmdb.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"))
lmdb.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
- install bigstringaf 0.10.0 [required by lmdb]
- install conf-pkg-config 4 [required by lmdb]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.20.2 [required by lmdb]
- install dune-configurator 3.20.2 [required by lmdb]
- install lmdb 1.0 (pinned)
The following system packages will first need to be installed:
liblmdb-dev pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "liblmdb-dev" "pkg-config"
- Selecting previously unselected package liblmdb0:amd64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20622 files and directories currently installed.)
- Preparing to unpack .../0-liblmdb0_0.9.31-1+b2_amd64.deb ...
- Unpacking liblmdb0:amd64 (0.9.31-1+b2) ...
- Selecting previously unselected package liblmdb-dev:amd64.
- Preparing to unpack .../1-liblmdb-dev_0.9.31-1+b2_amd64.deb ...
- Unpacking liblmdb-dev:amd64 (0.9.31-1+b2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package lmdb-doc.
- Preparing to unpack .../3-lmdb-doc_0.9.31-1_all.deb ...
- Unpacking lmdb-doc (0.9.31-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up liblmdb0:amd64 (0.9.31-1+b2) ...
- Setting up lmdb-doc (0.9.31-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up liblmdb-dev:amd64 (0.9.31-1+b2) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved lmdb.1.0 (cached)
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.20.2
-> installed bigstringaf.0.10.0
-> installed lmdb.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-20 12:14.53 ---> saved as "b8850fdb878d1ddf519e26589586a68c63a8a3f61805daf6f7c0f962e6d9eb53"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test lmdb.1.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile lmdb 1.0 (pinned)
=== install 13 packages
- install alcotest 1.9.1 [required by lmdb]
- install astring 0.8.5 [required by alcotest]
- install benchmark 1.7 [required by lmdb]
- install cmdliner 2.0.0 [required by alcotest]
- install fmt 0.11.0 [required by alcotest]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install ocamlbuild 0.16.1 [required by fmt, astring, uutf]
- install ocamlfind 1.9.8 [required by fmt, astring, uutf]
- install re 1.11.0 [required by alcotest]
- install seq base [required by re]
- install stdlib-shims 0.3.0 [required by alcotest]
- install topkg 1.1.1 [required by fmt, astring, uutf]
- install uutf 1.0.4 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1 (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5 (https://opam.ocaml.org/cache)
-> retrieved benchmark.1.7 (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.0.0 (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0 (https://opam.ocaml.org/cache)
-> retrieved lmdb.1.0 (https://opam.ocaml.org/cache)
-> installed benchmark.1.7
-> retrieved ocaml-syntax-shims.1.0.0 (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.16.1 (https://opam.ocaml.org/cache)
-> retrieved ocamlfind.1.9.8 (https://opam.ocaml.org/cache)
-> retrieved re.1.11.0 (https://opam.ocaml.org/cache)
-> installed ocaml-syntax-shims.1.0.0
-> 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)
-> retrieved topkg.1.1.1 (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4 (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> installed cmdliner.2.0.0
-> installed ocamlfind.1.9.8
-> removed lmdb.1.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed alcotest.1.9.1
-> installed lmdb.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-20 12:15.08 ---> saved as "02f09b1c88c2681093894f48a9e0d9440715b706af7aff36c8f219f44f8646a2"
/home/opam: (run (shell "opam reinstall --with-test --verbose lmdb.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-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'lmdb.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"))
The following actions will be performed:
=== recompile 1 package
- recompile lmdb 1.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [lmdb.1.0: extract]
-> retrieved lmdb.1.0 (cached)
Processing 2/4: [lmdb: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "lmdb" "-j" "255" (CWD=/home/opam/.opam/4.08/.opam-switch/build/lmdb.1.0)
Processing 2/4: [lmdb: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "lmdb" "-j" "255" (CWD=/home/opam/.opam/4.08/.opam-switch/build/lmdb.1.0)
- (cd _build/default/tests && ./test.exe --color=always -q)
- Version: LMDB 0.9.31: (July 10, 2023)
- Or: (0,9,31)
- OCaml Version: 4.08.1
- Testing `Lmdb'.
- This run has ID `FDGPGIM2'.
-
- [OK] capabilities 0 capabilities.
- [OK] types 0 value restriction.
- [OK] types 1 can read from writable.
- [OK] types 2 ro txn on rw env.
- [OK] map 0 add uni.
- [OK] map 1 add dup.
- [OK] map 2 set uni.
- [OK] map 3 set dup.
- [OK] map 4 get uni.
- [OK] map 5 get dup.
- [OK] map 6 remove.
- [OK] cursor 0 fold_left uni.
- [OK] cursor 1 fold_right uni.
- [OK] cursor 2 iter uni.
- [OK] cursor 3 fold_left dup.
- [OK] cursor 4 fold_right dup.
- [OK] cursor 5 iter dup.
- [OK] cursor 6 fold_left_all.
- [OK] cursor 7 fold_right_all.
- [OK] cursor 8 iter_all.
- [OK] cursor 9 add uni.
- [OK] cursor 10 add dup.
- [OK] cursor 11 set uni.
- [OK] cursor 12 set dup.
- [OK] cursor 13 get uni.
- [OK] cursor 14 get dup.
- [OK] cursor 15 remove.
- [OK] cursor 16 walk uni.
- [OK] cursor 17 walk dup.
- [OK] cursor 18 first/last get first/last val...
- [OK] cursor 19 *_all.
- [OK] cursor 20 get_multiple.
- [OK] cursor 21 wrong map.
- [OK] Int 0 int32_be.
- [OK] Int 1 int32_le.
- [OK] Int 2 int64_be.
- [OK] Int 3 int64_le.
- [OK] regression tests 0 unnamed dbi.
- [OK] regression tests 1 dup unnamed dbi.
- [OK] transaction 0 abort.
- [OK] transaction 1 wrong envirronment.
- [OK] transaction 2 MAP_FULL triggered by txn_com...
- [OK] transaction 3 MAP_FULL triggered by Map.add.
- [OK] transaction 4 MAP_FULL not passed on to Txn...
- [OK] threaded GC stress 0 stress 1s.
- [SKIP] Problem reports 0 #15.
-
- Full test results in `~/.opam/4.08/.opam-switch/build/lmdb.1.0/_build/default/tests/_build/_tests/Lmdb'.
- Test Successful in 1.134s. 45 tests run.
-> compiled lmdb.1.0
-> removed lmdb.1.0
-> installed lmdb.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-20 12:15.13 ---> saved as "ba95b05a4aedd0aaf340905d84153a84ae2565dd5bbb3f4154ee8ec8288e3cec"
Job succeeded
2025-11-20 12:15.16: Job succeeded