Organisationsrobur-coopdnsvizor78125e ()debian-12-4.14+flambda_opam-2.3

debian-12-4.14+flambda_opam-2.3

Link Copied
Code Copied

Logs

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:debian-12-4.14+flambda_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:81ddf31dafd34a35d77af3e74bf300b2d6563a3ab097f321927dcbd51cf9fc0c
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-flambda@sha256:81ddf31dafd34a35d77af3e74bf300b2d6563a3ab097f321927dcbd51cf9fc0c
# debian-12-4.14+flambda_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.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 csexp.1.5.2 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 ipaddr.5.6.0 logs.0.9.0 macaddr.5.6.0 ocaml.4.14.2 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4"
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-flambda@sha256:81ddf31dafd34a35d77af3e74bf300b2d6563a3ab097f321927dcbd51cf9fc0c-debian-12-4.14+flambda_opam-2.3-5a2b234578cfcb4abbfb405732b9b72e"
2025-07-25 21:34.25: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:81ddf31dafd34a35d77af3e74bf300b2d6563a3ab097f321927dcbd51cf9fc0c)
(comment debian-12-4.14+flambda_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.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 csexp.1.5.2 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 ipaddr.5.6.0 logs.0.9.0 macaddr.5.6.0 ocaml.4.14.2 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4")
(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:44.41: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
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-flambda@sha256:81ddf31dafd34a35d77af3e74bf300b2d6563a3ab097f321927dcbd51cf9fc0c)
2025-07-25 22:44.41 ---> using "49d096e039a31bf1290b5caeeb3709dceeae4f9c0f40f1b115c34377b98f5510" from cache


/: (comment debian-12-4.14+flambda_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:44.41 ---> using "3351dafe7836e7f960c6e2ac648e0f88ae54e1021af1c6b0453ff889cf9d2e0a" 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 71 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=71 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-25 22:44.41 ---> using "295ee5e26fe1a7f3b667056021cde25094f6688dc9c5597c84636921b76ef0df" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-25 22:44.41 ---> using "6d7d8ad57e0880d5697ac0069154bdaea22992408260959fc32b04394a55e834" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-25 22:44.41 ---> using "7795c17cafe1f35347ad68b197a275300531f87a02e1ef9e242245ec6ecdf5e7" 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:44.41 ---> using "1c78bce2faafa415be903e94bde13fd2240f5c7f554d762e149b78b1b3b394bc" from cache


/src: (copy (src dnsvizor.opam) (dst ./))
2025-07-25 22:44.42 ---> saved as "c5c471ce7143345086b0c5a22a812477e86825a23bfd6e9bc1ffb5889b03e73b"


/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:44.43 ---> saved as "b085253c2d42514a3cbde9f4e8501a07a848b04ed82f6daec36af3ee3292ffa7"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-25 22:44.43 ---> saved as "3499f34c79a90edc75582643ce10b632e8255494939233a4fc0061631a6e0db3"


/src: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 csexp.1.5.2 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 ipaddr.5.6.0 logs.0.9.0 macaddr.5.6.0 ocaml.4.14.2 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4")


/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 (1495 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dnsvizor.dev] synchronised (file:///src)


[NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 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:44.50 ---> saved as "e35cf991e65a020d0c9f0cf1fa30bb745bda2cad081116a55cd6bf601a16ec1f"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 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.9.0
- install angstrom           0.16.1
- install astring            0.8.5
- install bigstringaf        0.10.0
- install cmdliner           1.3.0
- install csexp              1.5.2
- install domain-name        0.4.1
- install dune               3.19.1
- install dune-configurator  3.19.1
- install fmt                0.10.0
- install ipaddr             5.6.0
- install logs               0.9.0
- install macaddr            5.6.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install ohex               0.2.0
- install re                 1.13.2
- install seq                base
- install stdlib-shims       0.3.0
- install topkg              1.1.0
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.13.2  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed logs.0.9.0
-> installed dune.3.19.1
-> installed ohex.0.2.0
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed domain-name.0.4.1
-> installed macaddr.5.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.13.2
-> installed ipaddr.5.6.0
-> installed alcotest.1.9.0
-> installed dune-configurator.3.19.1
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-25 22:45.26 ---> saved as "5ea9d25eab0e970e32fac25ac0955ebaf2243d4ba09071d996a523b3b8dd54b1"


/src: (copy (src .) (dst /src))
2025-07-25 22:45.26 ---> saved as "a6eda923b336547fa0ea51bea1a1730fb0a8cab7fa4dd62f7bc8089e38fc371c"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./config_tests.exe)
Testing `DNSvizor tests'.
This run has ID `W3A7EP4E'.


[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.001s. 20 tests run.
2025-07-25 22:45.27 ---> saved as "2d1a94c8bfdfbe67dc93116fde20ae547014bfd3afc073e61e0af0575fa71e0d"
Job succeeded
2025-07-25 22:45.27: Job succeeded