- github
- ocaml
- opam-repository
- d96087
- distributions,ubuntu-20.04-ocaml-4.14,mpp.0.1.5
(not at the head of any monitored branch or PR)
2024-11-21 16:12.20: New job: build mpp.0.1.5, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26923/head (d9608777c483f5d710728ba45cd88b50c515d9a2)
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/26923/head" && git reset --hard d9608777
git fetch origin master
git merge --no-edit 9f26a2181d2f46e23b62061679bdddb92684f204
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:b497721f73658698d71f170fcb36e74832e7c55626de898aa1ed07cb730998ff
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 mpp.0.1.5 0.1.5
RUN opam reinstall mpp.0.1.5; \
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" != 'mpp.0.1.5' && 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.20: Using cache hint "ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:b497721f73658698d71f170fcb36e74832e7c55626de898aa1ed07cb730998ff-mpp.0.1.5-d9608777c483f5d710728ba45cd88b50c515d9a2"
2024-11-21 16:12.20: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:b497721f73658698d71f170fcb36e74832e7c55626de898aa1ed07cb730998ff)
(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 mpp.0.1.5 0.1.5"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mpp.0.1.5;\
\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\" != 'mpp.0.1.5' && 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.20: Waiting for resource in pool OCluster
2024-11-21 16:22.01: Waiting for worker…
2024-11-21 16:27.10: Got resource from pool OCluster
Building on x86-bm-c19.sw.ocaml.org
All commits already cached
Updating files: 88% (28908/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:ubuntu-20.04-ocaml-4.14@sha256:b497721f73658698d71f170fcb36e74832e7c55626de898aa1ed07cb730998ff)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:b497721f73658698d71f170fcb36e74832e7c55626de898aa1ed07cb730998ff' locally
docker.io/ocaml/opam@sha256:b497721f73658698d71f170fcb36e74832e7c55626de898aa1ed07cb730998ff: Pulling from ocaml/opam
3b28b41038b3: Pulling fs layer
3b28b41038b3: Download complete
3b28b41038b3: Pull complete
Digest: sha256:b497721f73658698d71f170fcb36e74832e7c55626de898aa1ed07cb730998ff
Status: Downloaded newer image for ocaml/opam@sha256:b497721f73658698d71f170fcb36e74832e7c55626de898aa1ed07cb730998ff
2024-11-21 16:29.02 ---> saved as "a61576ab5dbfbbc21cf60a876675b13407734e77de373fe9c5a684bd2cb3321b"
/: (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:29.02 ---> saved as "12adbda3e345d59ffb8cf5c30d479430ff83779320d64706183ea044bf56f7ac"
/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.
Continue? [Y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-21 16:30.32 ---> saved as "3f617d127165398a0e2a49eba0e825c339e4165a4b9d9d2997407e1d66daab84"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 4.14.2
2.4.0~alpha1~dev
2024-11-21 16:30.32 ---> saved as "55f4c3a8caac9aeb55987b0a37c05636ea885ea3cf86083e37304101748f00cb"
/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:30.38 ---> saved as "2114f44aa4f2dcdb8db56acdeb6124f50327fd923032716290ff2eac8b133584"
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-21 16:30.54 ---> saved as "ce8b373c203678b02204f35851e3748aa8f17908f86219f1bf8738cd89aa4407"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-21 16:31.46 ---> saved as "5f714afeb6c75f11d541f7fe1cdfa733d14bc642e72db374452ae61043e7e707"
/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://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/main amd64 Packages [4107 kB]
- Get:6 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1277 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4578 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4304 kB]
- Get:9 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1568 kB]
- Fetched 16.2 MB in 1s (12.3 MB/s)
- Reading package lists...
-
2024-11-21 16:31.49 ---> saved as "41c1b6bc8dc98ad251a14305b071cb8edd216ed29891ba6a057860b1b4159f64"
/home/opam: (run (shell "opam pin add -k version -yn mpp.0.1.5 0.1.5"))
mpp is now pinned to version 0.1.5
2024-11-21 16:31.49 ---> saved as "0f4f9742d0421eed1388b71e6b22eb0d2a09acd225f1eeab53e669121ab34a54"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mpp.0.1.5;\
\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\" != 'mpp.0.1.5' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
mpp.0.1.5 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.14.2
- mpp = 0.1.5 -> ocaml < 4.06.0 -> ocaml-variants
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- mpp = 0.1.5 -> ocaml < 4.06.0 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
not available because the package is pinned to version 4.14.2
unmet availability conditions, e.g. 'sys-ocaml-version = "5.2.1" & (os != "win32" | sys-ocaml-libc = "msvc")'
no matching version
* Missing dependency:
- mpp = 0.1.5 -> ocaml < 4.06.0 -> ocaml-variants -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- mpp = 0.1.5 -> ocaml < 4.06.0 -> ocaml-variants -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall mpp.0.1.5;
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" != 'mpp.0.1.5' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 20
2024-11-21 16:32.40: Job failed: Failed: Build failed
2024-11-21 16:32.40: Log analysis:
2024-11-21 16:32.40: >>>
No solution found, exiting
(score = 100)
2024-11-21 16:32.40: [SKIP] Package not available