- github
- ocaml
- opam-repository
- b0bf59
- distributions,alpine-3.20-ocaml-4.14,dscheck.0.5.0
(not at the head of any monitored branch or PR)
2024-07-05 09:08.48: New job: build dscheck.0.5.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26195/head (b0bf598e34cb04c0c2bc402fafb48007a093caa5)
on alpine-3.20-ocaml-4.14/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/26195/head" && git reset --hard b0bf598e
git fetch origin master
git merge --no-edit ffa13bde692b620e00bebe138223b51234128eff
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.20-ocaml-4.14@sha256:7ece9bb2c40b7bd240a35d6e94908a01363a19c6be4941d9ffbbacd6bdc588d1
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="500"
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 dscheck.0.5.0 0.5.0
RUN opam reinstall dscheck.0.5.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 "\"alpine-3.20\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'dscheck.0.5.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 .
2024-07-05 09:08.48: Using cache hint "ocaml/opam:alpine-3.20-ocaml-4.14@sha256:7ece9bb2c40b7bd240a35d6e94908a01363a19c6be4941d9ffbbacd6bdc588d1-dscheck.0.5.0-b0bf598e34cb04c0c2bc402fafb48007a093caa5"
2024-07-05 09:08.48: Using OBuilder spec:
((from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:7ece9bb2c40b7bd240a35d6e94908a01363a19c6be4941d9ffbbacd6bdc588d1)
(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 500)
(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 dscheck.0.5.0 0.5.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dscheck.0.5.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 \"\\\"alpine-3.20\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dscheck.0.5.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-07-05 09:08.48: Waiting for resource in pool OCluster
2024-07-05 12:03.03: Waiting for worker…
2024-07-05 12:06.45: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files: 64% (20417/31776)
Updating files: 65% (20655/31776)
Updating files: 66% (20973/31776)
Updating files: 67% (21290/31776)
Updating files: 68% (21608/31776)
Updating files: 69% (21926/31776)
Updating files: 70% (22244/31776)
Updating files: 71% (22561/31776)
Updating files: 72% (22879/31776)
Updating files: 73% (23197/31776)
Updating files: 74% (23515/31776)
Updating files: 75% (23832/31776)
Updating files: 76% (24150/31776)
Updating files: 77% (24468/31776)
Updating files: 78% (24786/31776)
Updating files: 79% (25104/31776)
Updating files: 80% (25421/31776)
Updating files: 81% (25739/31776)
Updating files: 82% (26057/31776)
Updating files: 83% (26375/31776)
Updating files: 84% (26692/31776)
Updating files: 85% (27010/31776)
Updating files: 86% (27328/31776)
Updating files: 87% (27646/31776)
Updating files: 88% (27963/31776)
Updating files: 89% (28281/31776)
Updating files: 90% (28599/31776)
Updating files: 91% (28917/31776)
Updating files: 92% (29234/31776)
Updating files: 93% (29552/31776)
Updating files: 94% (29870/31776)
Updating files: 95% (30188/31776)
Updating files: 96% (30505/31776)
Updating files: 97% (30823/31776)
Updating files: 98% (31141/31776)
Updating files: 99% (31459/31776)
Updating files: 100% (31776/31776)
Updating files: 100% (31776/31776), done.
HEAD is now at ffa13bde69 Merge pull request #26174 from antoinemine/opam-publish-apron.v0.9.15
Merge made by the 'ort' strategy.
packages/dscheck/dscheck.0.5.0/opam | 41 +++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 packages/dscheck/dscheck.0.5.0/opam
(from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:7ece9bb2c40b7bd240a35d6e94908a01363a19c6be4941d9ffbbacd6bdc588d1)
2024-07-05 12:07.22 ---> saved as "355223e258a2e8fca02447ed18b31e679f8b46659248453cb3b013f7dbec07bd"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-07-05 12:07.22 ---> saved as "d84bd3f6b8b785ec121d2f33a678e11cbd63e711a47c918121adaa429c69ec8a"
/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~beta, 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-07-05 12:08.33 ---> saved as "401df5337382363440297d6fbdd35759801809bcb6440f77675ff06716494f9c"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-113-generic
The OCaml toplevel, version 4.14.2
2.2.0~rc1
2024-07-05 12:08.33 ---> saved as "66f3a532f57d9d3769eaa58633578989ac143ecd6ab7b2cd42b8103d40cb1d22"
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMSOLVERTIMEOUT 500)
/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-07-05 12:08.45 ---> saved as "08610b3db6d78d915834d289f4a40659f5e034187931483cad0421469ab3ac96"
/home/opam: (copy (src .) (dst opam-repository/))
2024-07-05 12:08.59 ---> saved as "5d8901dff112d995acdb22c22b110f5d15326952dae3beb06de0b869a3c62dc0"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-07-05 12:09.52 ---> saved as "e41afb152c1b1e6007180a768e98654a5047566b0f0794f8a31c4c0257b57666"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/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.20.1-59-g0a6de68fa41 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
- v3.20.1-63-gecff9f41d74 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
- v20240606-1974-g2653ed7c9a9 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20240606-1974-g2653ed7c9a9 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20240606-1949-g8ab19197b90 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 54181 distinct packages available
2024-07-05 12:09.55 ---> saved as "b468f784d09aa68971a5150cb569a4854afd97b541d0d77d34fb3c17eccbb336"
/home/opam: (run (shell "opam pin add -k version -yn dscheck.0.5.0 0.5.0"))
dscheck is now pinned to version 0.5.0
2024-07-05 12:09.56 ---> saved as "0e78359b0732efed4955d0f8b58383fba9f38ac053ffe58d98ef701503ed3076"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dscheck.0.5.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 \"\\\"alpine-3.20\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dscheck.0.5.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dscheck.0.5.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 9 packages
- install cmdliner 1.3.0 [required by dscheck]
- install containers 3.13.1 [required by dscheck]
- install csexp 1.5.2 [required by dune-configurator]
- install dscheck 0.5.0 (pinned)
- install dune 3.16.0 [required by dscheck]
- install dune-configurator 3.16.0 [required by containers]
- install either 1.0.0 [required by containers]
- install oseq 0.5.1 [required by dscheck]
- install tsort 2.1.0 [required by dscheck]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved containers.3.13.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dscheck.0.5.0 (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved oseq.0.5.1 (cached)
-> retrieved tsort.2.1.0 (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.16.0
-> installed csexp.1.5.2
-> installed either.1.0.0
-> installed oseq.0.5.1
-> installed tsort.2.1.0
-> installed dune-configurator.3.16.0
-> installed containers.3.13.1
-> installed dscheck.0.5.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-07-05 12:10.34 ---> saved as "c497872d3b7ef52faced6ab7fab8c02e6ded3f51e120036c1d6455052dd5a7f7"
Job succeeded
2024-07-05 12:10.47: Job succeeded