2025-07-04 16:44.15: New job: test robur-coop/dnsvizor https://github.com/robur-coop/dnsvizor.git#refs/heads/main (31679da25072e44f9614eafa188a82f3b2f3e7a7) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/robur-coop/dnsvizor.git" -b "main" && cd "dnsvizor" && git reset --hard 31679da2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
# 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-04 16:44.15: Using cache hint "robur-coop/dnsvizor-ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1-debian-12-4.14_opam-2.3-419c0e1ddb90690983c97c19c1490b62"
2025-07-04 16:44.15: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1)
(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-04 16:44.15: Waiting for resource in pool OCluster
2025-07-04 16:44.15: Waiting for worker…
2025-07-04 16:44.35: Got resource from pool OCluster
Building on clete.caelum.ci.dev
HEAD is now at 28c2c7c formatted code
HEAD is now at 31679da Merge pull request #47 from robur-coop/apply-config
(from ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1)
2025-07-04 16:44.36 ---> using "e0b6b42c8d38d9348dfef46f8898d95202a2f66c4a54682abc09332d121e9399" 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-04 16:44.36 ---> using "087e08b165a4c96e5651843463842a95f76d0840a59aa7a384c29ebd289028aa" 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-04 16:44.36 ---> using "1fc90f758c2a9c5a702116c42b73f4d00ed4c97867bb8f33e39732c915533175" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-04 16:44.36 ---> using "907d9d16d8ee77c0c5555113122dd0c6e70daaa557fdf4c491949956707acf69" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-04 16:44.36 ---> using "2d576fc7dcae21eaff29797780d6d1b4d59f570977e957d814c1084a3ed8a1f4" 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"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
c7269f729a..ee56c84f60 master -> origin/master
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-04 16:46.03 ---> saved as "1e488d417b4b3e4edbb0cfe2b514210096861de54d5e2eb11d875e3ebab1b798"
/src: (copy (src dnsvizor.opam) (dst ./))
2025-07-04 16:46.03 ---> saved as "1799898ae511cac21c1201654760c0b53c69c8da4ac822f8bb32f68d35e6f99e"
/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-04 16:46.07 ---> saved as "b9348093dab0e71082d5d459b8386cff078926f8341bd257c54f8d206eb02662"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-04 16:46.07 ---> saved as "dd3c6dd502ed29e2fa915ecd27016c974d966e3fc8a6a1c73d84c42302a07c1b"
/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 [271 kB]
- Fetched 374 kB in 1s (366 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-04 16:46.28 ---> saved as "3fc06df7402289b6c6f32c4505435bbce67fd8f2581af58835a91e29641811c9"
/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 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 ocamlfind.1.9.1 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved dune.3.5.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 topkg.1.0.8
-> installed re.1.7.2
-> 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 domain-name.0.3.0
-> installed stdlib-shims.0.1.0
-> installed macaddr.5.6.0
-> installed result.1.5
-> 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-04 16:47.34 ---> saved as "a048e8c0a46bef0494c151e8b3f3fbd5f78bb01f5edb2ab30e3efde2c33058b4"
/src: (copy (src .) (dst /src))
2025-07-04 16:47.34 ---> saved as "bbbc4b5fd8c01a839b29cd90277db6f04f7f8f5d361bfe4e9d50ac1940bfcfaf"
/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 `OBT1WTUR'.
[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.003s. 20 tests run.
2025-07-04 16:47.36 ---> saved as "72b2b8d2129c8e0277c23f2dcfcc3b7bc936c7f430e9b2424ff2a834dabb2f90"
Job succeeded
2025-07-04 16:47.36: Job succeeded