Build:
- 0
2026-04-11 08:05.59: New job: test sm.0.1.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29698/head (c6b442b8f2713ecfa13812163a9a6ecc188872a2)
on debian-13-ocaml-4.14-flambda/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-flambda@sha256:b4188c3f5d0b10ef0b87705da784a2e7aa0a5349366e7733026bc7d846d9c81f
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 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-flambda@sha256:b4188c3f5d0b10ef0b87705da784a2e7aa0a5349366e7733026bc7d846d9c81f-sm.0.1.1-c6b442b8f2713ecfa13812163a9a6ecc188872a2"
2026-04-11 08:05.59: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:b4188c3f5d0b10ef0b87705da784a2e7aa0a5349366e7733026bc7d846d9c81f)
(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 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.55: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files: 97% (18270/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-flambda@sha256:b4188c3f5d0b10ef0b87705da784a2e7aa0a5349366e7733026bc7d846d9c81f)
2026-04-11 08:07.35 ---> saved as "70b3a9e620e363da9fa00fdc5a35bd8b3cf263941471412648dccf701e918fc0"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-11 08:07.36 ---> saved as "884c97d235fd1983dc06b23dea11238d422f02d3d74eeba1c8f2560544f43f79"
/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-04-11 08:08.05 ---> saved as "1cf9a448770310b1b8a3b7def7d8499aec39a7f6d849b99f606c5fe80b42022e"
/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=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-options-only-flambda"]
# compiler-packages ocaml-option-flambda.1, ocaml-options-only-flambda.1, ocaml-variants.4.14.3+options
# 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+options+flambda
2026-04-11 08:08.07 ---> saved as "cada25c41d86a67e7df84e812e6ab9d1c6d3a064d9ac48c9b979f6d60568056f"
/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:08.28 ---> saved as "228ca9184430155d31f74621da9e0fb08d6ed38a20a9d56562eda666d96e785d"
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 08:08.50 ---> saved as "b6202bcbda9babc8957779c03beb6a588b747e48827d16e11e46c966e1bb3ace"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-11 08:09.21 ---> saved as "0938e93d8dd4019ca4a2e8e60f5d3bef6564cdc93129a553165b4ba53b05187d"
/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 (1711 kB/s)
- Reading package lists...
2026-04-11 08:09.22 ---> saved as "ebbfac5a4cc0a1250fe9d20794ac2cab3f727c48c6db4e3178692232895e46d9"
/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:09.23 ---> saved as "061f1483bfd666eaecf26c59667589b2ac67ebf76fd3a4931ba83f6715c13ac4"
/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:10.22 ---> saved as "219bc004e803b7143b248d9d10670fd488f1b0c650d1c2a622b41eb71c75eb83"
/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)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved ocamlfind.1.9.8 (https://opam.ocaml.org/cache)
-> installed cmdliner.2.1.0
-> retrieved re.1.14.0 (https://opam.ocaml.org/cache)
-> installed ocamlfind.1.9.8
-> installed re.1.14.0
-> retrieved stdlib-shims.0.3.0 (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> removed sm.0.1.1
-> installed ocamlbuild.0.16.1
-> retrieved topkg.1.1.1 (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4 (https://opam.ocaml.org/cache)
-> 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.55 ---> saved as "e26713ec12d6a25f4c63b5c551625810fbc75600aff090c4c427d59e843dd8fb"
/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/da9646fc96e8959a881b13185a82ebdd/default/test && ./test_sm3.exe)
- Testing `sm3'.
- This run has ID `3T6M6V3S'.
-
- [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/da9646fc96e8959a881b13185a82ebdd/default/test/_build/_tests/sm3'.
- Test Successful in 0.001s. 7 tests run.
- (cd _build/.sandbox/90a5e01011e7245ecb6c257c2d990572/default/test && ./test_zuc.exe)
- Testing `zuc'.
- This run has ID `L6NXWJAT'.
-
- [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/90a5e01011e7245ecb6c257c2d990572/default/test/_build/_tests/zuc'.
- Test Successful in 0.001s. 6 tests run.
- (cd _build/.sandbox/6e355ef651950420abd3b639c0c421e3/default/test && ./test_sm2.exe)
- Testing `sm2'.
- This run has ID `DVPJYG1P'.
-
- [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/6e355ef651950420abd3b639c0c421e3/default/test/_build/_tests/sm2'.
- Test Successful in 0.289s. 8 tests run.
- (cd _build/.sandbox/6aed98e1ca6aafc358b3ff0103ec597d/default/test && ./test_sm4.exe)
- Testing `sm4'.
- This run has ID `BO9VVK0Q'.
-
- [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/6aed98e1ca6aafc358b3ff0103ec597d/default/test/_build/_tests/sm4'.
- Test Successful in 0.910s. 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:11.02 ---> saved as "4ccc3692ac012b7c11ea02f16cf45ab1efd8323978674d50ed77d7e7f80e5f24"
Job succeeded
2026-04-11 08:11.09: Job succeeded