(for PR #29905)
2026-05-15 01:13.06: New job: build agentxm-example-tinyflags.0.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29905/head (0a9a9e446f8a18b3bae4e1f8506be6b7511fea3b)
on ubuntu-22.04-ocaml-5.4/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/29905/head" && git reset --hard 0a9a9e44
git fetch origin master
git merge --no-edit adfd36b5d12830043a1f66dbf8d5a820e784fb8f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:330f5b4046242c9305457c5e7902bfb8a24844f6aa8bcd56162f7265e6aa475c
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 agentxm-example-tinyflags.0.1.0 0.1.0
RUN opam reinstall agentxm-example-tinyflags.0.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 "\"ubuntu-22.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'agentxm-example-tinyflags.0.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 .
2026-05-15 01:13.06: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:330f5b4046242c9305457c5e7902bfb8a24844f6aa8bcd56162f7265e6aa475c-agentxm-example-tinyflags.0.1.0-0a9a9e446f8a18b3bae4e1f8506be6b7511fea3b"
2026-05-15 01:13.06: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:330f5b4046242c9305457c5e7902bfb8a24844f6aa8bcd56162f7265e6aa475c)
(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 agentxm-example-tinyflags.0.1.0 0.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall agentxm-example-tinyflags.0.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 \"\\\"ubuntu-22.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'agentxm-example-tinyflags.0.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"))
)
2026-05-15 01:13.06: Waiting for resource in pool OCluster
2026-05-15 08:13.27: Waiting for worker…
2026-05-15 08:16.13: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
HEAD is now at adfd36b5d1 Merge pull request #29901 from ajbt200128/opam-publish-pyro-caml-instruments.1.0.0
Updating adfd36b5d1..0a9a9e446f
Fast-forward
.../agentxm-example-tinyflags.0.1.0/opam | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 packages/agentxm-example-tinyflags/agentxm-example-tinyflags.0.1.0/opam
(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:330f5b4046242c9305457c5e7902bfb8a24844f6aa8bcd56162f7265e6aa475c)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:330f5b4046242c9305457c5e7902bfb8a24844f6aa8bcd56162f7265e6aa475c' locally
docker.io/ocaml/opam@sha256:330f5b4046242c9305457c5e7902bfb8a24844f6aa8bcd56162f7265e6aa475c: Pulling from ocaml/opam
f63eb04151bc: Pulling fs layer
c3a7cf967865: Pulling fs layer
6994ddface72: Pulling fs layer
1efd9d9872cf: Pulling fs layer
f2072edad4b7: Pulling fs layer
847f5455a303: Pulling fs layer
b5fef2855228: Pulling fs layer
164714ea8001: Pulling fs layer
fb9c1ff34694: Pulling fs layer
3a0954af5984: Pulling fs layer
6027285b7abe: Pulling fs layer
164714ea8001: Waiting
194499324179: Pulling fs layer
1efd9d9872cf: Waiting
847f5455a303: Waiting
436538616540: Pulling fs layer
b5fef2855228: Waiting
f2072edad4b7: Waiting
eba6c657b0d1: Pulling fs layer
6027285b7abe: Waiting
fb9c1ff34694: Waiting
194499324179: Waiting
75a1d643791d: Pulling fs layer
436538616540: Waiting
3a0954af5984: Waiting
eba6c657b0d1: Waiting
8d32fd95c2a9: Pulling fs layer
75a1d643791d: Waiting
4f4fb700ef54: Pulling fs layer
f4a6bdf1a5d4: Pulling fs layer
8d32fd95c2a9: Waiting
527ab22e258c: Pulling fs layer
4f4fb700ef54: Waiting
c925ee5da3a2: Pulling fs layer
f4a6bdf1a5d4: Waiting
527ab22e258c: Waiting
fca24bca417a: Pulling fs layer
c925ee5da3a2: Waiting
624114cf75d2: Pulling fs layer
fca24bca417a: Waiting
8f4ddc383044: Pulling fs layer
6ff4e2f13c3d: Pulling fs layer
624114cf75d2: Waiting
76c94a7a334c: Pulling fs layer
8f4ddc383044: Waiting
eb822e1c8d96: Pulling fs layer
6ff4e2f13c3d: Waiting
76c94a7a334c: Waiting
fe76e26a4bbd: Pulling fs layer
eb822e1c8d96: Waiting
e37ac0b59238: Pulling fs layer
fe76e26a4bbd: Waiting
940dcac173f6: Pulling fs layer
51785f87a6f8: Pulling fs layer
e37ac0b59238: Waiting
940dcac173f6: Waiting
ce421a1a7271: Pulling fs layer
7424e1639045: Pulling fs layer
51785f87a6f8: Waiting
5345c659eb86: Pulling fs layer
c5289b3e923d: Pulling fs layer
5345c659eb86: Waiting
7424e1639045: Waiting
ce421a1a7271: Waiting
d4828cefae96: Pulling fs layer
e51a7246d012: Pulling fs layer
0f37644adc12: Pulling fs layer
c5289b3e923d: Waiting
d4828cefae96: Waiting
e51a7246d012: Waiting
0464926e312d: Pulling fs layer
003f09510c48: Pulling fs layer
f52861b1f919: Pulling fs layer
0f37644adc12: Waiting
a063ef7174a6: Pulling fs layer
003f09510c48: Waiting
0464926e312d: Waiting
f52861b1f919: Waiting
cd1bf4a97a64: Pulling fs layer
32cdd371bb67: Pulling fs layer
a063ef7174a6: Waiting
cd1bf4a97a64: Waiting
02966ee4db72: Pulling fs layer
32cdd371bb67: Waiting
02966ee4db72: Waiting
6994ddface72: Verifying Checksum
6994ddface72: Download complete
c3a7cf967865: Verifying Checksum
c3a7cf967865: Download complete
f2072edad4b7: Download complete
f63eb04151bc: Verifying Checksum
f63eb04151bc: Download complete
b5fef2855228: Verifying Checksum
b5fef2855228: Download complete
164714ea8001: Verifying Checksum
164714ea8001: Download complete
fb9c1ff34694: Verifying Checksum
fb9c1ff34694: Download complete
3a0954af5984: Download complete
847f5455a303: Verifying Checksum
847f5455a303: Download complete
6027285b7abe: Verifying Checksum
6027285b7abe: Download complete
194499324179: Verifying Checksum
194499324179: Download complete
f63eb04151bc: Pull complete
c3a7cf967865: Pull complete
6994ddface72: Pull complete
436538616540: Verifying Checksum
436538616540: Download complete
eba6c657b0d1: Verifying Checksum
eba6c657b0d1: Download complete
75a1d643791d: Download complete
8d32fd95c2a9: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
f4a6bdf1a5d4: Download complete
527ab22e258c: Verifying Checksum
527ab22e258c: Download complete
c925ee5da3a2: Download complete
fca24bca417a: Verifying Checksum
fca24bca417a: Download complete
624114cf75d2: Verifying Checksum
624114cf75d2: Download complete
8f4ddc383044: Verifying Checksum
8f4ddc383044: Download complete
6ff4e2f13c3d: Verifying Checksum
6ff4e2f13c3d: Download complete
76c94a7a334c: Verifying Checksum
76c94a7a334c: Download complete
eb822e1c8d96: Download complete
fe76e26a4bbd: Verifying Checksum
fe76e26a4bbd: Download complete
e37ac0b59238: Download complete
1efd9d9872cf: Verifying Checksum
1efd9d9872cf: Download complete
940dcac173f6: Download complete
51785f87a6f8: Download complete
ce421a1a7271: Verifying Checksum
ce421a1a7271: Download complete
7424e1639045: Verifying Checksum
7424e1639045: Download complete
c5289b3e923d: Download complete
e51a7246d012: Download complete
1efd9d9872cf: Pull complete
f2072edad4b7: Pull complete
0f37644adc12: Download complete
0464926e312d: Verifying Checksum
0464926e312d: Download complete
003f09510c48: Verifying Checksum
003f09510c48: Download complete
f52861b1f919: Verifying Checksum
f52861b1f919: Download complete
5345c659eb86: Verifying Checksum
5345c659eb86: Download complete
cd1bf4a97a64: Verifying Checksum
cd1bf4a97a64: Download complete
32cdd371bb67: Verifying Checksum
32cdd371bb67: Download complete
02966ee4db72: Verifying Checksum
02966ee4db72: Download complete
a063ef7174a6: Download complete
847f5455a303: Pull complete
b5fef2855228: Pull complete
164714ea8001: Pull complete
fb9c1ff34694: Pull complete
3a0954af5984: Pull complete
6027285b7abe: Pull complete
194499324179: Pull complete
436538616540: Pull complete
eba6c657b0d1: Pull complete
75a1d643791d: Pull complete
8d32fd95c2a9: Pull complete
4f4fb700ef54: Pull complete
f4a6bdf1a5d4: Pull complete
527ab22e258c: Pull complete
c925ee5da3a2: Pull complete
fca24bca417a: Pull complete
624114cf75d2: Pull complete
8f4ddc383044: Pull complete
6ff4e2f13c3d: Pull complete
76c94a7a334c: Pull complete
eb822e1c8d96: Pull complete
fe76e26a4bbd: Pull complete
e37ac0b59238: Pull complete
940dcac173f6: Pull complete
51785f87a6f8: Pull complete
ce421a1a7271: Pull complete
7424e1639045: Pull complete
d4828cefae96: Verifying Checksum
d4828cefae96: Download complete
5345c659eb86: Pull complete
c5289b3e923d: Pull complete
d4828cefae96: Pull complete
e51a7246d012: Pull complete
0f37644adc12: Pull complete
0464926e312d: Pull complete
003f09510c48: Pull complete
f52861b1f919: Pull complete
a063ef7174a6: Pull complete
cd1bf4a97a64: Pull complete
32cdd371bb67: Pull complete
02966ee4db72: Pull complete
Digest: sha256:330f5b4046242c9305457c5e7902bfb8a24844f6aa8bcd56162f7265e6aa475c
Status: Downloaded newer image for ocaml/opam@sha256:330f5b4046242c9305457c5e7902bfb8a24844f6aa8bcd56162f7265e6aa475c
2026-05-15 08:18.37 ---> saved as "980dedcb58daec2579b2bfe2d08099f60a9194a1a9d5882ba85b86f57d31ff27"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-15 08:18.38 ---> saved as "4e3652faa37c023ee1838eb2156884cec47f5bb497cd2187f508052edd5d49b9"
/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.1 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 1 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=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-15 08:18.53 ---> saved as "d94d4c72ff8eca0f403d12e28d82d90763ced45bb6b551fd318c0d508fc2aaad"
/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.1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=ubuntu os-version=22.04
# 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.1"}]
# compiler-packages ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.1
2026-05-15 08:18.54 ---> saved as "da6e2ddb1f24c1f7dd67d9c90b32dbd83c97fd34387ed77181de47073514b85e"
/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-05-15 08:19.03 ---> saved as "6c246bab82d47e748dae5a10d9d636c4856b2a3915dfb91c9c0ac876e93f32ea"
/home/opam: (copy (src .) (dst opam-repository/))
2026-05-15 08:19.13 ---> saved as "d58e79c6a342123a0989a6a95e1525447b7311e95de6ddf2ad7e9169629e31b4"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-15 08:19.25 ---> saved as "3d60f165bd3c09bae92e3081b57438d024e9573cc25433e998bd612b5944982b"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1295 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3915 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1602 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [7341 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4286 kB]
- Fetched 18.8 MB in 2s (12.3 MB/s)
- Reading package lists...
-
2026-05-15 08:19.29 ---> saved as "01df65187f5490c82f0be5560dd502f44870c3eee3bbd46d3df82f0b794647cf"
/home/opam: (run (shell "opam pin add -k version -yn agentxm-example-tinyflags.0.1.0 0.1.0"))
agentxm-example-tinyflags is now pinned to version 0.1.0
2026-05-15 08:19.30 ---> saved as "215b50e87f0a9391d4e820dc539951f5729b39d24e36f9b7209721f2a4496e32"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall agentxm-example-tinyflags.0.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 \"\\\"ubuntu-22.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'agentxm-example-tinyflags.0.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"))
agentxm-example-tinyflags.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install agentxm-example-tinyflags 0.1.0 (pinned)
- install dune 3.23.0 [required by agentxm-example-tinyflags]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved agentxm-example-tinyflags.0.1.0 (cached)
-> retrieved dune.3.23.0 (cached)
-> installed dune.3.23.0
-> installed agentxm-example-tinyflags.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-15 08:20.08 ---> saved as "8c250ef06dfca10e3b6210777be6eed79609ef491b351d5772fd08cfefea6f8b"
Job succeeded
2026-05-15 08:20.18: Job succeeded