Organisationsmiragemirage5f1dca ()alpine-3.22-5.3_opam-2.4

alpine-3.22-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-10-03 12:19.15: New job: test mirage/mirage https://github.com/mirage/mirage.git#refs/pull/1614/head (5f1dca7f65c14a409180e837bf59ea4a7c0bd272) (linux-x86_64:alpine-3.22-5.3_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage.git" && cd "mirage" && git fetch origin "refs/pull/1614/head" && git reset --hard 5f1dca7f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb
# alpine-3.22-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage.opam mirage-runtime.opam ./
RUN opam pin add -yn mirage.dev './' && \
opam pin add -yn mirage-runtime.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.2.1 cmdliner.2.0.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 emile.1.1 fmt.0.11.0 fpath.0.7.3 ipaddr.5.6.1 logs.0.9.0 lwt.5.9.2 macaddr.5.6.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 opam-monorepo.0.4.3 pecu.0.7 re.1.14.0 rresult.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mirage.dev mirage-runtime.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-10-03 12:19.15: Using cache hint "mirage/mirage-ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb-alpine-3.22-5.3_opam-2.4-ba32974c39a97a7aa0af842d85451b69"
2025-10-03 12:19.15: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb)
(comment alpine-3.22-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage.opam mirage-runtime.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn mirage.dev './' && \
\nopam pin add -yn mirage-runtime.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.2.1 cmdliner.2.0.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 emile.1.1 fmt.0.11.0 fpath.0.7.3 ipaddr.5.6.1 logs.0.9.0 lwt.5.9.2 macaddr.5.6.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 opam-monorepo.0.4.3 pecu.0.7 re.1.14.0 rresult.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uutf.1.0.4")
(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.4 --depext-only -y mirage.dev mirage-runtime.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-10-03 12:19.15: Waiting for resource in pool OCluster
2025-10-03 12:19.15: Waiting for worker…
2025-10-03 12:19.17: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 5f1dca7f test: output is on stderr, so we redirect stderr to stdout in order to hit the pipe (and can use tr to remove the tick)


(from ocaml/opam:alpine-3.22-ocaml-5.3@sha256:f501424e898b9ffd369a23e97280207e9a7234cff46e3a314f30c7826d92accb)
2025-10-03 12:19.18 ---> using "8f6725b8b163d90d30de9c8c5e177342b07667db3354753a70bac272bfe2db9a" from cache


/: (comment alpine-3.22-5.3_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-03 12:19.18 ---> using "60019b56f0ac74bc487e6a10b94f217078fa011d487a7997fa89d230b8fe3f32" 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 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
2025-10-03 12:19.18 ---> using "c7cb638e7bebf3467944086dced2eb9f0c9b58d22b77655b91aec66202bcf666" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-10-03 12:19.18 ---> using "5af03bae8557c8c98fd3e2ecd3885ecd1490b81dcd2aa79041a221f15d3c966b" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-03 12:19.18 ---> using "5bd0e598f405f99fe9f4df6e79f9f9a0efe772994aa367852a5bf2612bd3eb66" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bcac5d1731..4f3dfab98d  master     -> origin/master
241aae26db Merge pull request #28629 from dinosaure/release-alcotest-1.9.1


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-03 12:19.18 ---> using "baeaf3d732921fd6d4c2b77dc7aac7410ae5536022632bf6ae74ee70180bad89" from cache


/src: (copy (src mirage.opam mirage-runtime.opam) (dst ./))
2025-10-03 12:19.18 ---> using "6d4321706f5a6fc244e047e9d2d3441081610b79c73969420fd99f3ae6239ff8" from cache


/src: (run (network host)
(shell  "opam pin add -yn mirage.dev './' && \
\nopam pin add -yn mirage-runtime.dev './'"))
[mirage.dev] synchronised (file:///src)
mirage is now pinned to file:///src (version dev)
[mirage-runtime.dev] synchronised (file:///src)
mirage-runtime is now pinned to file:///src (version dev)
2025-10-03 12:19.18 ---> using "183d04980b51511b0a27fa8b872d45fdf463a4dde5d2633dcbb2b20b6ea706ba" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-03 12:19.18 ---> using "102a2102399ff2408e0724f182a6838aa5ac88d0155a5298e6674bfe83a99fbe" from cache


/src: (env DEPS "alcotest.1.9.1 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.2.1 cmdliner.2.0.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 emile.1.1 fmt.0.11.0 fpath.0.7.3 ipaddr.5.6.1 logs.0.9.0 lwt.5.9.2 macaddr.5.6.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 opam-monorepo.0.4.3 pecu.0.7 re.1.14.0 rresult.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uutf.1.0.4")


/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.4 --depext-only -y mirage.dev mirage-runtime.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.22.1-528-g13c653cc49d [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.1-533-ga04734bbda0 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v3.23.0_alpha20250612-7497-g96a738651a3 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-7506-g4bb88949f7b [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-7507-gb8ed27fa2d0 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59302 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage.dev] synchronised (file:///src)
[mirage-runtime.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-10-03 12:19.18 ---> using "73707215f0bbfe00b3c1bb728adb05127ab66f7e55581a9c328db7f1e51e5e15" from cache


/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 34 packages
- install alcotest           1.9.1
- install angstrom           0.16.1
- install astring            0.8.5
- install base-bytes         base
- install base64             3.5.2
- install bigstringaf        0.10.0
- install bos                0.2.1
- install cmdliner           2.0.0
- install conf-pkg-config    4
- install cppo               1.8.0
- install csexp              1.5.2
- install domain-name        0.4.1
- install dune               3.20.2
- install dune-configurator  3.20.2
- install emile              1.1
- install fmt                0.11.0
- install fpath              0.7.3
- install ipaddr             5.6.1
- install logs               0.9.0
- install lwt                5.9.2
- install macaddr            5.6.1
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install ocplib-endian      1.2
- install opam-monorepo      0.4.3
- install pecu               0.7
- install re                 1.14.0
- install rresult            0.7.0
- install stdlib-shims       0.3.0
- install stringext          1.6.0
- install topkg              1.1.0
- install uri                4.4.0
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved emile.1.1  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved pecu.0.7  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved opam-monorepo.0.4.3  (cached)
-> installed cmdliner.2.0.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.20.2
-> installed base64.3.5.2
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed domain-name.0.4.1
-> installed macaddr.5.6.1
-> installed ocaml-syntax-shims.1.0.0
-> installed pecu.0.7
-> installed re.1.14.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed alcotest.1.9.1
-> installed dune-configurator.3.20.2
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed emile.1.1
-> installed lwt.5.9.2
-> installed uri.4.4.0
-> installed logs.0.9.0
-> installed bos.0.2.1
-> installed opam-monorepo.0.4.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-03 12:19.18 ---> using "c3ea5c8fa0b823c20a712187af0b6fd2ad57da13824a99b755b89944d2a864f8" from cache


/src: (copy (src .) (dst /src))
2025-10-03 12:19.19 ---> saved as "6dd4f5b8ba7b7554dd65581848f6b8360a681aefa232d4ecd7974d44d1fcbc91"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/functoria && ./test.exe)
Testing `functoria'.
This run has ID `YE2YEWXC'.


[OK]          cli              0   read_full_eval.
[OK]          cli              1   configure.
[OK]          cli              2   describe.
[OK]          cli              3   clean.
[OK]          cli              4   help.
[OK]          cli              5   default.
[OK]          package          0   merge.
[OK]          package          1   pp.
[OK]          package          2   invalid names.
[OK]          graph            0   var_name.
[OK]          graph            1   impl_name.
[OK]          graph            2   test_graph.
[OK]          action           0   bind.
[OK]          action           1   seq.
[OK]          action           2   rm.
[OK]          action           3   mkdir.
[OK]          action           4   rmdir.
[OK]          action           5   with_dir.
[OK]          action           6   pwd.
[OK]          action           7   is_file.
[OK]          action           8   is_dir.
[OK]          action           9   size_of.
[OK]          action          10   set_var.
[OK]          action          11   get_var.
[OK]          action          12   run_cmd.
[OK]          action          13   run_cmd_out.
[OK]          action          14   write_file.
[OK]          action          15   tmp_file.
[OK]          action          16   ls.
[OK]          action          17   with_output.
[OK]          key              0   equal.
[OK]          key              1   eval.
[OK]          key              2   get.
[OK]          key              3   find.
[OK]          key              4   merge.
[OK]          key              5   cmdliner.
[OK]          key              6   opt-all.
[OK]          version          0   failed_to_parse comments.
[OK]          version          1   bad comment.
[OK]          version          2   good comment.
[OK]          version          3   unmet comment.


Full test results in `/src/_build/default/test/functoria/_build/_tests/functoria'.
Test Successful in 0.006s. 41 tests run.
(cd _build/default/test/mirage && ./test.exe)
Testing `mirage'.
This run has ID `OYI32OEN'.


[OK]          basic          0   pp.


Full test results in `/src/_build/default/test/mirage/_build/_tests/mirage'.
Test Successful in 0.000s. 1 test run.
2025-10-03 12:19.26 ---> saved as "86d0b958ba5603d04729a04af1bcef838d14b5916b64832e09483e91007f619f"
Job succeeded
2025-10-03 12:19.26: Job succeeded