(for PR #29340)

2026-02-05 09:12.58: New job: build testcontainers-postgres.0.1.1, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29340/head (e880570e3b5fafaf82eb5d743d21f1617b4dd052)
                              on debian-13-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/29340/head" && git reset --hard e880570e
git fetch origin master
git merge --no-edit b901e73be8f0428ab7c60a6fd1e47e7dcacbdfd5
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:bc8e76b9a7af94f8c361f21b8e82ca88bcbca99c677c23853e4b0f8643d218d7
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 testcontainers-postgres.0.1.1 0.1.1
RUN opam depext testcontainers-postgres.0.1.1 && opam reinstall testcontainers-postgres.0.1.1; \
    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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'testcontainers-postgres.0.1.1' && 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-02-05 09:12.58: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:bc8e76b9a7af94f8c361f21b8e82ca88bcbca99c677c23853e4b0f8643d218d7-testcontainers-postgres.0.1.1-e880570e3b5fafaf82eb5d743d21f1617b4dd052"
2026-02-05 09:12.58: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:bc8e76b9a7af94f8c361f21b8e82ca88bcbca99c677c23853e4b0f8643d218d7)
 (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 testcontainers-postgres.0.1.1 0.1.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext testcontainers-postgres.0.1.1 && opam reinstall testcontainers-postgres.0.1.1;\
             \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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'testcontainers-postgres.0.1.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-02-05 09:12.58: Waiting for resource in pool OCluster
2026-02-05 09:24.00: Waiting for worker…
2026-02-05 09:27.01: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  84% (16393/19351)
Updating files:  85% (16449/19351)
Updating files:  86% (16642/19351)
Updating files:  87% (16836/19351)
Updating files:  88% (17029/19351)
Updating files:  89% (17223/19351)
Updating files:  90% (17416/19351)
Updating files:  91% (17610/19351)
Updating files:  92% (17803/19351)
Updating files:  93% (17997/19351)
Updating files:  94% (18190/19351)
Updating files:  95% (18384/19351)
Updating files:  96% (18577/19351)
Updating files:  97% (18771/19351)
Updating files:  98% (18964/19351)
Updating files:  99% (19158/19351)
Updating files: 100% (19351/19351)
Updating files: 100% (19351/19351), done.
HEAD is now at b901e73be8 Merge pull request #29336 from raphael-proust/rename-lwt-beta
Updating b901e73be8..e880570e3b
Fast-forward
 .../testcontainers-elasticsearch.0.1.1/opam        | 41 ++++++++++++++++
 .../testcontainers-kafka.0.1.1/opam                | 41 ++++++++++++++++
 .../testcontainers-localstack.0.1.1/opam           | 42 +++++++++++++++++
 .../testcontainers-memcached.0.1.1/opam            | 41 ++++++++++++++++
 .../testcontainers-mockserver.0.1.1/opam           | 42 +++++++++++++++++
 .../testcontainers-mongo.0.1.1/opam                | 41 ++++++++++++++++
 .../testcontainers-mysql.0.1.1/opam                | 41 ++++++++++++++++
 .../testcontainers-postgres.0.1.1/opam             | 41 ++++++++++++++++
 .../testcontainers-rabbitmq.0.1.1/opam             | 41 ++++++++++++++++
 .../testcontainers-redis.0.1.1/opam                | 41 ++++++++++++++++
 packages/testcontainers/testcontainers.0.1.1/opam  | 54 ++++++++++++++++++++++
 11 files changed, 466 insertions(+)
 create mode 100644 packages/testcontainers-elasticsearch/testcontainers-elasticsearch.0.1.1/opam
 create mode 100644 packages/testcontainers-kafka/testcontainers-kafka.0.1.1/opam
 create mode 100644 packages/testcontainers-localstack/testcontainers-localstack.0.1.1/opam
 create mode 100644 packages/testcontainers-memcached/testcontainers-memcached.0.1.1/opam
 create mode 100644 packages/testcontainers-mockserver/testcontainers-mockserver.0.1.1/opam
 create mode 100644 packages/testcontainers-mongo/testcontainers-mongo.0.1.1/opam
 create mode 100644 packages/testcontainers-mysql/testcontainers-mysql.0.1.1/opam
 create mode 100644 packages/testcontainers-postgres/testcontainers-postgres.0.1.1/opam
 create mode 100644 packages/testcontainers-rabbitmq/testcontainers-rabbitmq.0.1.1/opam
 create mode 100644 packages/testcontainers-redis/testcontainers-redis.0.1.1/opam
 create mode 100644 packages/testcontainers/testcontainers.0.1.1/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:bc8e76b9a7af94f8c361f21b8e82ca88bcbca99c677c23853e4b0f8643d218d7)
2026-02-05 09:27.04 ---> using "6a529338653936dd261dd42dcc0e2d18c1a03440bc5c8aa2a17bafbdf6595264" 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"))
2026-02-05 09:27.04 ---> saved as "78ba6c6c874afd129999f5ada2ff996a20e68e58456be25e139b694bed40ca05"

/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+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)

2026-02-05 09:28.40 ---> saved as "4bd8d1c889462bf2437a700c6599e223fde946d236fda0927f1466041baceaea"

/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=13
# 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              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    4.14
2026-02-05 09:28.41 ---> saved as "afb6aee629472977c0b95062272db471ed7d5968404344a21d0cb33f934db4bf"

/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-02-05 09:28.48 ---> saved as "29223ffebf778c7898e82aee632a372aef815b0347f22ea7707903cb7ae7fae7"

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-05 09:29.08 ---> saved as "060acfed11954bdbf3006a3ea107adb7dcd5f9bede39e94c4984cd019b331ee7"

/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)

2026-02-05 09:29.20 ---> saved as "2c06ca0a4a2c29376658d405fd0ec33f6661e5dea6a8882a27e8e448bce61661"

/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 trixie InRelease
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [98.8 kB]
Fetched 190 kB in 0s (1767 kB/s)
Reading package lists...
# OS package update successful
2026-02-05 09:29.22 ---> saved as "2e4d38506847cf9b9294d289b0e3ca811d1cb3e154d8e9988ebd8f0a2ece4f40"

/home/opam: (run (shell "opam pin add -k version -yn testcontainers-postgres.0.1.1 0.1.1"))
testcontainers-postgres is now pinned to version 0.1.1
2026-02-05 09:29.22 ---> saved as "b09529a037dafff5da46279e6c0f7ffafb59ef9101880ef54c6a0e92669446a1"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext testcontainers-postgres.0.1.1 && opam reinstall testcontainers-postgres.0.1.1;\
                        \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-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'testcontainers-postgres.0.1.1' && 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
[ERROR] No solution for testcontainers-postgres.0.1.1: The following dependencies couldn't be met:
          - testcontainers-postgres -> testcontainers -> ocaml >= 5.0
              base of this switch (use `--unlock-base' to force)


Command failed: opam list --readonly --external '--resolve=testcontainers-postgres.0.1.1' --color=never returned 20
"/usr/bin/env" "bash" "-c" "opam depext testcontainers-postgres.0.1.1 && opam reinstall testcontainers-postgres.0.1.1;
        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-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'testcontainers-postgres.0.1.1' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2026-02-05 09:29.48: Job failed: Failed: Build failed
2026-02-05 09:29.48: Log analysis:
2026-02-05 09:29.48: >>> 
[ERROR] No solution for testcontainers-postgres.0.1.1: The following dependencies couldn't be met:
 (score = 100)
2026-02-05 09:29.48: [SKIP] Package not available