2025-07-25 21:34.25: New job: test robur-coop/dnsvizor https://github.com/robur-coop/dnsvizor.git#refs/heads/main (78125e005b39c51f05533f76a4aff88dc88a9721) (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 78125e00
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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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-25 21:34.25: 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-25 21:34.25: 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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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-25 21:34.25: Waiting for resource in pool OCluster
2025-07-25 22:41.12: Waiting for worker…
2025-07-25 22:45.46: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 78125e0 Merge pull request #51 from robur-coop/metrics-enable-selectively
(from ocaml/opam:debian-12-ocaml-4.14@sha256:c6be259c46804c28d1ccfbd47cbf029fd268a15e34370c4a6c99614ec89cb262)
2025-07-25 22:45.46 ---> 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-25 22:45.46 ---> 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.
Continue? [y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-25 22:45.46 ---> 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-25 22:45.46 ---> using "05a0644eb14e8c5a06a844b9a6916410399236c04618a616a6b9bc145dda47c8" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-25 22:45.46 ---> 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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
0094db1438..b8021439f8 master -> origin/master
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
The following actions will be performed:
=== recompile 2 packages
- recompile ocaml 4.14.2 [upstream or system changes]
- recompile opam-depext 1.2.3 [uses ocaml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3 (cached)
-> removed opam-depext.1.2.3
-> removed ocaml.4.14.2
-> installed ocaml.4.14.2
-> installed opam-depext.1.2.3
Done.
<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2025-07-25 22:45.46 ---> using "d10b370cc516ff2cea16e06cb39034c6ec9588da616217a85414144c7dbd1e65" from cache
/src: (copy (src dnsvizor.opam) (dst ./))
2025-07-25 22:45.46 ---> using "d350bb1b33c9384a49a374044b93082a25618b4507a891a249b56c94f3ea4e7e" from cache
/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-25 22:45.46 ---> using "a6ae99fec8e6e2d41a357149d47873707b3333d1ff91c3e41303a3dfc7edd822" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-25 22:45.46 ---> using "afcfe89d8e3a40df08c56f0f2b96785469397aa8f6db6c2c6118ea1480154db9" from cache
/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 1s (350 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-25 22:45.49 ---> saved as "44cace1b2967486ffd0754d065315bd021a0651971c5e341a22a13450eb5a325"
/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 angstrom.0.14.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved bigstringaf.0.1.0 (cached)
-> retrieved domain-name.0.3.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cmdliner.1.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 ocamlfind.1.9.1 (cached)
-> retrieved dune.3.5.0 (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 result.1.5
-> installed domain-name.0.3.0
-> installed ohex.0.2.0
-> installed stdlib-shims.0.1.0
-> 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-25 22:47.14 ---> saved as "388194db1f515647c1f977b4599a8941e9ae5db34ae172810c5eca170f45e65d"
/src: (copy (src .) (dst /src))
2025-07-25 22:47.15 ---> saved as "414e4e6942662da768ebf98e6768a4fa3c45611d1c11b893dd770d4d9f037ade"
/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 `0V2A6ROJ'.
[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-25 22:47.19 ---> saved as "ee07a4cf4f5f425648a6f92d9dad5b58640116c25c67f7c074aaf2e80bc70783"
Job succeeded
2025-07-25 22:47.19: Job succeeded