Organisationsrobur-coopdnsvizorddb88b ()opensuse-15.6-4.14_opam-2.3

opensuse-15.6-4.14_opam-2.3

Logs

Show full 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:opensuse-15.6-4.14_opam-2.3)
Base: ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:66e7ed52710af411e71c0ce6e7c509549dc5b6cd41f37600816900bc3567cb10
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:opensuse-15.6-ocaml-4.14@sha256:66e7ed52710af411e71c0ce6e7c509549dc5b6cd41f37600816900bc3567cb10
# opensuse-15.6-4.14_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-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:opensuse-15.6-ocaml-4.14@sha256:66e7ed52710af411e71c0ce6e7c509549dc5b6cd41f37600816900bc3567cb10-opensuse-15.6-4.14_opam-2.3-ffe96eb5fb5352af315ce9de2968de80"
2025-03-06 14:59.48: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:66e7ed52710af411e71c0ce6e7c509549dc5b6cd41f37600816900bc3567cb10)
 (comment opensuse-15.6-4.14_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-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.42: Waiting for worker…
2025-03-06 16:59.42: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at ddb88b4 Parse --dhcp-host (#24)

(from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:66e7ed52710af411e71c0ce6e7c509549dc5b6cd41f37600816900bc3567cb10)
2025-03-06 17:06.31 ---> using "87f7bc07b20f91c26c029f0f897ab0d4c22b4ce49ab7016da6ba9e3a36938bd4" from cache

/: (comment opensuse-15.6-4.14_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 17:06.31 ---> using "005cb03d6af229ae713eb9d064c6c8f38d2d84300620175aab0ce7f3d1917f6a" 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.

Continue? [y/n] y
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.

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:06.31 ---> using "6afbdec5044da3a488a53eddf87833e7b4c73fbb33607925a53ceeb3548ad3ba" from cache

/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:06.31 ---> using "59e12f019ddb6bdbc30e68301be132e9ec695f20b037126ba49c7596a870a016" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-03-06 17:06.31 ---> using "cb75a3c4247ecd8fc21d82fe3fef3cf7f7ac37cd68615f406d24cb5757d89eb1" 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:07.45 ---> saved as "e8a28920d79e70ae24aacca638f161a6ba767c7624621000e9713f4ccb9dbabf"

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

/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:07.53 ---> saved as "50989c18b422264b67cd6dfad3098a9863d9f642ed4b3f6df49f6bab5510e152"

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

/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 "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [......
- .....done]
- Building repository 'Update repository of openSUSE Backports' cache [....done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [.
- ........
- ..........
- ........
- ......done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Retrieving repository 'Main Update Repository' metadata [......
- ....done]
- Building repository 'Main Update Repository' cache [....done]
- Retrieving repository 'Update Repository (Non-Oss)' metadata [.....
- ...done]
- Building repository 'Update Repository (Non-Oss)' cache [....done]
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.

<><> 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:08.51 ---> saved as "690de66e19b22f42ec016c2aefe0628f8c03e333bc34fc3093bb3d2c89aa3441"

/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 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 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:09.57 ---> saved as "7f0fcb31df2dd9aa02caa5ce475bc8340365c20ac79a3d3b6010af1fe2d2467f"

/src: (copy (src .) (dst /src))
2025-03-06 17:09.57 ---> saved as "43ef1ce29d42796fd01db8f685d5b90bb83adcfc7340b1ed1a27c34e364b4339"

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

  [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:09.58 ---> saved as "52f914517cef07ba94d30427d0871051f599b3f7a08a90519d50be28dd459a11"
Job succeeded
2025-03-06 17:09.58: Job succeeded