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:fedora-40-5.3_opam-2.3)
Base: ocaml/opam:fedora-40-ocaml-5.3@sha256:5eb9767ee2c3f18f1920f9c9d4f92c8f89e0b1ff0f0509406981c96e9cc838bb
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:fedora-40-ocaml-5.3@sha256:5eb9767ee2c3f18f1920f9c9d4f92c8f89e0b1ff0f0509406981c96e9cc838bb
# fedora-40-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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-effects.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.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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:fedora-40-ocaml-5.3@sha256:5eb9767ee2c3f18f1920f9c9d4f92c8f89e0b1ff0f0509406981c96e9cc838bb-fedora-40-5.3_opam-2.3-4e1833bc75a1d6ad715c8e8d8a0d459e"
2025-03-06 14:59.48: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-5.3@sha256:5eb9767ee2c3f18f1920f9c9d4f92c8f89e0b1ff0f0509406981c96e9cc838bb)
(comment fedora-40-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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-effects.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.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.44: Waiting for worker…
2025-03-06 16:59.44: 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:fedora-40-ocaml-5.3@sha256:5eb9767ee2c3f18f1920f9c9d4f92c8f89e0b1ff0f0509406981c96e9cc838bb)
Unable to find image 'ocaml/opam:fedora-40-ocaml-5.3@sha256:5eb9767ee2c3f18f1920f9c9d4f92c8f89e0b1ff0f0509406981c96e9cc838bb' locally
docker.io/ocaml/opam@sha256:5eb9767ee2c3f18f1920f9c9d4f92c8f89e0b1ff0f0509406981c96e9cc838bb: Pulling from ocaml/opam
3e5f9561469d: Pulling fs layer
3e5f9561469d: Verifying Checksum
3e5f9561469d: Download complete
3e5f9561469d: Pull complete
Digest: sha256:5eb9767ee2c3f18f1920f9c9d4f92c8f89e0b1ff0f0509406981c96e9cc838bb
Status: Downloaded newer image for ocaml/opam@sha256:5eb9767ee2c3f18f1920f9c9d4f92c8f89e0b1ff0f0509406981c96e9cc838bb
2025-03-06 16:59.44 ---> using "5ff50e8d5058ab75d30e0ca602c0d0902f1a04a8369997f5473ba0c7abcd7623" from cache
/: (comment fedora-40-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Fedora 40 - x86_64 290 kB/s | 27 kB 00:00
Fedora 40 openh264 (From Cisco) - x86_64 13 kB/s | 989 B 00:00
Fedora 40 - x86_64 - Updates 279 kB/s | 25 kB 00:00
Fedora 40 - x86_64 - Updates 2.0 MB/s | 6.6 MB 00:03
Package findutils-1:4.9.0-9.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2025-03-06 16:59.44 ---> using "dbaa95f017162064e90bdeae5302704e4581c525da5bd45b43ab0a588994c443" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-03-06 16:59.44 ---> using "c9255b0cb06cb5d59a38d3a7e29e4b7914d52bc2ad2630dc8943f23579168715" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[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.44 ---> using "4540b59c91e1479369f533825b3bcf7102a5c2ba2d04a01d2c3d8b52a3dbd0b3" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-03-06 16:59.44 ---> using "389f7ded9362e2c2ca9d5872a948c41f187c7ddb07ab30a00d2159f7c072620c" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-06 16:59.44 ---> using "354748ff4b5220558845a189605472d8111a7838380c73f845389254fc51b1ee" 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
b2eed42fcd..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.43 ---> saved as "99368823528634c82b0ffbb2f0a5d86d3b1e60625e8430d601375ba0829ae92e"
/src: (copy (src dnsvizor.opam) (dst ./))
2025-03-06 17:00.43 ---> saved as "e8500fe216db397ddeac4c19cbbfa5041b237b19efa0fc510dec9b4cb4ff011d"
/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.44 ---> saved as "7ed123a1b5293a58b1ae7109e26e9ad94de0318619d75dab5c88f3680d97ca09"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-06 17:00.44 ---> saved as "feda70c1b03e706230446150521f11b323a0d033ed13d8a96520e9d06c40cde3"
/src: (env DEPS "alcotest.1.8.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.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.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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 "yum" "makecache"
- Fedora 40 - x86_64 315 kB/s | 27 kB 00:00
- Fedora 40 openh264 (From Cisco) - x86_64 13 kB/s | 989 B 00:00
- Fedora 40 - x86_64 - Updates 265 kB/s | 25 kB 00:00
- Metadata cache created.
<><> 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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-effects 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.02 ---> saved as "983bd414c1a82588dd13051f5a9eeff4e532c17684ff90abe48d93fc28e8ad9b"
/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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-effects 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 astring.0.8.5 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved bigstringaf.0.10.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 fmt.0.9.0
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.17.2
-> installed ohex.0.2.0
-> installed macaddr.5.6.0
-> installed csexp.1.5.2
-> installed domain-name.0.4.1
-> installed ocaml-syntax-shims.1.0.0
-> installed stdlib-shims.0.3.0
-> installed re.1.12.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.22 ---> saved as "a3864bbedb3bb9a9d5f92426fd4deb4ef1b3881cfe3153e6b6a3408c7aa4f749"
/src: (copy (src .) (dst /src))
2025-03-06 17:02.22 ---> saved as "472f66c71b743dca8dd0941578c261d882c81f24ec9ff662e017374a364bc746"
/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 `FX1NU5JK'.
[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-03-06 17:02.24 ---> saved as "9928598552a43c7484e4ee0b5e4b5172eebc485469eedf83d64dcca0e077ff87"
Job succeeded
2025-03-06 17:02.24: Job succeeded