- github
- ocaml
- opam-repository
- d96087
- distributions,debian-testing-ocaml-5.2,glical.0.0.3
(not at the head of any monitored branch or PR)
2024-11-21 16:12.19: New job: build glical.0.0.3, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26923/head (d9608777c483f5d710728ba45cd88b50c515d9a2)
on debian-testing-ocaml-5.2/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/26923/head" && git reset --hard d9608777
git fetch origin master
git merge --no-edit 9f26a2181d2f46e23b62061679bdddb92684f204
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-testing-ocaml-5.2@sha256:38e513c4d7cf7574225a25b4f897beedc9725bf05ec48147011b882d260e76fb
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 glical.0.0.3 0.0.3
RUN opam reinstall glical.0.0.3; \
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-testing\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'glical.0.0.3' && 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-11-21 16:12.19: Using cache hint "ocaml/opam:debian-testing-ocaml-5.2@sha256:38e513c4d7cf7574225a25b4f897beedc9725bf05ec48147011b882d260e76fb-glical.0.0.3-d9608777c483f5d710728ba45cd88b50c515d9a2"
2024-11-21 16:12.19: Using OBuilder spec:
((from ocaml/opam:debian-testing-ocaml-5.2@sha256:38e513c4d7cf7574225a25b4f897beedc9725bf05ec48147011b882d260e76fb)
(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 glical.0.0.3 0.0.3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall glical.0.0.3;\
\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-testing\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'glical.0.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-11-21 16:12.19: Waiting for resource in pool OCluster
2024-11-21 16:20.42: Waiting for worker…
2024-11-21 16:22.15: Got resource from pool OCluster
Building on x86-bm-c19.sw.ocaml.org
All commits already cached
Updating files: 83% (27286/32712)
Updating files: 84% (27479/32712)
Updating files: 85% (27806/32712)
Updating files: 86% (28133/32712)
Updating files: 87% (28460/32712)
Updating files: 88% (28787/32712)
Updating files: 89% (29114/32712)
Updating files: 90% (29441/32712)
Updating files: 91% (29768/32712)
Updating files: 92% (30096/32712)
Updating files: 93% (30423/32712)
Updating files: 94% (30750/32712)
Updating files: 95% (31077/32712)
Updating files: 96% (31404/32712)
Updating files: 97% (31731/32712)
Updating files: 98% (32058/32712)
Updating files: 99% (32385/32712)
Updating files: 100% (32712/32712)
Updating files: 100% (32712/32712), done.
HEAD is now at 9f26a2181d Merge pull request #26919 from hannesm/old-mpp-and-glical-unavailable
Updating 9f26a2181d..d9608777c4
Fast-forward
packages/glical/glical.0.0.1/opam | 1 -
packages/glical/glical.0.0.2/opam | 1 -
packages/glical/glical.0.0.3/opam | 1 -
packages/mpp/mpp.0.1.0/opam | 1 -
packages/mpp/mpp.0.1.1/opam | 1 -
packages/mpp/mpp.0.1.2/opam | 1 -
packages/mpp/mpp.0.1.3/opam | 1 -
packages/mpp/mpp.0.1.4/opam | 1 -
packages/mpp/mpp.0.1.5/opam | 1 -
packages/mpp/mpp.0.1.7/opam | 1 -
packages/mpp/mpp.0.1.8/opam | 1 -
packages/mpp/mpp.0.2.0/opam | 1 -
packages/mpp/mpp.0.2.1/opam | 1 -
packages/mpp/mpp.0.3.0/opam | 1 -
14 files changed, 14 deletions(-)
(from ocaml/opam:debian-testing-ocaml-5.2@sha256:38e513c4d7cf7574225a25b4f897beedc9725bf05ec48147011b882d260e76fb)
Unable to find image 'ocaml/opam:debian-testing-ocaml-5.2@sha256:38e513c4d7cf7574225a25b4f897beedc9725bf05ec48147011b882d260e76fb' locally
docker.io/ocaml/opam@sha256:38e513c4d7cf7574225a25b4f897beedc9725bf05ec48147011b882d260e76fb: Pulling from ocaml/opam
60edcf87e8cc: Pulling fs layer
60edcf87e8cc: Verifying Checksum
60edcf87e8cc: Download complete
60edcf87e8cc: Pull complete
Digest: sha256:38e513c4d7cf7574225a25b4f897beedc9725bf05ec48147011b882d260e76fb
Status: Downloaded newer image for ocaml/opam@sha256:38e513c4d7cf7574225a25b4f897beedc9725bf05ec48147011b882d260e76fb
2024-11-21 16:24.03 ---> saved as "00498bf8e76f9f8285f0bec265399acf37a1c6335881a521e572c9d423012856"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-11-21 16:24.03 ---> saved as "4e731142fc8309eb598c0ae3d734eea9a33ed18d6df5c40bafce0af754da8b67"
/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-11-21 16:25.22 ---> saved as "50faa97db10de7a32c64109c5b71ee4dbc559453f73565f0184fef9efad16e87"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 5.2.1
2.4.0~alpha1~dev
2024-11-21 16:25.22 ---> saved as "12e95a6928094d503227b38d5a1efa9c8f73d33b7c4d890f4a87803037ed3742"
/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-11-21 16:25.33 ---> saved as "7a48df284a3de8f18ca6bdd9670f7eac4697bd9db39e685d5419d471b8dedbb6"
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-21 16:25.41 ---> saved as "9e7eb4902db5b8a7bc6013339fca0fd33d4fb621a1d0ceb183955fab19c360da"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-21 16:26.41 ---> saved as "eaf8c9cab94ea8bd1606832e76a047373fb072eff049546a83be3f3a76e8c7b9"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian testing InRelease [172 kB]
- Get:2 http://deb.debian.org/debian testing-updates InRelease [49.6 kB]
- Get:3 http://deb.debian.org/debian-security testing-security InRelease [43.5 kB]
- Get:4 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [27.9 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages 2024-11-19-1405.22.pdiff [59 B]
- Get:6 http://deb.debian.org/debian testing/main amd64 Packages 2024-11-20-0206.04.pdiff [66.0 kB]
- Get:7 http://deb.debian.org/debian testing/main amd64 Packages 2024-11-20-0806.26.pdiff [739 B]
- Get:8 http://deb.debian.org/debian testing/main amd64 Packages 2024-11-20-1410.29.pdiff [15.1 kB]
- Get:9 http://deb.debian.org/debian testing/main amd64 Packages 2024-11-20-2013.47.pdiff [7341 B]
- Get:10 http://deb.debian.org/debian testing/main amd64 Packages 2024-11-21-0218.42.pdiff [46.1 kB]
- Get:11 http://deb.debian.org/debian testing/main amd64 Packages 2024-11-21-0804.32.pdiff [410 B]
- Get:12 http://deb.debian.org/debian testing/main amd64 Packages 2024-11-21-1404.34.pdiff [3783 B]
- Get:12 http://deb.debian.org/debian testing/main amd64 Packages 2024-11-21-1404.34.pdiff [3783 B]
- Fetched 432 kB in 1s (382 kB/s)
- Reading package lists...
2024-11-21 16:26.43 ---> saved as "d9896d3670fbdb680d7b4630304c386b1cfc0d093a4bfebfcff5fb1fb2d63142"
/home/opam: (run (shell "opam pin add -k version -yn glical.0.0.3 0.0.3"))
glical is now pinned to version 0.0.3
2024-11-21 16:26.44 ---> saved as "3b3fa683030380679187f0911745738489daed4ae37b1b470935d454fdff9d28"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall glical.0.0.3;\
\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-testing\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'glical.0.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
glical.0.0.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install glical 0.0.3 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved glical.0.0.3 (cached)
-> installed glical.0.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-21 16:27.02 ---> saved as "c3171ce4a998bc1d8536088aedcbe482a23ac763c878799a0e9d68bbb7b9f5b7"
Job succeeded
2024-11-21 16:27.08: Job succeeded