Organisationsmirageawa-sshffc436 ()fedora-40-4.14_opam-2.3

fedora-40-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-04-04 07:13.58: New job: test mirage/awa-ssh https://github.com/mirage/awa-ssh.git#refs/heads/main (ffc4362477d435cba654397a4497304a17a41eb4) (linux-x86_64:fedora-40-4.14_opam-2.3)
Base: ocaml/opam:fedora-40-ocaml-4.14@sha256:cc37024c0531154dc7f7147069bfb6715b0d1af169fdbfa556531a42105e4eda
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/awa-ssh.git" -b "main" && cd "awa-ssh" && git reset --hard ffc43624
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-40-ocaml-4.14@sha256:cc37024c0531154dc7f7147069bfb6715b0d1af169fdbfa556531a42105e4eda
# fedora-40-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e ebbcec92a028ec6a4c71de7a7c3ed42739479745 || git fetch origin master) && git reset -q --hard ebbcec92a028ec6a4c71de7a7c3ed42739479745 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 awa.opam awa-mirage.opam ./
RUN opam pin add -yn awa.dev './' && \
opam pin add -yn awa-mirage.dev './'
RUN echo '(lang dune 3.0)' > './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.2.0 domain-name.0.4.1 dune.3.18.0 dune-configurator.3.18.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.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 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.5 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 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-04-04 07:13.58: Using cache hint "mirage/awa-ssh-ocaml/opam:fedora-40-ocaml-4.14@sha256:cc37024c0531154dc7f7147069bfb6715b0d1af169fdbfa556531a42105e4eda-fedora-40-4.14_opam-2.3-460d688d235b83d0585e30f934fea7cb"
2025-04-04 07:13.58: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-4.14@sha256:cc37024c0531154dc7f7147069bfb6715b0d1af169fdbfa556531a42105e4eda)
(comment fedora-40-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(run (shell "sudo 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"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e ebbcec92a028ec6a4c71de7a7c3ed42739479745 || git fetch origin master) && git reset -q --hard ebbcec92a028ec6a4c71de7a7c3ed42739479745 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src awa.opam awa-mirage.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn awa.dev './' && \
\nopam pin add -yn awa-mirage.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './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.2.0 domain-name.0.4.1 dune.3.18.0 dune-configurator.3.18.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.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 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.5 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 /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-04-04 07:13.58: Waiting for resource in pool OCluster
2025-04-04 07:28.56: Waiting for worker…
2025-04-04 07:33.15: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at ffc4362 changes for 0.5.0


(from ocaml/opam:fedora-40-ocaml-4.14@sha256:cc37024c0531154dc7f7147069bfb6715b0d1af169fdbfa556531a42105e4eda)
2025-04-04 07:33.16 ---> using "81aeb9972ad396fe915756d37c1673be494f25bf8fcf54f21164b1846f16ebc1" from cache


/: (comment fedora-40-4.14_opam-2.3)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Fedora 40 - x86_64                              163 kB/s |  27 kB     00:00
Fedora 40 openh264 (From Cisco) - x86_64        8.4 kB/s | 989  B     00:00
Fedora 40 - x86_64 - Updates                    160 kB/s |  24 kB     00:00
Fedora 40 - x86_64 - Updates                    7.6 MB/s | 5.8 MB     00:00
Package findutils-1:4.9.0-9.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2025-04-04 07:33.16 ---> using "4c0b4f4f44ba47830d0c2d9115d7a4e99e6d99a4f748784d521652a095b1eaab" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-04 07:33.16 ---> using "729b2952a286ecb9eb23be38e00cdab37c74b91a4aa5b706438e94c5c6850d1b" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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 development 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
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-04-04 07:33.16 ---> using "fca5162a208c07f83d379ef2cdbc0b2c09827c2969019020f82faaa3094f6cf0" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-04-04 07:33.16 ---> using "0755c661e0f6f170959fc6603a07ec1fe4ad4d14f05537a181c45a1834bc50bc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-04-04 07:33.16 ---> using "e334036df1ff813404f461c55e8406a73518d99330baa091d5ad0e39753cae4f" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e ebbcec92a028ec6a4c71de7a7c3ed42739479745 || git fetch origin master) && git reset -q --hard ebbcec92a028ec6a4c71de7a7c3ed42739479745 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a8ed476033..da74d7829f  master     -> origin/master
ebbcec92a0 Merge pull request #23330 from mseri/fix-gmp


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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-04-04 07:33.16 ---> using "a46afc360a3a95142c79cf3b95020320f80a8723805dbaa5fd7a026bb326ebe2" from cache


/src: (copy (src awa.opam awa-mirage.opam) (dst ./))
2025-04-04 07:33.16 ---> saved as "0c09d51266d42714187f76b80051cb4c30b83dcedab74317cc0fb8f6f1894283"


/src: (run (network host)
(shell  "opam pin add -yn awa.dev './' && \
\nopam pin add -yn awa-mirage.dev './'"))
[awa.dev] synchronised (file:///src)
awa is now pinned to file:///src (version dev)
[awa-mirage.dev] synchronised (file:///src)
awa-mirage is now pinned to file:///src (version dev)
2025-04-04 07:33.18 ---> saved as "5ce4159a28626a1aa1549e2413130fc4f75358f41be60968db0289015a2bcb4e"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-04 07:33.18 ---> saved as "c53cc9a8611c63595113fcbdd6f28e92abb7ec753f55ea8966970d4f3235069d"


/src: (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.2.0 domain-name.0.4.1 dune.3.18.0 dune-configurator.3.18.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.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 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.5 zarith.1.14")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (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"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64                              177 kB/s |  27 kB     00:00
- Fedora 40 openh264 (From Cisco) - x86_64        8.7 kB/s | 989  B     00:00
- Fedora 40 - x86_64 - Updates                    113 kB/s |  16 kB     00:00
- Fedora 40 - x86_64 - Updates                    3.5 MB/s | 4.4 MB     00:01
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[awa.dev] synchronised (file:///src)
[awa-mirage.dev] synchronised (file:///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-devel


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "yum" "install" "-y" "gmp-devel"
- Last metadata expiration check: 0:00:17 ago on Fri Apr  4 07:33:20 2025.
- Dependencies resolved.
- ================================================================================
-  Package           Architecture   Version                  Repository      Size
- ================================================================================
- Installing:
-  gmp-devel         x86_64         1:6.2.1-8.fc40           fedora         173 k
- Installing dependencies:
-  gmp-c++           x86_64         1:6.2.1-8.fc40           fedora          18 k
- 
- Transaction Summary
- ================================================================================
- Install  2 Packages
- 
- Total download size: 191 k
- Installed size: 382 k
- Downloading Packages:
- (1/2): gmp-c++-6.2.1-8.fc40.x86_64.rpm          268 kB/s |  18 kB     00:00
- (2/2): gmp-devel-6.2.1-8.fc40.x86_64.rpm        1.7 MB/s | 173 kB     00:00
- --------------------------------------------------------------------------------
- Total                                           715 kB/s | 191 kB     00:00
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
-   Preparing        :                                                        1/1
-   Installing       : gmp-c++-1:6.2.1-8.fc40.x86_64                          1/2
-   Installing       : gmp-devel-1:6.2.1-8.fc40.x86_64                        2/2
-   Running scriptlet: gmp-devel-1:6.2.1-8.fc40.x86_64                        2/2
- 
- Installed:
-   gmp-c++-1:6.2.1-8.fc40.x86_64         gmp-devel-1:6.2.1-8.fc40.x86_64
- 
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "gmp-devel"
- gmp-devel-6.2.1-8.fc40.x86_64
2025-04-04 07:33.38 ---> saved as "e9c7a40b178c9d1e9befa67f556e47135c3a55f8a14dcb6619a721dd5cf3e2ce"


/src: (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.2.0
- install domain-name       0.4.1
- install dune              3.18.0
- install dune-configurator 3.18.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.0
- install mirage-crypto-ec  2.0.0
- install mirage-crypto-pk  2.0.0
- install mirage-crypto-rng 2.0.0
- 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.5
- 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 asn1-combinators.0.3.2  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0, cstruct-unix.6.2.0  (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved domain-name.0.4.1  (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 digestif.1.2.0  (cached)
-> retrieved mirage-flow.5.0.0  (cached)
-> retrieved mirage-mtime.5.0.0  (cached)
-> retrieved mirage-sleep.4.0.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved dune.3.18.0, dune-configurator.3.18.0  (cached)
-> retrieved mirage-crypto.2.0.0, mirage-crypto-ec.2.0.0, mirage-crypto-pk.2.0.0, mirage-crypto-rng.2.0.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved x509.1.0.5  (cached)
-> retrieved zarith.1.14  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed zarith.1.14
-> installed topkg.1.0.8
-> installed mtime.2.1.0
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed dune.3.18.0
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed eqaf.0.10
-> installed macaddr.5.6.0
-> installed mirage-mtime.5.0.0
-> installed ohex.0.2.0
-> installed cstruct-unix.6.2.0
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.0
-> installed digestif.1.2.0
-> installed dune-configurator.3.18.0
-> installed mirage-crypto.2.0.0
-> installed kdf.1.0.0
-> installed lwt.5.9.1
-> installed mirage-flow.5.0.0
-> installed mirage-sleep.4.0.0
-> installed logs.0.8.0
-> installed mirage-crypto-rng.2.0.0
-> installed mirage-crypto-pk.2.0.0
-> installed mirage-crypto-ec.2.0.0
-> installed x509.1.0.5
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-04 07:34.28 ---> saved as "d5704198a72acdb906152ac28fe8d65ba00880a5e3a5a945cc32757628d1c595"


/src: (copy (src .) (dst /src))
2025-04-04 07:34.28 ---> saved as "1bef1c0c23263e3f5adc815858b8a229ddc5660e90a72a70ff2f303a34e98a64"


/src: (run (shell "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-04-04 07:34.32 ---> saved as "d93a0f968f2ef9c53becc6b3a77bc7956a09e5cfe5178f8d5260341160541f4c"
Job succeeded
2025-04-04 07:34.33: Job succeeded