- github
- ocaml
- opam-repository
- c52e39
- distributions,alpine-3.22-ocaml-4.14,spectrum_palettes.1.0.0.alpha2,tests
(not at the head of any monitored branch or PR)
2026-03-21 23:40.10: New job: test spectrum_palettes.1.0.0.alpha2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29581/head (c52e39f11b5df3e4bb74becd6c0b64f6f336b223)
on alpine-3.22-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/29581/head" && git reset --hard c52e39f1
git fetch origin master
git merge --no-edit 76bf2ed9443fdee37e6f046c6295d358be3f8598
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
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 spectrum_palettes.1.0.0.alpha2 1.0.0.alpha2
RUN opam reinstall spectrum_palettes.1.0.0.alpha2; \
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 "\"alpine-3.22\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'spectrum_palettes.1.0.0.alpha2' && 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 spectrum_palettes.1.0.0.alpha2) || true
RUN opam reinstall --with-test --verbose spectrum_palettes.1.0.0.alpha2; \
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 "\"alpine-3.22\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'spectrum_palettes.1.0.0.alpha2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-03-21 23:40.10: Using cache hint "ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216-spectrum_palettes.1.0.0.alpha2-c52e39f11b5df3e4bb74becd6c0b64f6f336b223"
2026-03-21 23:40.10: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
(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 spectrum_palettes.1.0.0.alpha2 1.0.0.alpha2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall spectrum_palettes.1.0.0.alpha2;\
\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 \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'spectrum_palettes.1.0.0.alpha2' && 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 spectrum_palettes.1.0.0.alpha2) || true"))
(run (shell "opam reinstall --with-test --verbose spectrum_palettes.1.0.0.alpha2;\
\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 \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'spectrum_palettes.1.0.0.alpha2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-03-21 23:40.10: Waiting for resource in pool OCluster
2026-03-21 23:44.10: Waiting for worker…
2026-03-21 23:47.04: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 76bf2ed944 Merge pull request #29572 from hannesm/release-letsencrypt-v2.0.0
Updating 76bf2ed944..c52e39f11b
Fast-forward
packages/spectrum/spectrum.1.0.0.alpha2/opam | 52 ++++++++++++++++++++++
.../spectrum_capabilities.1.0.0.alpha2/opam | 43 ++++++++++++++++++
.../spectrum_palette_ppx.1.0.0.alpha2/opam | 45 +++++++++++++++++++
.../spectrum_palettes.1.0.0.alpha2/opam | 42 +++++++++++++++++
.../spectrum_tools.1.0.0.alpha2/opam | 47 +++++++++++++++++++
5 files changed, 229 insertions(+)
create mode 100644 packages/spectrum/spectrum.1.0.0.alpha2/opam
create mode 100644 packages/spectrum_capabilities/spectrum_capabilities.1.0.0.alpha2/opam
create mode 100644 packages/spectrum_palette_ppx/spectrum_palette_ppx.1.0.0.alpha2/opam
create mode 100644 packages/spectrum_palettes/spectrum_palettes.1.0.0.alpha2/opam
create mode 100644 packages/spectrum_tools/spectrum_tools.1.0.0.alpha2/opam
(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
2026-03-22 00:05.19 ---> using "d1cef22083ba59d6db4e2f107091c68dd70ebdcc64c3894ad7db7be62ad17f4a" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-22 00:05.19 ---> using "d2cb172e755b5e8a0ee24e133445a3ea22478f4e48886729c76cbcde08270342" 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
2026-03-22 00:05.19 ---> using "4b7ed401555204d1f183307388cb649d473c8a52ff80ce2f5a4e8504a88269c7" 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
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=alpine os-version=3.22.2
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# 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
2026-03-22 00:05.19 ---> using "9b1883465557a61ecd00e6282d59de098d32d80cc71a923a8ed0faa5af1a02e7" 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/"))
2026-03-22 00:05.19 ---> using "be1c70f0be6391803fdc2f3adb75bd0fc31dd6c9a80328fabfc5d1e074dcb1ff" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-22 00:05.19 ---> using "e250b4ac7ef30bbfde68f9b82f2abb3833b71722122869137ca816c31cde84f9" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-22 00:05.19 ---> using "48c2750079080bbf01169ec8fbabf3d811c35698bdcc56f7c70cca5c91925699" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.22.3-75-ged08c5a4e85 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.3-76-g2f42617de4f [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20260127-3492-g0fe13da7d6f [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-3496-g46f9d913b13 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-3492-g0fe13da7d6f [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 61070 distinct packages available
2026-03-22 00:05.19 ---> using "6e5e19a79e848d7a3279dfd5d99c79dae4b23e8ce187e6ee0465c35d0c000223" from cache
/home/opam: (run (shell "opam pin add -k version -yn spectrum_palettes.1.0.0.alpha2 1.0.0.alpha2"))
spectrum_palettes is now pinned to version 1.0.0.alpha2
2026-03-22 00:05.19 ---> using "5ad1dd7be75df3b32ea5042fb4e6a08adc9488303726682f194978a31d95c425" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall spectrum_palettes.1.0.0.alpha2;\
\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 \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'spectrum_palettes.1.0.0.alpha2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
spectrum_palettes.1.0.0.alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 18 packages
- install color 0.3.0 [required by spectrum_palette_ppx]
- install cppo 1.8.0 [required by ppx_deriving]
- install dune 3.22.0 [required by spectrum_palettes]
- install gg 1.0.0 [required by color]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ocamlbuild 0.16.1 [required by gg]
- install ocamlfind 1.9.8 [required by gg, ppx_deriving]
- install oktree 0.2.4 [required by spectrum_palette_ppx]
- install ppx_derivers 1.2.1 [required by ppx_deriving]
- install ppx_deriving 6.1.1 [required by oktree]
- install ppxlib 0.37.0 [required by spectrum_palette_ppx]
- install re 1.14.0 [required by spectrum_palette_ppx]
- install sexplib0 v0.17.0 [required by ppxlib]
- install spectrum_palette_ppx 1.0.0.alpha2 [required by spectrum_palettes]
- install spectrum_palettes 1.0.0.alpha2 (pinned)
- install stdlib-shims 0.3.0 [required by ppxlib]
- install topkg 1.1.1 [required by gg]
- install yojson 3.0.0 [required by spectrum_palette_ppx]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved color.0.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved dune.3.22.0 (cached)
-> retrieved gg.1.0.0 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved oktree.0.2.4 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.1.1 (cached)
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved spectrum_palette_ppx.1.0.0.alpha2, spectrum_palettes.1.0.0.alpha2 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed gg.1.0.0
-> installed dune.3.22.0
-> installed ppx_derivers.1.2.1
-> installed color.0.3.0
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.14.0
-> installed yojson.3.0.0
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
-> installed oktree.0.2.4
-> installed spectrum_palette_ppx.1.0.0.alpha2
-> installed spectrum_palettes.1.0.0.alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-22 00:05.47 ---> saved as "83a9ac5db91c5bc4f3500823eafd2232b093d47f3ee048929e73cfde8e6e8267"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test spectrum_palettes.1.0.0.alpha2) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile spectrum_palettes 1.0.0.alpha2 (pinned)
=== install 11 packages
- install alcotest 1.9.1 [required by spectrum_palettes]
- install astring 0.8.5 [required by alcotest]
- install cmdliner 2.1.0 [required by alcotest]
- install fmt 0.11.0 [required by alcotest]
- install junit 2.3.0 [required by junit_alcotest]
- install junit_alcotest 2.3.0 [required by spectrum_palettes]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install ptime 1.2.0 [required by junit]
- install seq base [required by tyxml]
- install tyxml 4.6.0 [required by junit]
- 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.1.0 (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0 (https://opam.ocaml.org/cache)
-> retrieved junit.2.3.0, junit_alcotest.2.3.0 (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0 (https://opam.ocaml.org/cache)
-> retrieved ptime.1.2.0 (https://opam.ocaml.org/cache)
-> retrieved seq.base (2 extra sources)
-> retrieved seq.base (2 extra sources)
-> installed seq.base
-> retrieved tyxml.4.6.0 (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4 (https://opam.ocaml.org/cache)
-> installed ocaml-syntax-shims.1.0.0
-> installed astring.0.8.5
-> installed ptime.1.2.0
-> removed spectrum_palettes.1.0.0.alpha2
-> installed cmdliner.2.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed alcotest.1.9.1
-> installed tyxml.4.6.0
-> installed junit.2.3.0
-> installed junit_alcotest.2.3.0
-> installed spectrum_palettes.1.0.0.alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-22 00:06.08 ---> saved as "b98e52a2ca01ce40ef0891212784600987562cd28a7c5659cd2514638177a2c7"
/home/opam: (run (shell "opam reinstall --with-test --verbose spectrum_palettes.1.0.0.alpha2;\
\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 \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'spectrum_palettes.1.0.0.alpha2' && 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 spectrum_palettes 1.0.0.alpha2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [spectrum_palettes: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "spectrum_palettes" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/spectrum_palettes.1.0.0.alpha2)
- (cd _build/default/lib/spectrum_palettes/test && ./test_terminal.exe)
- Testing `Terminal'.
- This run has ID `RUR2XT9O'.
-
- [OK] Basic - String conversion 0 valid color names.
- [OK] Basic - String conversion 1 case-insensitive lo...
- [OK] Basic - String conversion 2 invalid color names.
- [OK] Basic - Code mapping 0 to_code for all col...
- [OK] Basic - Color conversion 0 to_color returns co...
- [OK] Basic - Color list 0 color_list has 16 v...
- [OK] Basic - Nearest color 0 exact match returns...
- [OK] Basic - Nearest color 1 approximate match f...
- [OK] Xterm256 - String conversion 0 valid color names.
- [OK] Xterm256 - String conversion 1 case-insensitive lo...
- [OK] Xterm256 - String conversion 2 invalid color names.
- [OK] Xterm256 - Code mapping 0 to_code for sample ...
- [OK] Xterm256 - Color conversion 0 to_color returns co...
- [OK] Xterm256 - Color list 0 color_list has 256 ...
- [OK] Xterm256 - Nearest color 0 exact match returns...
- [OK] Xterm256 - Nearest color 1 approximate match f...
- [OK] Xterm256 - Nearest color 2 grayscale mapping.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/spectrum_palettes.1.0.0.alpha2/_build/default/lib/spectrum_palettes/test/_build/_tests/Terminal'.
- Test Successful in 0.003s. 17 tests run.
-> compiled spectrum_palettes.1.0.0.alpha2
-> removed spectrum_palettes.1.0.0.alpha2
-> installed spectrum_palettes.1.0.0.alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-22 00:06.17 ---> saved as "ac9946ac83b854f32e46ac72cc7bb0fb6806614f81a7f02fd46c95ee31dde619"
Job succeeded
2026-03-22 00:06.25: Job succeeded