- github
- ocaml
- opam-repository
- bda2fd
- distributions,centos-9-ocaml-5.4,azure-cosmos-db.0.4.0
(not at the head of any monitored branch or PR)
2026-04-11 17:31.09: New job: build azure-cosmos-db.0.4.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29682/head (bda2fd0485aa4e02adb1de5e7fed6109282303ad)
on centos-9-ocaml-5.4/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/29682/head" && git reset --hard bda2fd04
git fetch origin master
git merge --no-edit c18adeb75d158d5999645fdf3e6e1503c882cdc3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-9-ocaml-5.4@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 azure-cosmos-db.0.4.0 0.4.0
RUN opam reinstall azure-cosmos-db.0.4.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 "\"centos-9\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'azure-cosmos-db.0.4.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 .
2026-04-11 17:31.09: Using cache hint "ocaml/opam:centos-9-ocaml-5.4@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac-azure-cosmos-db.0.4.0-bda2fd0485aa4e02adb1de5e7fed6109282303ad"
2026-04-11 17:31.09: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-5.4@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac)
(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 "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 azure-cosmos-db.0.4.0 0.4.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall azure-cosmos-db.0.4.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 \"\\\"centos-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'azure-cosmos-db.0.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-04-11 17:31.09: Waiting for resource in pool OCluster
2026-04-11 17:31.10: Waiting for worker…
2026-04-11 17:31.15: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at c18adeb75d Merge pull request #29698 from daysv/release-sm-0.1.1
Updating c18adeb75d..bda2fd0485
Fast-forward
.../azure-cosmos-db-eio.0.4.0/opam | 51 ++++++++++++++++++++++
.../azure-cosmos-db-lwt.0.4.0/opam | 50 +++++++++++++++++++++
.../azure-cosmos-db/azure-cosmos-db.0.4.0/opam | 47 ++++++++++++++++++++
3 files changed, 148 insertions(+)
create mode 100644 packages/azure-cosmos-db-eio/azure-cosmos-db-eio.0.4.0/opam
create mode 100644 packages/azure-cosmos-db-lwt/azure-cosmos-db-lwt.0.4.0/opam
create mode 100644 packages/azure-cosmos-db/azure-cosmos-db.0.4.0/opam
(from ocaml/opam:centos-9-ocaml-5.4@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac)
2026-04-11 17:32.53 ---> saved as "5a483e8f384c1537bd6414fb1d6ecd3225b81ddae6fbf219b83d309e284e23ed"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-11 17:32.53 ---> saved as "cc866741f68ba0820027f959034bbac9d8ed1b253b6a4b890ea810e0febc9293"
/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 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
2026-04-11 17:33.27 ---> saved as "1abe7714bd7ebb3bddf5c6252090e0b09511e9f875ff9d165571f697a60e2a4b"
/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.5.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=centos os-version=9
# 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 5.4
# invariant ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.1
2026-04-11 17:33.28 ---> saved as "1ebab396bbda61aacd87e5f6925a5a09c28010175ae84fbb33f76e9b036f5623"
/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/"))
2026-04-11 17:33.39 ---> saved as "ffe25c3850d1bb9516372defcb6239181e7b51ce707e83406dcc6ff2a0e9b32b"
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 17:33.48 ---> saved as "f425a3abd7f0356e04f567a755fb1b0fd2d35af8b625e9592ea768da8e937b42"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-11 17:34.12 ---> saved as "972d4b365bc9b6ee8f1ed43efde2e63dff33c347c125146d2669f00537967188"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS 30 kB/s | 14 kB 00:00
- CentOS Stream 9 - BaseOS 227 kB/s | 8.9 MB 00:40
- CentOS Stream 9 - AppStream 43 kB/s | 15 kB 00:00
- CentOS Stream 9 - AppStream 321 kB/s | 27 MB 01:26
- CentOS Stream 9 - CRB 92 kB/s | 14 kB 00:00
- CentOS Stream 9 - CRB 723 kB/s | 8.0 MB 00:11
- CentOS Stream 9 - Extras packages 81 kB/s | 16 kB 00:00
- Metadata cache created.
2026-04-11 17:36.48 ---> saved as "eaf81180fb4d967e0c17d943ac58f35b2914476b44fdb287bb6a13a0f153370d"
/home/opam: (run (shell "opam pin add -k version -yn azure-cosmos-db.0.4.0 0.4.0"))
azure-cosmos-db is now pinned to version 0.4.0
2026-04-11 17:36.49 ---> saved as "fe592fe9ae7a4fc63ad9df988a1e92610e78edf9d58f813df58616b27428beda"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall azure-cosmos-db.0.4.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 \"\\\"centos-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'azure-cosmos-db.0.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
azure-cosmos-db.0.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 49 packages
- install angstrom 0.16.1 [required by uri]
- install atd 4.0.0 [required by atdgen]
- install atdgen 4.0.0 [required by azure-cosmos-db]
- install atdgen-runtime 4.0.0 [required by atdgen]
- install azure-cosmos-db 0.4.0 (pinned)
- install base v0.17.3 [required by ppx_sexp_conv]
- install base64 3.5.2 [required by azure-cosmos-db]
- install bigstringaf 0.10.0 [required by angstrom]
- install biniou 1.2.2 [required by atdgen]
- install camlp-streams 5.0.1 [required by biniou]
- install cmdliner 2.1.0 [required by atd, logs]
- install cohttp 6.2.1 [required by azure-cosmos-db]
- install conf-gmp 5 [required by conf-gmp-powm-sec, zarith]
- install conf-gmp-powm-sec 4 [required by cryptokit]
- install conf-pkg-config 4 [required by conf-zlib, zarith]
- install conf-zlib 1 [required by cryptokit]
- install cryptokit 1.21.1 [required by azure-cosmos-db]
- install csexp 1.5.2 [required by dune-configurator]
- install domain-name 0.5.0 [required by ipaddr]
- install dune 3.22.1 [required by azure-cosmos-db]
- install dune-configurator 3.22.1 [required by cryptokit]
- install easy-format 1.3.4 [required by atd]
- install http 6.2.1 [required by cohttp]
- install ipaddr 5.6.2 [required by cohttp]
- install logs 0.10.0 [required by cohttp]
- install macaddr 5.6.2 [required by ipaddr]
- install menhir 20260209 [required by atd]
- install menhirCST 20260209 [required by menhir]
- install menhirGLR 20260209 [required by menhir]
- install menhirLib 20260209 [required by menhir]
- install menhirSdk 20260209 [required by menhir]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml-syntax-shims 1.0.0 [required by angstrom]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ocamlbuild 0.16.1 [required by logs]
- install ocamlfind 1.9.8 [required by logs, zarith]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_sexp_conv v0.17.1 [required by cohttp]
- install ppxlib 0.38.0 [required by ppx_sexp_conv]
- install ppxlib_jane v0.17.4 [required by ppx_sexp_conv]
- install re 1.14.0 [required by atdgen, cohttp]
- install sexplib0 v0.17.0 [required by cohttp]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install stringext 1.6.0 [required by cohttp]
- install topkg 1.1.1 [required by logs]
- install uri 4.4.0 [required by azure-cosmos-db]
- install uri-sexp 4.4.0 [required by cohttp]
- install yojson 3.0.0 [required by atdgen]
- install zarith 1.14 [required by cryptokit]
The following system packages will first need to be installed:
gmp-devel zlib-static
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run yum to install them (may need root/sudo access)
2. Display the recommended yum command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "yum" "install" "-y" "gmp-devel" "zlib-static"
- Last metadata expiration check: 0:00:06 ago on Sat Apr 11 17:36:47 2026.
- Dependencies resolved.
- ================================================================================
- Package Architecture Version Repository Size
- ================================================================================
- Installing:
- gmp-devel x86_64 1:6.2.0-13.el9 appstream 174 k
- zlib-static x86_64 1.2.11-41.el9 crb 61 k
- Installing dependencies:
- gmp-c++ x86_64 1:6.2.0-13.el9 appstream 19 k
-
- Transaction Summary
- ================================================================================
- Install 3 Packages
-
- Total download size: 254 k
- Installed size: 533 k
- Downloading Packages:
-
- The downloaded packages were saved in cache until the next successful transaction.
- You can remove cached packages by executing 'yum clean packages'.
- Error: Error downloading packages:
- Curl error (6): Couldn't resolve host name for https://mirrors.centos.org/metalink?repo=centos-appstream-9-stream&arch=x86_64&protocol=https,http [Could not resolve host: mirrors.centos.org]
[ERROR] System package install failed with exit code 1 at command:
sudo yum install -y gmp-devel zlib-static
[ERROR] These packages are still missing: gmp-devel zlib-static
[NOTE] You can retry with '--assume-depexts' to skip this check, or run 'opam option depext=false' to permanently disable handling of system packages.
"/usr/bin/env" "bash" "-c" "opam reinstall azure-cosmos-db.0.4.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 "\"centos-9\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'azure-cosmos-db.0.4.0' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 10
2026-04-11 17:37.00: Job failed: Failed: Build failed
2026-04-11 17:37.00: Log analysis:
2026-04-11 17:37.00: >>>
[ERROR] System package install failed with exit code 1 at command:
(score = 20)
2026-04-11 17:37.00: >>>
[ERROR] These packages are still missing: gmp-devel zlib-static
(score = 20)
2026-04-11 17:37.00: System package install failed with exit code 1 at command: