- github
- ocaml
- opam-repository
- f6ea57
- distributions,ubuntu-20.04-ocaml-4.14,dates_calc.0.0.7
(not at the head of any monitored branch or PR)
2024-10-22 08:26.30: New job: build dates_calc.0.0.7, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26738/head (f6ea578b505d61e1e6d77f06345b4a505d933e6c)
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/26738/head" && git reset --hard f6ea578b
git fetch origin master
git merge --no-edit 1a7dae545ec9b9fb34684697f6619e017c852318
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:5b5ffb11d6411cd40804796e485f87ea5c6573187f9b2c86540e46ed8744e1bc
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 dates_calc.0.0.7 0.0.7
RUN opam reinstall dates_calc.0.0.7; \
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" != 'dates_calc.0.0.7' && 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-22 08:26.30: Using cache hint "ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:5b5ffb11d6411cd40804796e485f87ea5c6573187f9b2c86540e46ed8744e1bc-dates_calc.0.0.7-f6ea578b505d61e1e6d77f06345b4a505d933e6c"
2024-10-22 08:26.30: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:5b5ffb11d6411cd40804796e485f87ea5c6573187f9b2c86540e46ed8744e1bc)
(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 dates_calc.0.0.7 0.0.7"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dates_calc.0.0.7;\
\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\" != 'dates_calc.0.0.7' && 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-22 08:26.30: Waiting for resource in pool OCluster
2024-10-22 08:26.31: Waiting for worker…
2024-10-22 08:26.31: Got resource from pool OCluster
Building on x86-bm-c20.sw.ocaml.org
All commits already cached
HEAD is now at 1a7dae545e Merge pull request #26772 from jajimajp/release-trs-v1.0.0
Merge made by the 'ort' strategy.
packages/dates_calc/dates_calc.0.0.7/opam | 42 +++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 packages/dates_calc/dates_calc.0.0.7/opam
(from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:5b5ffb11d6411cd40804796e485f87ea5c6573187f9b2c86540e46ed8744e1bc)
2024-10-22 08:27.26 ---> saved as "66eb0f111a989bc1339d1d8ce79ad907b54e4a8fefe434bedd904bd8c2c4101c"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-10-22 08:27.26 ---> saved as "9d47d6a024a6ca8c61df9819e22103db807c105e918198cbae005c04e8b5ef0b"
/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-22 08:28.41 ---> saved as "2b43457bc6cf3e79b0b2b2625cf748a8f96689d2292a8605c87c74207fa4e423"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.4.0~alpha1~dev
2024-10-22 08:28.41 ---> saved as "c494527b122cc7dc8821636c6d3b1856e25e32b10e04b2fde09ec0c7d6bfe17a"
/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-22 08:28.49 ---> saved as "2f22c56d770c2b7f3e02bc2a3c3ba6e3b9efc7af5c981d6403291b4e39aeb0d3"
/home/opam: (copy (src .) (dst opam-repository/))
2024-10-22 08:28.59 ---> saved as "b231874a5c3e6409b598674385ba1252e692a694e86bbff53481e96a35f25a6b"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-10-22 08:30.00 ---> saved as "1399833abba23e91369e7bd5e3bb37f0a6b527abf09a1fb149cc805679ad60c5"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:5 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4090 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4242 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4069 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4532 kB]
- Get:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1274 kB]
- Get:10 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1566 kB]
- Fetched 20.2 MB in 4s (5735 kB/s)
- Reading package lists...
-
2024-10-22 08:30.05 ---> saved as "7520672ed6ff941b88864bdc478c73b721eb0262f70736e1f2b1d3f9f6b7c2e4"
/home/opam: (run (shell "opam pin add -k version -yn dates_calc.0.0.7 0.0.7"))
dates_calc is now pinned to version 0.0.7
2024-10-22 08:30.06 ---> saved as "bbc68c85589316f67d06ff7231e8ac904a5ec1b1c24e48c3915b56677b9fffbd"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dates_calc.0.0.7;\
\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\" != 'dates_calc.0.0.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dates_calc.0.0.7 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
- install dates_calc 0.0.7 (pinned)
- install dune 3.16.0 [required by dates_calc]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dates_calc.0.0.7 (cached)
-> retrieved dune.3.16.0 (cached)
-> installed dune.3.16.0
-> installed dates_calc.0.0.7
Done.
# To update the current shell environment, run: eval $(opam env)
2024-10-22 08:30.49 ---> saved as "3878e65986994aa0de5f0f94e51b1c72f5f6cc71c4d3a88ffbe0ab9577bc8a8b"
Job succeeded
2024-10-22 08:31.01: Job succeeded