Build:
- 0
2026-04-11 08:05.59: New job: test sm.0.1.1, using opam 2.0
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.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn sm.0.1.1 0.1.1
RUN opam depext sm.0.1.1 && 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 depext --with-test sm.0.1.1 && opam reinstall --with-test sm.0.1.1) || true
RUN opam depext --with-test sm.0.1.1 && 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.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || 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 depext sm.0.1.1 && 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 depext --with-test sm.0.1.1 && opam reinstall --with-test sm.0.1.1) || true"))
(run (shell "opam depext --with-test sm.0.1.1 && 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.00: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
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:06.46 ---> using "e7349b5faa6e8ea47e3f73a0784842b9d8524e468ce596e92633dbea53bd1c16" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2026-04-11 08:06.46 ---> using "c10282e0dbd394c173c8629599c0cf8ef48b99364becd04fb81c193278a0e3cf" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2026-04-11 08:08.03 ---> saved as "61002cb1496beab5433c4322c54f65efb70dca8afbb20314e2699af4a83c5228"
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
2026-04-11 08:08.04 ---> saved as "3aad554ebb8c056a22b107991820ba4faef0f0455b19dbb5c71b258cdee811a7"
/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.13 ---> saved as "07e3bc0230d74032e5f3dff15fb95968d47b1e35511d36218822ddd36839b6bd"
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 08:08.22 ---> saved as "c18c670b55ceb32b5e324472a5b1c9dba91013db2a76951d35ed611ca29783a4"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2026-04-11 08:08.38 ---> saved as "3eb1e4df7e15e4f4905c89fce309798d8dd7f1d4954c3a51321a5c0c34bb4ed2"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 (2045 kB/s)
Reading package lists...
# OS package update successful
2026-04-11 08:08.40 ---> saved as "a45fd8d40fd1f0edf3d48b08ff223c3fd9a88f67f126c6dec99811b406ca4c6e"
/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.41 ---> saved as "5e525d925d3c1a8e1d8d4728add46d034c38a652337cad8aaadd15a482e2a96a"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext sm.0.1.1 && 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
sm.0.1.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install dune 3.22.1 [required by sm]
- install sm 0.1.1*
===== 2 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.22.1] found in cache
[sm.0.1.1] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.22.1
-> installed sm.0.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-11 08:09.45 ---> saved as "40311b2ceb97c726d0c95d9339041ae9b636ccbca1b9045813a1b3c937cdd90c"
/home/opam: (run (network host)
(shell "(opam depext --with-test sm.0.1.1 && opam reinstall --with-test sm.0.1.1) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following actions will be performed:
- install cmdliner 1.3.0 [required by alcotest]
- install ocamlbuild 0.16.1 [required by fmt, astring, uuidm]
- install ocamlfind 1.9.8 [required by fmt, astring, uuidm]
- 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, uuidm]
- install uuidm 0.9.10 [required by alcotest]
- install fmt 0.11.0 [required by alcotest]
- install astring 0.8.5 [required by alcotest]
- install alcotest 1.0.1 [required by sm]
- recompile sm 0.1.1*
===== 10 to install | 1 to recompile =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[alcotest.1.0.1] downloaded from cache at https://opam.ocaml.org/cache
[astring.0.8.5] downloaded from cache at https://opam.ocaml.org/cache
[cmdliner.1.3.0] downloaded from cache at https://opam.ocaml.org/cache
[fmt.0.11.0] downloaded from cache at https://opam.ocaml.org/cache
[ocamlbuild.0.16.1] downloaded from cache at https://opam.ocaml.org/cache
[ocamlfind.1.9.8] downloaded from cache at https://opam.ocaml.org/cache
[re.1.14.0] downloaded from cache at https://opam.ocaml.org/cache
[stdlib-shims.0.3.0] downloaded from cache at https://opam.ocaml.org/cache
[topkg.1.1.1] downloaded from cache at https://opam.ocaml.org/cache
[uuidm.0.9.10] downloaded from cache at https://opam.ocaml.org/cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed stdlib-shims.0.3.0
-> installed re.1.14.0
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> removed sm.0.1.1
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uuidm.0.9.10
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed alcotest.1.0.1
-> installed sm.0.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-11 08:10.20 ---> saved as "ab0869c96bc0f93de86d85792f86195739c906422bed430f54e80d535b82cf2a"
/home/opam: (run (shell "opam depext --with-test sm.0.1.1 && 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following actions will be performed:
- recompile sm 0.1.1*
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3: [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/4a76e94aeacee88d0a1423f542557f86/default/test && ./test_sm3.exe)
- Testing sm3.
- This run has ID `6EC76E2A-603C-4212-A529-ADF437C672B9`.
- ... sm3 0 empty string.
[OK] sm3 0 empty string.
- ... sm3 1 abc vector.
[OK] sm3 1 abc vector.
- ... sm3 2 64-byte vector.
[OK] sm3 2 64-byte vector.
- ... sm3 3 long message (512 bits).
[OK] sm3 3 long message (512 bits).
- ... sm3 4 empty input shape.
[OK] sm3 4 empty input shape.
- ... sm3 5 incremental update.
[OK] sm3 5 incremental update.
- ... sm3 6 subbytes update.
[OK] sm3 6 subbytes update.
- The full test results are available in `/home/opam/.opam/4.14/.opam-switch/build/sm.0.1.1/_build/.sandbox/4a76e94aeacee88d0a1423f542557f86/default/test/_build/_tests/6EC76E2A-603C-4212-A529-ADF437C672B9`.
- Test Successful in 0.000s. 7 tests run.
- (cd _build/.sandbox/eddac2d8688797c64c5c50248211b7b7/default/test && ./test_zuc.exe)
- Testing zuc.
- This run has ID `2BBE1271-A9E3-4275-B7F5-7A9379CE42FF`.
- ... zuc 0 zero vector.
[OK] zuc 0 zero vector.
- ... zuc 1 zero vector long.
[OK] zuc 1 zero vector long.
- ... zuc 2 ff vector.
[OK] zuc 2 ff vector.
- ... zuc 3 ff vector long.
[OK] zuc 3 ff vector long.
- ... zuc 4 custom vector.
[OK] zuc 4 custom vector.
- ... zuc 5 crypt roundtrip.
[OK] zuc 5 crypt roundtrip.
- The full test results are available in `/home/opam/.opam/4.14/.opam-switch/build/sm.0.1.1/_build/.sandbox/eddac2d8688797c64c5c50248211b7b7/default/test/_build/_tests/2BBE1271-A9E3-4275-B7F5-7A9379CE42FF`.
- Test Successful in 0.000s. 6 tests run.
- (cd _build/.sandbox/568a951267717989fdfccfbf63c632fa/default/test && ./test_sm2.exe)
- Testing sm2.
- This run has ID `7529DF5A-E2C5-446F-B1F4-9C9332CA5C96`.
- ... sm2 0 derive public key.
[OK] sm2 0 derive public key.
- ... sm2 1 sign verify.
[OK] sm2 1 sign verify.
- ... sm2 2 encrypt decrypt.
[OK] sm2 2 encrypt decrypt.
- ... sm2 3 signature der.
[OK] sm2 3 signature der.
- ... sm2 4 der pem compat.
[OK] sm2 4 der pem compat.
- ... sm2 5 encrypted private key pem.
[OK] sm2 5 encrypted private key pem.
- ... sm2 6 top module.
[OK] sm2 6 top module.
- ... sm2 7 key exchange.
[OK] sm2 7 key exchange.
- The full test results are available in `/home/opam/.opam/4.14/.opam-switch/build/sm.0.1.1/_build/.sandbox/568a951267717989fdfccfbf63c632fa/default/test/_build/_tests/7529DF5A-E2C5-446F-B1F4-9C9332CA5C96`.
- Test Successful in 0.000s. 8 tests run.
- (cd _build/.sandbox/3643f36e23802ca9ae48f6a487761a5e/default/test && ./test_sm4.exe)
- Testing sm4.
- This run has ID `B52E75D6-5359-45DA-8114-EE865B3158E3`.
- ... sm4 0 standard vector.
[OK] sm4 0 standard vector.
- ... sm4 1 million rounds.
[OK] sm4 1 million rounds.
- ... sm4 2 cbc vectors.
[OK] sm4 2 cbc vectors.
- ... sm4 3 cbc pkcs7.
[OK] sm4 3 cbc pkcs7.
- ... sm4 4 ctr vector.
[OK] sm4 4 ctr vector.
- ... sm4 5 gcm vector.
[OK] sm4 5 gcm vector.
- ... sm4 6 stream api.
[OK] sm4 6 stream api.
- The full test results are available in `/home/opam/.opam/4.14/.opam-switch/build/sm.0.1.1/_build/.sandbox/3643f36e23802ca9ae48f6a487761a5e/default/test/_build/_tests/B52E75D6-5359-45DA-8114-EE865B3158E3`.
- Test Successful in 1.000s. 7 tests run.
-> compiled sm.0.1.1
-> removed sm.0.1.1
-> installed sm.0.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-11 08:10.33 ---> saved as "e2355bdb14393a3e824c38cd0020734713a9fe5850ae6931e32a10a4bdaf7807"
Job succeeded
2026-04-11 08:10.38: Job succeeded