Organisationsrobur-coopdnsvizor096564 ()macos-homebrew-4.14_arm64_opam-2.3

macos-homebrew-4.14_arm64_opam-2.3

Link Copied
Code Copied

Logs

2025-05-29 07:20.31: New job: test robur-coop/dnsvizor https://github.com/robur-coop/dnsvizor.git#refs/heads/main (0965644f180ca26102542ad270837735e7395d1b) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.3)
Base: macos-homebrew-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/robur-coop/dnsvizor.git" -b "main" && cd "dnsvizor" && git reset --hard 0965644f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dnsvizor.opam ./src/./
RUN opam pin add -yn dnsvizor.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./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.0 dune-configurator.3.19.0 fmt.0.10.0 ipaddr.5.6.0 logs.0.8.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.8 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 cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-05-29 07:20.31: Using cache hint "robur-coop/dnsvizor-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.3-d356eb639e9ac2327a678f168e88f9e1"
2025-05-29 07:20.31: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_arm64_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dnsvizor.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn dnsvizor.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./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.0 dune-configurator.3.19.0 fmt.0.10.0 ipaddr.5.6.0 logs.0.8.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.8 uutf.1.0.4")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y dnsvizor.dev $DEPS"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-05-29 07:20.31: Waiting for resource in pool OCluster
2025-05-29 07:20.32: Waiting for worker…
2025-05-29 07:20.32: Got resource from pool OCluster
Building on m1-worker-04
HEAD is now at 725462c add endpoints to the various pages
HEAD is now at 0965644 Merge pull request #27 from robur-coop/dns-over-https


(from macos-homebrew-ocaml-4.14)
2025-05-29 07:20.33 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_arm64_opam-2.3)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-05-29 07:20.33 ---> using "d185bb362ab7a62e22c76fe28c4578fe7a4e17f7cc7bc09a3073972dfb5efd3b" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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 version of opam requires an update to the layout of /Users/mac1000/.opam from version 2.1 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 1 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=1 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2025-05-29 07:20.33 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.3.0
2025-05-29 07:20.33 ---> using "f52eecff7be584d99550d2f8c42b8f22f9135c2276c46c827a485f089226c5ac" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
67e940587b..2df846cb67  master     -> origin/master
2df846cb67 Merge pull request #27910 from maiste/release-dune-3.19.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.5.0
- ocaml-config.3
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-05-29 07:20.33 ---> using "33b138126e7427be367d0a9f41a85bb66a62f123bf802739a9af6a81c3ab4489" from cache


/: (copy (src dnsvizor.opam) (dst ./src/./))
2025-05-29 07:20.33 ---> using "aca54e0b2ddf6204f066c63f0412ee5cb094452c3f4f571cc1eeefeb9645e474" from cache


/: (run (network host)
(shell "opam pin add -yn dnsvizor.dev './src/./'"))
Package dnsvizor does not exist, create as a NEW package? [y/n] y
[dnsvizor.dev] synchronised (file:///Users/mac1000/src)
dnsvizor is now pinned to file:///Users/mac1000/src (version dev)
2025-05-29 07:20.34 ---> using "945c28e743e12bd1237978f9fa7fc59ae6afcf9cd419fe72d63b02c180275349" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-05-29 07:20.34 ---> using "448e004f2725dfd8bcb8523941409e9a9218817cff808c4401ad329105ccccd4" from cache


/: (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.0 dune-configurator.3.19.0 fmt.0.10.0 ipaddr.5.6.0 logs.0.8.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.8 uutf.1.0.4")


/: (env CI true)


/: (env OCAMLCI true)


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y dnsvizor.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dnsvizor.dev] synchronised (file:///Users/mac1000/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-05-29 07:20.34 ---> using "78a186856a583697dbaca7e790a9b32068a0be53d856542c342168cf5eccd790" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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.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.0
- install dune-configurator  3.19.0
- install fmt                0.10.0
- install ipaddr             5.6.0
- install logs               0.8.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.8
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0  (cached)
-> installed ocamlbuild.0.16.1
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed logs.0.8.0
-> installed dune.3.19.0
-> installed stdlib-shims.0.3.0
-> installed domain-name.0.4.1
-> installed ohex.0.2.0
-> installed csexp.1.5.2
-> installed re.1.12.0
-> installed macaddr.5.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ipaddr.5.6.0
-> installed dune-configurator.3.19.0
-> installed alcotest.1.9.0
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-29 07:20.34 ---> using "6c81c103b8324c1bdcca6d050725e89233809fd170496c9fee632c0f1583eeee" from cache


/: (copy (src .) (dst ./src))
2025-05-29 07:20.34 ---> using "6d9b899f092acc48cc2bea7f5240562571df630c2639fc892514dcbe341b6f3b" from cache


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


[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-05-29 07:20.34 ---> using "0f000f32aea4844bac5819d0d5d4b51ca335f31f79392f14f5e0ba2d822b5b2c" from cache
Job succeeded
2025-05-29 07:20.41: Job succeeded