- github
- ocaml
- opam-repository
- 567062
- compilers,4.03,seq.0.2.2
(not at the head of any monitored branch or PR)
2025-03-13 08:54.48: New job: build seq.0.2.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27616/head (5670621db7049b6f31cb9e0f4b340510e13fe232)
on debian-12-ocaml-4.03/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/27616/head" && git reset --hard 5670621d
git fetch origin master
git merge --no-edit 5ab9f3c9e8c50d4858e5b871d7544019a20f89e2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.03@sha256:85fa0a46799ad881dd2fc12c23e0ea02a1fb8804ec4e36279cc5c07e9c452693
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 seq.0.2.2 0.2.2
RUN opam reinstall seq.0.2.2; \
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" != 'seq.0.2.2' && 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-03-13 08:54.48: Using cache hint "ocaml/opam:debian-12-ocaml-4.03@sha256:85fa0a46799ad881dd2fc12c23e0ea02a1fb8804ec4e36279cc5c07e9c452693-seq.0.2.2-5670621db7049b6f31cb9e0f4b340510e13fe232"
2025-03-13 08:54.48: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.03@sha256:85fa0a46799ad881dd2fc12c23e0ea02a1fb8804ec4e36279cc5c07e9c452693)
(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 seq.0.2.2 0.2.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall seq.0.2.2;\
\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\" != 'seq.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-03-13 08:54.48: Waiting for resource in pool OCluster
2025-03-13 08:54.51: Waiting for worker…
2025-03-13 08:54.51: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
Updating files: 30% (6984/22647)
Updating files: 31% (7021/22647)
Updating files: 32% (7248/22647)
Updating files: 33% (7474/22647)
Updating files: 34% (7700/22647)
Updating files: 35% (7927/22647)
Updating files: 36% (8153/22647)
Updating files: 37% (8380/22647)
Updating files: 38% (8606/22647)
Updating files: 39% (8833/22647)
Updating files: 40% (9059/22647)
Updating files: 41% (9286/22647)
Updating files: 42% (9512/22647)
Updating files: 43% (9739/22647)
Updating files: 44% (9965/22647)
Updating files: 45% (10192/22647)
Updating files: 46% (10418/22647)
Updating files: 47% (10645/22647)
Updating files: 48% (10871/22647)
Updating files: 49% (11098/22647)
Updating files: 50% (11324/22647)
Updating files: 51% (11550/22647)
Updating files: 52% (11777/22647)
Updating files: 53% (12003/22647)
Updating files: 54% (12230/22647)
Updating files: 55% (12456/22647)
Updating files: 56% (12683/22647)
Updating files: 57% (12909/22647)
Updating files: 58% (13136/22647)
Updating files: 59% (13362/22647)
Updating files: 60% (13589/22647)
Updating files: 61% (13815/22647)
Updating files: 62% (14042/22647)
Updating files: 63% (14268/22647)
Updating files: 64% (14495/22647)
Updating files: 64% (14619/22647)
Updating files: 65% (14721/22647)
Updating files: 66% (14948/22647)
Updating files: 67% (15174/22647)
Updating files: 68% (15400/22647)
Updating files: 69% (15627/22647)
Updating files: 70% (15853/22647)
Updating files: 71% (16080/22647)
Updating files: 72% (16306/22647)
Updating files: 73% (16533/22647)
Updating files: 74% (16759/22647)
Updating files: 75% (16986/22647)
Updating files: 76% (17212/22647)
Updating files: 77% (17439/22647)
Updating files: 78% (17665/22647)
Updating files: 79% (17892/22647)
Updating files: 80% (18118/22647)
Updating files: 81% (18345/22647)
Updating files: 82% (18571/22647)
Updating files: 83% (18798/22647)
Updating files: 84% (19024/22647)
Updating files: 85% (19250/22647)
Updating files: 86% (19477/22647)
Updating files: 87% (19703/22647)
Updating files: 88% (19930/22647)
Updating files: 89% (20156/22647)
Updating files: 90% (20383/22647)
Updating files: 91% (20609/22647)
Updating files: 92% (20836/22647)
Updating files: 93% (21062/22647)
Updating files: 94% (21289/22647)
Updating files: 95% (21515/22647)
Updating files: 96% (21742/22647)
Updating files: 97% (21968/22647)
Updating files: 98% (22195/22647)
Updating files: 99% (22421/22647)
Updating files: 100% (22647/22647)
Updating files: 100% (22647/22647), done.
HEAD is now at 2e15ca2882 Merge commit 'ab2f39d6673b097a056f3e1bd489d6f4714b1cbe'
HEAD is now at 5ab9f3c9e8 Merge pull request #27610 from Alasdair/release-sail-0.19
Merge made by the 'ort' strategy.
packages/seq/seq.0.2.2/opam | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(from ocaml/opam:debian-12-ocaml-4.03@sha256:85fa0a46799ad881dd2fc12c23e0ea02a1fb8804ec4e36279cc5c07e9c452693)
2025-03-13 08:55.00 ---> using "e10f419b1dc3737d33faaf90df3ac28df19ab7033c2f521ee0e2661d4b115157" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-03-13 08:55.00 ---> using "53b1e81d9c74c39935cd0cdd93995e218701dc4451a8aa89fc2b334eae79387c" 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-03-13 08:55.00 ---> using "e77b73d5a4032d46120a66e013de6488fc9b9efc6673753c40774ab8c0044cbf" 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 (f1cf50f2711981a605f81a80c68b73774d5841ff)
# self-upgrade no
# system arch=x86_64 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 4.03
# invariant ["ocaml-base-compiler" {= "4.03.0"}]
# compiler-packages ocaml-base-compiler.4.03.0
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.03/lib/ocaml/stublibs:/home/opam/.opam/4.03/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.03.0
2025-03-13 08:55.00 ---> using "03585b8a332a72ddf1b40450dd977414aef5f8990499bfb1efc3aeff9bb0f75e" 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-03-13 08:55.00 ---> using "1e0901e68abf83aa6d5ecaf7ad39fa5433ecc4ea76749c40ea101017b30d9552" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-13 08:55.10 ---> saved as "2d961cf60ff5eaee8babf92fa3e5f8483c0c12b4adb276da16589309dfb8f540"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-13 08:56.06 ---> saved as "8f68819f1f534220eaff94c55b6455c704773b7b4ec85af882b3c8910f766594"
/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 amd64 Packages [246 kB]
- Fetched 349 kB in 0s (1000 kB/s)
- Reading package lists...
-
2025-03-13 08:56.08 ---> saved as "99369725803f6395062270faaf48d8b481ec75b32adc89f788a01108dc87ebed"
/home/opam: (run (shell "opam pin add -k version -yn seq.0.2.2 0.2.2"))
seq is now pinned to version 0.2.2
2025-03-13 08:56.09 ---> saved as "403a45dee57b1efcc03ba873d0ab566441eb2ef1be59e7a30bc6f1a835e146de"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall seq.0.2.2;\
\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\" != 'seq.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
seq.0.2.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 4 packages
- install dune 3.17.2 [required by seq]
- install ocamlfind 1.9.6 [required by ocamlfind-secondary]
- install ocamlfind-secondary 1.9.6 [required by dune]
- install seq 0.2.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2 (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6 (cached)
-> retrieved seq.0.2.2 (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.17.2
-> installed seq.0.2.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-13 08:56.57 ---> saved as "51d2b38c0113311a9be95ca0a9f04d29b9b5e193bbfb1903c010e0ad96fc9390"
Job succeeded
2025-03-13 08:57.04: Job succeeded