2024-12-19 22:53.42: New job: test mirage/mirage-flow https://github.com/mirage/mirage-flow.git#refs/heads/main (e69813887e494b82e04909eeafb2f996d7e6f263) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/mirage-flow.git" -b "main" && cd "mirage-flow" && git reset --hard e6981388
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679
# 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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && 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.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 cmdliner.1.0.0 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.0.1 fmt.0.8.7 jbuilder.1.0+beta20.1 logs.0.6.2 lwt.4.2.0 mirage-clock.3.0.1 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 result.1.0 seq.0.2.2 stdlib-shims.0.1.0 topkg.0.9.0"
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
2024-12-19 22:53.42: Using cache hint "mirage/mirage-flow-ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679-debian-12-4.08_opam-2.3-f11d3ac29a247fdd99cb34abc648c75e"
2024-12-19 22:53.42: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679)
(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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && 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.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 cmdliner.1.0.0 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.0.1 fmt.0.8.7 jbuilder.1.0+beta20.1 logs.0.6.2 lwt.4.2.0 mirage-clock.3.0.1 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 result.1.0 seq.0.2.2 stdlib-shims.0.1.0 topkg.0.9.0")
(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"))
)
2024-12-19 22:53.42: Waiting for resource in pool OCluster
2024-12-20 19:13.18: Waiting for worker…
2024-12-20 19:15.52: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
All commits already cached
HEAD is now at e698138 changes for 4.0.2
(from ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679)
2024-12-20 19:15.53 ---> using "2c99520034ba7d2c12a0edb456b31a2f404e9da547f96b39b3b43810eae7bc5d" 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"))
2024-12-20 19:15.53 ---> using "9c7d267f7e92517e2e7ab4d7fc448d8fbbb94cc38a5840599e10f31251e4deb4" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-12-20 19:15.53 ---> using "a85c677794c09ff23dc8acdf20aecfae513f7cc60a85d118c52f015fe321d43e" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.08.1
2.3.0
2024-12-20 19:15.53 ---> using "9c1e00b937b2e38fda6057914a79238c0808f3fdb6f52e94d95390dfae7f0a0c" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-20 19:15.53 ---> using "f584b3496481aecc521427cb7cbbdf8e119e34cd57b7f7ce22a6b3fcf867f9d5" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
28daeff6f3 Merge pull request #26814 from mtelvers/m4
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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)
2024-12-20 19:15.53 ---> using "2713730617c9120ead27e84101e14faee045a0a1c67f1bc7ba7c87a3ef1162e9" from cache
/src: (copy (src mirage-flow.opam mirage-flow-unix.opam mirage-flow-combinators.opam)
(dst ./))
2024-12-20 19:15.53 ---> saved as "6d489801e948fde1dff998d64f5089ba337854a187b4d94158816aa5f327f0ae"
/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)
2024-12-20 19:15.59 ---> saved as "754d789907df844cbbca9f223fdfa1880a45cb9643f104ecd1aa457145cdba15"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-20 19:15.59 ---> saved as "d71648f7cb7a49ddbdaa867b016c244d5400804edce97d250e30c99bb375089f"
/src: (env DEPS "alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 cmdliner.1.0.0 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.0.1 fmt.0.8.7 jbuilder.1.0+beta20.1 logs.0.6.2 lwt.4.2.0 mirage-clock.3.0.1 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 result.1.0 seq.0.2.2 stdlib-shims.0.1.0 topkg.0.9.0")
/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 [236 kB]
- Fetched 339 kB in 1s (552 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 ... 18745 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) ...
2024-12-20 19:16.31 ---> saved as "610447f244f36e29376f3a7e65f4bbc70479c76aafbc9e7cb01364dcfe2e449a"
/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 21 packages
- install alcotest 0.8.0
- install astring 0.8.2
- install base-bytes base
- install bigarray-compat 1.0.0
- install cmdliner 1.0.0
- install conf-m4 1
- install cppo 1.6.1
- install cstruct 6.0.0
- install dune 2.0.1
- install fmt 0.8.7
- install jbuilder 1.0+beta20.1
- install logs 0.6.2
- install lwt 4.2.0
- install mirage-clock 3.0.1
- install mmap 1.0.2
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install result 1.0
- install seq 0.2.2
- install stdlib-shims 0.1.0
- install topkg 0.9.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.0.8.0 (cached)
-> retrieved astring.0.8.2 (cached)
-> retrieved bigarray-compat.1.0.0 (cached)
-> retrieved cmdliner.1.0.0 (cached)
-> retrieved cppo.1.6.1 (cached)
-> installed conf-m4.1
-> retrieved cstruct.6.0.0 (cached)
-> retrieved fmt.0.8.7 (cached)
-> retrieved logs.0.6.2 (cached)
-> retrieved lwt.4.2.0 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved dune.2.0.1 (cached)
-> retrieved mirage-clock.3.0.1 (cached)
-> retrieved mmap.1.0.2 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved result.1.0 (cached)
-> retrieved seq.0.2.2 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved topkg.0.9.0 (cached)
-> installed result.1.0
-> 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 dune.2.0.1
-> installed mmap.1.0.2
-> installed mirage-clock.3.0.1
-> installed bigarray-compat.1.0.0
-> installed stdlib-shims.0.1.0
-> installed seq.0.2.2
-> installed cstruct.6.0.0
-> installed topkg.0.9.0
-> installed astring.0.8.2
-> installed cmdliner.1.0.0
-> installed lwt.4.2.0
-> installed fmt.0.8.7
-> installed alcotest.0.8.0
-> installed logs.0.6.2
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-20 19:17.35 ---> saved as "ceea8718cc3c8bdf0f93eb8a60ee9ba458e704c3686435361c2b6805a05396bb"
/src: (copy (src .) (dst /src))
2024-12-20 19:17.35 ---> saved as "0b90e5361ee8cc84e71903071164e5ac56c20021aed04c8c737b3760b9ca6e3a"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/alcotest/alcotest.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
tput: No value for $TERM and no -T specified
stty: 'standard input': Inappropriate ioctl for device
Testing mirage-flow.
... 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 `_build/_tests`.
Test Successful in 0.001s. 10 tests run.
2024-12-20 19:17.36 ---> saved as "d7bdb87a9ebc266a9969cc02ef98d72f24f5d469049ba8b75fe8740477bca37c"
Job succeeded
2024-12-20 19:17.37: Job succeeded