(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-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/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-4.14@sha256:6b9867f2f28aa69a5f0711bf45e438b8528f41220bf2e98dbb41d7dcadd10102
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-4.14@sha256:6b9867f2f28aa69a5f0711bf45e438b8528f41220bf2e98dbb41d7dcadd10102-agentxm-example-tinyflags.0.1.0-0a9a9e446f8a18b3bae4e1f8506be6b7511fea3b"
2026-05-15 01:13.06: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:6b9867f2f28aa69a5f0711bf45e438b8528f41220bf2e98dbb41d7dcadd10102)
(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:14.02: Waiting for worker…
2026-05-15 08:16.28: 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-4.14@sha256:6b9867f2f28aa69a5f0711bf45e438b8528f41220bf2e98dbb41d7dcadd10102)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:6b9867f2f28aa69a5f0711bf45e438b8528f41220bf2e98dbb41d7dcadd10102' locally
docker.io/ocaml/opam@sha256:6b9867f2f28aa69a5f0711bf45e438b8528f41220bf2e98dbb41d7dcadd10102: Pulling from ocaml/opam
f63eb04151bc: Already exists
c3a7cf967865: Already exists
6994ddface72: Already exists
1efd9d9872cf: Already exists
f2072edad4b7: Already exists
847f5455a303: Pulling fs layer
b5fef2855228: Pulling fs layer
164714ea8001: Pulling fs layer
fb9c1ff34694: Pulling fs layer
3a0954af5984: Pulling fs layer
6027285b7abe: Pulling fs layer
194499324179: Pulling fs layer
436538616540: Pulling fs layer
eba6c657b0d1: Pulling fs layer
75a1d643791d: Pulling fs layer
164714ea8001: Download complete
8d32fd95c2a9: Pulling fs layer
6027285b7abe: Download complete
4f4fb700ef54: Pulling fs layer
fb9c1ff34694: Download complete
3a0954af5984: Download complete
f4a6bdf1a5d4: Pulling fs layer
b5fef2855228: Download complete
eba6c657b0d1: Download complete
8d32fd95c2a9: Download complete
527ab22e258c: Pulling fs layer
436538616540: Download complete
75a1d643791d: Download complete
194499324179: Download complete
c925ee5da3a2: Pulling fs layer
4f4fb700ef54: Download complete
f4a6bdf1a5d4: Download complete
527ab22e258c: Download complete
c925ee5da3a2: Download complete
fca24bca417a: Pulling fs layer
624114cf75d2: Pulling fs layer
8f4ddc383044: Pulling fs layer
6ff4e2f13c3d: Pulling fs layer
fca24bca417a: Download complete
624114cf75d2: Download complete
8f4ddc383044: Download complete
76c94a7a334c: Pulling fs layer
6ff4e2f13c3d: Download complete
eb822e1c8d96: Pulling fs layer
fe76e26a4bbd: Pulling fs layer
e37ac0b59238: Pulling fs layer
eb822e1c8d96: Download complete
fe76e26a4bbd: Download complete
76c94a7a334c: Download complete
940dcac173f6: Pulling fs layer
e37ac0b59238: Download complete
51785f87a6f8: Pulling fs layer
ce421a1a7271: Pulling fs layer
940dcac173f6: Download complete
7424e1639045: Pulling fs layer
51785f87a6f8: Download complete
ce421a1a7271: Download complete
5345c659eb86: Pulling fs layer
c5289b3e923d: Pulling fs layer
7424e1639045: Download complete
5345c659eb86: Download complete
d4828cefae96: Pulling fs layer
e51a7246d012: Pulling fs layer
c5289b3e923d: Download complete
0f37644adc12: Pulling fs layer
e51a7246d012: Download complete
8a5c485689a2: Pulling fs layer
0f37644adc12: Download complete
4283e4dc8866: Pulling fs layer
922a92888d8b: Pulling fs layer
8a5c485689a2: Waiting
46b978ac1f0f: Pulling fs layer
922a92888d8b: Waiting
4283e4dc8866: Waiting
46b978ac1f0f: Waiting
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
4283e4dc8866: Download complete
922a92888d8b: Verifying Checksum
922a92888d8b: Download complete
46b978ac1f0f: Verifying Checksum
46b978ac1f0f: Download complete
8a5c485689a2: Verifying Checksum
8a5c485689a2: Download complete
5345c659eb86: Pull complete
c5289b3e923d: Pull complete
d4828cefae96: Pull complete
e51a7246d012: Pull complete
0f37644adc12: Pull complete
8a5c485689a2: Pull complete
4283e4dc8866: Pull complete
922a92888d8b: Pull complete
46b978ac1f0f: Pull complete
Digest: sha256:6b9867f2f28aa69a5f0711bf45e438b8528f41220bf2e98dbb41d7dcadd10102
Status: Downloaded newer image for ocaml/opam@sha256:6b9867f2f28aa69a5f0711bf45e438b8528f41220bf2e98dbb41d7dcadd10102
2026-05-15 08:18.42 ---> saved as "ef9578528c7785e5fae5760a378d1176463ee032002ca807828c606583876134"
/: (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.43 ---> saved as "03f55ca9b61509c2f5cb7cfa75bb1c5b3bd46d37a83afdb2781cb47ac99971dd"
/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.57 ---> saved as "e89c263e6924f84f6a6014a2d1d1e491378ce32e18c34e7e7e767310f29106e5"
/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 4.14
# invariant ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages ocaml-base-compiler.4.14.3, 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.3
2026-05-15 08:18.58 ---> saved as "3364cdba016e424601821b6a6c65a61dddf8e8790c09d83ace5c47b7333b6080"
/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.07 ---> saved as "5b8b7181dfa4f9ab73ebec35da706a9372e0a1c48ec4c1d0442fc9b6c5f8d710"
/home/opam: (copy (src .) (dst opam-repository/))
2026-05-15 08:19.15 ---> saved as "e5b8af3477d1f186d60b9231986502e6ca65b5018a906eac501400c20bc9a2f6"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-15 08:19.27 ---> saved as "42645597b91e3274dffdb7201e3f38a1302a6c3cedfa88d75f9cfccf1b6d3bb7"
/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://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3915 kB]
- Get:6 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1295 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1602 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4286 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [7341 kB]
- Fetched 18.8 MB in 2s (12.0 MB/s)
- Reading package lists...
-
2026-05-15 08:19.31 ---> saved as "83dcbc5144d3167eeb3b7756c89c048bb290128bf1eca14d19b11a04e91f9e1f"
/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.32 ---> saved as "6c12e11a36e62ef4cae6afffa069a4bdf7c32bc4ed057ca7a8e5b7fa10ae35b2"
/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.06 ---> saved as "57530405676dbd10359ab12446ca68aa37f8c74825cd6f7f952c1e44a63376ca"
Job succeeded
2026-05-15 08:20.17: Job succeeded