2025-05-28 13:07.18: New job: test mirage/awa-ssh https://github.com/mirage/awa-ssh.git#refs/heads/main (21b1ec635c8b7fa7794bfff717937a376e0ace25) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-amd64-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/awa-ssh.git" -b "main" && cd "awa-ssh" && git reset --hard 21b1ec63
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 awa.opam awa-mirage.opam /home/opam/src/./
RUN opam pin add -yn awa.dev '/home/opam/src/./' && \
opam pin add -yn awa-mirage.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="asn1-combinators.0.3.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.19.0 dune-configurator.3.19.0 duration.0.2.1 eqaf.0.10 fmt.0.10.0 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ptime.1.2.0 topkg.1.0.8 x509.1.0.6 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y awa.dev awa-mirage.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-05-28 13:07.18: Using cache hint "mirage/awa-ssh-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-1f84428a973d6b023453ef9a060985ca"
2025-05-28 13:07.18: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src awa.opam awa-mirage.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn awa.dev '/home/opam/src/./' && \
\nopam pin add -yn awa-mirage.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "asn1-combinators.0.3.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.19.0 dune-configurator.3.19.0 duration.0.2.1 eqaf.0.10 fmt.0.10.0 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ptime.1.2.0 topkg.1.0.8 x509.1.0.6 zarith.1.14")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y awa.dev awa-mirage.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-05-28 13:07.18: Waiting for resource in pool OCluster
2025-05-28 13:07.18: Waiting for worker…
2025-05-28 13:07.36: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at 21b1ec6 test: use mirage-mtime over mtime.clock.os
(from openbsd-76-amd64-ocaml-4.14)
2025-05-28 13:07.36 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache
/: (comment openbsd-76-amd64-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-28 13:07.36 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-05-28 13:07.36 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0
2025-05-28 13:07.36 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
727427c1e7..2df846cb67 master -> origin/master
2df846cb67 Merge pull request #27910 from maiste/release-dune-3.19.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-05-28 13:07.36 ---> using "7ae423edd03e90e63b58a74c44cdaf1c46f95dc22c55b7b362a4ec11c856e41d" from cache
/: (copy (src awa.opam awa-mirage.opam) (dst /home/opam/src/./))
2025-05-28 13:07.36 ---> using "bb1a2611254703251e024d7c48881f174c3f2cdc2af9722d4c8a397849384d8e" from cache
/: (run (network host)
(shell "opam pin add -yn awa.dev '/home/opam/src/./' && \
\nopam pin add -yn awa-mirage.dev '/home/opam/src/./'"))
[awa.dev] synchronised (file:///home/opam/src)
awa is now pinned to file:///home/opam/src (version dev)
[awa-mirage.dev] synchronised (file:///home/opam/src)
awa-mirage is now pinned to file:///home/opam/src (version dev)
2025-05-28 13:07.36 ---> using "9186b6d9bcc4ff63242fdfb57e264f4ef2f87e6ee198b8e3c16b2813d64a7cf8" from cache
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-05-28 13:07.36 ---> using "54d65d464725870678ca0274b6e4609e612f2d88f38a03a970d6f272afc8d250" from cache
/: (env DEPS "asn1-combinators.0.3.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.19.0 dune-configurator.3.19.0 duration.0.2.1 eqaf.0.10 fmt.0.10.0 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ptime.1.2.0 topkg.1.0.8 x509.1.0.6 zarith.1.14")
/: (env CI true)
/: (env OCAMLCI true)
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y awa.dev awa-mirage.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[awa.dev] synchronised (file:///home/opam/src)
[awa-mirage.dev] synchronised (file:///home/opam/src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
gmp
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/doas "pkg_add" "-I" "gmp"
- quirks-7.50 signed on 2025-04-20T09:56:12Z
2025-05-28 13:07.36 ---> using "572546510259b8fb51ea62fc2ffc1dfef2f835ea3b5159f36ac86530bd56b19c" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 40 packages
- install asn1-combinators 0.3.2
- install base-bytes base
- install base64 3.5.1
- install cmdliner 1.3.0
- install conf-gmp 5
- install conf-gmp-powm-sec 4
- install conf-pkg-config 4
- install cppo 1.8.0
- install csexp 1.5.2
- install cstruct 6.2.0
- install cstruct-unix 6.2.0
- install digestif 1.3.0
- install domain-name 0.4.1
- install dune 3.19.0
- install dune-configurator 3.19.0
- install duration 0.2.1
- install eqaf 0.10
- install fmt 0.10.0
- install gmap 0.3.0
- install ipaddr 5.6.0
- install kdf 1.0.0
- install logs 0.8.0
- install lwt 5.9.1
- install macaddr 5.6.0
- install mirage-crypto 2.0.1
- install mirage-crypto-ec 2.0.1
- install mirage-crypto-pk 2.0.1
- install mirage-crypto-rng 2.0.1
- install mirage-flow 5.0.0
- install mirage-mtime 5.0.0
- install mirage-sleep 4.0.0
- install mtime 2.1.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install ohex 0.2.0
- install ptime 1.2.0
- install topkg 1.0.8
- install x509 1.0.6
- install zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.1 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> installed conf-gmp.5
-> retrieved csexp.1.5.2 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved cstruct.6.2.0, cstruct-unix.6.2.0 (cached)
-> retrieved asn1-combinators.0.3.2 (cached)
-> retrieved domain-name.0.4.1 (cached)
-> retrieved digestif.1.3.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached)
-> retrieved kdf.1.0.0 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved mirage-flow.5.0.0 (cached)
-> retrieved mirage-crypto.2.0.1, mirage-crypto-ec.2.0.1, mirage-crypto-pk.2.0.1, mirage-crypto-rng.2.0.1 (cached)
-> retrieved mirage-mtime.5.0.0 (cached)
-> retrieved mirage-sleep.4.0.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved x509.1.0.6 (cached)
-> retrieved zarith.1.14 (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0 (cached)
-> installed cmdliner.1.3.0
-> installed conf-gmp-powm-sec.4
-> installed conf-pkg-config.4
-> installed dune.3.19.0
-> installed ocamlbuild.0.16.1
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed domain-name.0.4.1
-> installed dune-configurator.3.19.0
-> installed duration.0.2.1
-> installed eqaf.0.10
-> installed gmap.0.3.0
-> installed digestif.1.3.0
-> installed macaddr.5.6.0
-> installed mirage-crypto.2.0.1
-> installed ipaddr.5.6.0
-> installed kdf.1.0.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ohex.0.2.0
-> installed topkg.1.0.8
-> installed ocplib-endian.1.2
-> installed fmt.0.10.0
-> installed lwt.5.9.1
-> installed cstruct.6.2.0
-> installed logs.0.8.0
-> installed cstruct-unix.6.2.0
-> installed mirage-crypto-rng.2.0.1
-> installed mirage-flow.5.0.0
-> installed mirage-crypto-ec.2.0.1
-> installed mirage-sleep.4.0.0
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed mirage-mtime.5.0.0
-> installed asn1-combinators.0.3.2
-> installed zarith.1.14
-> installed mirage-crypto-pk.2.0.1
-> installed x509.1.0.6
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-28 13:07.36 ---> using "af7d8aa302ff334fc99c26ac4e6fc2a3744ecf1de2ee5a0ba885a9fce281e0cc" from cache
/: (copy (src .) (dst /home/opam/src))
2025-05-28 13:08.34 ---> saved as "53f185e6fc79a8d46722fb4c3cc566dd96e34c3270d779c9d7c6c4d340e11451"
/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
Test basic parsing ok
Test version banner ok
Test key exchange ok
Test namelist conversions ok
Test mpint conversions ok
Test version exchange ok
Test encrypt/decrypt ok
Test OpenSSH public key format ok
Test signatures ok
Test ignore next packet ok
Test channel data input channel input_data: discarding 1 bytes (window size)
ok
Test channel data output ok
2025-05-28 13:09.32 ---> saved as "3e25693df897b77d75c599da83e4f2ff363f75e17f7f9b2f41233126b8d30349"
Job succeeded
2025-05-28 13:09.32: Job succeeded