- github
- ocaml
- opam-repository
- 4b95ad
- compilers,4.14,ppxlib.0.36.0,revdeps,prom.0.2
(not at the head of any monitored branch or PR)
2025-02-24 11:06.51: New job: test prom.0.2 with ppxlib.0.36.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27478/head (4b95ada6c11ef12719238c1b5587b6e3b0f5c33e)
on debian-12-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/27478/head" && git reset --hard 4b95ada6
git fetch origin master
git merge --no-edit 4022a684b64be8161a05cf897f492f8680792469
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
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 ppxlib.0.36.0 0.36.0
RUN opam reinstall ppxlib.0.36.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ppxlib.0.36.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall prom.0.2; \
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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'prom.0.2' && 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 prom.0.2) || true
RUN opam reinstall --with-test --verbose prom.0.2; \
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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'prom.0.2' && 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-02-24 11:06.51: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098-ppxlib.0.36.0-prom.0.2-4b95ada6c11ef12719238c1b5587b6e3b0f5c33e"
2025-02-24 11:06.51: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
(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 ppxlib.0.36.0 0.36.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib.0.36.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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ppxlib.0.36.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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall prom.0.2;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'prom.0.2' && 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 prom.0.2) || true"))
(run (shell "opam reinstall --with-test --verbose prom.0.2;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'prom.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-02-24 11:06.51: Waiting for resource in pool OCluster
2025-02-24 13:36.42: Waiting for worker…
2025-02-24 13:37.48: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
Updating files: 95% (21482/22468)
Updating files: 96% (21570/22468)
Updating files: 97% (21794/22468)
Updating files: 98% (22019/22468)
Updating files: 99% (22244/22468)
Updating files: 100% (22468/22468)
Updating files: 100% (22468/22468), done.
HEAD is now at 4022a684b6 Merge pull request #27464 from hannesm/release-crunch-v4.0.0
Merge made by the 'ort' strategy.
packages/ppxlib-tools/ppxlib-tools.0.36.0/opam | 44 ++++++++++++++++++
packages/ppxlib/ppxlib.0.36.0/opam | 62 ++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
create mode 100644 packages/ppxlib-tools/ppxlib-tools.0.36.0/opam
create mode 100644 packages/ppxlib/ppxlib.0.36.0/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
2025-02-24 13:37.49 ---> using "fd8c1dcac8c3a6cd3ee8edd679de5f3384de62d6f587d449e00238111470ab75" 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-02-24 13:37.49 ---> using "63348f49024352af4df51181a4d2b78015b336e78bdb909884d7d69472d901a3" 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 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-24 13:37.49 ---> using "43a9673a4da24840797129b74017b6eb598863ba09d5d1a9bc3d3bd190bc8651" 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.4.0~alpha1~dev (34b7b4ec4af0ebd3c8fc4aee8088471be2ad48c7)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 39
# repositories 1 (local), 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-02-24 13:37.49 ---> using "5b9fc6f723d0065251ab5d52aa7740a229f8f438bf79f559d9f8db36ee599317" 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-02-24 13:37.49 ---> using "a874c49896169ec02e95177c8b5fb923a0e02dbc7bef07316a52b7ca53832295" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-24 13:37.51 ---> using "539fc681cd6a9759e64fd26922b4a98bd319e60dafe227568b825be85df20f48" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-24 13:37.51 ---> using "58aada6d5322e1607dc00e12bb8d3fde1b7ec0117af5e3ecbe18eba2fa43c612" 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 bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [246 kB]
- Fetched 349 kB in 0s (1268 kB/s)
- Reading package lists...
2025-02-24 13:37.51 ---> using "16eb46377265897c8564a6a2d8229c87d254e13a84ba27ef35d654e570330e19" from cache
/home/opam: (run (shell "opam pin add -k version -yn ppxlib.0.36.0 0.36.0"))
ppxlib is now pinned to version 0.36.0
2025-02-24 13:37.51 ---> using "3e7a3b3560225795ecb64272090574b4b9d18a5b7187fec5107787242520ae0e" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib.0.36.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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ppxlib.0.36.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppxlib.0.36.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
- install dune 3.17.2 [required by ppxlib]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.36.0 (pinned)
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppxlib.0.36.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 13:37.51 ---> using "c60850bfb37524eb630516331b72504ada14bcb94bd8259bf5a94f0df61d8f64" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall prom.0.2;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'prom.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
prom.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 10 packages
- install containers 2.8.1 [required by prom]
- install csexp 1.5.2 [required by dune-configurator]
- install dune-configurator 3.17.2 [required by containers]
- install fmt 0.9.0 [required by prom]
- install ocamlbuild 0.15.0 [required by fmt, ptime]
- install ocamlfind 1.9.8 [required by fmt, ptime]
- install prom 0.2
- install ptime 1.2.0 [required by prom]
- install seq base [required by containers]
- install topkg 1.0.7 [required by fmt, ptime]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved containers.2.8.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed csexp.1.5.2
-> retrieved dune-configurator.3.17.2 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved prom.0.2 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved topkg.1.0.7 (cached)
-> installed dune-configurator.3.17.2
-> installed ocamlfind.1.9.8
-> installed containers.2.8.1
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed prom.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 13:38.17 ---> saved as "09edf4cfe917474861b4ceee3706cab4cb84f91bb1473b35e129b795253c113c"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test prom.0.2) || true"))
The following actions will be performed:
=== recompile 2 packages
- recompile fmt 0.9.0 [uses cmdliner]
- recompile prom 0.2
=== install 6 packages
- install alcotest 1.8.0 [required by prom]
- install astring 0.8.5 [required by alcotest]
- install cmdliner 1.3.0 [required by alcotest]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install re 1.12.0 [required by alcotest]
- install uutf 1.0.3 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.8.0 (https://github.com/mirage/alcotest/releases/download/1.8.0/alcotest-1.8.0.tbz)
-> retrieved astring.0.8.5 (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
-> retrieved cmdliner.1.3.0 (https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz)
-> retrieved fmt.0.9.0 (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
-> retrieved ocaml-syntax-shims.1.0.0 (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
-> retrieved prom.0.2 (https://github.com/vbmithr/ocaml-prometheus/releases/download/0.2/prom-0.2.tbz)
-> installed astring.0.8.5
-> installed ocaml-syntax-shims.1.0.0
-> retrieved re.1.12.0 (https://github.com/ocaml/ocaml-re/releases/download/1.12.0/re-1.12.0.tbz)
-> retrieved uutf.1.0.3 (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
-> installed re.1.12.0
-> removed prom.0.2
-> removed fmt.0.9.0
-> installed cmdliner.1.3.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed alcotest.1.8.0
-> installed prom.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 13:38.34 ---> saved as "aeef1eaab463d78496f49d0c0e2df47a8d807b5c94769bc1197190f96a0dec5d"
/home/opam: (run (shell "opam reinstall --with-test --verbose prom.0.2;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'prom.0.2' && 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 prom 0.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [prom.0.2: extract]
-> retrieved prom.0.2 (cached)
Processing 2/4: [prom: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-j" "39" "-p" "prom" (CWD=/home/opam/.opam/4.14/.opam-switch/build/prom.0.2)
Processing 2/4: [prom: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-j" "39" "-p" "prom" (CWD=/home/opam/.opam/4.14/.opam-switch/build/prom.0.2)
- (cd _build/default/test && ./test.exe)
- Testing `prometheus'.
- This run has ID `WSPCXJXU'.
-
- [OK] kll 0 basic10.
- [OK] kll 1 basic1_000.
- [OK] kll 2 basic100_000.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/prom.0.2/_build/default/test/_build/_tests/prometheus'.
- Test Successful in 0.037s. 3 tests run.
-> compiled prom.0.2
-> removed prom.0.2
-> installed prom.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 13:38.44 ---> saved as "6bfdc1a5d4f93fd23baf79e6983a3cbe9233d43f34649ad4692d539ea60792ee"
Job succeeded
2025-02-24 13:38.51: Job succeeded