2025-06-19 20:41.40: 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-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e
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-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e
# debian-12-4.08_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
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 c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && 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.3 --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-06-19 20:41.40: Using cache hint "mirage/mirage-flow-ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e-debian-12-4.08_opam-2.3-da222b3e7aa65d22041f4cb7b836513b"
2025-06-19 20:41.40: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e)
(comment debian-12-4.08_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(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 c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && 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.3 --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-06-19 20:41.40: Waiting for resource in pool OCluster
2025-06-19 20:49.22: Waiting for worker…
2025-06-19 20:51.19: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at c0efad0 Merge pull request #53 from hannesm/variants
(from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e)
2025-06-19 20:51.20 ---> using "4ea5038d254cfd14663698deb665a2dc4ce1e1383d544c063adebb02ed15ce16" from cache
/: (comment debian-12-4.08_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-19 20:51.20 ---> using "513c9792ce65a5b8ab8e9c5d5d0cb18860fa2e52baa6ff8e91e0f4d91def9aa9" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-19 20:51.20 ---> using "9eb80386bacfd7938f12d25e194913cafb5894d8e3739476ca8ba44c9606ec01" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.08.1
2.3.0
2025-06-19 20:51.20 ---> using "92e2498cc7a78f593d78a8bf54c5bc24658d99052f31b70c33e471d45d365ae6" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-19 20:51.20 ---> using "b6f04723b137dea03fa4030960754640f1ca54b23d9fe8aab83e1e48e2509f1f" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u"))
c7d6d1d2aa Merge pull request #27880 from MisterDA/os-family-fedora
<><> 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, 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-06-19 20:51.20 ---> using "e2f3ee7083e2abd4d888795c66ea3487669c0c3064974593a5483dedf53c721f" from cache
/src: (copy (src mirage-flow.opam mirage-flow-unix.opam mirage-flow-combinators.opam)
(dst ./))
2025-06-19 20:51.20 ---> saved as "8603b2ab5507fa5c2a75386b9d2bb5b72cb2fd5f92848bd3e5526a6e6ec8b39f"
/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-06-19 20:51.29 ---> saved as "3fe8d9714af6de6faa7d6abfecd137e61081c45efa8955cba78296db3d718983"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-19 20:51.30 ---> saved as "6f079102953c54cd9c5db0f013efe7400721d312146b70dc15d1b34c4ee08b18"
/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.3 --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 bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [267 kB]
- Fetched 370 kB in 1s (451 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"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18747 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-06-19 20:51.59 ---> saved as "7f11ef7f4555099746ebc07e1f77fa065390922fa035a3bc89ca5c658e0d2db4"
/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 bigarray-compat.1.0.0 (cached)
-> retrieved astring.0.8.3 (cached)
-> retrieved cmdliner.1.0.4 (cached)
-> retrieved cppo.1.6.1 (cached)
-> installed conf-m4.1
-> retrieved cstruct.6.0.0 (cached)
-> retrieved fmt.0.8.8 (cached)
-> retrieved alcotest.1.0.1 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.4.2.0 (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 uuidm.0.9.7
-> installed mtime.2.1.0
-> installed dune.2.9.3
-> installed astring.0.8.3
-> installed seq.0.3
-> installed mmap.1.0.2
-> installed mirage-mtime.5.0.0
-> installed result.1.5
-> installed bigarray-compat.1.0.0
-> installed stdlib-shims.0.1.0
-> installed cstruct.6.0.0
-> 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-06-19 20:52.57 ---> saved as "d99d4760bd7523caf7008b573104fbf8b831d7bf33f039b52e9ca91357ef416e"
/src: (copy (src .) (dst /src))
2025-06-19 20:52.58 ---> saved as "8a8b7a32857b9999b518b949e801b10675d8745e3f0ea2743bb548635841d455"
/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 `3E00BF30-0370-4351-B423-5EE235C76461`.
... 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/3E00BF30-0370-4351-B423-5EE235C76461`.
Test Successful in 0.000s. 10 tests run.
2025-06-19 20:52.59 ---> saved as "2e581a40723b7507430b26e254770d8627c429ac1ddabf172262de89ac751726"
Job succeeded
2025-06-19 20:52.59: Job succeeded