2025-09-16 10:11.35: New job: test mirage/mirage-flow https://github.com/mirage/mirage-flow.git#refs/heads/main (c0efad0f73f95daba1736fb8631708da41ef5f3f) (linux-x86_64:ubuntu-22.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/mirage-flow.git" -b "main" && cd "mirage-flow" && git reset --hard c0efad0f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
# ubuntu-22.04-4.14_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-flow.opam mirage-flow-unix.opam mirage-flow-combinators.opam ./
RUN opam pin add -yn mirage-flow.dev './' && \
opam pin add -yn mirage-flow-unix.dev './' && \
opam pin add -yn mirage-flow-combinators.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 mirage-mtime.5.2.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mirage-flow.dev mirage-flow-unix.dev mirage-flow-combinators.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-09-16 10:11.35: Using cache hint "mirage/mirage-flow-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0-ubuntu-22.04-4.14_opam-2.4-b63edfdc22fc810a20bcec01fbc53678"
2025-09-16 10:11.35: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0)
(comment ubuntu-22.04-4.14_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-flow.opam mirage-flow-unix.opam mirage-flow-combinators.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn mirage-flow.dev './' && \
\nopam pin add -yn mirage-flow-unix.dev './' && \
\nopam pin add -yn mirage-flow-combinators.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 mirage-mtime.5.2.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.1.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-flow.dev mirage-flow-unix.dev mirage-flow-combinators.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-09-16 10:11.35: Waiting for resource in pool OCluster
2025-09-16 11:00.04: Waiting for worker…
2025-09-16 11:01.36: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at c0efad0 Merge pull request #53 from hannesm/variants
(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0' locally
docker.io/ocaml/opam@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0: Pulling from ocaml/opam
2bf01afabfb3: Pulling fs layer
0c4c73378cbb: Pulling fs layer
32ff58dcdf62: Pulling fs layer
1fdc92e78b50: Pulling fs layer
3a95fa8fb957: Pulling fs layer
1fdc92e78b50: Waiting
3a95fa8fb957: Waiting
32ff58dcdf62: Verifying Checksum
32ff58dcdf62: Download complete
1fdc92e78b50: Download complete
3a95fa8fb957: Verifying Checksum
3a95fa8fb957: Download complete
2bf01afabfb3: Verifying Checksum
0c4c73378cbb: Verifying Checksum
0c4c73378cbb: Download complete
2bf01afabfb3: Pull complete
0c4c73378cbb: Pull complete
32ff58dcdf62: Pull complete
1fdc92e78b50: Pull complete
3a95fa8fb957: Pull complete
Digest: sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
Status: Downloaded newer image for ocaml/opam@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
2025-09-16 11:01.37 ---> using "9788e33ef607d2b7d16da1da8c9768e17c160a2726ede1f146b519665e9cf0d1" from cache
/: (comment ubuntu-22.04-4.14_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-09-16 11:01.37 ---> using "36309014802b5585a47bd941a41e09e7bccd90cf2b9c5e55446ac06000110e29" 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-09-16 11:01.37 ---> using "367fe7bbb11f9e19633334a09f69b69b2e93cd97a20ba7b1a5418f08fd1b587c" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-16 11:01.37 ---> using "a63d95c5e399e3449ec90f817a72a36dd76b8b3aacf2c62fbcb73512facb171a" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-16 11:01.37 ---> using "e52c3de1fb615b52180169c08dfe256d7833f99199c243c0acfbb71c9b3b81c4" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
ee24528071..7949ff40d8 master -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-09-16 11:01.37 ---> using "35cfd2a516f805b236bc932204acfb3f1e62c8559e62b9d18784a097eb8d85db" from cache
/src: (copy (src mirage-flow.opam mirage-flow-unix.opam mirage-flow-combinators.opam)
(dst ./))
2025-09-16 11:01.37 ---> saved as "e497ed406385cbedcdbb565bd1f0712e84c3d95cceb9d699c918045e093246be"
/src: (run (network host)
(shell "opam pin add -yn mirage-flow.dev './' && \
\nopam pin add -yn mirage-flow-unix.dev './' && \
\nopam pin add -yn mirage-flow-combinators.dev './'"))
[mirage-flow.dev] synchronised (file:///src)
mirage-flow is now pinned to file:///src (version dev)
[mirage-flow-unix.dev] synchronised (file:///src)
mirage-flow-unix is now pinned to file:///src (version dev)
[mirage-flow-combinators.dev] synchronised (file:///src)
mirage-flow-combinators is now pinned to file:///src (version dev)
2025-09-16 11:01.42 ---> saved as "1ede6debfc022dd7a660496d97dad526336342e11557a438179b33960316e320"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-16 11:01.43 ---> saved as "31847df1357ed1997ab1cacfbf21fc506bd0f11af14323f44c72535909a88508"
/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 mirage-mtime.5.2.0 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.1.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-flow.dev mirage-flow-unix.dev mirage-flow-combinators.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5441 kB]
- Get:6 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3311 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1581 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1274 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [88.8 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3624 kB]
- Get:11 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [80.3 kB]
- Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5627 kB]
- Fetched 21.4 MB in 1s (18.9 MB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-flow.dev] synchronised (file:///src)
[mirage-flow-combinators.dev] synchronised (file:///src)
[mirage-flow-unix.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).
2025-09-16 11:01.53 ---> saved as "65231fe10a1dd9ed8292367284b2de4a881444bca90d9bc5b8ddec9ce3458ec8"
/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 23 packages
- install alcotest 1.9.0
- install astring 0.8.5
- install base-bytes base
- install cmdliner 1.3.0
- install cppo 1.8.0
- install csexp 1.5.2
- install cstruct 6.2.0
- install dune 3.20.2
- install dune-configurator 3.20.2
- install fmt 0.11.0
- install logs 0.9.0
- install lwt 5.9.2
- install mirage-mtime 5.2.0
- install mtime 2.1.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install re 1.13.2
- install seq base
- install stdlib-shims 0.3.0
- install topkg 1.1.0
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved logs.0.9.0 (cached)
-> retrieved mirage-mtime.5.2.0 (cached)
-> retrieved lwt.5.9.2 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.13.2 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed mtime.2.1.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed mirage-mtime.5.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.13.2
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.0
-> installed dune-configurator.3.20.2
-> installed lwt.5.9.2
-> installed logs.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 11:02.32 ---> saved as "b8dda6c3fbfa3f4c0df6ab13257add3dbca38d695a3acacf3a502224e815498b"
/src: (copy (src .) (dst /src))
2025-09-16 11:02.33 ---> saved as "58d2e2ac8928b62796773cf6b24568791cd4f26cd8798517c0a8db25fbe8fa73"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
Testing `mirage-flow'.
This run has ID `071COCNJ'.
[OK] string 0 input.
[OK] string 1 output.
[OK] strings 0 input.
[OK] strings 1 output.
[OK] cstruct 0 input.
[OK] cstruct 1 output.
[OK] cstructs 0 input.
[OK] cstructs 1 output.
[OK] lwt-io 0 input.
[OK] lwt-io 1 output.
Full test results in `/src/_build/default/test/_build/_tests/mirage-flow'.
Test Successful in 0.001s. 10 tests run.
2025-09-16 11:02.34 ---> saved as "77f3f0afa47eca38ea237bcf1fac929fa6e30f2837175a5d3ba362c1aa814d17"
Job succeeded
2025-09-16 11:02.34: Job succeeded