- github
- ocaml
- opam-repository
- 6c5d38
- distributions,ubuntu-23.10-ocaml-4.14,config.0.0.3
(not at the head of any monitored branch or PR)
2024-04-24 11:31.53: New job: build config.0.0.3, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/25724/head (6c5d38b48c7e9040824ca19f88edd68a8d94f689)
on ubuntu-23.10-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/25724/head" && git reset --hard 6c5d38b4
git fetch origin master
git merge --no-edit 543cd221e481d9942aeb9832179a38bdd41639d4
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-23.10-ocaml-4.14@sha256:ea7c9f4902e220093717beb77d4f72d9e64fc96f4effe92321123f2c528f602e
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
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn config.0.0.3 0.0.3
RUN opam reinstall config.0.0.3; \
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-23.10\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'config.0.0.3' && 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-04-24 11:31.53: Using cache hint "ocaml/opam:ubuntu-23.10-ocaml-4.14@sha256:ea7c9f4902e220093717beb77d4f72d9e64fc96f4effe92321123f2c528f602e-config.0.0.3-6c5d38b48c7e9040824ca19f88edd68a8d94f689"
2024-04-24 11:31.53: Using OBuilder spec:
((from ocaml/opam:ubuntu-23.10-ocaml-4.14@sha256:ea7c9f4902e220093717beb77d4f72d9e64fc96f4effe92321123f2c528f602e)
(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"))
(env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
(env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
(env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
(run (shell "opam pin add -k version -yn config.0.0.3 0.0.3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall config.0.0.3;\
\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-23.10\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'config.0.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-04-24 11:31.53: Waiting for resource in pool OCluster
2024-04-24 11:43.53: Waiting for worker…
2024-04-24 11:50.56: Got resource from pool OCluster
Building on x86-bm-c15.sw.ocaml.org
All commits already cached
Updating files: 64% (21766/33543)
Updating files: 65% (21803/33543)
Updating files: 66% (22139/33543)
Updating files: 67% (22474/33543)
Updating files: 68% (22810/33543)
Updating files: 69% (23145/33543)
Updating files: 70% (23481/33543)
Updating files: 71% (23816/33543)
Updating files: 72% (24151/33543)
Updating files: 73% (24487/33543)
Updating files: 74% (24822/33543)
Updating files: 75% (25158/33543)
Updating files: 76% (25493/33543)
Updating files: 77% (25829/33543)
Updating files: 78% (26164/33543)
Updating files: 79% (26499/33543)
Updating files: 80% (26835/33543)
Updating files: 81% (27170/33543)
Updating files: 82% (27506/33543)
Updating files: 83% (27841/33543)
Updating files: 84% (28177/33543)
Updating files: 85% (28512/33543)
Updating files: 86% (28847/33543)
Updating files: 87% (29183/33543)
Updating files: 88% (29518/33543)
Updating files: 89% (29854/33543)
Updating files: 90% (30189/33543)
Updating files: 91% (30525/33543)
Updating files: 92% (30860/33543)
Updating files: 93% (31195/33543)
Updating files: 94% (31531/33543)
Updating files: 95% (31866/33543)
Updating files: 96% (32202/33543)
Updating files: 97% (32537/33543)
Updating files: 98% (32873/33543)
Updating files: 99% (33208/33543)
Updating files: 100% (33543/33543)
Updating files: 100% (33543/33543), done.
HEAD is now at 543cd221e4 Merge pull request #25715 from hannesm/ocaml-solo5-synopsis
Updating 543cd221e4..6c5d38b48c
Fast-forward
packages/config/config.0.0.3/opam | 43 +++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
create mode 100644 packages/config/config.0.0.3/opam
(from ocaml/opam:ubuntu-23.10-ocaml-4.14@sha256:ea7c9f4902e220093717beb77d4f72d9e64fc96f4effe92321123f2c528f602e)
Unable to find image 'ocaml/opam:ubuntu-23.10-ocaml-4.14@sha256:ea7c9f4902e220093717beb77d4f72d9e64fc96f4effe92321123f2c528f602e' locally
docker.io/ocaml/opam@sha256:ea7c9f4902e220093717beb77d4f72d9e64fc96f4effe92321123f2c528f602e: Pulling from ocaml/opam
87d247f3672f: Pulling fs layer
87d247f3672f: Verifying Checksum
87d247f3672f: Download complete
87d247f3672f: Pull complete
Digest: sha256:ea7c9f4902e220093717beb77d4f72d9e64fc96f4effe92321123f2c528f602e
Status: Downloaded newer image for ocaml/opam@sha256:ea7c9f4902e220093717beb77d4f72d9e64fc96f4effe92321123f2c528f602e
2024-04-24 11:50.59 ---> using "3232b75ed9558b88609bed4f7d8847e752be9e4db0cea3a8704ad30c689031a5" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-04-24 11:50.59 ---> using "d6d2e2f9db0d9a13d68fe870422de0eeefa18f828ebca575cafbf5607ecb9122" 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~alpha, 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-04-24 11:50.59 ---> using "cf8f884f310331095805a5b5b32a324a05f484b606652125609a6d8cc3076c79" from cache
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.2.0~beta2~dev
2024-04-24 11:50.59 ---> using "36f6071bca3cdfd27fffe2d02fad0f418a21dedd7e3882aa01122f3401db5714" from cache
/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-04-24 11:50.59 ---> using "40f180724ed651a9f575d5c5444f01113de469345c2db75e50b7b92691ae5587" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2024-04-24 11:51.09 ---> saved as "fec45884c1f3531523724ebcbc593f4499ef593ea2a4b83ddff0d1b55b1825d5"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-04-24 11:52.00 ---> saved as "3e9b86a1bad61224ccc96a0d62accef5ad1ea002de8cf7bfd722f73f5b31cdb3"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu mantic-security InRelease [109 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu mantic InRelease
- Get:3 http://security.ubuntu.com/ubuntu mantic-security/restricted amd64 Packages [427 kB]
- Get:4 http://security.ubuntu.com/ubuntu mantic-security/multiverse amd64 Packages [6227 B]
- Get:5 http://security.ubuntu.com/ubuntu mantic-security/main amd64 Packages [434 kB]
- Get:6 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 Packages [354 kB]
- Get:7 http://archive.ubuntu.com/ubuntu mantic-updates InRelease [109 kB]
- Get:8 http://archive.ubuntu.com/ubuntu mantic-backports InRelease [90.8 kB]
- Get:9 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 Packages [417 kB]
- Get:10 http://archive.ubuntu.com/ubuntu mantic-updates/restricted amd64 Packages [449 kB]
- Get:11 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages [498 kB]
- Get:12 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse amd64 Packages [9605 B]
- Get:13 http://archive.ubuntu.com/ubuntu mantic-backports/universe amd64 Packages [4217 B]
- Fetched 2906 kB in 1s (2763 kB/s)
- Reading package lists...
-
2024-04-24 11:52.02 ---> saved as "2f23da821615dc0b3df5d638ea6f0806989c89e2d1d9657c4f096d8d23076966"
/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
/home/opam: (run (shell "opam pin add -k version -yn config.0.0.3 0.0.3"))
config is now pinned to version 0.0.3
2024-04-24 11:52.03 ---> saved as "e8be6f67a072ca3ebc177c8983f86fde101adb39a848be38bd220f0fdcfb6515"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall config.0.0.3;\
\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-23.10\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'config.0.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
config.0.0.3 is not installed. Install it? [y/n] y
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2
- config >= 0.0.3 -> ocaml >= 5.1
You can temporarily relax the switch invariant with `--update-invariant'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall config.0.0.3;
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-23.10\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'config.0.0.3' && 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-04-24 11:52.25: Job failed: Failed: Build failed
2024-04-24 11:52.25: Log analysis:
2024-04-24 11:52.25: >>>
No solution found, exiting
(score = 100)
2024-04-24 11:52.25: [SKIP] Package not available