Build:
- 0
2026-04-11 08:05.59: New job: test sm.0.1.1, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/29698/head (c6b442b8f2713ecfa13812163a9a6ecc188872a2)
on debian-13-ocaml-4.14/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29698/head" && git reset --hard c6b442b8
git fetch origin master
git merge --no-edit 42844088d70eed10b276d49691b1cbd714fa56a9
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:4457c533769cd1c32fd9fb5fb13e5a0a285ba114860db7ac2f34c1c21e5690e4
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 sm.0.1.1 0.1.1
RUN opam reinstall sm.0.1.1; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'sm.0.1.1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test sm.0.1.1) || true
RUN opam reinstall --with-test --verbose sm.0.1.1; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'sm.0.1.1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-04-11 08:05.59: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:4457c533769cd1c32fd9fb5fb13e5a0a285ba114860db7ac2f34c1c21e5690e4-sm.0.1.1-c6b442b8f2713ecfa13812163a9a6ecc188872a2"
2026-04-11 08:05.59: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:4457c533769cd1c32fd9fb5fb13e5a0a285ba114860db7ac2f34c1c21e5690e4)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 sm.0.1.1 0.1.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall sm.0.1.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'sm.0.1.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test sm.0.1.1) || true"))
(run (shell "opam reinstall --with-test --verbose sm.0.1.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'sm.0.1.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-04-11 08:05.59: Waiting for resource in pool OCluster
2026-04-11 08:06.00: Waiting for worker…
2026-04-11 08:06.01: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
Updating files: 71% (13358/18672)
Updating files: 72% (13444/18672)
Updating files: 73% (13631/18672)
Updating files: 74% (13818/18672)
Updating files: 75% (14004/18672)
Updating files: 76% (14191/18672)
Updating files: 77% (14378/18672)
Updating files: 78% (14565/18672)
Updating files: 79% (14751/18672)
Updating files: 80% (14938/18672)
Updating files: 81% (15125/18672)
Updating files: 82% (15312/18672)
Updating files: 83% (15498/18672)
Updating files: 84% (15685/18672)
Updating files: 85% (15872/18672)
Updating files: 86% (16058/18672)
Updating files: 87% (16245/18672)
Updating files: 88% (16432/18672)
Updating files: 89% (16619/18672)
Updating files: 90% (16805/18672)
Updating files: 91% (16992/18672)
Updating files: 92% (17179/18672)
Updating files: 93% (17365/18672)
Updating files: 94% (17552/18672)
Updating files: 95% (17739/18672)
Updating files: 96% (17926/18672)
Updating files: 97% (18112/18672)
Updating files: 98% (18299/18672)
Updating files: 99% (18486/18672)
Updating files: 100% (18672/18672)
Updating files: 100% (18672/18672), done.
HEAD is now at 42844088d7 Merge pull request #29664 from YuriyKrasilnikov/opam-publish-jsonschema-core.0.1.0
Merge made by the 'ort' strategy.
packages/sm/sm.0.1.1/opam | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 packages/sm/sm.0.1.1/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:4457c533769cd1c32fd9fb5fb13e5a0a285ba114860db7ac2f34c1c21e5690e4)
2026-04-11 08:07.01 ---> using "e7349b5faa6e8ea47e3f73a0784842b9d8524e468ce596e92633dbea53bd1c16" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2026-04-11 08:07.01 ---> using "9df165db5a0f069f737dcca3fa63a80556cc137dce72a688c9e04377b88032ef" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-11 08:07.33 ---> saved as "f1b084a7ff947f7b1af176c3e1ce689020cb177aaddfd4365596eb3f417a5a3e"
/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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages ocaml-base-compiler.4.14.3, 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.3
2026-04-11 08:07.34 ---> saved as "2e7e4260372d23d47b798c4dbc74ebcb587fc64c2a0602d373671dd969d36a03"
/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-04-11 08:07.46 ---> saved as "7e7b2d8bf888dd77a9ecf016612a0d5c40eece5f0ae2bf0264c81c9ac0beb270"
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 08:08.09 ---> saved as "70e0b0e3559a6f2cc203fe896618e1716e0a76ee92907822db67902c4fc7dea3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-11 08:08.29 ---> saved as "dd56d1cc64e5e117841d08d5d9139e6930922a875a2b7e502833ddca48e628f3"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [121 kB]
- Fetched 211 kB in 0s (1618 kB/s)
- Reading package lists...
-
2026-04-11 08:08.30 ---> saved as "717ce5cf45f50c28101ad3e8d25698570d1eca8400b3b863f13798015058d031"
/home/opam: (run (shell "opam pin add -k version -yn sm.0.1.1 0.1.1"))
sm is now pinned to version 0.1.1
2026-04-11 08:08.33 ---> saved as "4fc7bf734cc0665081d42f2629614d2ae9dfcdefd7e6d23c972db40106f8f4bc"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall sm.0.1.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'sm.0.1.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
sm.0.1.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.22.1 [required by sm]
- install sm 0.1.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.1 (cached)
-> retrieved sm.0.1.1 (cached)
-> installed dune.3.22.1
-> installed sm.0.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-11 08:09.31 ---> saved as "21e3cd7b892004d335cc4f42d2ad3fabd3de511262c3799abff3aefa8813e621"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test sm.0.1.1) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile sm 0.1.1 (pinned)
=== install 11 packages
- install alcotest 1.7.0 [required by sm]
- 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 ocaml-syntax-shims 1.0.0 [required by alcotest]
- install ocamlbuild 0.16.1 [required by fmt, astring, uutf]
- install ocamlfind 1.9.8 [required by fmt, astring, uutf]
- install re 1.14.0 [required by alcotest]
- install stdlib-shims 0.3.0 [required by alcotest]
- install topkg 1.1.1 [required by fmt, astring, uutf]
- install uutf 1.0.4 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.7.0 (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 ocaml-syntax-shims.1.0.0 (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.16.1 (https://opam.ocaml.org/cache)
-> retrieved ocamlfind.1.9.8 (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0 (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.0 (https://opam.ocaml.org/cache)
-> retrieved topkg.1.1.1 (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4 (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed ocamlfind.1.9.8
-> installed cmdliner.2.1.0
-> removed sm.0.1.1
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed alcotest.1.7.0
-> installed sm.0.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-11 08:10.01 ---> saved as "d652f68e9c7d278053fe140f8ba1730a7f96aff8d42a87b8cf7f62597526fab3"
/home/opam: (run (shell "opam reinstall --with-test --verbose sm.0.1.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'sm.0.1.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile sm 0.1.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [sm: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "sm" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/sm.0.1.1)
- (cd _build/.sandbox/f4537cb507d72a844407d7c18d27533d/default/test && ./test_sm3.exe)
- Testing `sm3'.
- This run has ID `OZPE6073'.
-
- [OK] sm3 0 empty string.
- [OK] sm3 1 abc vector.
- [OK] sm3 2 64-byte vector.
- [OK] sm3 3 long message (512 bits).
- [OK] sm3 4 empty input shape.
- [OK] sm3 5 incremental update.
- [OK] sm3 6 subbytes update.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/sm.0.1.1/_build/.sandbox/f4537cb507d72a844407d7c18d27533d/default/test/_build/_tests/sm3'.
- Test Successful in 0.001s. 7 tests run.
- (cd _build/.sandbox/bc3fb3fefd49418edbfea6b36a4911be/default/test && ./test_zuc.exe)
- Testing `zuc'.
- This run has ID `6949VUP8'.
-
- [OK] zuc 0 zero vector.
- [OK] zuc 1 zero vector long.
- [OK] zuc 2 ff vector.
- [OK] zuc 3 ff vector long.
- [OK] zuc 4 custom vector.
- [OK] zuc 5 crypt roundtrip.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/sm.0.1.1/_build/.sandbox/bc3fb3fefd49418edbfea6b36a4911be/default/test/_build/_tests/zuc'.
- Test Successful in 0.001s. 6 tests run.
- (cd _build/.sandbox/4dada283c7bc1de0988283792ba84fc9/default/test && ./test_sm2.exe)
- Testing `sm2'.
- This run has ID `MZ0W2CLE'.
-
- [OK] sm2 0 derive public key.
- [OK] sm2 1 sign verify.
- [OK] sm2 2 encrypt decrypt.
- [OK] sm2 3 signature der.
- [OK] sm2 4 der pem compat.
- [OK] sm2 5 encrypted private key pem.
- [OK] sm2 6 top module.
- [OK] sm2 7 key exchange.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/sm.0.1.1/_build/.sandbox/4dada283c7bc1de0988283792ba84fc9/default/test/_build/_tests/sm2'.
- Test Successful in 0.362s. 8 tests run.
- (cd _build/.sandbox/c7a00be13191daa4c22dcb0cb960c48f/default/test && ./test_sm4.exe)
- Testing `sm4'.
- This run has ID `YJI4ID7G'.
-
- [OK] sm4 0 standard vector.
- [OK] sm4 1 million rounds.
- [OK] sm4 2 cbc vectors.
- [OK] sm4 3 cbc pkcs7.
- [OK] sm4 4 ctr vector.
- [OK] sm4 5 gcm vector.
- [OK] sm4 6 stream api.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/sm.0.1.1/_build/.sandbox/c7a00be13191daa4c22dcb0cb960c48f/default/test/_build/_tests/sm4'.
- Test Successful in 0.945s. 7 tests run.
-> compiled sm.0.1.1
-> removed sm.0.1.1
-> installed sm.0.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-11 08:10.11 ---> saved as "b59ea1531ddc33d34918aed8786c0257b9d03873351963469b055fda9e8885e6"
Job succeeded
2026-04-11 08:10.20: Job succeeded