Organisationsrobur-coopdnsvizorddb88b ()debian-12-5.0_opam-2.3

debian-12-5.0_opam-2.3

Link Copied
Code Copied

Logs

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:debian-12-5.0_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463
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-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463
# debian-12-5.0_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.16.1 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.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.17.2 dune-configurator.3.17.2 fmt.0.9.0 ipaddr.5.6.0 logs.0.7.0 macaddr.5.6.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 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-03-06 14:59.48: Using cache hint "robur-coop/dnsvizor-ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463-debian-12-5.0_opam-2.3-8b958bc95082471d4aa52dcc46eb40d0"
2025-03-06 14:59.48: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463)
(comment debian-12-5.0_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.16.1 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.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.17.2 dune-configurator.3.17.2 fmt.0.9.0 ipaddr.5.6.0 logs.0.7.0 macaddr.5.6.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 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-03-06 14:59.48: Waiting for resource in pool OCluster
2025-03-06 16:59.49: Waiting for worker…
2025-03-06 16:59.49: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
HEAD is now at ddb88b4 Parse --dhcp-host (#24)


(from ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463' locally
docker.io/ocaml/opam@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463: Pulling from ocaml/opam
8818dbb6ead8: Pulling fs layer
8818dbb6ead8: Verifying Checksum
8818dbb6ead8: Download complete
8818dbb6ead8: Pull complete
Digest: sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463
Status: Downloaded newer image for ocaml/opam@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463
2025-03-06 16:59.49 ---> using "c1ce6044a10861c2208f8129df92060b6dd533392c6b8377391b3dabc3a3cff1" from cache


/: (comment debian-12-5.0_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.49 ---> using "427531f9671709a727e0146bd4b82a018c9c3ffc6afdc56a310740c53312de42" 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.49 ---> using "43b104b31ac9d4aa37c308fc997e0dce240063417e48bad9c0abd3e452298ad4" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.0.0
2.3.0
2025-03-06 16:59.49 ---> using "c1d4cc00db30489fd5ed20bb50816975ae428e71225f506cb18ad91725cd19d1" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-06 16:59.49 ---> using "9be7f20bc0e9a27671921f8697c06e0546066132f9a43365ed5d9734a8f84f14" 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:00.48 ---> saved as "4ac3d1bdc268b6f3363c8bfba87066ac92ae8f6ad81c011b5c033879439d731d"


/src: (copy (src dnsvizor.opam) (dst ./))
2025-03-06 17:00.48 ---> saved as "e0060c8bf66ed55a3af867370ae8ce656bd82dc641e9c99ea09cf4fa8ae11cb5"


/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:00.50 ---> saved as "34a9169b4f21826420e045ec394e453d0324b46a668cd0254cade9d4ec73bb4b"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-06 17:00.50 ---> saved as "c1ba465eb343bae368ec04c4cc2a877ee5e1bbaad73e875ed5a6d6c1bc3d17b1"


/src: (env DEPS "alcotest.1.8.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.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.17.2 dune-configurator.3.17.2 fmt.0.9.0 ipaddr.5.6.0 logs.0.7.0 macaddr.5.6.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 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 [246 kB]
- Fetched 349 kB in 0s (1232 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-03-06 17:01.08 ---> saved as "aa578debc5bdf576494bcfb0488c5aed71793dab9d6502550603a64ffb131ac1"


/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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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.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.17.2
- install dune-configurator  3.17.2
- install fmt                0.9.0
- install ipaddr             5.6.0
- install logs               0.7.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.12.0
- install seq                base
- install stdlib-shims       0.3.0
- install topkg              1.0.7
- install uutf               1.0.3


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved alcotest.1.8.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-name.0.4.1  (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.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.12.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.17.2
-> installed csexp.1.5.2
-> installed domain-name.0.4.1
-> installed macaddr.5.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ohex.0.2.0
-> installed re.1.12.0
-> installed stdlib-shims.0.3.0
-> installed ipaddr.5.6.0
-> installed alcotest.1.8.0
-> installed dune-configurator.3.17.2
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-06 17:02.30 ---> saved as "37a0dc8c00c2c4e4522b1e5343d2abaef670f7a82d64d9be5db38ea44781099c"


/src: (copy (src .) (dst /src))
2025-03-06 17:02.30 ---> saved as "509fdb64938f60dede8a84b12eb2a7a688b23d4401b4a00d79898fb94ce1762a"


/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 `OL0QJNIR'.


[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-03-06 17:02.31 ---> saved as "5277e704137aef3550dbeacc91aacdee1caba84086c3879eb62f74bef5d95c6d"
Job succeeded
2025-03-06 17:02.31: Job succeeded