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-5.4/arm64
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-5.4@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d
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-5.4@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d-sm.0.1.1-c6b442b8f2713ecfa13812163a9a6ecc188872a2"
2026-04-11 08:05.59: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d)
(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:10.06: Got resource from pool OCluster
Building on ainia.caelum.ci.dev
All commits already cached
Updating files: 81% (15183/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-5.4@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d' locally
docker.io/ocaml/opam@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d: Pulling from ocaml/opam
deab8db42772: Already exists
0e3be483d5aa: Already exists
068cb436b3a9: Already exists
876321ecdfda: Already exists
273508c8cc8f: Already exists
0127577a5c6f: Already exists
3a9ccd696d58: Already exists
07e9e46cfc73: Already exists
90969cd95f06: Already exists
73bba924289b: Already exists
95b440bef6e0: Already exists
4d557eea525f: Already exists
66433cb92d59: Already exists
c84c96b2584b: Already exists
4c2683e0739d: Already exists
5d1e421ae43b: Already exists
30b477dede6e: Already exists
30b477dede6e: Already exists
ae38f53b91ad: Already exists
2891aff3bb84: Already exists
557b57ba5e84: Already exists
26aa66f0772d: Already exists
4f4fb700ef54: Already exists
052acd1bf2d5: Already exists
574caf9a2301: Already exists
84389297cf64: Already exists
6bbca6fcf80a: Already exists
a3d41e3ab742: Already exists
8d1ee78e3cbb: Already exists
7e42808b1a06: Already exists
145716f86fbb: Already exists
96f1a7065127: Already exists
bf34a5cce066: Already exists
b208125ec0c1: Already exists
eb9f72cac455: Already exists
6c2ef7cdfe76: Already exists
2f1d47b9f295: Already exists
3510a4fa3067: Already exists
a67317911b4e: Already exists
919c1b5320bf: Already exists
22da690bd44e: Already exists
932171677f01: Pulling fs layer
74918ccf3079: Pulling fs layer
68e490d2c7ce: Pulling fs layer
ba126ccd8f8a: Pulling fs layer
fec6624cd4f8: Pulling fs layer
bad63f639c33: Pulling fs layer
786545699103: Pulling fs layer
fec6624cd4f8: Waiting
bad63f639c33: Waiting
786545699103: Waiting
ba126ccd8f8a: Waiting
74918ccf3079: Verifying Checksum
74918ccf3079: Download complete
932171677f01: Download complete
932171677f01: Pull complete
74918ccf3079: Pull complete
68e490d2c7ce: Verifying Checksum
68e490d2c7ce: Download complete
68e490d2c7ce: Pull complete
bad63f639c33: Verifying Checksum
bad63f639c33: Download complete
fec6624cd4f8: Verifying Checksum
fec6624cd4f8: Download complete
786545699103: Verifying Checksum
786545699103: Download complete
ba126ccd8f8a: Verifying Checksum
ba126ccd8f8a: Download complete
ba126ccd8f8a: Pull complete
fec6624cd4f8: Pull complete
bad63f639c33: Pull complete
786545699103: Pull complete
Digest: sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d
Status: Downloaded newer image for ocaml/opam@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d
2026-04-11 08:10.06 ---> using "78bae75fdc282b2e17ea11f64fbb16667ffd1c41e445cc94377f7ea5292a011c" 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-04-11 08:10.06 ---> using "90851ed704abf15e71139ba4232a500a172fe1d3db61e2553840a9318550bd9e" 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-04-11 08:10.06 ---> using "846e2f55bb914ca8ca17986160612e156ad6e1d3fa2f87cce444182599211971" 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=arm64 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 79
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.1
2026-04-11 08:10.06 ---> using "2a7d4d8c9b7647cc8f259c921eecd8fd17cf2dfeaa6dfdd2b3dae852dc8bb5f8" 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-04-11 08:10.06 ---> using "afabd998c6afcd4cde0e505629d78ec3a606d795c969dc5e9e4e878c758275eb" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 08:10.07 ---> using "89ce089ea84b51ea7ee7a255e9883dd665b119458caaf3b82b6b0c4453e13ed6" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-11 08:10.07 ---> using "f64dd8a8d8ff45aede17cfedd63593336ef02127c634f9812ccedfdc06dbd80d" 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 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 arm64 Packages [120 kB]
- Fetched 211 kB in 0s (1469 kB/s)
- Reading package lists...
2026-04-11 08:10.07 ---> using "9c166c4e12665e36abb6b0c885301b217361e6c84a269323ba57293168d535ad" from cache
/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:10.07 ---> using "cf8bdb5bdab2abd98c1d70466b7c4cc91f63942c1ecdfe09991d21cbc60603d9" from cache
/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 (https://github.com/daysv/ocaml-sm/releases/download/0.1.1/sm-0.1.1.tbz)
-> 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.07 ---> using "8f39980af492ff4fe3d28ec1041e1b47d8bebd173385b4f70e3d8aa1d8511eca" from cache
/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 ocaml-syntax-shims.1.0.0
-> installed stdlib-shims.0.3.0
-> installed re.1.14.0
-> installed cmdliner.2.1.0
-> installed ocamlfind.1.9.8
-> 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.29 ---> saved as "3cac0b6a53ed11ed94da947f17733795f7140ade0d9b087e9a93a88be060b516"
/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" "79" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/sm.0.1.1)
- (cd _build/.sandbox/e06635fcdbf88b11af24d04cf75ad4c1/default/test && ./test_zuc.exe)
- Testing `zuc'.
- This run has ID `NVY9VMSP'.
-
- [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/5.4/.opam-switch/build/sm.0.1.1/_build/.sandbox/e06635fcdbf88b11af24d04cf75ad4c1/default/test/_build/_tests/zuc'.
- Test Successful in 0.001s. 6 tests run.
- (cd _build/.sandbox/46e912dbf74185b14fbd109cf4ce8428/default/test && ./test_sm3.exe)
- Testing `sm3'.
- This run has ID `45TGL3GU'.
-
- [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/5.4/.opam-switch/build/sm.0.1.1/_build/.sandbox/46e912dbf74185b14fbd109cf4ce8428/default/test/_build/_tests/sm3'.
- Test Successful in 0.001s. 7 tests run.
- (cd _build/.sandbox/99a84e854b441a16da41b0c2eea66887/default/test && ./test_sm2.exe)
- Testing `sm2'.
- This run has ID `P5IAKPNZ'.
-
- [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/5.4/.opam-switch/build/sm.0.1.1/_build/.sandbox/99a84e854b441a16da41b0c2eea66887/default/test/_build/_tests/sm2'.
- Test Successful in 0.472s. 8 tests run.
- (cd _build/.sandbox/d9af0673d6b9617c891cad79afa31f2b/default/test && ./test_sm4.exe)
- Testing `sm4'.
- This run has ID `INA3TIHX'.
-
- [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/5.4/.opam-switch/build/sm.0.1.1/_build/.sandbox/d9af0673d6b9617c891cad79afa31f2b/default/test/_build/_tests/sm4'.
- Test Successful in 0.911s. 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.34 ---> saved as "139a39aee14da6ccb1bf89817a7efbc049459bf66d06620c74d1b7d145914db9"
Job succeeded
2026-04-11 08:10.45: Job succeeded