2025-09-15 18:39.20: New job: test mirage/mirage-flow https://github.com/mirage/mirage-flow.git#refs/heads/main (c0efad0f73f95daba1736fb8631708da41ef5f3f) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176
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:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176
# debian-13-4.08_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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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.0.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 cmdliner.1.0.4 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.9.3 fmt.0.8.8 jbuilder.1.0+beta20.1 logs.0.7.0 lwt.4.2.0 mirage-mtime.5.0.0 mmap.1.0.2 mtime.2.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 result.1.5 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uuidm.0.9.7"
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-15 18:39.20: Using cache hint "mirage/mirage-flow-ocaml/opam:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176-debian-13-4.08_opam-2.4-da222b3e7aa65d22041f4cb7b836513b"
2025-09-15 18:39.20: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176)
(comment debian-13-4.08_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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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.0.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 cmdliner.1.0.4 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.9.3 fmt.0.8.8 jbuilder.1.0+beta20.1 logs.0.7.0 lwt.4.2.0 mirage-mtime.5.0.0 mmap.1.0.2 mtime.2.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 result.1.5 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uuidm.0.9.7")
(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-15 18:39.20: Waiting for resource in pool OCluster
2025-09-15 22:20.34: Waiting for worker…
2025-09-15 22:23.34: 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:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176' locally
docker.io/ocaml/opam@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176: Pulling from ocaml/opam
d2a188516622: Pulling fs layer
d2a188516622: Waiting
d2a188516622: Verifying Checksum
d2a188516622: Download complete
d2a188516622: Pull complete
Digest: sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176
Status: Downloaded newer image for ocaml/opam@sha256:b9828be178417e3bc607ef229c00d658316b130c027775f6069f6a7c473de176
2025-09-15 22:23.34 ---> using "4f143e25e7620fadf6d4819085e998cd063e4132d1bf4b7e768f2c9645e2385a" from cache
/: (comment debian-13-4.08_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-15 22:23.34 ---> using "43ec064e3f42ede32eadcb6103eb90c2aa5fe5ca842cc91b1d25af5d96ab1a36" 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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-15 22:23.34 ---> using "841a29021c0cb0b2431db67bb7df9c0d40fdf29cb4a1a3947637664c354118ba" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.08.1
2.4.1
2025-09-15 22:23.34 ---> using "d14cf0dfdde2f370395de335172c0ece77c3abd5f3f345be62462de079ddf56e" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-15 22:23.34 ---> using "d62d4feecdbb5f1ec79c3897ea00eed3e99d38491f7c23375a96056b1bdbd6db" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819
<><> 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-15 22:23.34 ---> using "8332a244711fa38e1588ce6e57c22400fcdfef105a6d19f04d8938bc259ca41e" from cache
/src: (copy (src mirage-flow.opam mirage-flow-unix.opam mirage-flow-combinators.opam)
(dst ./))
2025-09-15 22:23.35 ---> saved as "81da4b9638bda5eac2afa241fd387647de5094e35430615d299daebb7b2e64c9"
/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-15 22:23.39 ---> saved as "4b8f76e351af5a2c53a609cd74d61f5f378a69570ff06f990d50b5aecaacb9fe"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-15 22:23.39 ---> saved as "35f969354f67e6e65a81aef8ed3e1ffbcfbf65c2d97a815481258ab39999e8a1"
/src: (env DEPS "alcotest.1.0.1 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 cmdliner.1.0.4 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.9.3 fmt.0.8.8 jbuilder.1.0+beta20.1 logs.0.7.0 lwt.4.2.0 mirage-mtime.5.0.0 mmap.1.0.2 mtime.2.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 result.1.5 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uuidm.0.9.7")
/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://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main amd64 Packages [40.2 kB]
- Fetched 131 kB in 0s (1288 kB/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-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- Selecting previously unselected package m4.
- (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20622 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
2025-09-15 22:23.49 ---> saved as "f2c93a6ccba5ca9f46f1ebf128c971e8cade4f76b40effb2f077512574139fb3"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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 24 packages
- install alcotest 1.0.1
- install astring 0.8.3
- install base-bytes base
- install bigarray-compat 1.0.0
- install cmdliner 1.0.4
- install conf-m4 1
- install cppo 1.6.1
- install cstruct 6.0.0
- install dune 2.9.3
- install fmt 0.8.8
- install jbuilder 1.0+beta20.1 (deprecated)
- install logs 0.7.0
- install lwt 4.2.0
- install mirage-mtime 5.0.0
- install mmap 1.0.2
- install mtime 2.1.0
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install re 1.7.2
- install result 1.5
- install seq 0.3
- install stdlib-shims 0.1.0
- install topkg 1.0.8
- install uuidm 0.9.7
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.0.1 (cached)
-> retrieved astring.0.8.3 (cached)
-> retrieved bigarray-compat.1.0.0 (cached)
-> installed conf-m4.1
-> retrieved cmdliner.1.0.4 (cached)
-> retrieved cppo.1.6.1 (cached)
-> retrieved cstruct.6.0.0 (cached)
-> retrieved fmt.0.8.8 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.4.2.0 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved dune.2.9.3 (cached)
-> retrieved mirage-mtime.5.0.0 (cached)
-> retrieved mmap.1.0.2 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved re.1.7.2 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.0.3 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved uuidm.0.9.7 (cached)
-> retrieved topkg.1.0.8 (cached)
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed re.1.7.2
-> installed topkg.1.0.8
-> installed dune.2.9.3
-> installed mmap.1.0.2
-> installed seq.0.3
-> installed stdlib-shims.0.1.0
-> installed result.1.5
-> installed bigarray-compat.1.0.0
-> installed uuidm.0.9.7
-> installed cstruct.6.0.0
-> installed mtime.2.1.0
-> installed mirage-mtime.5.0.0
-> installed astring.0.8.3
-> installed fmt.0.8.8
-> installed alcotest.1.0.1
-> installed lwt.4.2.0
-> installed logs.0.7.0
Done.
<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-09-15 22:24.12 ---> saved as "e8195abc8c37c597958e5414f810093c63fd94e6c6f8dbe45ee79cf7fddcc1f5"
/src: (copy (src .) (dst /src))
2025-09-15 22:24.13 ---> saved as "1772c5dd704439bd93d822dc388e9591226268bdcf7e08b7200d8aafa9812e8f"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/re/re.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/emacs/re.emacs.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/glob/re.glob.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/pcre/re.pcre.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/perl/re.perl.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/posix/re.posix.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/str/re.str.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
test alias test/runtest
Testing mirage-flow.
This run has ID `A6455FA4-B34B-4777-9ED7-9C1B7984A801`.
... string 0 input. [OK] string 0 input.
... string 1 output. [OK] string 1 output.
... strings 0 input. [OK] strings 0 input.
... strings 1 output. [OK] strings 1 output.
... cstruct 0 input. [OK] cstruct 0 input.
... cstruct 1 output. [OK] cstruct 1 output.
... cstructs 0 input. [OK] cstructs 0 input.
... cstructs 1 output. [OK] cstructs 1 output.
... lwt-io 0 input. [OK] lwt-io 0 input.
... lwt-io 1 output. [OK] lwt-io 1 output.
The full test results are available in `/src/_build/default/test/_build/_tests/A6455FA4-B34B-4777-9ED7-9C1B7984A801`.
Test Successful in 0.000s. 10 tests run.
2025-09-15 22:24.14 ---> saved as "ed93c13de2bf5e5df66898b0ff92dd1da6b48900e9dd41f4e271354890b1f03e"
Job succeeded
2025-09-15 22:24.14: Job succeeded