2025-03-06 14:59.48: New job: test robur-coop/dnsvizor https://github.com/robur-coop/dnsvizor.git#refs/heads/main (ddb88b44c7376feaef5839cb9d92a7104afc5d55) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/robur-coop/dnsvizor.git" -b "main" && cd "dnsvizor" && git reset --hard ddb88b44
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
# 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 cdcd3e0d180f63457ffc49f711b093d6b9523894 || git fetch origin master) && git reset -q --hard cdcd3e0d180f63457ffc49f711b093d6b9523894 && 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.2.0 domain-name.0.3.0 dune.3.0.2 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.3 uchar.0.0.2 uutf.1.0.1"
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-03-06 14:59.48: Using cache hint "robur-coop/dnsvizor-ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098-debian-12-4.14_opam-2.3-7faaf5f221ec8d5f56989fc26a7f8c23"
2025-03-06 14:59.48: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
(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 cdcd3e0d180f63457ffc49f711b093d6b9523894 || git fetch origin master) && git reset -q --hard cdcd3e0d180f63457ffc49f711b093d6b9523894 && 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.2.0 domain-name.0.3.0 dune.3.0.2 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.3 uchar.0.0.2 uutf.1.0.1")
(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-03-06 14:59.48: Waiting for resource in pool OCluster
2025-03-06 16:59.54: Waiting for worker…
2025-03-06 16:59.54: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/dnsvizor.git-1d92fdd1ee42920df0fa5dd5dcb414c45c61fdb0/.git/
HEAD is now at ddb88b4 Parse --dhcp-host (#24)
(from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098' locally
docker.io/ocaml/opam@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098: Pulling from ocaml/opam
abf49717bc35: Pulling fs layer
abf49717bc35: Download complete
abf49717bc35: Pull complete
Digest: sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
Status: Downloaded newer image for ocaml/opam@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
2025-03-06 16:59.55 ---> using "fd8c1dcac8c3a6cd3ee8edd679de5f3384de62d6f587d449e00238111470ab75" 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-03-06 16:59.55 ---> using "de47a80829174b96ecc55e5aa5c48b21162bcdcc9d09651e27d103ea9cfd06c8" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-06 16:59.55 ---> using "666b9634e6fcf4c22cc0fae2fecb2f79b9404975453b221efa9a2ed7f04a10d6" 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-03-06 16:59.55 ---> using "3c364749e3d90cc79494b6fe167f04d46c3f9c16044620efc072b1c4dc563758" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-06 16:59.55 ---> using "06370703ea7514d3b2a452b602d6b963cc28a7a73faf50c2c02db393c46869a1" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cdcd3e0d180f63457ffc49f711b093d6b9523894 || git fetch origin master) && git reset -q --hard cdcd3e0d180f63457ffc49f711b093d6b9523894 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
94514fa0d0..8707d628f2 master -> origin/master
cdcd3e0d18 Merge pull request #27560 from hannesm/maint-intent-mirage
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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)
2025-03-06 17:01.02 ---> saved as "fa61f7bbaa247d0de9eed6740dafe341e68b4c33de873bd7bd2a7ce4e7aab1e6"
/src: (copy (src dnsvizor.opam) (dst ./))
2025-03-06 17:01.02 ---> saved as "5068f35e1e3871031f33718bf2d002276029f1d185911963c5b9cea0c067d148"
/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-03-06 17:01.04 ---> saved as "4f6684cfc5a44f96a6747557f04f077e077a1c58792a7b2e8a7509b925bc7ef7"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-06 17:01.04 ---> saved as "91ecd20e454d38558288175cdc96cfdac19c0fea6cc480499020840aaf36060f"
/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.2.0 domain-name.0.3.0 dune.3.0.2 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.3 uchar.0.0.2 uutf.1.0.1")
/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 [246 kB]
- Fetched 349 kB in 0s (1417 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-03-06 17:01.26 ---> saved as "d0faab64018f1238a959142378c955756826bb292c392f15659f4eddadba0d68"
/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 23 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.2.0
- install domain-name 0.3.0
- install dune 3.0.2
- 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.3
- install uchar 0.0.2
- install uutf 1.0.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cmdliner.1.2.0 (https://erratique.ch/software/cmdliner/releases/cmdliner-1.2.0.tbz)
-> retrieved domain-name.0.3.0 (cached)
-> retrieved bigstringaf.0.1.0 (https://github.com/inhabitedtype/bigstringaf/archive/0.1.0.tar.gz)
-> retrieved fmt.0.9.0 (cached)
-> retrieved angstrom.0.14.0 (https://github.com/inhabitedtype/angstrom/archive/0.14.0.tar.gz)
-> 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 jbuilder.1.0+beta20.1 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved ocamlfind.1.9.1 (http://download.camlcity.org/download/findlib-1.9.1.tar.gz)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved topkg.1.0.3 (cached)
-> retrieved uchar.0.0.2 (cached)
-> retrieved uutf.1.0.1 (http://erratique.ch/software/uutf/releases/uutf-1.0.1.tbz)
-> retrieved dune.3.0.2 (https://github.com/ocaml/dune/releases/download/3.0.2/fiber-3.0.2.tbz)
-> retrieved re.1.7.2 (https://github.com/ocaml/ocaml-re/releases/download/1.7.2/re-1.7.2.tbz)
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed uchar.0.0.2
-> installed jbuilder.1.0+beta20.1
-> installed bigstringaf.0.1.0
-> installed re.1.7.2
-> installed topkg.1.0.3
-> installed uutf.1.0.1
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.0.2
-> installed ohex.0.2.0
-> installed domain-name.0.3.0
-> installed result.1.5
-> installed macaddr.5.6.0
-> installed stdlib-shims.0.1.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-03-06 17:02.03 ---> saved as "68a222cec9931995318a27841a8b04c463b52ef6b715c383e93ca79b26ba0d8a"
/src: (copy (src .) (dst /src))
2025-03-06 17:02.03 ---> saved as "ed24ef9820bc29d670ed6318d511d202bb085c46f6da6e8a9ee2f3560783ccee"
/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 `RTXXWAWX'.
[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.002s. 20 tests run.
2025-03-06 17:02.04 ---> saved as "86df65c5646e566f181dbd53414193c3348163b34a0a98d2dacf4ba9d0852a97"
Job succeeded
2025-03-06 17:02.05: Job succeeded