- github
- ocaml
- opam-repository
- 279169
- distributions,ubuntu-20.04-ocaml-4.14,ocamlformat-rpc-lib.0.27.0
(not at the head of any monitored branch or PR)
2024-11-29 15:19.42: New job: build ocamlformat-rpc-lib.0.27.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26998/head (27916977327321391ddd0aadb9e4d7c2d461e743)
on ubuntu-20.04-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/26998/head" && git reset --hard 27916977
git fetch origin master
git merge --no-edit 0b65c91e7650d82e2c12fe1f64a466d2c6954272
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:fd90a5bd138cfe2cbc11cd4b140b08f8c9a95d6a4b3404e8480d7e6eb6794f95
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 ocamlformat-rpc-lib.0.27.0 0.27.0
RUN opam reinstall ocamlformat-rpc-lib.0.27.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 "\"ubuntu-20.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocamlformat-rpc-lib.0.27.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-11-29 15:19.42: Using cache hint "ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:fd90a5bd138cfe2cbc11cd4b140b08f8c9a95d6a4b3404e8480d7e6eb6794f95-ocamlformat-rpc-lib.0.27.0-27916977327321391ddd0aadb9e4d7c2d461e743"
2024-11-29 15:19.42: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:fd90a5bd138cfe2cbc11cd4b140b08f8c9a95d6a4b3404e8480d7e6eb6794f95)
(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 ocamlformat-rpc-lib.0.27.0 0.27.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat-rpc-lib.0.27.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 \"\\\"ubuntu-20.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocamlformat-rpc-lib.0.27.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-11-29 15:19.42: Waiting for resource in pool OCluster
2024-11-29 15:25.32: Waiting for worker…
2024-11-29 15:28.27: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
Updating files: 74% (24479/32803)
Updating files: 75% (24603/32803)
Updating files: 76% (24931/32803)
Updating files: 77% (25259/32803)
Updating files: 78% (25587/32803)
Updating files: 79% (25915/32803)
Updating files: 80% (26243/32803)
Updating files: 81% (26571/32803)
Updating files: 82% (26899/32803)
Updating files: 83% (27227/32803)
Updating files: 84% (27555/32803)
Updating files: 85% (27883/32803)
Updating files: 86% (28211/32803)
Updating files: 87% (28539/32803)
Updating files: 88% (28867/32803)
Updating files: 89% (29195/32803)
Updating files: 90% (29523/32803)
Updating files: 91% (29851/32803)
Updating files: 92% (30179/32803)
Updating files: 93% (30507/32803)
Updating files: 94% (30835/32803)
Updating files: 95% (31163/32803)
Updating files: 96% (31491/32803)
Updating files: 97% (31819/32803)
Updating files: 98% (32147/32803)
Updating files: 99% (32475/32803)
Updating files: 100% (32803/32803)
Updating files: 100% (32803/32803), done.
HEAD is now at 0b65c91e76 Merge pull request #26997 from hannesm/revive-rml
Updating 0b65c91e76..2791697732
Fast-forward
.../ocamlformat-lib/ocamlformat-lib.0.27.0/opam | 68 ++++++++++++++++++++++
.../ocamlformat-rpc-lib.0.27.0/opam | 49 ++++++++++++++++
packages/ocamlformat/ocamlformat.0.27.0/opam | 59 +++++++++++++++++++
3 files changed, 176 insertions(+)
create mode 100644 packages/ocamlformat-lib/ocamlformat-lib.0.27.0/opam
create mode 100644 packages/ocamlformat-rpc-lib/ocamlformat-rpc-lib.0.27.0/opam
create mode 100644 packages/ocamlformat/ocamlformat.0.27.0/opam
(from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:fd90a5bd138cfe2cbc11cd4b140b08f8c9a95d6a4b3404e8480d7e6eb6794f95)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:fd90a5bd138cfe2cbc11cd4b140b08f8c9a95d6a4b3404e8480d7e6eb6794f95' locally
docker.io/ocaml/opam@sha256:fd90a5bd138cfe2cbc11cd4b140b08f8c9a95d6a4b3404e8480d7e6eb6794f95: Pulling from ocaml/opam
a7c83b1949c2: Pulling fs layer
a7c83b1949c2: Verifying Checksum
a7c83b1949c2: Download complete
a7c83b1949c2: Pull complete
Digest: sha256:fd90a5bd138cfe2cbc11cd4b140b08f8c9a95d6a4b3404e8480d7e6eb6794f95
Status: Downloaded newer image for ocaml/opam@sha256:fd90a5bd138cfe2cbc11cd4b140b08f8c9a95d6a4b3404e8480d7e6eb6794f95
2024-11-29 15:31.36 ---> saved as "0a06fdbaed13379f5f897ae09c3c302c43434456d4afbff0c046befb2ff242c8"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-11-29 15:31.36 ---> saved as "33c0d3b5eadfaebf320bedf3602c4eb47058c3191fa7ff47277ed2e585f0e250"
/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-29 15:33.10 ---> saved as "a74e9d4bbc9ba1da71d496748b865858e9ea57baedf66bec0dedc9488952aae2"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.14.2
2.4.0~alpha1~dev
2024-11-29 15:33.10 ---> saved as "3f0acceee79bcd71369a96e73d488ee0909c398ce9b186c48da831a3a6f2c90b"
/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-29 15:33.19 ---> saved as "8f352aad5248e61922cea31869d593d7ac8e635f9ed1d752e094abff72d80fd6"
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-29 15:33.36 ---> saved as "fab981e49493dfa609c972a143700878c684ef3dd5b4a8ebde0fa4cf60c084e2"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-29 15:34.45 ---> saved as "0e196da6213870a4ee496693f172c8efd346ef0bc9756ddfd4ef363559a387fb"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:3 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4109 kB]
- Get:4 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1278 kB]
- Get:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1568 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4581 kB]
- Fetched 11.9 MB in 1s (8628 kB/s)
- Reading package lists...
-
2024-11-29 15:34.47 ---> saved as "d6207cc2cc4fa0b6e150caacb70ee1171e6816214494b4728a4bf247ad6a4b0a"
/home/opam: (run (shell "opam pin add -k version -yn ocamlformat-rpc-lib.0.27.0 0.27.0"))
ocamlformat-rpc-lib is now pinned to version 0.27.0
2024-11-29 15:34.48 ---> saved as "e6ad4b54f10b1b0f521babe77636513944863751d49b7fde7b96b5155cb389a8"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat-rpc-lib.0.27.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 \"\\\"ubuntu-20.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocamlformat-rpc-lib.0.27.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocamlformat-rpc-lib.0.27.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install csexp 1.5.2 [required by ocamlformat-rpc-lib]
- install dune 3.17.0 [required by ocamlformat-rpc-lib]
- install ocamlformat-rpc-lib 0.27.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.17.0 (cached)
-> retrieved ocamlformat-rpc-lib.0.27.0 (cached)
-> installed dune.3.17.0
-> installed csexp.1.5.2
-> installed ocamlformat-rpc-lib.0.27.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-29 15:35.46 ---> saved as "b535f0cd3507b03651f4b20c3a7c4c8dfe76c7db6f208fd635803ec49cfe9190"
Job succeeded
2024-11-29 15:35.55: Job succeeded