- github
- ocaml
- opam-repository
- ed800b
- compilers,4.11,dyn.3.16.1
(not at the head of any monitored branch or PR)
2024-10-30 17:09.04: New job: build dyn.3.16.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26816/head (ed800ba87cfbe293bcb59dfb40db5252bc65f6f5)
on debian-12-ocaml-4.11/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/26816/head" && git reset --hard ed800ba8
git fetch origin master
git merge --no-edit ce4637ae20e511e8dc54562b123f1407fa5b2ca8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.11@sha256:d0b19b57f223b9285e75e7eec5da810b21dbc2eb824bf89ba17776719e19ba0a
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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 dyn.3.16.1 3.16.1
RUN opam reinstall dyn.3.16.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'dyn.3.16.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 .
2024-10-30 17:09.04: Using cache hint "ocaml/opam:debian-12-ocaml-4.11@sha256:d0b19b57f223b9285e75e7eec5da810b21dbc2eb824bf89ba17776719e19ba0a-dyn.3.16.1-ed800ba87cfbe293bcb59dfb40db5252bc65f6f5"
2024-10-30 17:09.04: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.11@sha256:d0b19b57f223b9285e75e7eec5da810b21dbc2eb824bf89ba17776719e19ba0a)
(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 "uname -rs && opam exec -- ocaml -version && opam --version"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMSOLVERTIMEOUT 1000)
(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 dyn.3.16.1 3.16.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dyn.3.16.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 \"\\\"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\" != 'dyn.3.16.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-10-30 17:09.04: Waiting for resource in pool OCluster
2024-10-30 17:12.36: Waiting for worker…
2024-10-30 17:16.01: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
Updating files: 88% (28709/32570)
Updating files: 89% (28988/32570)
Updating files: 90% (29313/32570)
Updating files: 91% (29639/32570)
Updating files: 92% (29965/32570)
Updating files: 93% (30291/32570)
Updating files: 94% (30616/32570)
Updating files: 95% (30942/32570)
Updating files: 96% (31268/32570)
Updating files: 97% (31593/32570)
Updating files: 98% (31919/32570)
Updating files: 99% (32245/32570)
Updating files: 100% (32570/32570)
Updating files: 100% (32570/32570), done.
HEAD is now at ce4637ae20 Merge pull request #26802 from robur-coop/release-git-kv-v0.1.0
Updating ce4637ae20..ed800ba87c
Fast-forward
packages/chrome-trace/chrome-trace.3.16.1/opam | 40 +++++++++++++++
.../dune-action-plugin.3.16.1/opam | 53 ++++++++++++++++++++
.../dune-build-info/dune-build-info.3.16.1/opam | 46 +++++++++++++++++
.../dune-configurator.3.16.1/opam | 50 +++++++++++++++++++
packages/dune-glob/dune-glob.3.16.1/opam | 43 ++++++++++++++++
.../dune-private-libs.3.16.1/opam | 51 +++++++++++++++++++
packages/dune-rpc-lwt/dune-rpc-lwt.3.16.1/opam | 42 ++++++++++++++++
packages/dune-rpc/dune-rpc.3.16.1/opam | 44 +++++++++++++++++
packages/dune-site/dune-site.3.16.1/opam | 38 +++++++++++++++
packages/dune/dune.3.16.1/opam | 57 ++++++++++++++++++++++
packages/dyn/dyn.3.16.1/opam | 41 ++++++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.16.1/opam | 44 +++++++++++++++++
packages/ordering/ordering.3.16.1/opam | 39 +++++++++++++++
packages/stdune/stdune.3.16.1/opam | 45 +++++++++++++++++
packages/xdg/xdg.3.16.1/opam | 40 +++++++++++++++
15 files changed, 673 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.16.1/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.16.1/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.16.1/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.16.1/opam
create mode 100644 packages/dune-glob/dune-glob.3.16.1/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.16.1/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.16.1/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.16.1/opam
create mode 100644 packages/dune-site/dune-site.3.16.1/opam
create mode 100644 packages/dune/dune.3.16.1/opam
create mode 100644 packages/dyn/dyn.3.16.1/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.16.1/opam
create mode 100644 packages/ordering/ordering.3.16.1/opam
create mode 100644 packages/stdune/stdune.3.16.1/opam
create mode 100644 packages/xdg/xdg.3.16.1/opam
(from ocaml/opam:debian-12-ocaml-4.11@sha256:d0b19b57f223b9285e75e7eec5da810b21dbc2eb824bf89ba17776719e19ba0a)
2024-10-30 17:17.02 ---> saved as "f4f953a6eb6f926a948b21121d031f45b08d38b5fadfd56b18872b5fdfecb363"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-10-30 17:17.02 ---> saved as "19f63abac32d95ce154857fb5b2e8e0309e65ae9502927e8130b86984b6a84cb"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-30 17:18.44 ---> saved as "7c9e7715a569d0dbdd0d0958295c6ab2f1e46db58408b5a550c4b3058c49011a"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.11.2
2.4.0~alpha1~dev
2024-10-30 17:18.45 ---> saved as "3386e54767e218b64c0b1d41a439e141c54e2b426516a1721c5395c3ba1f224e"
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMSOLVERTIMEOUT 1000)
/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/"))
2024-10-30 17:18.51 ---> saved as "a5df84283466555d63247de7b1853c3c5cbf171a24a3efedd76f3a6448d82a53"
/home/opam: (copy (src .) (dst opam-repository/))
2024-10-30 17:19.11 ---> saved as "bc74c8fa69c06bbe25e0f00751213a0b03edd8af0d2b4dba232fe2a4f505b90f"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-10-30 17:20.08 ---> saved as "e5b015153c8ef41c68ed39ca721e00f449c4a5d7d000cae2668542df7c66fd6a"
/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 [190 kB]
- Fetched 293 kB in 0s (1346 kB/s)
- Reading package lists...
2024-10-30 17:20.09 ---> saved as "56270a1e61fe84fc80dc9c9759274f6ed170684e0ed6e5a783f06db8ac4ac83d"
/home/opam: (run (shell "opam pin add -k version -yn dyn.3.16.1 3.16.1"))
dyn is now pinned to version 3.16.1
2024-10-30 17:20.10 ---> saved as "8a230af36d1e0866c0eb98205c60bcf6ed71bf5872a59478e3bc6750dd2f2f4d"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dyn.3.16.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 \"\\\"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\" != 'dyn.3.16.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dyn.3.16.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 4 packages
- install dune 3.16.1 [required by dyn]
- install dyn 3.16.1 (pinned)
- install ordering 3.16.1 [required by dyn]
- install pp 2.0.0 [required by dyn]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.16.1, dyn.3.16.1, ordering.3.16.1 (cached)
-> retrieved pp.2.0.0 (https://github.com/ocaml-dune/pp/releases/download/2.0.0/pp-2.0.0.tbz)
-> installed dune.3.16.1
-> installed pp.2.0.0
-> installed ordering.3.16.1
-> installed dyn.3.16.1
Done.
# To update the current shell environment, run: eval $(opam env)
2024-10-30 17:21.01 ---> saved as "c83a0849d411bae2c2ddc06ce6231d4f2ade567b7b3d46594453d7f9054b5ad7"
Job succeeded
2024-10-30 17:21.07: Job succeeded