Build:
- 0
2026-02-21 07:45.53: New job: test mem_usage.0.1.3, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29445/head (4f05e0cb7163577e5527f169da827e38d1a1dd7e)
on debian-13-ocaml-5.4/i386
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29445/head" && git reset --hard 4f05e0cb
git fetch origin master
git merge --no-edit b820e8c25e0dea7a5ce86f961c182a44938fa39a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:b42c1d415159aeb0804919e73ee28dd4d0ad1fbcf3f870a1c4b8dc6f1fc5db0e
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 mem_usage.0.1.3 0.1.3
RUN opam reinstall mem_usage.0.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-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mem_usage.0.1.3' && 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 mem_usage.0.1.3) || true
RUN opam reinstall --with-test --verbose mem_usage.0.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-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mem_usage.0.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 .
2026-02-21 07:45.53: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:b42c1d415159aeb0804919e73ee28dd4d0ad1fbcf3f870a1c4b8dc6f1fc5db0e-mem_usage.0.1.3-4f05e0cb7163577e5527f169da827e38d1a1dd7e"
2026-02-21 07:45.53: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:b42c1d415159aeb0804919e73ee28dd4d0ad1fbcf3f870a1c4b8dc6f1fc5db0e)
(shell /usr/bin/linux32 /bin/sh -c)
(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 mem_usage.0.1.3 0.1.3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mem_usage.0.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-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\" != 'mem_usage.0.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"))
(run (network host)
(shell "(opam reinstall --with-test mem_usage.0.1.3) || true"))
(run (shell "opam reinstall --with-test --verbose mem_usage.0.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-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\" != 'mem_usage.0.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"))
)
2026-02-21 07:45.53: Waiting for resource in pool OCluster
2026-02-21 07:45.53: Waiting for worker…
2026-02-21 07:45.55: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at b820e8c25e Merge pull request #29435 from dx3mod/opam-publish-serialport.0.3
Updating b820e8c25e..4f05e0cb71
Fast-forward
packages/mem_usage/mem_usage.0.1.3/opam | 37 +++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 packages/mem_usage/mem_usage.0.1.3/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:b42c1d415159aeb0804919e73ee28dd4d0ad1fbcf3f870a1c4b8dc6f1fc5db0e)
2026-02-21 07:46.49 ---> using "b43c5bd5df55bb59e33984ce21c0929f569d40c264688b0ca0b4d2f840fcee64" from cache
/: (shell /usr/bin/linux32 /bin/sh -c)
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-21 07:46.49 ---> using "a892eaee17c06df0cf26314fec4681775669d36fd1bd5aa9b7b13189f3e20934" 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
2026-02-21 07:46.49 ---> using "ad3159727dbb48507b5adee66093c604796f2fe94682a7f21adc453fa86ded97" 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_32 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 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native false
# ocaml:native-tools false
# ocaml:native-dynlink false
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0+bytecode-only
2026-02-21 07:46.49 ---> using "392127cad27a830e76f4989678c7986867aa4500d325307290f318c4f1c10a07" 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/"))
2026-02-21 07:46.49 ---> using "797f1dbe2f969cb8e273766cb1e91f9ce345acfb49cf28b3b28d0fd2717b2a3a" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-21 07:46.55 ---> saved as "d43b6e0afe6ff57ebca47fa854b1d374e01a3556a7a7e0326a924ef8f27464b5"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-21 07:47.29 ---> saved as "a871d803a1acaf7841c331b80c94e64f278adab96521b918b32fbe45161a7861"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main i386 Packages [103 kB]
- Fetched 193 kB in 0s (1335 kB/s)
- Reading package lists...
-
2026-02-21 07:47.30 ---> saved as "248b9468336bd9e29400dc6da94a0a85bea7c47da9ed4acf7c89811e0197e358"
/home/opam: (run (shell "opam pin add -k version -yn mem_usage.0.1.3 0.1.3"))
mem_usage is now pinned to version 0.1.3
2026-02-21 07:47.31 ---> saved as "f52b517ca8955ca388843b81a3b73b050909f1eaec802154460cabdedec99263"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mem_usage.0.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-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\" != 'mem_usage.0.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"))
mem_usage.0.1.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.21.1 [required by mem_usage]
- install mem_usage 0.1.3 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.1 (cached)
-> retrieved mem_usage.0.1.3 (cached)
-> installed dune.3.21.1
-> installed mem_usage.0.1.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-21 07:48.37 ---> saved as "20b5c05f7a554b58bf785d85b94284f564ab394373369bf2317a969e7fe3382d"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test mem_usage.0.1.3) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile mem_usage 0.1.3 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed mem_usage.0.1.3
-> installed mem_usage.0.1.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-21 07:48.42 ---> saved as "fa0d63b44bccc40244d066aac229f7fb3c85c61c7e4eba23986ecb124e8cc87d"
/home/opam: (run (shell "opam reinstall --with-test --verbose mem_usage.0.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-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\" != 'mem_usage.0.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"))
The following actions will be performed:
=== recompile 1 package
- recompile mem_usage 0.1.3 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [mem_usage: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mem_usage" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/mem_usage.0.1.3)
- (cd _build/default/test && ./test.exe)
-
- Total virtual memory: 743.75 MiB
- Total physical memory: -232.25 MiB
- Used virtual memory: 147.66 MiB
- Used physical memory: -828.21 MiB
- Process virtual memory: 22.28 MiB
- Process physical memory: 2.81 MiB
- Process private memory: 1.10 MiB
- Process swapped memory: 0 B
-> compiled mem_usage.0.1.3
-> removed mem_usage.0.1.3
-> installed mem_usage.0.1.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-21 07:48.46 ---> saved as "b7accdb4f024e69a61583c480471b9cc0b5d101d571c88188cceea2d7e0a9aed"
Job succeeded
2026-02-21 07:48.49: Job succeeded