(for PR #28894)

2025-11-14 15:11.17: New job: test tls.2.0.1 with lwt.6.0.0-beta01, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28894/head (b3a6ad64ea3115b9993ddd431f777dde4e6ec63f)
                              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/28894/head" && git reset --hard b3a6ad64
git fetch origin master
git merge --no-edit 2ec6d6cc9216d1f4ec93aec16f34d7a35a7ef543
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e
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 lwt.6.0.0-beta01 6.0.0-beta01
RUN opam reinstall lwt.6.0.0-beta01; \
    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" != 'lwt.6.0.0-beta01' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall tls.2.0.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" != 'tls.2.0.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test tls.2.0.1) || true
RUN opam reinstall --with-test --verbose tls.2.0.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" != 'tls.2.0.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 .

2025-11-14 15:11.17: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e-lwt.6.0.0-beta01-tls.2.0.1-b3a6ad64ea3115b9993ddd431f777dde4e6ec63f"
2025-11-14 15:11.17: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e)
 (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 lwt.6.0.0-beta01 6.0.0-beta01"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt.6.0.0-beta01;\
             \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\" != 'lwt.6.0.0-beta01' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall tls.2.0.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\" != 'tls.2.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test tls.2.0.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose tls.2.0.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\" != 'tls.2.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-11-14 15:11.17: Waiting for resource in pool OCluster
2025-11-14 15:48.36: Waiting for worker…
2025-11-14 15:55.46: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  69% (13060/18769)
Updating files:  70% (13139/18769)
Updating files:  71% (13326/18769)
Updating files:  72% (13514/18769)
Updating files:  73% (13702/18769)
Updating files:  74% (13890/18769)
Updating files:  75% (14077/18769)
Updating files:  76% (14265/18769)
Updating files:  77% (14453/18769)
Updating files:  78% (14640/18769)
Updating files:  79% (14828/18769)
Updating files:  80% (15016/18769)
Updating files:  81% (15203/18769)
Updating files:  82% (15391/18769)
Updating files:  83% (15579/18769)
Updating files:  84% (15766/18769)
Updating files:  85% (15954/18769)
Updating files:  86% (16142/18769)
Updating files:  87% (16330/18769)
Updating files:  88% (16517/18769)
Updating files:  89% (16705/18769)
Updating files:  90% (16893/18769)
Updating files:  91% (17080/18769)
Updating files:  92% (17268/18769)
Updating files:  93% (17456/18769)
Updating files:  94% (17643/18769)
Updating files:  95% (17831/18769)
Updating files:  96% (18019/18769)
Updating files:  97% (18206/18769)
Updating files:  98% (18394/18769)
Updating files:  99% (18582/18769)
Updating files: 100% (18769/18769)
Updating files: 100% (18769/18769), done.
HEAD is now at 2ec6d6cc92 Merge pull request #28891 from c-cube/release-moonpool-v0.10
Updating 2ec6d6cc92..b3a6ad64ea
Fast-forward
 packages/lwt/lwt.6.0.0-beta01/opam                 | 66 ++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0-beta01/opam   | 42 ++++++++++++++
 packages/lwt_ppx/lwt_ppx.6.0.0-beta01/opam         | 43 ++++++++++++++
 .../lwt_runtime_events.6.0.0-beta01/opam           | 40 +++++++++++++
 4 files changed, 191 insertions(+)
 create mode 100644 packages/lwt/lwt.6.0.0-beta01/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0-beta01/opam
 create mode 100644 packages/lwt_ppx/lwt_ppx.6.0.0-beta01/opam
 create mode 100644 packages/lwt_runtime_events/lwt_runtime_events.6.0.0-beta01/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e)
2025-11-14 15:55.57 ---> using "0a7782df646ba17c4c91deb7545267f63c19555df9b225a0640862ce540c1383" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-14 15:55.57 ---> using "e3cc97f3c946abac4036e9918a15af8cd2359775cb282137405852a83e5e4ac5" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-14 15:55.57 ---> using "b3771c9b2a97061bcd39a540eb46c8c9391a701a6a2417777709d0e8bcafecec" 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~alpha1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# 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.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-11-14 15:55.57 ---> using "8b9250364ffb330fc85473d01676fcba0e45f4a15f62098ec06ae23bfca0fd04" 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/"))
2025-11-14 15:55.57 ---> using "324936077a47671067794cc83def947ee8a01c92aab91da2d8bb3576676449b4" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-14 15:55.59 ---> using "30dc30ac1b4f48124c0de509329559f55130f5df01b33ff3908a7bc236663dce" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-14 15:55.59 ---> using "ee09d2afa8da6f5f6af77d0216b2a5b52af357966d838d421021879b57c2f37a" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/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 [71.4 kB]
- Fetched 162 kB in 0s (1543 kB/s)
- Reading package lists...
2025-11-14 15:55.59 ---> using "2137eb5b3aecf5224e61e37ff834a4c90be62ce1fb178139730ee66a2b359eb2" from cache

/home/opam: (run (shell "opam pin add -k version -yn lwt.6.0.0-beta01 6.0.0-beta01"))
lwt is now pinned to version 6.0.0-beta01
2025-11-14 15:55.59 ---> using "d255c6a4cefc3406938875936573a442584f6bdd7c49c5eca2ccb30f2beaf77b" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt.6.0.0-beta01;\
                        \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\" != 'lwt.6.0.0-beta01' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lwt.6.0.0-beta01 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
  - install base-bytes        base                  [required by ocplib-endian]
  - install cppo              1.8.0                 [required by lwt]
  - install csexp             1.5.2                 [required by dune-configurator]
  - install dune              3.20.2                [required by lwt]
  - install dune-configurator 3.20.2                [required by lwt]
  - install lwt               6.0.0-beta01 (pinned)
  - install ocamlfind         1.9.8                 [required by base-bytes]
  - install ocplib-endian     1.2                   [required by lwt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved lwt.6.0.0-beta01  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.2
-> installed lwt.6.0.0-beta01
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-14 15:55.59 ---> using "bd6fe0f663df2d2003d87a5d00e89c4f2a244d2bb5d1000424fa6ec0d002f686" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall tls.2.0.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\" != 'tls.2.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
tls.2.0.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 26 packages
  - install asn1-combinators  0.3.2  [required by x509]
  - install base64            3.5.2  [required by x509]
  - install conf-gmp          5      [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec 4      [required by mirage-crypto-pk]
  - install conf-pkg-config   4      [required by zarith]
  - install digestif          1.3.0  [required by tls]
  - install domain-name       0.5.0  [required by tls]
  - install duration          0.2.1  [required by mirage-crypto-rng]
  - install eqaf              0.10   [required by mirage-crypto-ec, digestif, mirage-crypto-pk]
  - install fmt               0.11.0 [required by tls]
  - install gmap              0.3.0  [required by x509]
  - install ipaddr            5.6.1  [required by tls]
  - install kdf               1.0.0  [required by tls]
  - install logs              0.10.0 [required by tls]
  - install macaddr           5.6.1  [required by ipaddr]
  - install mirage-crypto     2.0.2  [required by tls]
  - install mirage-crypto-ec  2.0.2  [required by tls]
  - install mirage-crypto-pk  2.0.2  [required by tls]
  - install mirage-crypto-rng 2.0.2  [required by tls]
  - install ocamlbuild        0.16.1 [required by fmt, logs]
  - install ohex              0.2.0  [required by tls]
  - install ptime             1.2.0  [required by x509]
  - install tls               2.0.1
  - install topkg             1.1.1  [required by fmt, logs]
  - install x509              1.0.6  [required by tls]
  - install zarith            1.14   [required by mirage-crypto-pk]

The following system packages will first need to be installed:
    libgmp-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get 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 "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (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 ... 20622 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> installed conf-pkg-config.4
-> installed conf-gmp.5
-> installed conf-gmp-powm-sec.4
-> installed base64.3.5.2
-> retrieved digestif.1.3.0  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed domain-name.0.5.0
-> installed macaddr.5.6.1
-> installed eqaf.0.10
-> retrieved mirage-crypto.2.0.2, mirage-crypto-ec.2.0.2, mirage-crypto-pk.2.0.2, mirage-crypto-rng.2.0.2  (cached)
-> installed ipaddr.5.6.1
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved tls.2.0.1  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed ohex.0.2.0
-> retrieved x509.1.0.6  (cached)
-> retrieved zarith.1.14  (cached)
-> installed digestif.1.3.0
-> installed mirage-crypto.2.0.2
-> installed kdf.1.0.0
-> installed zarith.1.14
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed asn1-combinators.0.3.2
-> installed logs.0.10.0
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-pk.2.0.2
-> installed mirage-crypto-ec.2.0.2
-> installed x509.1.0.6
-> installed tls.2.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-14 15:56.48 ---> saved as "21b68a81ecdd4011e95fdd50afc692cbae862cd2ca46d7c84975b441f639fcfe"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test tls.2.0.1) || true"))
The following actions will be performed:
=== recompile 7 packages
  - recompile fmt                0.11.0 [uses cmdliner]
  - recompile logs               0.10.0 [uses cmdliner]
  - recompile mirage-crypto-ec   2.0.2  [uses mirage-crypto-rng]
  - recompile mirage-crypto-pk   2.0.2  [uses mirage-crypto-rng]
  - recompile mirage-crypto-rng  2.0.2  [uses logs]
  - recompile tls                2.0.1
  - recompile x509               1.0.6  [uses fmt]
=== install 9 packages
  - install   alcotest           1.9.1  [required by tls]
  - install   astring            0.8.5  [required by alcotest]
  - install   cmdliner           2.0.0  [required by tls]
  - install   ocaml-syntax-shims 1.0.0  [required by alcotest]
  - install   ounit2             2.2.7  [required by tls]
  - install   re                 1.14.0 [required by alcotest]
  - install   seq                base   [required by ounit2]
  - install   stdlib-shims       0.3.0  [required by alcotest, ounit2]
  - install   uutf               1.0.4  [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.0.0  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved logs.0.10.0  (https://opam.ocaml.org/cache)
-> retrieved mirage-crypto-ec.2.0.2, mirage-crypto-pk.2.0.2, mirage-crypto-rng.2.0.2  (https://opam.ocaml.org/cache)
-> installed astring.0.8.5
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved ounit2.2.2.7  (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0  (https://opam.ocaml.org/cache)
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> retrieved tls.2.0.1  (https://opam.ocaml.org/cache)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> retrieved x509.1.0.6  (https://opam.ocaml.org/cache)
-> installed re.1.14.0
-> installed ounit2.2.2.7
-> removed   tls.2.0.1
-> removed   x509.1.0.6
-> removed   mirage-crypto-ec.2.0.2
-> removed   mirage-crypto-pk.2.0.2
-> removed   mirage-crypto-rng.2.0.2
-> removed   logs.0.10.0
-> removed   fmt.0.11.0
-> installed cmdliner.2.0.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed alcotest.1.9.1
-> installed logs.0.10.0
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-pk.2.0.2
-> installed mirage-crypto-ec.2.0.2
-> installed x509.1.0.6
-> installed tls.2.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-14 15:57.23 ---> saved as "de7dfc27cf965df8420709bca524d6253f42a402c9592df0f8604a9ee706f690"

/home/opam: (run (shell  "opam reinstall --with-test --verbose tls.2.0.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\" != 'tls.2.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile tls 2.0.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [tls.2.0.1: extract]
-> retrieved tls.2.0.1  (cached)
Processing  2/4: [tls: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "tls" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/tls.2.0.1)
Processing  2/4: [tls: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "tls" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/tls.2.0.1)
- (cd _build/default/tests && ./feedback.exe)
- Looping 10 times, 1024 bytes.
- [time] 0.002114.04 s
- (cd _build/default/tests && ./key_derivation.exe)
- Testing `Key derivation tests'.
- This run has ID `GEWVU1FJ'.
- 
-   [OK]          key extraction and derivation          0   initial extract.
-   [OK]          key extraction and derivation          1   initial derive.
-   [OK]          key extraction and derivation          2   handshake extract.
-   [OK]          key extraction and derivation          3   derive c hs.
-   [OK]          key extraction and derivation          4   derive s hs.
-   [OK]          key extraction and derivation          5   derive finished.
-   [OK]          key extraction and derivation          6   derive master.
-   [OK]          key extraction and derivation          7   extract master.
-   [OK]          key extraction and derivation          8   derive handshake k...
-   [OK]          key extraction and derivation          9   derive traffic keys.
-   [OK]          key extraction and derivation         10   application write ...
-   [OK]          key extraction and derivation         11   application read k...
-   [OK]          key extraction and derivation         12   hs read keys.
-   [OK]          key extraction and derivation         13   resumption key.
-   [OK]          key extraction and derivation         14   payload.
-   [OK]          key extraction and derivation         15   processed payload.
-   [OK]          key extraction and derivation         16   self signature.
-   [OK]          key extraction and derivation         17   wire signature.
-   [OK]          key extraction and derivation         18   res secret.
-   [OK]          key extraction and derivation         19   early resumed.
-   [OK]          key extraction and derivation         20   binder.
-   [OK]          key extraction and derivation         21   x25519.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/tls.2.0.1/_build/default/tests/_build/_tests/Key derivation tests'.
- Test Successful in 0.011s. 22 tests run.
- (cd _build/default/tests && ./unittestrunner.exe)
- ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
- Ran: 476 tests in: 0.21 seconds.
- OK
-> compiled  tls.2.0.1
-> removed   tls.2.0.1
-> installed tls.2.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-14 15:57.34 ---> saved as "e7e482a841b7a54d7a13b9c2aea256fc6e5eedf8447a1faa701ba2beaf62f1c8"
Job succeeded
2025-11-14 15:57.44: Job succeeded