- github
- ocaml
- opam-repository
- c715a9
- compilers,4.12,qcheck-ounit.0.26
(not at the head of any monitored branch or PR)
2025-07-08 20:17.37: New job: build qcheck-ounit.0.26, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28148/head (c715a95fe87d4397d1f0658b2ae5acd528de705e)
on debian-12-ocaml-4.12/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/28148/head" && git reset --hard c715a95f
git fetch origin master
git merge --no-edit 11a53009bd75423d805636ff9384bf7cce8b0a9a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.12@sha256:61029e986f9d4534eb4444db8119af7d8146211799be93ded3afd8aadf8d742f
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && 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 update --depexts || true
RUN opam pin add -k version -yn qcheck-ounit.0.26 0.26
RUN opam reinstall qcheck-ounit.0.26; \
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" != 'qcheck-ounit.0.26' && 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-07-08 20:17.37: Using cache hint "ocaml/opam:debian-12-ocaml-4.12@sha256:61029e986f9d4534eb4444db8119af7d8146211799be93ded3afd8aadf8d742f-qcheck-ounit.0.26-c715a95fe87d4397d1f0658b2ae5acd528de705e"
2025-07-08 20:17.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.12@sha256:61029e986f9d4534eb4444db8119af7d8146211799be93ded3afd8aadf8d742f)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && 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 update --depexts || true"))
(run (shell "opam pin add -k version -yn qcheck-ounit.0.26 0.26"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall qcheck-ounit.0.26;\
\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\" != 'qcheck-ounit.0.26' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-07-08 20:17.37: Waiting for resource in pool OCluster
2025-07-08 20:17.39: Waiting for worker…
2025-07-08 20:17.39: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 11a53009bd Merge pull request #27805 from fccm2/conf-gegl
Updating 11a53009bd..c715a95fe8
Fast-forward
packages/qcheck-alcotest/qcheck-alcotest.0.26/opam | 37 +++++++++++++++++++
packages/qcheck-core/qcheck-core.0.26/opam | 38 ++++++++++++++++++++
packages/qcheck-ounit/qcheck-ounit.0.26/opam | 37 +++++++++++++++++++
packages/qcheck/qcheck.0.26/opam | 42 ++++++++++++++++++++++
4 files changed, 154 insertions(+)
create mode 100644 packages/qcheck-alcotest/qcheck-alcotest.0.26/opam
create mode 100644 packages/qcheck-core/qcheck-core.0.26/opam
create mode 100644 packages/qcheck-ounit/qcheck-ounit.0.26/opam
create mode 100644 packages/qcheck/qcheck.0.26/opam
(from ocaml/opam:debian-12-ocaml-4.12@sha256:61029e986f9d4534eb4444db8119af7d8146211799be93ded3afd8aadf8d742f)
2025-07-08 20:18.11 ---> saved as "f26299d01185e2b677e5f0d9e56fa666cc6fd978082aa14a37f3a24677ad433b"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-08 20:18.12 ---> saved as "3d19dc83618150b0070d81ed9995101eeb281f49a027332eac6ba23af2c5c2fc"
/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] Initialised
2025-07-08 20:18.36 ---> saved as "6709f4104e334a1997d8e058f3a6e2de6b504643a65213322fee3c19b113f7a1"
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.12
# invariant ["ocaml-base-compiler" {= "4.12.1"}]
# compiler-packages ocaml-base-compiler.4.12.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.12/lib/ocaml/stublibs:/home/opam/.opam/4.12/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.12.1
2025-07-08 20:18.37 ---> saved as "e32e2a3149111c1ae30a682578a22addc8b4344e996cc129f2acd2896e8bdc9d"
/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-07-08 20:18.48 ---> saved as "da023f6376bcbbcc15b9e863b2f87ef2dd682ef2cdc0389e8fa129e4ce3b58be"
/home/opam: (copy (src .) (dst opam-repository/))
2025-07-08 20:19.13 ---> saved as "eca00642295ad4f966ad919ea3d4dcde454063b3aeaae2222b705ae5330373c1"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-07-08 20:19.32 ---> saved as "0f3d89d8b3738652dda7bf6b118ce0743a2d91e876613ea1c783486df392135e"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/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 [272 kB]
- Fetched 375 kB in 0s (1121 kB/s)
- Reading package lists...
-
2025-07-08 20:19.34 ---> saved as "c91a90a681053cd6a85f5f6fa5a7baa34a029c94aee54a75e0711842b6b25dab"
/home/opam: (run (shell "opam pin add -k version -yn qcheck-ounit.0.26 0.26"))
qcheck-ounit is now pinned to version 0.26
2025-07-08 20:19.35 ---> saved as "b31e5df90633b3eb5a925a2fa2f1ae29232f440613d70d74f9b33c25d0b94255"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall qcheck-ounit.0.26;\
\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\" != 'qcheck-ounit.0.26' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
qcheck-ounit.0.26 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 6 packages
- install dune 3.19.1 [required by qcheck-ounit]
- install ounit2 2.2.7 [required by qcheck-ounit]
- install qcheck-core 0.26 [required by qcheck-ounit]
- install qcheck-ounit 0.26 (pinned)
- install seq base [required by ounit2]
- install stdlib-shims 0.3.0 [required by ounit2]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.19.1 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved qcheck-core.0.26, qcheck-ounit.0.26 (https://github.com/c-cube/qcheck/archive/v0.26.tar.gz)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.19.1
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed qcheck-core.0.26
-> installed qcheck-ounit.0.26
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-08 20:20.17 ---> saved as "9806d0d332fb875cf72eaaad0b4ceb722658f5ee8840b0ed961fdfa85e5b30a5"
Job succeeded
2025-07-08 20:21.06: Job succeeded