2025-07-09 12:32.02: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/ci (d2be269f2eac159b400a9b311e310ec00b65e329) (linux-x86_64:ubuntu-24.04-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:2af7a2f9fff9a3e98a2af885aaa477769d5a5059e1275271f7e2dbdda1ed161c
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/tarides/mongoc-ocaml.git" -b "ci" && cd "mongoc-ocaml" && git reset --hard d2be269f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:2af7a2f9fff9a3e98a2af885aaa477769d5a5059e1275271f7e2dbdda1ed161c
# ubuntu-24.04-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mongoc.opam ./
RUN opam pin add -yn mongoc.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.19.1 dune-configurator.3.19.1 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mongoc.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-07-09 12:32.02: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:2af7a2f9fff9a3e98a2af885aaa477769d5a5059e1275271f7e2dbdda1ed161c-ubuntu-24.04-5.3_opam-2.3-5b970a796b5334997fbc490a8ac7eafa"
2025-07-09 12:32.02: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:2af7a2f9fff9a3e98a2af885aaa477769d5a5059e1275271f7e2dbdda1ed161c)
(comment ubuntu-24.04-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mongoc.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mongoc.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.19.1 dune-configurator.3.19.1 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y mongoc.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-07-09 12:32.02: Waiting for resource in pool OCluster
2025-07-09 15:56.16: Waiting for worker…
2025-07-09 16:01.47: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at d2be269 Fix ocaml-ci
(from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:2af7a2f9fff9a3e98a2af885aaa477769d5a5059e1275271f7e2dbdda1ed161c)
2025-07-09 16:01.47 ---> using "d8ceb4e48ca709c912639b3506e26680cad0ff922638e05ddd696e10af00aebf" from cache
/: (comment ubuntu-24.04-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-09 16:01.47 ---> using "05919b931530e00745d582b19d2e04972afd91e999613b00118d5d13bdd14580" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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-09 16:01.47 ---> using "7fabde6b31484981e3eff355b50514bedf0bfb5b7e52de3f7d74f1ede7dcfab1" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-07-09 16:01.47 ---> using "bfbf37c79544420e37bcbdb29ea209683bc4a79f165481820376cc64808090b2" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-09 16:01.47 ---> using "07f67110c554469d1d642ddad8f6b0ad5027d7c484cb66c7cfc9a2fc9f62c3d8" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-07-09 16:01.47 ---> using "f49c689566369e9d620843f1c2b919a6beb5093ea84698ebbb60960ab696419b" from cache
/src: (copy (src mongoc.opam) (dst ./))
2025-07-09 16:01.47 ---> saved as "bc4b8515af5e0cd2049d0ac9a4bea5e0c172be9f210a16c6f3f7f4976eacfb92"
/src: (run (network host)
(shell "opam pin add -yn mongoc.dev './'"))
Package mongoc does not exist, create as a NEW package? [y/n] y
[mongoc.dev] synchronised (file:///src)
mongoc is now pinned to file:///src (version dev)
2025-07-09 16:01.49 ---> saved as "cceeedac0fede0db18c6aabddd78768d7787f08d641d8086c1d1f558f3f3bd76"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-09 16:01.49 ---> saved as "7c515b69203600d4c4c5ae3736a22f4e5255f4f6312155e939598b94618195ba"
/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.19.1 dune-configurator.3.19.1 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y mongoc.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1124 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:4 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1238 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1735 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1432 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1793 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1564 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [37.2 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [77.9 kB]
- Fetched 9380 kB in 1s (7690 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mongoc.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
libbson-dev libmongoc-dev pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libbson-dev" "libmongoc-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libbson-1.0-0t64.
- (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 16365 files and directories currently installed.)
- Preparing to unpack .../00-libbson-1.0-0t64_1.26.0-1.1ubuntu2_amd64.deb ...
- Unpacking libbson-1.0-0t64 (1.26.0-1.1ubuntu2) ...
- Selecting previously unselected package libbson-dev.
- Preparing to unpack .../01-libbson-dev_1.26.0-1.1ubuntu2_amd64.deb ...
- Unpacking libbson-dev (1.26.0-1.1ubuntu2) ...
- Selecting previously unselected package libintelrdfpmath-dev:amd64.
- Preparing to unpack .../02-libintelrdfpmath-dev_2.0u2-8ubuntu1_amd64.deb ...
- Unpacking libintelrdfpmath-dev:amd64 (2.0u2-8ubuntu1) ...
- Selecting previously unselected package libmongocrypt0:amd64.
- Preparing to unpack .../03-libmongocrypt0_1.8.4-1build3_amd64.deb ...
- Unpacking libmongocrypt0:amd64 (1.8.4-1build3) ...
- Selecting previously unselected package libsnappy1v5:amd64.
- Preparing to unpack .../04-libsnappy1v5_1.1.10-1build1_amd64.deb ...
- Unpacking libsnappy1v5:amd64 (1.1.10-1build1) ...
- Selecting previously unselected package libutf8proc3:amd64.
- Preparing to unpack .../05-libutf8proc3_2.9.0-1build1_amd64.deb ...
- Unpacking libutf8proc3:amd64 (2.9.0-1build1) ...
- Selecting previously unselected package libmongoc-1.0-0t64.
- Preparing to unpack .../06-libmongoc-1.0-0t64_1.26.0-1.1ubuntu2_amd64.deb ...
- Unpacking libmongoc-1.0-0t64 (1.26.0-1.1ubuntu2) ...
- Selecting previously unselected package libmongocrypt-dev:amd64.
- Preparing to unpack .../07-libmongocrypt-dev_1.8.4-1build3_amd64.deb ...
- Unpacking libmongocrypt-dev:amd64 (1.8.4-1build3) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../08-libssl-dev_3.0.13-0ubuntu3.5_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.13-0ubuntu3.5) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../09-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu2.1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg-3.1ubuntu2.1) ...
- Selecting previously unselected package libsnappy-dev:amd64.
- Preparing to unpack .../10-libsnappy-dev_1.1.10-1build1_amd64.deb ...
- Unpacking libsnappy-dev:amd64 (1.1.10-1build1) ...
- Selecting previously unselected package libsasl2-dev.
- Preparing to unpack .../11-libsasl2-dev_2.1.28+dfsg1-5ubuntu3.1_amd64.deb ...
- Unpacking libsasl2-dev (2.1.28+dfsg1-5ubuntu3.1) ...
- Selecting previously unselected package libutf8proc-dev:amd64.
- Preparing to unpack .../12-libutf8proc-dev_2.9.0-1build1_amd64.deb ...
- Unpacking libutf8proc-dev:amd64 (2.9.0-1build1) ...
- Selecting previously unselected package libmongoc-dev.
- Preparing to unpack .../13-libmongoc-dev_1.26.0-1.1ubuntu2_amd64.deb ...
- Unpacking libmongoc-dev (1.26.0-1.1ubuntu2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../14-libpkgconf3_1.8.1-2build1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../15-pkgconf-bin_1.8.1-2build1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../16-pkgconf_1.8.1-2build1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-2build1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../17-pkg-config_1.8.1-2build1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-2build1) ...
- Setting up libutf8proc3:amd64 (2.9.0-1build1) ...
- Setting up libutf8proc-dev:amd64 (2.9.0-1build1) ...
- Setting up libsnappy1v5:amd64 (1.1.10-1build1) ...
- Setting up libpkgconf3:amd64 (1.8.1-2build1) ...
- Setting up libssl-dev:amd64 (3.0.13-0ubuntu3.5) ...
- Setting up pkgconf-bin (1.8.1-2build1) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg-3.1ubuntu2.1) ...
- Setting up libbson-1.0-0t64 (1.26.0-1.1ubuntu2) ...
- Setting up libintelrdfpmath-dev:amd64 (2.0u2-8ubuntu1) ...
- Setting up libmongocrypt0:amd64 (1.8.4-1build3) ...
- Setting up libbson-dev (1.26.0-1.1ubuntu2) ...
- Setting up libsnappy-dev:amd64 (1.1.10-1build1) ...
- Setting up libmongocrypt-dev:amd64 (1.8.4-1build3) ...
- Setting up pkgconf:amd64 (1.8.1-2build1) ...
- Setting up libsasl2-dev (2.1.28+dfsg1-5ubuntu3.1) ...
- Setting up pkg-config:amd64 (1.8.1-2build1) ...
- Setting up libmongoc-1.0-0t64 (1.26.0-1.1ubuntu2) ...
- Setting up libmongoc-dev (1.26.0-1.1ubuntu2) ...
- Processing triggers for libc-bin (2.39-0ubuntu8.4) ...
2025-07-09 16:02.05 ---> saved as "2ce28cb73c1c32f7dbb23720440869cea430417be27ae72f7e1a16cdc5d1dd7e"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 9 packages
- install bigarray-compat 1.1.0
- install cmdliner 1.3.0
- install conf-pkg-config 4
- install csexp 1.5.2
- install ctypes 0.23.0
- install dune 3.19.1
- install dune-configurator 3.19.1
- install integers 0.7.0
- install stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0 (cached)
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved ctypes.0.23.0 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.19.1
-> installed ctypes.0.23.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-09 16:02.50 ---> saved as "6de0cc6b2fd242931d8426352dfc48091c36e814c6d15fbaf4e69d1284a8f7aa"
/src: (copy (src .) (dst /src))
2025-07-09 16:02.50 ---> saved as "b16145b656ee1fd41dee1f002d9438365b9e14bb3c27e78bd1af71b200d18a2f"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-09 16:02.55 ---> saved as "82d2452b5916f4958000121543e8a58b1857888720993dfbf6a511d7259d8bb4"
Job succeeded
2025-07-09 16:02.55: Job succeeded