Organisationsrobur-coopdnsvizorddb88b ()fedora-40-4.14_opam-2.3

fedora-40-4.14_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:fedora-40-4.14_opam-2.3)
Base: ocaml/opam:fedora-40-ocaml-4.14@sha256:77ad6f4547bb06a0f441b2695b26de34aaf2216789faa9b817d3af6b0a834286
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-4.14@sha256:77ad6f4547bb06a0f441b2695b26de34aaf2216789faa9b817d3af6b0a834286
# fedora-40-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-4.14@sha256:77ad6f4547bb06a0f441b2695b26de34aaf2216789faa9b817d3af6b0a834286-fedora-40-4.14_opam-2.3-ffe96eb5fb5352af315ce9de2968de80"
2025-03-06 14:59.48: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-4.14@sha256:77ad6f4547bb06a0f441b2695b26de34aaf2216789faa9b817d3af6b0a834286)
(comment fedora-40-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 17:22.38: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at ddb88b4 Parse --dhcp-host (#24)


(from ocaml/opam:fedora-40-ocaml-4.14@sha256:77ad6f4547bb06a0f441b2695b26de34aaf2216789faa9b817d3af6b0a834286)
2025-03-06 17:23.26 ---> saved as "f105e4e30775553f0b3ae7e35eb670a3216449a9a4e5074c5d10d39f44f24cc8"


/: (comment fedora-40-4.14_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                              310 kB/s |  27 kB     00:00
Fedora 40 openh264 (From Cisco) - x86_64         14 kB/s | 989  B     00:00
Fedora 40 - x86_64 - Updates                    276 kB/s |  25 kB     00:00
Fedora 40 - x86_64 - Updates                    7.1 MB/s | 5.7 MB     00:00
Package findutils-1:4.9.0-9.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2025-03-06 17:23.35 ---> saved as "047c8883fe0f1a91046fb1ee8d8ca801d20ef4b8d390962d0eddb45773f53595"


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-03-06 17:23.35 ---> saved as "b92afd694db737b8e9e7dddee2e1253a86fd1c2d2a97a6aafeecbc229dfd5e2a"


/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 17:24.47 ---> saved as "daf363493582ffd967f3ffc3a59bf7297d103a83f6009e7e0c29eda2b5c14b71"


/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 17:24.47 ---> saved as "a27d285ce16427d15feb228731cb0969a65a346ef074c0c67d74670256b531b9"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-06 17:24.47 ---> saved as "3449d17ecd8d442aad48ac971807f1fea648f2a50c48838bff0e498e86b614f8"


/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:25.53 ---> saved as "2849b2ff1efb825ca104bf6a4aa8e76af9afd8333543f6e3ea08b37e272a2684"


/src: (copy (src dnsvizor.opam) (dst ./))
2025-03-06 17:25.53 ---> saved as "895d07d10496e3516409b418fc0a8cc6ae5f99b324b1e45419bc451bebdad2b1"


/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:25.54 ---> saved as "5f62b72d1a016ba07cd65b819111513c40279419e369f3f440678153093c9e02"


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


/src: (env DEPS "alcotest.1.8.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.17.2 dune-configurator.3.17.2 fmt.0.9.0 ipaddr.5.6.0 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.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                              277 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                    261 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 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:26.16 ---> saved as "a46ed86edf4c26308570cd4e865c9019376a05c8741183d09dc25280548f1ea4"


/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.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 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.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 ohex.0.2.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.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:27.15 ---> saved as "2693352aedf5da71a8ce9eb6fc06df03282661951cca8c69e5b65efc280940ee"


/src: (copy (src .) (dst /src))
2025-03-06 17:27.15 ---> saved as "921c2ae6faebb5fa803bbe9acef5c493d0c9d8243a98e06b773d996dccc03a06"


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


[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:27.16 ---> saved as "a05684c2298c91f18815e383f3adc39f6c1fedb195d7afe9eff7dfa8f4be13b5"
Job succeeded
2025-03-06 17:27.16: Job succeeded