Build:
- 0
2026-03-09 19:10.56: New job: test tm-grammars.1.0.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29527/head (fedb16dfe08685fc1bf5962c8dc560d81cb9300f)
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/29527/head" && git reset --hard fedb16df
git fetch origin master
git merge --no-edit 3c70647a78a7fd22066fca4f17f7ca4514500663
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00
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 tm-grammars.1.0.1 1.0.1
RUN opam reinstall tm-grammars.1.0.1; \
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" != 'tm-grammars.1.0.1' && 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 tm-grammars.1.0.1) || true
RUN opam reinstall --with-test --verbose tm-grammars.1.0.1; \
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" != 'tm-grammars.1.0.1' && 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-03-09 19:10.56: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00-tm-grammars.1.0.1-fedb16dfe08685fc1bf5962c8dc560d81cb9300f"
2026-03-09 19:10.56: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00)
(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 tm-grammars.1.0.1 1.0.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall tm-grammars.1.0.1;\
\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\" != 'tm-grammars.1.0.1' && 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 tm-grammars.1.0.1) || true"))
(run (shell "opam reinstall --with-test --verbose tm-grammars.1.0.1;\
\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\" != 'tm-grammars.1.0.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-03-09 19:10.56: Waiting for resource in pool OCluster
2026-03-09 19:10.57: Waiting for worker…
2026-03-09 19:10.58: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 3c70647a78 Merge pull request #29507 from NathanReb/release-ppxlib-0-38-0-5-5-preview
Updating 3c70647a78..fedb16dfe0
Fast-forward
packages/tm-grammars/tm-grammars.1.0.1/opam | 37 +++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 packages/tm-grammars/tm-grammars.1.0.1/opam
(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00' locally
docker.io/ocaml/opam@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00: Pulling from ocaml/opam
b1cba2e842ca: Already exists
421afdaed246: Already exists
4f870a39d887: Already exists
55a213a632b1: Already exists
45b4d0733e62: Already exists
3aeb1fde2a5c: Already exists
aafef83927b6: Already exists
bcf6200713a7: Already exists
44126a1f4f31: Already exists
640d0ce4ea89: Already exists
b5d13c755b81: Already exists
d4f408980979: Already exists
a89dafa13071: Already exists
636fd786dcef: Already exists
31dae2391bd4: Already exists
8b28883ae878: Already exists
4a187d75ee24: Already exists
4a187d75ee24: Already exists
4f4fb700ef54: Already exists
15ef0a4fe052: Already exists
81aef10b7468: Already exists
8492c04426b2: Already exists
4f4fb700ef54: Already exists
931be6b45df3: Already exists
b3b41b093e1c: Already exists
c66a499f18f1: Already exists
dc859d65a979: Already exists
f9a4b7e83cbc: Already exists
8406175b74f2: Already exists
d8a867e68b39: Already exists
1b4507b9d94f: Already exists
86753f729f41: Already exists
bb1554100fd0: Already exists
79f063451047: Already exists
af19aefa8c28: Already exists
18ae77be10c6: Already exists
23748796c9e7: Already exists
8a87c1d60ed6: Already exists
f59dc0679c75: Already exists
d71672fc129c: Already exists
44dd0ab5fdef: Already exists
931c13510f32: Pulling fs layer
75ed66e4849a: Pulling fs layer
931c13510f32: Waiting
19cc32431784: Pulling fs layer
75ed66e4849a: Waiting
6b082b8f59d1: Pulling fs layer
19cc32431784: Waiting
931c13510f32: Verifying Checksum
931c13510f32: Download complete
75ed66e4849a: Download complete
19cc32431784: Download complete
6b082b8f59d1: Verifying Checksum
6b082b8f59d1: Download complete
931c13510f32: Pull complete
75ed66e4849a: Pull complete
19cc32431784: Pull complete
6b082b8f59d1: Pull complete
Digest: sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00
Status: Downloaded newer image for ocaml/opam@sha256:ee7d8a3a4cace31d410c47ddbd98caf693324ad5c7e83d32c213a00aabdb9d00
2026-03-09 19:12.38 ---> saved as "752ab5c6ad79de967908e3073b7fceaa0abf89b6f293aaa06b19d969149dde3c"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-09 19:12.38 ---> saved as "0669bed9e265bc3b2b3d06c1ad123037ba977b1d8456aed170ec41686ea38589"
/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
2026-03-09 19:13.00 ---> saved as "6349730c1f94e34801d4d2ec70bcad3ac89f7e1e980e30add1c37e4a3d8e6840"
/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=22.04
# 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-03-09 19:13.00 ---> saved as "bc861696cd4fc40a220411b2814ff33581cb0eb5fe28d02a2b3222de27c9fe69"
/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-03-09 19:13.10 ---> saved as "30c763b14d6d67839df5a6782c8698451271114c528d0cbf5b7d3c8c02ecc5bf"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-09 19:13.20 ---> saved as "f0f9c44db14c83c5c15b9eeadd083ce9e52ec23fc0fbb47a48f8177746166f8d"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-09 19:13.37 ---> saved as "df070abb18cb3b4783613128d99e3ba9c64df8657462a61ed475cad35c86e68f"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
- 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/universe amd64 Packages [1301 kB]
- Get:6 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3780 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1613 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4120 kB]
- Fetched 11.2 MB in 1s (10.4 MB/s)
- Reading package lists...
-
2026-03-09 19:13.39 ---> saved as "9b9a13af025482df0a3404048899b5cdba643d3e485fc99acb1fd58678166cb0"
/home/opam: (run (shell "opam pin add -k version -yn tm-grammars.1.0.1 1.0.1"))
tm-grammars is now pinned to version 1.0.1
2026-03-09 19:13.40 ---> saved as "a6654906b26e401d4e45f7f1fbef708ec4185c425b377c13430f49b3c584dd59"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall tm-grammars.1.0.1;\
\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\" != 'tm-grammars.1.0.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
tm-grammars.1.0.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.21.1 [required by tm-grammars]
- install tm-grammars 1.0.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.1 (cached)
-> retrieved tm-grammars.1.0.1 (cached)
-> installed dune.3.21.1
-> installed tm-grammars.1.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-09 19:14.05 ---> saved as "2e46e2c7c8d4d6b50f7dfc6edb04c5e3705ebe39af7997e5c625a9ff9de78413"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test tm-grammars.1.0.1) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile tm-grammars 1.0.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed tm-grammars.1.0.1
-> installed tm-grammars.1.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-09 19:14.09 ---> saved as "bd50396ef62fdd9b90cd51963a6d7fb0a165b97032423a26a065a8a57166dd9a"
/home/opam: (run (shell "opam reinstall --with-test --verbose tm-grammars.1.0.1;\
\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\" != 'tm-grammars.1.0.1' && 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 tm-grammars 1.0.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [tm-grammars: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "tm-grammars" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/tm-grammars.1.0.1)
- (cd _build/default/packages/tm-grammars && /usr/bin/bash ../../scripts/gen_all_module.sh ../../sources.json)
- ../../scripts/gen_all_module.sh: line 15: jq: command not found
-> compiled tm-grammars.1.0.1
-> removed tm-grammars.1.0.1
-> installed tm-grammars.1.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-09 19:14.13 ---> saved as "f6004d3118f9976644b8d2f5ffdb64fe76293995600600961f7b0a578a527fb3"
Job succeeded
2026-03-09 19:14.20: Job succeeded