(for PR #27802)

2025-04-21 03:07.53: New job: test junit_alcotest.2.3.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27802/head (311efe76002605d961e013d97bb28c10f5b8d499)
                              on macos-homebrew-ocaml-4.14/arm64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27802/head" && git reset --hard 311efe76
git fetch origin master
git merge --no-edit 999bff3ed88d26f76ff7eaddbfa7af49ed4737dc
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
USER 1000:1000
RUN ln -f ~/local/bin/opam-2.3 ~/local/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 -k local --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn junit_alcotest.2.3.0 2.3.0
RUN opam reinstall junit_alcotest.2.3.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 "\"macos-homebrew\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'junit_alcotest.2.3.0' && 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 junit_alcotest.2.3.0) || true
RUN opam reinstall --with-test --verbose junit_alcotest.2.3.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 "\"macos-homebrew\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'junit_alcotest.2.3.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 .

2025-04-21 03:07.53: Using cache hint "macos-homebrew-ocaml-4.14-junit_alcotest.2.3.0-311efe76002605d961e013d97bb28c10f5b8d499"
2025-04-21 03:07.53: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (user (uid 1000) (gid 1000))
 (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
 (run (network host)
      (shell "opam init --reinit -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 -k local --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn junit_alcotest.2.3.0 2.3.0"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell  "opam reinstall junit_alcotest.2.3.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 \"\\\"macos-homebrew\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'junit_alcotest.2.3.0' && 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 junit_alcotest.2.3.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose junit_alcotest.2.3.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 \"\\\"macos-homebrew\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'junit_alcotest.2.3.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-04-21 03:07.53: Waiting for resource in pool OCluster
2025-04-21 03:07.56: Waiting for worker…
2025-04-21 03:14.18: Got resource from pool OCluster
Building on m1-worker-04
All commits already cached
Updating files:  51% (11730/22932)
Updating files:  52% (11925/22932)
Updating files:  53% (12154/22932)
Updating files:  54% (12384/22932)
Updating files:  55% (12613/22932)
Updating files:  56% (12842/22932)
Updating files:  57% (13072/22932)
Updating files:  58% (13301/22932)
Updating files:  59% (13530/22932)
Updating files:  60% (13760/22932)
Updating files:  61% (13989/22932)
Updating files:  62% (14218/22932)
Updating files:  63% (14448/22932)
Updating files:  64% (14677/22932)
Updating files:  65% (14906/22932)
Updating files:  66% (15136/22932)
Updating files:  67% (15365/22932)
Updating files:  68% (15594/22932)
Updating files:  69% (15824/22932)
Updating files:  70% (16053/22932)
Updating files:  71% (16282/22932)
Updating files:  72% (16512/22932)
Updating files:  73% (16741/22932)
Updating files:  74% (16970/22932)
Updating files:  75% (17199/22932)
Updating files:  76% (17429/22932)
Updating files:  77% (17658/22932)
Updating files:  78% (17887/22932)
Updating files:  79% (18117/22932)
Updating files:  80% (18346/22932)
Updating files:  81% (18575/22932)
Updating files:  82% (18805/22932)
Updating files:  83% (19034/22932)
Updating files:  84% (19263/22932)
Updating files:  85% (19493/22932)
Updating files:  86% (19722/22932)
Updating files:  87% (19951/22932)
Updating files:  88% (20181/22932)
Updating files:  89% (20410/22932)
Updating files:  90% (20639/22932)
Updating files:  90% (20781/22932)
Updating files:  91% (20869/22932)
Updating files:  92% (21098/22932)
Updating files:  93% (21327/22932)
Updating files:  94% (21557/22932)
Updating files:  95% (21786/22932)
Updating files:  96% (22015/22932)
Updating files:  97% (22245/22932)
Updating files:  98% (22474/22932)
Updating files:  99% (22703/22932)
Updating files: 100% (22932/22932)
Updating files: 100% (22932/22932), done.
HEAD is now at 999bff3ed8 Merge pull request #27746 from hirrolot/opam-publish-checked_oint.0.6.0
Updating 999bff3ed8..311efe7600
Fast-forward
 packages/junit/junit.2.3.0/opam                   | 41 +++++++++++++++++++++++
 packages/junit_alcotest/junit_alcotest.2.3.0/opam | 41 +++++++++++++++++++++++
 packages/junit_ounit/junit_ounit.2.3.0/opam       | 41 +++++++++++++++++++++++
 3 files changed, 123 insertions(+)
 create mode 100644 packages/junit/junit.2.3.0/opam
 create mode 100644 packages/junit_alcotest/junit_alcotest.2.3.0/opam
 create mode 100644 packages/junit_ounit/junit_ounit.2.3.0/opam

(from macos-homebrew-ocaml-4.14)
2025-04-21 03:14.19 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-04-21 03:14.20 ---> using "133faf6477bb7d579f4909c1f9ea81a7b33e8728123c32f7ba0f1532c2d3d002" from cache

/: (run (network host)
        (shell "opam init --reinit -ni"))
No configuration file found, using 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 /Users/mac1000/.opam from version 2.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2025-04-21 03:14.20 ---> using "ef3d87c6398c801c10cf5a6d93f8ba7a7aca8d0c6db9fa9fa49b79f0f9e94e2e" from cache

/: (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.3.0
# self-upgrade         no
# system               arch=arm64 os=macos os-distribution=homebrew os-version=14.4
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 7
# repositories         1 (version-controlled)
# pinned               0
# current-switch       4.14.2
# invariant            ["ocaml-base-compiler" {= "4.14.2"} | "ocaml-system" {= "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       /Users/mac1000/.opam/4.14.2/lib/ocaml/stublibs:/Users/mac1000/.opam/4.14.2/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-04-21 03:14.20 ---> using "ac863649c8b1638b67aad7aed774fd3a3fe5d0b0e5eb7991274454937cf65d01" from cache

/: (env OPAMDOWNLOADJOBS 1)

/: (env OPAMERRLOGLEN 0)

/: (env OPAMPRECISETRACKING 1)

/: (env CI true)

/: (env OPAM_REPO_CI true)

/: (run (shell "rm -rf opam-repository/"))
2025-04-21 03:14.20 ---> using "5431cbcc658e0d18f1e86a42b7295d7baef82e74db465ab87f8a15ba49194dde" from cache

/: (copy (src .) (dst opam-repository/))
2025-04-21 03:14.21 ---> using "410059f4f09ea47a88c251cc2905d5d6d9deb527cc9e093c463e102cd9083925" from cache

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2025-04-21 03:14.21 ---> using "9ee4d622b8270e7cecf5bae08a8a7d5ed1f30834c6ccb647b56ec5f1d5d7a173" from cache

/: (run (network host)
        (shell "opam update --depexts || true"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:7645e2d653a335798030f6502e7834dfdbeeec5629429a1a34da5dbb2c57d63e
- #=#=#                                                                         

                                                                           0.3%
                                                                           0.7%
#                                                                          1.4%
#                                                                          1.8%
#                                                                          2.2%
##                                                                         2.8%
##                                                                         3.2%
##                                                                         3.6%
###                                                                        4.3%
- 
###                                                                        4.7%
###                                                                        5.2%
####                                                                       5.6%
####                                                                       6.0%
####                                                                       6.5%
#####                                                                      7.0%
#####                                                                      7.4%
#####                                                                      7.8%
#####                                                                      8.2%
######                                                                     8.6%
######                                                                     9.2%
- 
######                                                                     9.6%
#######                                                                   10.0%
#######                                                                   10.4%
#######                                                                   10.9%
########                                                                  11.3%
########                                                                  11.8%
########                                                                  12.3%
#########                                                                 12.7%
#########                                                                 13.1%
#########                                                                 13.5%
##########                                                                14.1%
- 
##########                                                                14.5%
##########                                                                14.9%
###########                                                               15.3%
###########                                                               15.7%
###########                                                               16.1%
############                                                              16.7%
############                                                              17.1%
############                                                              17.5%
############                                                              18.0%
#############                                                             18.7%
##############                                                            19.5%
- 
##############                                                            20.3%
###############                                                           21.2%
###############                                                           22.1%
################                                                          23.0%
################                                                          23.5%
#################                                                         23.9%
#################                                                         24.4%
#################                                                         24.9%
##################                                                        25.3%
##################                                                        25.8%
##################                                                        26.2%
- 
###################                                                       26.7%
###################                                                       27.1%
###################                                                       27.6%
####################                                                      28.0%
####################                                                      28.4%
####################                                                      28.8%
#####################                                                     29.2%
#####################                                                     29.8%
#####################                                                     30.2%
######################                                                    30.6%
######################                                                    31.0%
- 
######################                                                    31.5%
######################                                                    31.9%
#######################                                                   32.3%
#######################                                                   32.9%
#######################                                                   33.3%
########################                                                  33.7%
########################                                                  34.1%
########################                                                  34.5%
#########################                                                 34.9%
#########################                                                 35.5%
#########################                                                 35.9%
- 
##########################                                                36.3%
##########################                                                36.8%
##########################                                                37.3%
###########################                                               37.7%
###########################                                               38.1%
###########################                                               38.6%
############################                                              39.1%
############################                                              39.5%
############################                                              40.0%
#############################                                             40.4%
- 
#############################                                             40.8%
#############################                                             41.2%
##############################                                            41.8%
##############################                                            42.2%
##############################                                            42.6%
##############################                                            43.0%
###############################                                           43.6%
###############################                                           44.0%
###############################                                           44.4%
################################                                          44.8%
################################                                          45.2%
- 
################################                                          45.7%
#################################                                         46.1%
#################################                                         46.5%
#################################                                         47.1%
##################################                                        47.5%
##################################                                        47.9%
##################################                                        48.3%
###################################                                       48.7%
###################################                                       49.1%
###################################                                       49.7%
####################################                                      50.1%
- 
####################################                                      50.7%
####################################                                      51.1%
#####################################                                     51.5%
#####################################                                     51.9%
#####################################                                     52.3%
######################################                                    52.9%
######################################                                    53.3%
######################################                                    53.7%
######################################                                    54.2%
#######################################                                   54.6%
#######################################                                   55.1%
#######################################                                   55.5%
- 
########################################                                  56.0%
########################################                                  56.4%
########################################                                  56.8%
#########################################                                 57.2%
#########################################                                 57.6%
#########################################                                 58.2%
##########################################                                58.6%
##########################################                                59.0%
##########################################                                59.4%
###########################################                               60.0%
###########################################                               60.4%
- 
###########################################                               60.8%
############################################                              61.3%
############################################                              61.7%
############################################                              62.1%
#############################################                             62.6%
#############################################                             63.1%
#############################################                             63.5%
##############################################                            63.9%
##############################################                            64.3%
##############################################                            64.9%
- 
###############################################                           65.3%
###############################################                           65.7%
###############################################                           66.3%
################################################                          66.7%
################################################                          67.1%
################################################                          67.5%
################################################                          67.9%
#################################################                         68.4%
#################################################                         68.9%
#################################################                         69.3%
##################################################                        69.7%
- 
##################################################                        70.2%
##################################################                        70.6%
###################################################                       71.0%
###################################################                       71.6%
###################################################                       72.0%
####################################################                      72.5%
####################################################                      73.0%
####################################################                      73.4%
#####################################################                     73.8%
#####################################################                     74.2%
#####################################################                     74.6%
- 
######################################################                    75.2%
######################################################                    75.6%
######################################################                    76.0%
#######################################################                   76.4%
#######################################################                   76.8%
#######################################################                   77.3%
########################################################                  77.8%
########################################################                  78.2%
########################################################                  78.7%
########################################################                  79.1%
- 
#########################################################                 79.5%
#########################################################                 79.9%
#########################################################                 80.3%
##########################################################                80.9%
##########################################################                81.3%
##########################################################                81.7%
###########################################################               82.1%
###########################################################               82.7%
###########################################################               83.1%
############################################################              83.5%
############################################################              84.1%
- 
############################################################              84.5%
#############################################################             84.9%
#############################################################             85.3%
#############################################################             85.8%
##############################################################            86.2%
##############################################################            86.6%
##############################################################            87.2%
###############################################################           87.6%
###############################################################           88.0%
###############################################################           88.4%
###############################################################           88.8%
################################################################          89.2%
- 
################################################################          89.8%
################################################################          90.2%
#################################################################         90.6%
#################################################################         91.0%
#################################################################         91.5%
##################################################################        92.0%
##################################################################        92.4%
##################################################################        92.9%
###################################################################       93.3%
###################################################################       93.7%
- 
###################################################################       94.1%
####################################################################      94.7%
####################################################################      95.1%
####################################################################      95.5%
#####################################################################     95.9%
#####################################################################     96.3%
#####################################################################     96.9%
######################################################################    97.3%
######################################################################    97.7%
######################################################################    98.1%
######################################################################    98.6%
- 
#######################################################################   99.0%
#######################################################################   99.5%
######################################################################## 100.0%
- ==> Pouring portable-ruby-3.3.8.arm64_big_sur.bottle.tar.gz
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
-   https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
- 
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
-   https://github.com/Homebrew/brew#donations
- 
- Already up-to-date.
2025-04-21 03:14.22 ---> using "33468f4d75a061582af5fdc95e7af44e4a07c63718cd0fc290254ddf25b9b9ce" from cache

/: (run (shell "opam pin add -k version -yn junit_alcotest.2.3.0 2.3.0"))
junit_alcotest is now pinned to version 2.3.0
2025-04-21 03:14.22 ---> using "cffdf64e5398331dfa8a14a73b437ad305536ef84236d7dc3e574b8073140d25" from cache

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell  "opam reinstall junit_alcotest.2.3.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 \"\\\"macos-homebrew\\\"\"; then\
               \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
               \n          fi;\
               \n          test \"$pkg\" != 'junit_alcotest.2.3.0' && partial_fails=\"$partial_fails $pkg\";\
               \n        done;\
               \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
               \n        exit 1"))
junit_alcotest.2.3.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 17 packages
  - install alcotest           1.9.0          [required by junit_alcotest]
  - install astring            0.8.5          [required by alcotest]
  - install cmdliner           1.3.0          [required by alcotest]
  - install dune               3.18.1         [required by junit_alcotest]
  - install fmt                0.10.0         [required by alcotest]
  - install junit              2.3.0          [required by junit_alcotest]
  - install junit_alcotest     2.3.0 (pinned)
  - install ocaml-syntax-shims 1.0.0          [required by alcotest]
  - install ocamlbuild         0.16.1         [required by uutf, astring, fmt, ptime]
  - install ocamlfind          1.9.8          [required by uutf, astring, fmt, ptime]
  - install ptime              1.2.0          [required by junit]
  - install re                 1.12.0         [required by alcotest]
  - install seq                base           [required by re, tyxml]
  - install stdlib-shims       0.3.0          [required by alcotest]
  - install topkg              1.0.8          [required by uutf, astring, fmt, ptime]
  - install tyxml              4.6.0          [required by junit]
  - install uutf               1.0.4          [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved dune.3.18.1  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved junit.2.3.0, junit_alcotest.2.3.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ptime.1.2.0  (cached)
-> installed cmdliner.1.3.0
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed ptime.1.2.0
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed dune.3.18.1
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed alcotest.1.9.0
-> installed tyxml.4.6.0
-> installed junit.2.3.0
-> installed junit_alcotest.2.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-21 03:14.22 ---> using "376179923652ee96d1753308496fb2d6d4b6b66f588331eb87f51f7770fca1f6" from cache

/: (run (network host)
        (shell "(opam reinstall --with-test junit_alcotest.2.3.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile junit_alcotest 2.3.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   junit_alcotest.2.3.0
-> installed junit_alcotest.2.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-21 03:14.25 ---> saved as "985a7242353601b3567c6e3ceeb01a7dba1a592ef164f5b93e98e72715b90555"

/: (run (shell  "opam reinstall --with-test --verbose junit_alcotest.2.3.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 \"\\\"macos-homebrew\\\"\"; then\
               \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
               \n          fi;\
               \n          test \"$pkg\" != 'junit_alcotest.2.3.0' && 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 junit_alcotest 2.3.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [junit_alcotest: dune build]
+ /Users/mac1000/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "junit_alcotest" "-j" "7" "@install" "@runtest" (CWD=/Users/mac1000/.opam/4.14.2/.opam-switch/build/junit_alcotest.2.3.0)
- (cd _build/default/alcotest/test && ./alcotest_report.exe)
- Testing `Skip test suite'.
- This run has ID `JYG9JFIS'.
- 
-   [SKIP]        Skipped tests          0   Skipped quick.
-   [SKIP]        Skipped tests          1   Skipped slow.
- 
- Full test results in `~/.opam/4.14.2/.opam-switch/build/junit_alcotest.2.3.0/_build/default/alcotest/test/_build/_tests/Skip test suite'.
- Test Successful in 0.000s. 0 test run.
- Testing `My first test'.
- This run has ID `6DI3EDLL'.
- 
-   [FAIL]        Basic tests          0   Test with unexpected exception.
-   [OK]          Basic tests          1   Capitalize.
-   [OK]          Basic tests          2   Add entries.
-   [FAIL]        Basic tests          3   Test with wrong result.
-   [SKIP]        Basic tests          4   Test skipped.
- 
- ┌──────────────────────────────────────────────────────────────────────────────┐
- │ [FAIL]        Basic tests          0   Test with unexpected exception.       │
- └──────────────────────────────────────────────────────────────────────────────┘
- [invalid] 7
-           Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
-           Called from Dune__exe__Alcotest_report.raise_unexpected_exn in file "alcotest/test/alcotest_report.ml", line 14, characters 46-63
-           Called from Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 22, characters 6-13
-           Re-raised at Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 48, characters 6-17
-           Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
-           Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
-           
- Logs saved to `~/.opam/4.14.2/.opam-switch/build/junit_alcotest.2.3.0/_build/default/alcotest/test/_build/_tests/My first test/Basic tests.000.output'.
-  ──────────────────────────────────────────────────────────────────────────────
- 
- 
- ┌──────────────────────────────────────────────────────────────────────────────┐
- │ [FAIL]        Basic tests          3   Test with wrong result.               │
- └──────────────────────────────────────────────────────────────────────────────┘
- ASSERT string_of_int equals to '7'
- File "alcotest/junit_alcotest.ml", line 22, character 6:
- FAIL string_of_int equals to '7'
- 
-    Expected: `"7"'
-    Received: `"8"'
- 
- Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", line 216, characters 4-261
- Called from Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 22, characters 6-13
- Re-raised at Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 48, characters 6-17
- Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
- Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
- 
- Logs saved to `~/.opam/4.14.2/.opam-switch/build/junit_alcotest.2.3.0/_build/default/alcotest/test/_build/_tests/My first test/Basic tests.003.output'.
-  ──────────────────────────────────────────────────────────────────────────────
- 
- Full test results in `~/.opam/4.14.2/.opam-switch/build/junit_alcotest.2.3.0/_build/default/alcotest/test/_build/_tests/My first test'.
- 2 failures! in 0.000s. 4 tests run.
- Testing `My second test'.
- This run has ID `UPN6S0XQ'.
- 
-   [FAIL]        Basic tests          0   Test with unexpected exception.
-   [OK]          Basic tests          1   Capitalize.
-   [OK]          Basic tests          2   Add entries.
-   [FAIL]        Basic tests          3   Test with wrong result.
-   [SKIP]        Basic tests          4   Test skipped.
- 
- ┌──────────────────────────────────────────────────────────────────────────────┐
- │ [FAIL]        Basic tests          0   Test with unexpected exception.       │
- └──────────────────────────────────────────────────────────────────────────────┘
- [invalid] 7
-           Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
-           Called from Dune__exe__Alcotest_report.raise_unexpected_exn in file "alcotest/test/alcotest_report.ml", line 14, characters 46-63
-           Called from Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 22, characters 6-13
-           Re-raised at Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 48, characters 6-17
-           Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
-           Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
-           
- Logs saved to `~/.opam/4.14.2/.opam-switch/build/junit_alcotest.2.3.0/_build/default/alcotest/test/_build/_tests/My second test/Basic tests.000.output'.
-  ──────────────────────────────────────────────────────────────────────────────
- 
- 
- ┌──────────────────────────────────────────────────────────────────────────────┐
- │ [FAIL]        Basic tests          3   Test with wrong result.               │
- └──────────────────────────────────────────────────────────────────────────────┘
- ASSERT string_of_int equals to '7'
- File "alcotest/junit_alcotest.ml", line 22, character 6:
- FAIL string_of_int equals to '7'
- 
-    Expected: `"7"'
-    Received: `"8"'
- 
- Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", line 216, characters 4-261
- Called from Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 22, characters 6-13
- Re-raised at Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 48, characters 6-17
- Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
- Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
- 
- Logs saved to `~/.opam/4.14.2/.opam-switch/build/junit_alcotest.2.3.0/_build/default/alcotest/test/_build/_tests/My second test/Basic tests.003.output'.
-  ──────────────────────────────────────────────────────────────────────────────
- 
- Full test results in `~/.opam/4.14.2/.opam-switch/build/junit_alcotest.2.3.0/_build/default/alcotest/test/_build/_tests/My second test'.
- 2 failures! in 0.000s. 4 tests run.
- Testing `Success test suite'.
- This run has ID `4QXXB232'.
- 
-   [OK]          Good tests          0   Capitalize.
-   [OK]          Good tests          1   Add entries.
- 
- Full test results in `~/.opam/4.14.2/.opam-switch/build/junit_alcotest.2.3.0/_build/default/alcotest/test/_build/_tests/Success test suite'.
- Test Successful in 0.000s. 2 tests run.
-> compiled  junit_alcotest.2.3.0
-> removed   junit_alcotest.2.3.0
-> installed junit_alcotest.2.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-21 03:14.29 ---> saved as "8cfaea3bc7c57643ad1cfcda4a3bc646f8b100157c7376ef2580c6551cd7b886"
Job succeeded
2025-04-21 03:14.40: Job succeeded