Build:
- 0
2026-05-20 10:22.59: New job: test lrgrep.0.9, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29928/head (07fbcc3b99d47734688318c6e2971cce19794907)
on ubuntu-26.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/29928/head" && git reset --hard 07fbcc3b
git fetch origin master
git merge --no-edit 64a847a29e96527a72f3e45822610f25e7ad0a40
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:9c7f11384d5cf827e1135c1fcc871838c4f65b20b2a25feb3b4bcc1841a008f1
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 lrgrep.0.9 0.9
RUN opam reinstall lrgrep.0.9; \
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-26.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'lrgrep.0.9' && 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 lrgrep.0.9) || true
RUN opam reinstall --with-test --verbose lrgrep.0.9; \
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-26.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'lrgrep.0.9' && 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-20 10:22.59: Using cache hint "ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:9c7f11384d5cf827e1135c1fcc871838c4f65b20b2a25feb3b4bcc1841a008f1-lrgrep.0.9-07fbcc3b99d47734688318c6e2971cce19794907"
2026-05-20 10:22.59: Using OBuilder spec:
((from ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:9c7f11384d5cf827e1135c1fcc871838c4f65b20b2a25feb3b4bcc1841a008f1)
(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 lrgrep.0.9 0.9"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lrgrep.0.9;\
\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-26.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\" != 'lrgrep.0.9' && 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 lrgrep.0.9) || true"))
(run (shell "opam reinstall --with-test --verbose lrgrep.0.9;\
\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-26.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\" != 'lrgrep.0.9' && 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-20 10:22.59: Waiting for resource in pool OCluster
2026-05-20 10:23.00: Waiting for worker…
2026-05-20 10:23.00: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 64a847a29e Merge pull request #29924 from jmid/add-dune-3.23.0-ocaml-bound
Updating 64a847a29e..07fbcc3b99
Fast-forward
packages/lrgrep/lrgrep.0.9/opam | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 packages/lrgrep/lrgrep.0.9/opam
(from ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:9c7f11384d5cf827e1135c1fcc871838c4f65b20b2a25feb3b4bcc1841a008f1)
2026-05-20 10:23.46 ---> saved as "460865f2fe08474914fa416bfb5bf19d1dcc85d81dee956999ea889ed97f473a"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-20 10:23.48 ---> saved as "5a8ca7a2c11c45a6f8d3ca384f14dea3077cdff8016528a829b3e7ffb31c930d"
/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-20 10:23.59 ---> saved as "222c0367c07d3dda16d40a1ce64f46abb953c9267d9b7fb9fcf9f9d5e0cbf036"
/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=26.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 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-20 10:24.00 ---> saved as "87214bb3e66840aad937e3385d8a0a5cfaf1d211c6f159e81a118f81f3764602"
/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-20 10:24.10 ---> saved as "25b5f0988d9757a1fb2c3c610c36c0c8658231bee6da08a73c833c4c680bdfb6"
/home/opam: (copy (src .) (dst opam-repository/))
2026-05-20 10:24.16 ---> saved as "a64bae1645beae065c2806500d491133bfd5b3f0ec01b7087e11f67ce7160f9d"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-20 10:24.27 ---> saved as "d5573acf52f3081765a1e5668608efc4c21f6519fc31d96b7dc86d71c780d048"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu resolute-security InRelease [136 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu resolute InRelease
- Get:3 http://archive.ubuntu.com/ubuntu resolute-updates InRelease [136 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
- Get:5 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 Packages [96.0 kB]
- Get:6 http://archive.ubuntu.com/ubuntu resolute-updates/restricted amd64 Packages [216 kB]
- Get:7 http://archive.ubuntu.com/ubuntu resolute-updates/universe amd64 Packages [49.9 kB]
- Fetched 633 kB in 1s (915 kB/s)
- Reading package lists...
-
2026-05-20 10:24.30 ---> saved as "598cc1ec42a4ab85888fd547dd309b445ed19993aa7b56249fd9d69dc126b39f"
/home/opam: (run (shell "opam pin add -k version -yn lrgrep.0.9 0.9"))
lrgrep is now pinned to version 0.9
2026-05-20 10:24.32 ---> saved as "8a7f46ba9257443b008939e6141cbf83c32cc4e702dacec0e6ad1986d63940bc"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lrgrep.0.9;\
\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-26.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\" != 'lrgrep.0.9' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
lrgrep.0.9 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 10 packages
- install cmon 0.2 [required by lrgrep]
- install dune 3.23.1 [required by lrgrep]
- install grenier 0.16 [required by cmon]
- install lrgrep 0.9 (pinned)
- install menhir 20260209 [required by lrgrep]
- install menhirCST 20260209 [required by menhir]
- install menhirGLR 20260209 [required by menhir]
- install menhirLib 20260209 [required by menhir]
- install menhirSdk 20260209 [required by menhir]
- install pprint 20230830 [required by cmon]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmon.0.2 (cached)
-> retrieved dune.3.23.1 (cached)
-> retrieved grenier.0.16 (cached)
-> retrieved lrgrep.0.9 (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (cached)
-> retrieved pprint.20230830 (cached)
-> installed dune.3.23.1
-> installed menhirCST.20260209
-> installed grenier.0.16
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed pprint.20230830
-> installed menhirSdk.20260209
-> installed cmon.0.2
-> installed menhir.20260209
-> installed lrgrep.0.9
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-20 10:25.12 ---> saved as "329220f8a7184f90f150c31153657b998b16bf2cb82a854ca3aae612a999da1d"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test lrgrep.0.9) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile lrgrep 0.9 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed lrgrep.0.9
-> installed lrgrep.0.9
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-20 10:25.19 ---> saved as "593a74ca0206fdd3835c7d6a9399e4a355692fc5887b5a5b4653bec74043c2a2"
/home/opam: (run (shell "opam reinstall --with-test --verbose lrgrep.0.9;\
\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-26.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\" != 'lrgrep.0.9' && 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 lrgrep 0.9 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [lrgrep: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "lrgrep" "-j" "255" (CWD=/home/opam/.opam/5.4/.opam-switch/build/lrgrep.0.9)
- (cd _build/default/test/lrgrep-example/src && ../../../../install/default/bin/lrgrep compile -s errors.lrgrep -g parser.cmly -o errors.ml)
- total transitions: 71 (domain: 184), non-default: 33
- bytecode size: 548
Processing 2/4: [lrgrep: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "lrgrep" "-j" "255" (CWD=/home/opam/.opam/5.4/.opam-switch/build/lrgrep.0.9)
- (cd _build/default/test/unit && ./bitlib.exe)
- extract_msb(fast) 0 = 1000000000000
- extract_msb(slow) 0 = 8000
- (FAILURE)
- extract_msb(fast) 0 = 2
- extract_msb(slow) 0 = 4000000000000000
- (FAILURE)
- extract_msb(fast) 0 = 0
- extract_msb(slow) 0 = 1
- (FAILURE)
-> compiled lrgrep.0.9
-> removed lrgrep.0.9
-> installed lrgrep.0.9
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-20 10:25.27 ---> saved as "c8fad416d0a7a2cc291fe3a8b226bd4f9b863123ba055749479cf7831caa45a6"
Job succeeded
2026-05-20 10:25.31: Job succeeded