- github
- ocaml
- opam-repository
- 7cf44d
- extras,opam-2.5-ocaml-5.4,passe.0.1.0,tests
(not at the head of any monitored branch or PR)
2026-01-12 13:21.14: New job: test passe.0.1.0, using opam 2.5
from https://github.com/ocaml/opam-repository.git#refs/pull/29209/head (7cf44dd59f3d701719ec977f781508489f6d4236)
on debian-13-ocaml-5.4/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/29209/head" && git reset --hard 7cf44dd5
git fetch origin master
git merge --no-edit 2bf2bf6ea0c8867eede5e26c1c591999dd5a9ee1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.5 /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 passe.0.1.0 0.1.0
RUN opam reinstall passe.0.1.0; \
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" != 'passe.0.1.0' && 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 passe.0.1.0) || true
RUN opam reinstall --with-test --verbose passe.0.1.0; \
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" != 'passe.0.1.0' && 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-01-12 13:21.14: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17-passe.0.1.0-7cf44dd59f3d701719ec977f781508489f6d4236"
2026-01-12 13:21.14: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 passe.0.1.0 0.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall passe.0.1.0;\
\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\" != 'passe.0.1.0' && 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 passe.0.1.0) || true"))
(run (shell "opam reinstall --with-test --verbose passe.0.1.0;\
\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\" != 'passe.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-01-12 13:21.14: Connecting to build cluster…
2026-01-12 13:21.14: Waiting for resource in pool OCluster
2026-01-12 13:31.24: Waiting for worker…
2026-01-12 13:34.59: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 66% (12752/19190)
Updating files: 67% (12858/19190)
Updating files: 68% (13050/19190)
Updating files: 69% (13242/19190)
Updating files: 70% (13433/19190)
Updating files: 71% (13625/19190)
Updating files: 72% (13817/19190)
Updating files: 73% (14009/19190)
Updating files: 74% (14201/19190)
Updating files: 75% (14393/19190)
Updating files: 76% (14585/19190)
Updating files: 77% (14777/19190)
Updating files: 78% (14969/19190)
Updating files: 79% (15161/19190)
Updating files: 80% (15352/19190)
Updating files: 81% (15544/19190)
Updating files: 82% (15736/19190)
Updating files: 83% (15928/19190)
Updating files: 84% (16120/19190)
Updating files: 85% (16312/19190)
Updating files: 86% (16504/19190)
Updating files: 87% (16696/19190)
Updating files: 88% (16888/19190)
Updating files: 89% (17080/19190)
Updating files: 90% (17271/19190)
Updating files: 91% (17463/19190)
Updating files: 92% (17655/19190)
Updating files: 93% (17847/19190)
Updating files: 94% (18039/19190)
Updating files: 95% (18231/19190)
Updating files: 96% (18423/19190)
Updating files: 97% (18615/19190)
Updating files: 98% (18807/19190)
Updating files: 99% (18999/19190)
Updating files: 100% (19190/19190)
Updating files: 100% (19190/19190), done.
HEAD is now at 2bf2bf6ea0 Merge pull request #29204 from jserot/opam-publish-rfsm.2.3
Updating 2bf2bf6ea0..7cf44dd59f
Fast-forward
packages/passe/passe.0.1.0/opam | 44 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 packages/passe/passe.0.1.0/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17)
2026-01-12 13:35.08 ---> using "03f0951594c938350775771f8c8fede6d107f2d2eee244220b7b8b4b1567de6e" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-12 13:35.08 ---> using "ed1b83aed42498553bc1ab744d7efe6a32327fc6bbd3a99829a191aed6525fea" 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-01-12 13:35.08 ---> using "3bd6c0979f5564088a750e03adc8b1b37b80dc11c77f4bc8af5af1b06a0177d4" 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=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 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, 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.0
2026-01-12 13:35.08 ---> using "097fe223fa99e154d8a458cd7ce85d0eb5a8c427c2ba18d1ee2e52ff068bbe15" 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-01-12 13:35.08 ---> using "232bf3377b4ca85c14fd511f1afc7063801320d77528b102e74dee5d18d84833" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-12 13:35.59 ---> saved as "ce5073e86685e90346cb09e6f916a346c1b91cd4d75c068b463316ec617cc6fc"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-12 13:36.31 ---> saved as "3143d68bf03181002db8bc4fa302664ea69d95559111e3c61dcb07b490c166b7"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [94.5 kB]
- Fetched 9996 kB in 2s (4746 kB/s)
- Reading package lists...
-
2026-01-12 13:36.35 ---> saved as "24327001ceb692cfc7a715f45641792d979aa3f8c866ed9eb502930450a7a2d1"
/home/opam: (run (shell "opam pin add -k version -yn passe.0.1.0 0.1.0"))
passe is now pinned to version 0.1.0
2026-01-12 13:36.36 ---> saved as "dc983c848f356374e38910bedf81c5bc2bac27b27a61b903f0311648db694338"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall passe.0.1.0;\
\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\" != 'passe.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
passe.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 13 packages
- install csexp 1.5.2 [required by dune-configurator]
- install digestif 1.3.0 [required by mirage-crypto-rng]
- install dune 3.20.2 [required by passe]
- install dune-configurator 3.20.2 [required by mirage-crypto, mirage-crypto-rng]
- install duration 0.2.1 [required by mirage-crypto-rng]
- install eqaf 0.10 [required by mirage-crypto]
- install logs 0.10.0 [required by mirage-crypto-rng]
- install mirage-crypto 2.0.2 [required by passe]
- install mirage-crypto-rng 2.0.2 [required by passe]
- install ocamlbuild 0.16.1 [required by logs]
- install ocamlfind 1.9.8 [required by logs]
- install passe 0.1.0 (pinned)
- install topkg 1.1.1 [required by logs]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved digestif.1.3.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved mirage-crypto.2.0.2, mirage-crypto-rng.2.0.2 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved passe.0.1.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed logs.0.10.0
-> installed dune.3.20.2
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed eqaf.0.10
-> installed digestif.1.3.0
-> installed dune-configurator.3.20.2
-> installed mirage-crypto.2.0.2
-> installed mirage-crypto-rng.2.0.2
-> installed passe.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-12 13:37.28 ---> saved as "4d49aa56bfe02b5be528f4c1d2c05fecb8de49f4e1176af352551e043bc6a55c"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test passe.0.1.0) || true"))
The following actions will be performed:
=== recompile 3 packages
- recompile logs 0.10.0 [uses cmdliner]
- recompile mirage-crypto-rng 2.0.2 [uses logs]
- recompile passe 0.1.0 (pinned)
=== install 8 packages
- install alcotest 1.9.1 [required by passe]
- 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 re 1.14.0 [required by alcotest]
- install stdlib-shims 0.3.0 [required by alcotest]
- 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 logs.0.10.0 (https://opam.ocaml.org/cache)
-> retrieved mirage-crypto-rng.2.0.2 (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0 (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 uutf.1.0.4 (https://opam.ocaml.org/cache)
-> installed astring.0.8.5
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> removed passe.0.1.0
-> removed mirage-crypto-rng.2.0.2
-> removed logs.0.10.0
-> installed cmdliner.2.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed alcotest.1.9.1
-> installed logs.0.10.0
-> installed mirage-crypto-rng.2.0.2
-> installed passe.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-12 13:37.45 ---> saved as "e368f4b74ae79f77a7cf918b65a76c8ff7ed96df82bffbb35e3e4e09fa269eef"
/home/opam: (run (shell "opam reinstall --with-test --verbose passe.0.1.0;\
\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\" != 'passe.0.1.0' && 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 passe 0.1.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [passe: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "passe" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/passe.0.1.0)
- (cd _build/default/test && ./test.exe)
- Testing `Passe test'.
- This run has ID `TIRLVHPQ'.
-
- [OK] Bcrypt verification 0 verify correct password (2a).
- [OK] Bcrypt verification 1 verify correct password (2b).
- [OK] Bcrypt verification 2 verify correct password (2a ...
- [OK] Bcrypt verification 3 verify wrong password.
- [OK] Bcrypt verification 4 verify special characters.
- [OK] Bcrypt verification 5 verify 2y variant.
- [OK] Bcrypt hashing 0 hash and verify.
- [OK] Bcrypt hashing 1 hash wrong password.
- [OK] Bcrypt hashing 2 empty password.
- [OK] Bcrypt validation 0 password too long.
- [OK] Bcrypt validation 1 password max length.
- [OK] Bcrypt validation 2 invalid hash too short.
- [OK] Bcrypt validation 3 invalid hash bad prefix.
- [OK] Bcrypt validation 4 cost validation.
- [OK] Bcrypt security 0 password with null byte.
- [OK] Bcrypt security 1 salt with null byte.
- [OK] Argon2 hashing 0 hash and verify.
- [OK] Argon2 hashing 1 hash wrong password.
- [OK] Argon2 hashing 2 default params.
- [OK] Argon2 hashing 3 empty password.
- [OK] Argon2 hashing 4 long password.
- [OK] Argon2 hashing 5 special characters.
- [OK] Argon2 hashing 6 different params produce dif...
- [OK] Argon2 validation 0 invalid time cost.
- [OK] Argon2 validation 1 invalid memory cost.
- [OK] Argon2 validation 2 invalid parallelism.
- [OK] Argon2 validation 3 salt too short.
- [OK] Argon2 security 0 verify with null byte in hash.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/passe.0.1.0/_build/default/test/_build/_tests/Passe test'.
- Test Successful in 0.590s. 28 tests run.
-> compiled passe.0.1.0
-> removed passe.0.1.0
-> installed passe.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-12 13:37.51 ---> saved as "6f896559476e6b6788e5347ff84686d9c5e1ceefb6b681271ca31e290c69ed02"
Job succeeded
2026-01-12 13:38.01: Job succeeded