- github
- ocaml
- opam-repository
- 4bb6e5
- extras,opam-2.0-ocaml-4.14,alcotest-lwt.1.9.0
(not at the head of any monitored branch or PR)
2025-03-13 09:14.38: New job: build alcotest-lwt.1.9.0, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/27617/head (4bb6e5fd95bc05a3bab58b600d1ff773fc909158)
on debian-12-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/27617/head" && git reset --hard 4bb6e5fd
git fetch origin master
git merge --no-edit 5ab9f3c9e8c50d4858e5b871d7544019a20f89e2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:a6696fcec2a7196cd06fe5e601406bdcfa34a6483ab7cf7de982ae17ea6a55f0
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
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 depext -u || true
RUN opam pin add -k version -yn alcotest-lwt.1.9.0 1.9.0
RUN opam depext alcotest-lwt.1.9.0 && opam reinstall alcotest-lwt.1.9.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'alcotest-lwt.1.9.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 .
2025-03-13 09:14.38: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:a6696fcec2a7196cd06fe5e601406bdcfa34a6483ab7cf7de982ae17ea6a55f0-alcotest-lwt.1.9.0-4bb6e5fd95bc05a3bab58b600d1ff773fc909158"
2025-03-13 09:14.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:a6696fcec2a7196cd06fe5e601406bdcfa34a6483ab7cf7de982ae17ea6a55f0)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(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 depext -u || true"))
(run (shell "opam pin add -k version -yn alcotest-lwt.1.9.0 1.9.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext alcotest-lwt.1.9.0 && opam reinstall alcotest-lwt.1.9.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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'alcotest-lwt.1.9.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-03-13 09:14.38: Waiting for resource in pool OCluster
2025-03-13 09:17.26: Waiting for worker…
2025-03-13 09:20.25: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files: 88% (19984/22646)
Updating files: 89% (20155/22646)
Updating files: 90% (20382/22646)
Updating files: 91% (20608/22646)
Updating files: 92% (20835/22646)
Updating files: 93% (21061/22646)
Updating files: 94% (21288/22646)
Updating files: 95% (21514/22646)
Updating files: 96% (21741/22646)
Updating files: 97% (21967/22646)
Updating files: 98% (22194/22646)
Updating files: 99% (22420/22646)
Updating files: 100% (22646/22646)
Updating files: 100% (22646/22646), done.
HEAD is now at 5ab9f3c9e8 Merge pull request #27610 from Alasdair/release-sail-0.19
Updating 5ab9f3c9e8..4bb6e5fd95
Fast-forward
packages/alcotest-async/alcotest-async.1.9.0/opam | 49 ++++++++++++++++++
packages/alcotest-js/alcotest-js.1.9.0/opam | 45 ++++++++++++++++
packages/alcotest-lwt/alcotest-lwt.1.9.0/opam | 45 ++++++++++++++++
.../alcotest-mirage/alcotest-mirage.1.9.0/opam | 47 +++++++++++++++++
packages/alcotest/alcotest.1.9.0/opam | 60 ++++++++++++++++++++++
5 files changed, 246 insertions(+)
create mode 100644 packages/alcotest-async/alcotest-async.1.9.0/opam
create mode 100644 packages/alcotest-js/alcotest-js.1.9.0/opam
create mode 100644 packages/alcotest-lwt/alcotest-lwt.1.9.0/opam
create mode 100644 packages/alcotest-mirage/alcotest-mirage.1.9.0/opam
create mode 100644 packages/alcotest/alcotest.1.9.0/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:a6696fcec2a7196cd06fe5e601406bdcfa34a6483ab7cf7de982ae17ea6a55f0)
2025-03-13 09:20.29 ---> using "80fd7825ce1a116f8797a39876773ae08c12e9665497e2c87a54f899dfa0710c" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-03-13 09:20.29 ---> using "90a4391a5e0407ecc1f7c2175272130d4dcafbd13817ab0ef2e2ad73342633eb" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-03-13 09:20.29 ---> using "c4b38125351f0c9576774fba09c599a4c50615e4348faa413f475ccf090f5bb9" from cache
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 39
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
2025-03-13 09:20.29 ---> using "543eba1c766a26a9e94f103243117a87c0ba9e90edbd2601b378402ffe1ef1cd" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/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/"))
2025-03-13 09:20.29 ---> using "7000ec313885e4d426608514aa1f68a5e63be5a4cae232e5374bd32f7a17b67e" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-13 09:20.37 ---> saved as "f3a8f59e1ff75ec80f9029adfa13d97118159f76be269a6c564a52d615302014"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-03-13 09:21.02 ---> saved as "45743bc842a660ebc643daf3dcf9588be1f69a2bf7aad39a4b7bcde96bf14c2e"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [246 kB]
Fetched 349 kB in 0s (801 kB/s)
Reading package lists...
# OS package update successful
2025-03-13 09:21.06 ---> saved as "591d8b46becb4604ee201b67f44a53bcedf96c7afc6f6eb80dd8057f7c42e190"
/home/opam: (run (shell "opam pin add -k version -yn alcotest-lwt.1.9.0 1.9.0"))
alcotest-lwt is now pinned to version 1.9.0
2025-03-13 09:21.07 ---> saved as "e9d7018b47aab145f96ed579993f8681ae1be495299c9e9110f46cd7eb757abe"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext alcotest-lwt.1.9.0 && opam reinstall alcotest-lwt.1.9.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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'alcotest-lwt.1.9.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
alcotest-lwt.1.9.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install ocamlfind 1.9.8 [required by logs]
- install dune 3.17.2 [required by alcotest-lwt]
- install cmdliner 1.3.0 [required by alcotest, logs]
- install seq base [required by re]
- install ocamlbuild 0.16.1 [required by logs]
- install base-bytes base [required by ocplib-endian]
- install stdlib-shims 0.3.0 [required by alcotest]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install dune-configurator 2.7.0 [required by lwt]
- install cppo 1.8.0 [required by lwt]
- install re 1.12.0 [required by alcotest]
- install topkg 1.0.8 [required by logs]
- install ocplib-endian 1.2 [required by lwt]
- install uutf 1.0.4 [required by alcotest]
- install fmt 0.10.0 [required by alcotest-lwt]
- install astring 0.8.5 [required by alcotest]
- install lwt 5.9.0 [required by alcotest-lwt]
- install alcotest 1.9.0 [required by alcotest-lwt]
- install logs 0.7.0 [required by alcotest-lwt]
- install alcotest-lwt 1.9.0*
===== 20 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[alcotest.1.9.0] found in cache
[alcotest-lwt.1.9.0] found in cache
[astring.0.8.5] found in cache
[cmdliner.1.3.0] found in cache
[cppo.1.8.0] found in cache
[dune.3.17.2] found in cache
[dune-configurator.2.7.0] found in cache
[fmt.0.10.0] found in cache
[logs.0.7.0] found in cache
[lwt.5.9.0] found in cache
[ocaml-syntax-shims.1.0.0] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[ocplib-endian.1.2] found in cache
[re.1.12.0] found in cache
[stdlib-shims.0.3.0] found in cache
[topkg.1.0.8] found in cache
[uutf.1.0.4] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed dune.3.17.2
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.8.0
-> installed dune-configurator.2.7.0
-> installed re.1.12.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.0
-> installed lwt.5.9.0
-> installed logs.0.7.0
-> installed alcotest-lwt.1.9.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-03-13 09:22.18 ---> saved as "cc7347696480edfcbac60b1201c0450365a2066cc8bf3860b0c13eefc3829a81"
Job succeeded
2025-03-13 09:22.30: Job succeeded