- github
- ocaml
- opam-repository
- 75eef3
- extras,x86_32-ocaml-5.3,yocaml.1.0.0,tests
(not at the head of any monitored branch or PR)
2025-02-28 11:21.24: New job: test yocaml.1.0.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27506/head (75eef35b619bf9c3f461991842637fa9cca93c84)
on debian-12-ocaml-5.3/i386
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27506/head" && git reset --hard 75eef35b
git fetch origin master
git merge --no-edit c27f09fa9e7c90f754413780e15d13ba8c13d377
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:c6b0d5ed390f228968bfd47b4692060df480c55231ef7c2baa1dc880830296e6
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 yocaml.1.0.0 1.0.0
RUN opam reinstall yocaml.1.0.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'yocaml.1.0.0' && 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 yocaml.1.0.0) || true
RUN opam reinstall --with-test --verbose yocaml.1.0.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'yocaml.1.0.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 .
2025-02-28 11:21.24: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:c6b0d5ed390f228968bfd47b4692060df480c55231ef7c2baa1dc880830296e6-yocaml.1.0.0-75eef35b619bf9c3f461991842637fa9cca93c84"
2025-02-28 11:21.24: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:c6b0d5ed390f228968bfd47b4692060df480c55231ef7c2baa1dc880830296e6)
(shell /usr/bin/linux32 /bin/sh -c)
(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 yocaml.1.0.0 1.0.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall yocaml.1.0.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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'yocaml.1.0.0' && 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 yocaml.1.0.0) || true"))
(run (shell "opam reinstall --with-test --verbose yocaml.1.0.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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'yocaml.1.0.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-02-28 11:21.24: Waiting for resource in pool OCluster
2025-02-28 11:29.07: Waiting for worker…
2025-02-28 11:31.32: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
Updating files: 95% (21579/22532)
Updating files: 96% (21631/22532)
Updating files: 97% (21857/22532)
Updating files: 98% (22082/22532)
Updating files: 99% (22307/22532)
Updating files: 100% (22532/22532)
Updating files: 100% (22532/22532), done.
HEAD is now at c27f09fa9e Merge pull request #27515 from xavierleroy/Xft
Merge made by the 'ort' strategy.
packages/preface/preface.1.1.0/opam | 46 ++++++++++++++++++++++
packages/yocaml/yocaml.1.0.0/opam | 2 +-
packages/yocaml_cmark/yocaml_cmark.1.0.0/opam | 2 +-
packages/yocaml_git/yocaml_git.1.0.0/opam | 2 +-
packages/yocaml_jingoo/yocaml_jingoo.1.0.0/opam | 2 +-
.../yocaml_markdown/yocaml_markdown.1.0.0/opam | 2 +-
.../yocaml_mustache/yocaml_mustache.1.0.0/opam | 2 +-
packages/yocaml_unix/yocaml_unix.1.0.0/opam | 2 +-
packages/yocaml_yaml/yocaml_yaml.1.0.0/opam | 2 +-
9 files changed, 54 insertions(+), 8 deletions(-)
create mode 100644 packages/preface/preface.1.1.0/opam
(from ocaml/opam:debian-12-ocaml-5.3@sha256:c6b0d5ed390f228968bfd47b4692060df480c55231ef7c2baa1dc880830296e6)
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2025-02-28 11:31.35 ---> using "c479d118e9d43ce33f7c1fe188f68b5bb3a8ed381b5abd1f6e02fa1b30d618ff" from cache
/: (shell /usr/bin/linux32 /bin/sh -c)
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-02-28 11:31.35 ---> using "81cf06d2479acc5f96ffe0d7c0310e9649979561f67c1f29d5a0f76bacdc513b" from cache
/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 development 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-28 11:31.35 ---> using "a876eb56dd2fe3f5a3cee826ee62693eb2e5a01a58c1ad8d24bdef42ea506c95" from cache
/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.4.0~alpha1~dev (34b7b4ec4af0ebd3c8fc4aee8088471be2ad48c7)
# self-upgrade no
# system arch=x86_32 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 39
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# invariant ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native false
# ocaml:native-tools false
# ocaml:native-dynlink false
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0+bytecode-only
2025-02-28 11:31.35 ---> using "32f6d76bef767e47e3c8abd2ecb6f33c863a12a7aae7dbf50fa7176cb3e52aea" from cache
/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/"))
2025-02-28 11:31.35 ---> using "4e9c66b3758556f2bc6f57a89421b50faa2c2c661e10859c4912ae69ac826caf" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-28 11:31.36 ---> using "9bf90f5936e20013b98799d5e53cc0ab47546fe955b0a4e7def5b80859c10279" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-28 11:32.20 ---> saved as "1d0e2632a3f548564fc113814cc77ed604f534e7abe634bb58c5e3450de2d220"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main i386 Packages [239 kB]
- Fetched 342 kB in 0s (961 kB/s)
- Reading package lists...
-
2025-02-28 11:32.21 ---> saved as "a55c2e7556cc82b65ac244bf6cdb5409273a2b28ff3f6eac1e056ac9f0fddc8e"
/home/opam: (run (shell "opam pin add -k version -yn yocaml.1.0.0 1.0.0"))
yocaml is now pinned to version 1.0.0
2025-02-28 11:32.22 ---> saved as "ce1f46e8c8f0884b34a390056f55e04e9e95e76ec4431c366634fbd30664728b"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall yocaml.1.0.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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'yocaml.1.0.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
yocaml.1.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 4 packages
- install dune 3.17.2 [required by yocaml]
- install either 1.0.0 [required by preface]
- install preface 1.0.0 [required by yocaml]
- install yocaml 1.0.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved preface.1.0.0 (cached)
-> retrieved yocaml.1.0.0 (cached)
-> installed dune.3.17.2
-> installed either.1.0.0
-> installed preface.1.0.0
-> installed yocaml.1.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-28 11:34.38 ---> saved as "7bf703d307a54db7b6170dbddd9b5f4899274bd176e3ac33b17617be15887571"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test yocaml.1.0.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile yocaml 1.0.0 (pinned)
=== install 12 packages
- install alcotest 1.8.0 [required by yocaml]
- install astring 0.8.5 [required by alcotest]
- install cmdliner 1.3.0 [required by alcotest]
- install fmt 0.9.0 [required by alcotest]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install ocamlbuild 0.16.1 [required by fmt, astring, uutf]
- install ocamlfind 1.9.8 [required by fmt, astring, uutf]
- install re 1.12.0 [required by alcotest]
- install seq base [required by re]
- install stdlib-shims 0.3.0 [required by alcotest]
- install topkg 1.0.7 [required by fmt, astring, uutf]
- install uutf 1.0.3 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.8.0 (https://github.com/mirage/alcotest/releases/download/1.8.0/alcotest-1.8.0.tbz)
-> retrieved astring.0.8.5 (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
-> retrieved cmdliner.1.3.0 (https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz)
-> retrieved fmt.0.9.0 (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
-> retrieved ocaml-syntax-shims.1.0.0 (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
-> retrieved ocamlbuild.0.16.1 (https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.16.1.tar.gz)
-> retrieved ocamlfind.1.9.8 (https://github.com/ocaml/ocamlfind/archive/refs/tags/findlib-1.9.8.tar.gz)
-> retrieved re.1.12.0 (https://github.com/ocaml/ocaml-re/releases/download/1.12.0/re-1.12.0.tbz)
-> retrieved seq.base (2 extra sources)
-> retrieved seq.base (2 extra sources)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz)
-> retrieved topkg.1.0.7 (https://erratique.ch/software/topkg/releases/topkg-1.0.7.tbz)
-> retrieved uutf.1.0.3 (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
-> installed stdlib-shims.0.3.0
-> installed re.1.12.0
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocaml-syntax-shims.1.0.0
-> removed yocaml.1.0.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed alcotest.1.8.0
-> installed yocaml.1.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-28 11:35.23 ---> saved as "9b7430f1d4d44c3965b014036a4a268a67615b5bb2bac2c2a26dad27df26a9b2"
/home/opam: (run (shell "opam reinstall --with-test --verbose yocaml.1.0.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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'yocaml.1.0.0' && 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 yocaml 1.0.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [yocaml: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "yocaml" "-j" "39" (CWD=/home/opam/.opam/5.3/.opam-switch/build/yocaml.1.0.0)
Processing 2/4: [yocaml: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "yocaml" (CWD=/home/opam/.opam/5.3/.opam-switch/build/yocaml.1.0.0)
-> compiled yocaml.1.0.0
-> removed yocaml.1.0.0
-> installed yocaml.1.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-28 11:35.33 ---> saved as "2e3a3be1c7ce27b0c4d9839688fa3433283f5bfb16ce3c5705bd3113a871b4a6"
Job succeeded
2025-02-28 11:35.38: Job succeeded