Build:
- 0
2026-02-21 07:45.52: New job: build mem_usage.0.1.3, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29445/head (4f05e0cb7163577e5527f169da827e38d1a1dd7e)
on ubuntu-25.10-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/29445/head" && git reset --hard 4f05e0cb
git fetch origin master
git merge --no-edit b820e8c25e0dea7a5ce86f961c182a44938fa39a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:3fe57cb59986d5b1a451e2aa2ef548a6e331fd87b0385c02a281320f0e65987b
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 "\"ubuntu-25.10\""; 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.52: Using cache hint "ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:3fe57cb59986d5b1a451e2aa2ef548a6e331fd87b0385c02a281320f0e65987b-mem_usage.0.1.3-4f05e0cb7163577e5527f169da827e38d1a1dd7e"
2026-02-21 07:45.52: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:3fe57cb59986d5b1a451e2aa2ef548a6e331fd87b0385c02a281320f0e65987b)
(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 \"\\\"ubuntu-25.10\\\"\"; 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.52: Waiting for resource in pool OCluster
2026-02-21 07:45.53: Waiting for worker…
2026-02-21 07:45.54: Got resource from pool OCluster
Building on odawa.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:ubuntu-25.10-ocaml-4.14@sha256:3fe57cb59986d5b1a451e2aa2ef548a6e331fd87b0385c02a281320f0e65987b)
2026-02-21 07:46.49 ---> saved as "3f282325f08023bb39d96d9c38cc58d8c68c8602d7bea50b2a681298e479c50f"
/: (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 ---> saved as "3e24fc2ce8cdaef39dafd0166ebec0509605021f123ac7c79c8df7fc79a68f40"
/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:47.08 ---> saved as "bfdc9259ac5af7d7de17d6788c3dc2f094e46d6f5a10886aed2e937bb5333890"
/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=ubuntu os-version=25.10
# 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
2026-02-21 07:47.09 ---> saved as "b68127e78bc991f94887c6509a61cf793f7b723be68cb74b1a9a32bdd6661fdd"
/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:47.17 ---> saved as "7259ae0d203a30bd1a602b040f0b24f89d228372c93ac50d5ca087721ec67c43"
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-21 07:47.21 ---> saved as "6525270cafb4acfbdb20c1f977895ce79032a9645740175413db3019e41551cb"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-21 07:47.38 ---> saved as "7ef4a783346cb9e9f96e5ff0f7b64e788fe5044850f270602f25042acbe1a67b"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:3 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:4 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [242 kB]
- Get:5 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [147 kB]
- Get:6 http://security.ubuntu.com/ubuntu questing-security/restricted amd64 Packages [194 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [204 kB]
- Get:9 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [393 kB]
- Get:10 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [250 kB]
- Fetched 1835 kB in 1s (2208 kB/s)
- Reading package lists...
-
2026-02-21 07:47.39 ---> saved as "ae30aaee325892a7d2cd896829ab850520debd5167ed8019d87d106214bef57b"
/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.40 ---> saved as "d33c61e7669bf312816e12bba80f3ee20e9e6ead399275cf1f9703e00808b8e2"
/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 \"\\\"ubuntu-25.10\\\"\"; 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.00 ---> saved as "bfa916085e2049fd4a89ed18221267f14127e57a3426416d40a90e0caf745460"
Job succeeded
2026-02-21 07:48.04: Job succeeded