2025-07-24 09:02.09: New job: test robur-coop/dnsvizor https://github.com/robur-coop/dnsvizor.git#refs/heads/main (e80619761996192c16c749ba5234a116a6556e0b) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:c6be259c46804c28d1ccfbd47cbf029fd268a15e34370c4a6c99614ec89cb262
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/robur-coop/dnsvizor.git" -b "main" && cd "dnsvizor" && git reset --hard e8061976
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:c6be259c46804c28d1ccfbd47cbf029fd268a15e34370c4a6c99614ec89cb262
# debian-12-4.14_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 48010ffa790be06f04234994c933fa3f7254b6cc || git fetch origin master) && git reset -q --hard 48010ffa790be06f04234994c933fa3f7254b6cc && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dnsvizor.opam ./
RUN opam pin add -yn dnsvizor.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.8.0 angstrom.0.14.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.1.0 cmdliner.1.3.0 domain-name.0.3.0 dune.3.5.0 fmt.0.9.0 ipaddr.5.6.0 jbuilder.1.0+beta20.1 logs.0.7.0 macaddr.5.6.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.14.0 ocamlfind.1.9.1 ohex.0.2.0 re.1.7.2 result.1.5 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y dnsvizor.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-07-24 09:02.09: Using cache hint "robur-coop/dnsvizor-ocaml/opam:debian-12-ocaml-4.14@sha256:c6be259c46804c28d1ccfbd47cbf029fd268a15e34370c4a6c99614ec89cb262-debian-12-4.14_opam-2.3-419c0e1ddb90690983c97c19c1490b62"
2025-07-24 09:02.09: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:c6be259c46804c28d1ccfbd47cbf029fd268a15e34370c4a6c99614ec89cb262)
(comment debian-12-4.14_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 48010ffa790be06f04234994c933fa3f7254b6cc || git fetch origin master) && git reset -q --hard 48010ffa790be06f04234994c933fa3f7254b6cc && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dnsvizor.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn dnsvizor.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.8.0 angstrom.0.14.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.1.0 cmdliner.1.3.0 domain-name.0.3.0 dune.3.5.0 fmt.0.9.0 ipaddr.5.6.0 jbuilder.1.0+beta20.1 logs.0.7.0 macaddr.5.6.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.14.0 ocamlfind.1.9.1 ohex.0.2.0 re.1.7.2 result.1.5 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3")
(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 dnsvizor.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-07-24 09:02.09: Waiting for resource in pool OCluster
2025-07-24 09:02.09: Waiting for worker…
2025-07-24 09:02.09: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at e806197 Merge pull request #45 from robur-coop/trie_cache_entries
(from ocaml/opam:debian-12-ocaml-4.14@sha256:c6be259c46804c28d1ccfbd47cbf029fd268a15e34370c4a6c99614ec89cb262)
2025-07-24 09:02.10 ---> using "1232354ce5000c5b6a3cf7d09d24132c6d8516637871c052f1012d5f41e2bb4b" from cache
/: (comment debian-12-4.14_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-07-24 09:02.10 ---> using "25003ff837e3375c0d9c1be3e241cdc285baa8828fd8bb11b2c3f35bf5068091" 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-07-24 09:02.10 ---> using "594a044e5842e1201487bb185a3faf7f0f7d26ce20a1faa323b99a4cb703865b" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-63-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-24 09:02.10 ---> using "05a0644eb14e8c5a06a844b9a6916410399236c04618a616a6b9bc145dda47c8" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-24 09:02.10 ---> using "2c6663006660455299474fd9494030451864393c748e7e0a589c84d4d9ef7d1d" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 48010ffa790be06f04234994c933fa3f7254b6cc || git fetch origin master) && git reset -q --hard 48010ffa790be06f04234994c933fa3f7254b6cc && git log --no-decorate -n1 --oneline && opam update -u"))
48010ffa79 Restrict non-working ocaml version for dune (#28092)
<><> 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-07-24 09:02.28 ---> saved as "31e6c764a68e9042c12c9cb7884dafe31d061d37e010b0db4efc1aa3a80370c1"
/src: (copy (src dnsvizor.opam) (dst ./))
2025-07-24 09:02.28 ---> saved as "d7b7b81f8c3d9d9ae100bbfd564be68f6627f1036d0b778ac6879ff0458d92ba"
/src: (run (network host)
(shell "opam pin add -yn dnsvizor.dev './'"))
Package dnsvizor does not exist, create as a NEW package? [y/n] y
[dnsvizor.dev] synchronised (file:///src)
dnsvizor is now pinned to file:///src (version dev)
2025-07-24 09:02.29 ---> saved as "ee28571082d658a44133fa3bb2023875678e8f98116b025f12ad5815e4f89713"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-24 09:02.30 ---> saved as "4b1ddbc0d6e314f53cf482de5c1c8afee3024e1cab4349bef3dd002a82e01528"
/src: (env DEPS "alcotest.1.8.0 angstrom.0.14.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.1.0 cmdliner.1.3.0 domain-name.0.3.0 dune.3.5.0 fmt.0.9.0 ipaddr.5.6.0 jbuilder.1.0+beta20.1 logs.0.7.0 macaddr.5.6.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.14.0 ocamlfind.1.9.1 ohex.0.2.0 re.1.7.2 result.1.5 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3")
/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 dnsvizor.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 [272 kB]
- Fetched 375 kB in 0s (971 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dnsvizor.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-07-24 09:02.39 ---> saved as "cf2471db13ef1a57c93016c96407cc83497e034e9d906656e83e52875752d2dc"
/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 22 packages
- install alcotest 1.8.0
- install angstrom 0.14.0
- install astring 0.8.5
- install base-bytes base
- install bigstringaf 0.1.0
- install cmdliner 1.3.0
- install domain-name 0.3.0
- install dune 3.5.0
- install fmt 0.9.0
- install ipaddr 5.6.0
- install jbuilder 1.0+beta20.1 (deprecated)
- install logs 0.7.0
- install macaddr 5.6.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.14.0
- install ocamlfind 1.9.1
- install ohex 0.2.0
- install re 1.7.2
- install result 1.5
- install stdlib-shims 0.1.0
- install topkg 1.0.8
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved bigstringaf.0.1.0 (cached)
-> retrieved angstrom.0.14.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved domain-name.0.3.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved dune.3.5.0 (cached)
-> retrieved ocamlfind.1.9.1 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved re.1.7.2 (cached)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.8 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed bigstringaf.0.1.0
-> installed re.1.7.2
-> installed topkg.1.0.8
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.5.0
-> installed ohex.0.2.0
-> installed stdlib-shims.0.1.0
-> installed domain-name.0.3.0
-> installed result.1.5
-> installed macaddr.5.6.0
-> installed angstrom.0.14.0
-> installed ipaddr.5.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed alcotest.1.8.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-07-24 09:03.09 ---> saved as "4dc9e795d3ccb6f07e3a132b67c16669e37b977541d4a03dbfd5cbcfa5d02688"
/src: (copy (src .) (dst /src))
2025-07-24 09:03.09 ---> saved as "b63844c813075167da4fc1e1c68b51ab045170b9ecc5ceeab33b925b9edd7958"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.14/lib/bigstringaf/bigstringaf.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.14/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.14/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.14/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.14/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.14/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.14/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.14/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.
(cd _build/default/test && ./config_tests.exe)
Testing `DNSvizor tests'.
This run has ID `MSFADK0D'.
[OK] Config tests 0 DHCP range.
[OK] Config tests 1 DHCP range with netmask.
[OK] Config tests 2 DHCP range static.
[OK] Config tests 3 DHCP host thedoctor.
[OK] Config tests 4 DHCP host tardis.
[OK] Config tests 5 DHCP host sonicscrewdri...
[OK] Config tests 6 DHCP host apollon.
[OK] Config tests 7 First dhcp-host from dn...
[OK] Config tests 8 Second dhcp-host from d...
[OK] Config tests 9 Third dhcp-host from dn...
[OK] Config tests 10 Fourth dhcp-host from d...
[OK] Config tests 11 Fifth dhcp-host from dn...
[OK] Config tests 12 Sixth dhcp-host from dn...
[OK] Config tests 13 Eigth dhcp-host from dn...
[OK] Config tests 14 Ninth dhcp-host from dn...
[OK] Config tests 15 Tenth dhcp-host from dn...
[OK] Config tests 16 Eleventh dhcp-host from...
[OK] Config tests 17 Twelvth dhcp-host from ...
[OK] Configuration file tests 0 First example.
[OK] Configuration file tests 1 White space and comments.
Full test results in `/src/_build/default/test/_build/_tests/DNSvizor tests'.
Test Successful in 0.004s. 20 tests run.
2025-07-24 09:03.10 ---> saved as "9506f28e046862a8998a9862fe0d0cf7c14508255aa239f3f55ff16d2e7c10df"
Job succeeded
2025-07-24 09:03.10: Job succeeded