- github
- ocaml
- opam-repository
- 7f5e4e
- distributions,alpine-3.21-ocaml-5.3,owee.0.8
(not at the head of any monitored branch or PR)
2025-02-17 01:48.29: New job: build owee.0.8, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27453/head (7f5e4ebe590177150a262f97807f05af19cbd3a6)
on alpine-3.21-ocaml-5.3/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/27453/head" && git reset --hard 7f5e4ebe
git fetch origin master
git merge --no-edit a17a63ad3c59d7e1f745e87d85b858a34e0cda25
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:8c7343060a0d186973a6b39d43812185c6def9ef0170f4cd86967755a473e1ab
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 owee.0.8 0.8
RUN opam reinstall owee.0.8; \
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 "\"alpine-3.21\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'owee.0.8' && 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-17 01:48.29: Using cache hint "ocaml/opam:alpine-3.21-ocaml-5.3@sha256:8c7343060a0d186973a6b39d43812185c6def9ef0170f4cd86967755a473e1ab-owee.0.8-7f5e4ebe590177150a262f97807f05af19cbd3a6"
2025-02-17 01:48.29: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:8c7343060a0d186973a6b39d43812185c6def9ef0170f4cd86967755a473e1ab)
(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 owee.0.8 0.8"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall owee.0.8;\
\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 \"\\\"alpine-3.21\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'owee.0.8' && 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-17 01:48.29: Waiting for resource in pool OCluster
2025-02-17 01:48.29: Waiting for worker…
2025-02-17 01:51.16: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files: 88% (20736/23369)
Updating files: 89% (20799/23369)
Updating files: 90% (21033/23369)
Updating files: 91% (21266/23369)
Updating files: 92% (21500/23369)
Updating files: 93% (21734/23369)
Updating files: 94% (21967/23369)
Updating files: 95% (22201/23369)
Updating files: 96% (22435/23369)
Updating files: 97% (22668/23369)
Updating files: 98% (22902/23369)
Updating files: 99% (23136/23369)
Updating files: 100% (23369/23369)
Updating files: 100% (23369/23369), done.
HEAD is now at a17a63ad3c Merge pull request #27452 from chetmurthy/release-pcre2-ocaml-8.0.3
Updating a17a63ad3c..7f5e4ebe59
Fast-forward
packages/owee/owee.0.8/opam | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
create mode 100644 packages/owee/owee.0.8/opam
(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:8c7343060a0d186973a6b39d43812185c6def9ef0170f4cd86967755a473e1ab)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-5.3@sha256:8c7343060a0d186973a6b39d43812185c6def9ef0170f4cd86967755a473e1ab' locally
docker.io/ocaml/opam@sha256:8c7343060a0d186973a6b39d43812185c6def9ef0170f4cd86967755a473e1ab: Pulling from ocaml/opam
6b8c9ab81bdb: Pulling fs layer
6b8c9ab81bdb: Waiting
6b8c9ab81bdb: Download complete
6b8c9ab81bdb: Pull complete
Digest: sha256:8c7343060a0d186973a6b39d43812185c6def9ef0170f4cd86967755a473e1ab
Status: Downloaded newer image for ocaml/opam@sha256:8c7343060a0d186973a6b39d43812185c6def9ef0170f4cd86967755a473e1ab
2025-02-17 01:51.46 ---> using "a2bcd488037c541d9b73f50a202a70a75fcbcf7509c06604f8b95e3d773710b0" 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-02-17 01:51.46 ---> using "ba8ca1b14a659e34a675be8a5675462de06024716b77489c50972052692aff11" 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] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-17 01:51.46 ---> using "255421e8def8509ba5cb7872eca8fdfedc9a0dd0489d9eb1e7959326035e070b" 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 (747e73667ad9d054b0f736be205c0013e1bec087)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=alpine os-version=3.21.2
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# 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-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# 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
2025-02-17 01:51.46 ---> using "7b829b4788f8e118ef5e548f7f3148e100826705a9f2a6a24070fce8b2858d13" 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-17 01:51.46 ---> using "03922d7145ef59051659466ab95fc834748cdc15fad5923cc9618491ad75f505" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-17 01:51.54 ---> saved as "f36abb875ee6a21e4fe0dd8e06bb447e08fdf29c0eb6adf754a881aada1521a9"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-17 01:52.44 ---> saved as "bc217d769a0f27ab2941b83dcbe2f8bc4d5862b7c394a013ecbcd0e9cac3e446"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-10-g86668ef9c61 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-17-geec947bfc85 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-2297-gbb241594e9b [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-2112-g950165b0fd5 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-1862-g95359712816 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 56477 distinct packages available
2025-02-17 01:52.46 ---> saved as "3c6aa63304101a3b0d0469cf6c2a286e309a2aa76d09fdfa3ee5a95ad4bb64d2"
/home/opam: (run (shell "opam pin add -k version -yn owee.0.8 0.8"))
owee is now pinned to version 0.8
2025-02-17 01:52.47 ---> saved as "e641853866515c40d7246e97fa03dec6279c00193b7e65cd5d00cc853e9251c2"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall owee.0.8;\
\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 \"\\\"alpine-3.21\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'owee.0.8' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
owee.0.8 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.17.2 [required by owee]
- install owee 0.8 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2 (cached)
-> retrieved owee.0.8 (cached)
-> installed dune.3.17.2
-> installed owee.0.8
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-17 01:53.29 ---> saved as "085eb9b4790daafd45e857760b56c48ef3e2aa17e95976d1964e126ef6d70f6b"
Job succeeded
2025-02-17 01:53.40: Job succeeded