- github
- ocaml
- opam-repository
- bda2fd
- distributions,centos-10-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-10-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-10-ocaml-5.4@sha256:3df8ea95f3a1a29bc6054c6ae4135d638fcbcd3bced114f5ef8a492d1c5705b5
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-10\""; 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-10-ocaml-5.4@sha256:3df8ea95f3a1a29bc6054c6ae4135d638fcbcd3bced114f5ef8a492d1c5705b5-azure-cosmos-db.0.4.0-bda2fd0485aa4e02adb1de5e7fed6109282303ad"
2026-04-11 17:31.09: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-5.4@sha256:3df8ea95f3a1a29bc6054c6ae4135d638fcbcd3bced114f5ef8a492d1c5705b5)
(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-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\" != '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.11: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files: 98% (18438/18675)
Updating files: 99% (18489/18675)
Updating files: 100% (18675/18675)
Updating files: 100% (18675/18675), done.
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-10-ocaml-5.4@sha256:3df8ea95f3a1a29bc6054c6ae4135d638fcbcd3bced114f5ef8a492d1c5705b5)
2026-04-11 17:32.14 ---> using "88880de3da5b8c322fa1ecbe905a8452c3b2ec69609c34286b83043c69b71ae2" from cache
/: (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.14 ---> using "f0f597da2a5fdae3656dc4447d8e7f2ea093f59fa531e148d7daed286696219c" 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 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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-11 17:32.14 ---> using "8bcb729a55208b5f2eace737e1804bbfcaf5f914aeea3456c822735c32734841" from cache
/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=10
# 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:32.14 ---> using "1a9e9285c6ca841c0ece37a211302cdaffda21187ca180895636cc4f51b2657b" 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/"))
2026-04-11 17:32.14 ---> using "154a7402b918b18d517a0e77ecd324294030561883518915d047c0846720bdba" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 17:32.26 ---> saved as "3554bd8f3f2175cedf419bdd50e2c726bdfbcd0470082b83c4db3eea33a9bd88"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-11 17:32.48 ---> saved as "ffa542a521459192521a5960cf583c2fe04df55092df2a218cf68e43397f8782"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS 60 kB/s | 14 kB 00:00
- CentOS Stream 10 - BaseOS 79 kB/s | 6.9 MB 01:29
- CentOS Stream 10 - AppStream 55 kB/s | 15 kB 00:00
- CentOS Stream 10 - AppStream 113 kB/s | 3.6 MB 00:32
- CentOS Stream 10 - CRB 95 kB/s | 14 kB 00:00
- CentOS Stream 10 - CRB 1.1 MB/s | 834 kB 00:00
- CentOS Stream 10 - Extras packages 120 kB/s | 16 kB 00:00
- Metadata cache created.
2026-04-11 17:34.59 ---> saved as "b242ee408f969b6bd27ba053c70e878c4e6491de8d69d74b4b9a099ff03b634f"
/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:35.00 ---> saved as "40b533f80b8ec59448906e571afe71d45381ad58119b60cd8851fef475b593e9"
/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-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\" != '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-ng-compat-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-ng-compat-static"
- Last metadata expiration check: 0:00:09 ago on Sat Apr 11 17:34:58 2026.
- Dependencies resolved.
- ================================================================================
- Package Arch Version Repository Size
- ================================================================================
- Installing:
- gmp-devel x86_64 1:6.2.1-12.el10 appstream 174 k
- zlib-ng-compat-static x86_64 2.2.3-3.el10 crb 84 k
- Installing dependencies:
- gmp-c++ x86_64 1:6.2.1-12.el10 appstream 20 k
-
- Transaction Summary
- ================================================================================
- Install 3 Packages
-
- Total download size: 278 k
- Installed size: 639 k
- Downloading Packages:
- (1/3): gmp-c++-6.2.1-12.el10.x86_64.rpm 40 kB/s | 20 kB 00:00
- (2/3): zlib-ng-compat-static-2.2.3-3.el10.x86_6 44 kB/s | 84 kB 00:01
- (3/3): gmp-devel-6.2.1-12.el10.x86_64.rpm 33 kB/s | 174 kB 00:05
- --------------------------------------------------------------------------------
- Total 44 kB/s | 278 kB 00:06
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
- Preparing : 1/1
- Installing : gmp-c++-1:6.2.1-12.el10.x86_64 1/3
- Installing : gmp-devel-1:6.2.1-12.el10.x86_64 2/3
- Installing : zlib-ng-compat-static-2.2.3-3.el10.x86_64 3/3
-
- Running scriptlet: zlib-ng-compat-static-2.2.3-3.el10.x86_64 3/3
-
- Installed:
- gmp-c++-1:6.2.1-12.el10.x86_64 gmp-devel-1:6.2.1-12.el10.x86_64
- zlib-ng-compat-static-2.2.3-3.el10.x86_64
-
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "gmp-devel" "zlib-ng-compat-static"
- gmp-devel-6.2.1-12.el10.x86_64
- zlib-ng-compat-static-2.2.3-3.el10.x86_64
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1 (cached)
-> retrieved atd.4.0.0, atdgen.4.0.0, atdgen-runtime.4.0.0 (cached)
-> retrieved azure-cosmos-db.0.4.0 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved base64.3.5.2 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved biniou.1.2.2 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.2.1.0 (cached)
-> retrieved cohttp.6.2.1, http.6.2.1 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved cryptokit.1.21.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-name.0.5.0 (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed conf-gmp-powm-sec.4
-> installed conf-zlib.1
-> retrieved dune.3.22.1, dune-configurator.3.22.1 (cached)
-> retrieved easy-format.1.3.4 (cached)
-> retrieved ipaddr.5.6.2, macaddr.5.6.2 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (cached)
-> installed cmdliner.2.1.0
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> retrieved ppxlib.0.38.0 (cached)
-> retrieved ppxlib_jane.v0.17.4 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> retrieved zarith.1.14 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.1.1
-> installed logs.0.10.0
-> installed dune.3.22.1
-> installed base64.3.5.2
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed domain-name.0.5.0
-> installed easy-format.1.3.4
-> installed http.6.2.1
-> installed macaddr.5.6.2
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ppx_derivers.1.2.1
-> installed re.1.14.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed yojson.3.0.0
-> installed ipaddr.5.6.2
-> installed biniou.1.2.2
-> installed atdgen-runtime.4.0.0
-> installed dune-configurator.3.22.1
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed cryptokit.1.21.1
-> installed uri.4.4.0
-> installed menhir.20260209
-> installed base.v0.17.3
-> installed atd.4.0.0
-> installed atdgen.4.0.0
-> installed ppxlib.0.38.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_sexp_conv.v0.17.1
-> installed uri-sexp.4.4.0
-> installed cohttp.6.2.1
-> installed azure-cosmos-db.0.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-11 17:37.10 ---> saved as "e676d3120cb18f01647ceb8865cbdc6b341e36d242d62f32df52d8dbd0e900eb"
Job succeeded
2026-04-11 17:37.17: Job succeeded