- github
- ocaml
- opam-repository
- 7fa32b
- extras,ocaml-5.3-afl,ppx_heml.0.1.0,tests
(not at the head of any monitored branch or PR)
2025-02-10 15:07.02: New job: test ppx_heml.0.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26297/head (7fa32b5dcf9663e846999341824f276a36349421)
on debian-12-ocaml-5.3-afl/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/26297/head" && git reset --hard 7fa32b5d
git fetch origin master
git merge --no-edit 36f4d2d5ceb882a79fd7d7f956b490201da67226
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3-afl@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499
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 ppx_heml.0.1.0 0.1.0
RUN opam reinstall ppx_heml.0.1.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" != 'ppx_heml.0.1.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 ppx_heml.0.1.0) || true
RUN opam reinstall --with-test --verbose ppx_heml.0.1.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" != 'ppx_heml.0.1.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-02-10 15:07.02: Using cache hint "ocaml/opam:debian-12-ocaml-5.3-afl@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499-ppx_heml.0.1.0-7fa32b5dcf9663e846999341824f276a36349421"
2025-02-10 15:07.02: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3-afl@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499)
(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 ppx_heml.0.1.0 0.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_heml.0.1.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\" != 'ppx_heml.0.1.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 ppx_heml.0.1.0) || true"))
(run (shell "opam reinstall --with-test --verbose ppx_heml.0.1.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\" != 'ppx_heml.0.1.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-02-10 15:07.02: Waiting for resource in pool OCluster
2025-02-10 17:09.15: Waiting for worker…
2025-02-10 17:12.32: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at 36f4d2d5ce Merge pull request #27169 from Frigory33/release-allegro5-0.1
Merge made by the 'ort' strategy.
packages/ppx_heml/ppx_heml.0.1.0/opam | 43 +++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
create mode 100644 packages/ppx_heml/ppx_heml.0.1.0/opam
(from ocaml/opam:debian-12-ocaml-5.3-afl@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3-afl@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499' locally
docker.io/ocaml/opam@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499: Pulling from ocaml/opam
b79a704649bc: Pulling fs layer
b79a704649bc: Verifying Checksum
b79a704649bc: Download complete
b79a704649bc: Pull complete
Digest: sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499
Status: Downloaded newer image for ocaml/opam@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499
2025-02-10 17:12.35 ---> using "da77f6bf851caf92e8bfd66547cf9c5aab0d1abd175318439ca150c97472def4" 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-10 17:12.35 ---> using "ef6b8bceadb2f27ff4c4d045cc0dc861c5cf1b9b8f9081e5007b781c6e97d416" 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] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-10 17:12.35 ---> using "4fb11ecefa6252a6fff69cd8dd063a12eae5329a06d8fc8f0008fe5e53971082" 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 (747e73667ad9d054b0f736be205c0013e1bec087)
# 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 5.3
# invariant ["ocaml-variants" {= "5.3.0+options"}]
# compiler-packages ocaml-compiler.5.3.0, ocaml-option-afl.1, ocaml-options-only-afl.1, ocaml-variants.5.3.0+options
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0+options+afl
2025-02-10 17:12.35 ---> using "2a8a34352fdaa050fbefdd3718ba5d973410e0c5e0ac7dcf0befaa82e225c56e" 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-10 17:12.35 ---> using "00b571b66d150b810d80c3cdec1d1931d0e32692c78a0974e60986e689817ddd" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-10 17:12.36 ---> using "7f9cf2d56af824f5f28866bd388cdbccd27c1dffb6455340bb34b9417b41af1a" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-10 17:12.36 ---> using "155eeda9fdbdd5e3201d6d35016afcf53f459549eb9d2d1fc8ac962b3f34073b" 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 [244 kB]
- Fetched 348 kB in 0s (1360 kB/s)
- Reading package lists...
2025-02-10 17:12.36 ---> using "1b70fbd212a1949cd2a987029f559b1e0b42f166f037d2bd64847374d29a9677" from cache
/home/opam: (run (shell "opam pin add -k version -yn ppx_heml.0.1.0 0.1.0"))
ppx_heml is now pinned to version 0.1.0
2025-02-10 17:12.36 ---> using "86d6beb931096184bb2f7facbdd733446ad2ef0b67c804723c583797bfcbfa9f" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_heml.0.1.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\" != 'ppx_heml.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppx_heml.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 24 packages
- install base v0.17.1 [required by ppx_heml]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.17.2 [required by ppx_heml]
- install dune-configurator 3.17.2 [required by base]
- install menhir 20240715 [required by ppx_heml]
- install menhirCST 20240715 [required by menhir]
- install menhirLib 20240715 [required by menhir]
- install menhirSdk 20240715 [required by menhir]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ppx_base v0.17.0 [required by ppx_string]
- install ppx_cold v0.17.0 [required by ppx_base]
- install ppx_compare v0.17.0 [required by ppx_base]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_enumerate v0.17.0 [required by ppx_base]
- install ppx_globalize v0.17.0 [required by ppx_base]
- install ppx_hash v0.17.0 [required by ppx_base]
- install ppx_heml 0.1.0 (pinned)
- install ppx_sexp_conv v0.17.0 [required by ppx_base]
- install ppx_string v0.17.0 [required by ppx_heml]
- install ppxlib 0.35.0 [required by ppx_heml]
- install ppxlib_jane v0.17.2 [required by ppx_globalize, ppx_compare, ppx_enumerate, ppx_hash]
- install sexplib0 v0.17.0 [required by base]
- install stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.17.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ppx_base.v0.17.0 (cached)
-> retrieved ppx_cold.v0.17.0 (cached)
-> retrieved ppx_compare.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_enumerate.v0.17.0 (cached)
-> retrieved ppx_globalize.v0.17.0 (cached)
-> retrieved ppx_hash.v0.17.0 (cached)
-> retrieved ppx_heml.0.1.0 (https://github.com/pjlast/heml/releases/download/v0.1.0/ppx_heml-0.1.0.tbz)
-> retrieved ppx_sexp_conv.v0.17.0 (cached)
-> retrieved ppx_string.v0.17.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved ppxlib_jane.v0.17.2 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.17.2
-> installed csexp.1.5.2
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.17.2
-> installed base.v0.17.1
-> installed menhir.20240715
-> installed ppxlib.0.35.0
-> installed ppxlib_jane.v0.17.2
-> installed ppx_cold.v0.17.0
-> installed ppx_enumerate.v0.17.0
-> installed ppx_globalize.v0.17.0
-> installed ppx_compare.v0.17.0
-> installed ppx_sexp_conv.v0.17.0
-> installed ppx_hash.v0.17.0
-> installed ppx_base.v0.17.0
-> installed ppx_string.v0.17.0
-> installed ppx_heml.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-10 17:14.06 ---> saved as "8313b71e24c1941e6462a39c02b3edbf6faa1864c4b13d6a7e68192523854fff"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ppx_heml.0.1.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile ppx_heml 0.1.0 (pinned)
=== install 8 packages
- install jane-street-headers v0.17.0 [required by time_now]
- install jst-config v0.17.0 [required by time_now]
- install ppx_assert v0.17.0 [required by jst-config]
- install ppx_here v0.17.0 [required by ppx_assert]
- install ppx_inline_test v0.17.0 [required by ppx_heml]
- install ppx_optcomp v0.17.0 [required by time_now]
- install stdio v0.17.0 [required by ppx_optcomp]
- install time_now v0.17.0 [required by ppx_inline_test]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved jane-street-headers.v0.17.0 (https://github.com/janestreet/jane-street-headers/archive/refs/tags/v0.17.0.tar.gz)
-> installed jane-street-headers.v0.17.0
-> retrieved jst-config.v0.17.0 (https://github.com/janestreet/jst-config/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_assert.v0.17.0 (https://github.com/janestreet/ppx_assert/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_here.v0.17.0 (https://github.com/janestreet/ppx_here/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_inline_test.v0.17.0 (https://github.com/janestreet/ppx_inline_test/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_optcomp.v0.17.0 (https://github.com/janestreet/ppx_optcomp/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved stdio.v0.17.0 (https://github.com/janestreet/stdio/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved time_now.v0.17.0 (https://github.com/janestreet/time_now/archive/refs/tags/v0.17.0.tar.gz)
-> installed stdio.v0.17.0
-> removed ppx_heml.0.1.0
-> installed ppx_here.v0.17.0
-> installed ppx_optcomp.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed jst-config.v0.17.0
-> installed time_now.v0.17.0
-> installed ppx_inline_test.v0.17.0
-> installed ppx_heml.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-10 17:14.37 ---> saved as "9eff639e6919379ca1b2a38169f06c18904462a03996b86ef1cc282e07f95cf9"
/home/opam: (run (shell "opam reinstall --with-test --verbose ppx_heml.0.1.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\" != 'ppx_heml.0.1.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 ppx_heml 0.1.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [ppx_heml: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppx_heml" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/ppx_heml.0.1.0)
- (cd _build/.sandbox/dd4c4af2c5335089212ccee6a0cc7fe4/default && /home/opam/.opam/5.3/bin/menhir --explain lib/ppx_heml/parser.mly --base lib/ppx_heml/parser --infer-read-reply lib/ppx_heml/parser__mock.mli.inferred)
- Warning: one state has shift/reduce conflicts.
- Warning: one shift/reduce conflict was arbitrarily resolved.
-> compiled ppx_heml.0.1.0
-> removed ppx_heml.0.1.0
-> installed ppx_heml.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-10 17:14.49 ---> saved as "09fbde182229273808f1239ad10a3854118a48afb77b731675a81225f88fd749"
Job succeeded
2025-02-10 17:14.56: Job succeeded