Organisationshannesmdomain-namee98334 (main)macos-homebrew-4.14_opam-2.1

macos-homebrew-4.14_opam-2.1

Logs

Show full logs
2024-05-29 15:54.50: New job: test hannesm/domain-name https://github.com/hannesm/domain-name.git#refs/heads/main (e9833486ee40ef2c49c43dd72976022a627b4a34) (macos-x86_64:macos-homebrew-4.14_opam-2.1)
Base: macos-homebrew-ocaml-4.14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/hannesm/domain-name.git" -b "main" && cd "domain-name" && git reset --hard e9833486
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.1 ~/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 ea87c49e51ff29a459422419e1688938fd77a46f || git fetch origin master) && git reset -q --hard ea87c49e51ff29a459422419e1688938fd77a46f && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 domain-name.opam ./src/./
RUN opam pin add -yn domain-name.dev './src/./'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.15.3 fmt.0.9.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.14.3 ocamlfind.1.9.6 re.1.11.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.1 --depext-only -y domain-name.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

2024-05-29 15:54.50: Using cache hint "hannesm/domain-name-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.1-50a1af9001d351abd5d59435f0f7df26"
2024-05-29 15:54.50: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.1 ~/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 ea87c49e51ff29a459422419e1688938fd77a46f || git fetch origin master) && git reset -q --hard ea87c49e51ff29a459422419e1688938fd77a46f && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src domain-name.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn domain-name.dev './src/./'"))
 (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.15.3 fmt.0.9.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.14.3 ocamlfind.1.9.6 re.1.11.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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y domain-name.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"))
)

2024-05-29 15:54.50: Waiting for resource in pool OCluster
2024-05-30 09:34.50: Waiting for worker…
2024-05-31 01:14.24: Got resource from pool OCluster
Building on i7-worker-04
All commits already cached
HEAD is now at e983348 compare: conform to canonical DNS name order

(from macos-homebrew-ocaml-4.14)
2024-05-31 01:14.25 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

/: (comment macos-homebrew-4.14_opam-2.1)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam"))
2024-05-31 01:14.25 ---> using "25b9bb92388ede51fae89d4de3a3dbc7bf0716456eef41b1ea8636995a3eeab7" 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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2024-05-31 01:14.25 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-31 01:14.26 ---> using "f4908fd0e5799798bb14c138897a7b0cd12737558237c57b6cfe71feb61d52ba" 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 ea87c49e51ff29a459422419e1688938fd77a46f || git fetch origin master) && git reset -q --hard ea87c49e51ff29a459422419e1688938fd77a46f && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   0dc68a8b92..0b9453aa60  master     -> origin/master
ea87c49e51 opam admin add-hashes sha256

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository
default (at git+file:///Users/mac1000/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)


Constructing initial basis...
The following actions will be performed:
  - recompile ocaml-base-compiler 4.14.2 [upstream or system changes]
  - recompile ocaml-config        2      [upstream or system changes]
  - recompile ocaml               4.14.2 [uses ocaml-base-compiler, ocaml-config]
===== 3 to recompile =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.2  (cached)
-> retrieved ocaml-base-compiler.4.14.2  (cached)
-> removed   ocaml.4.14.2
-> removed   ocaml-config.2
-> removed   ocaml-base-compiler.4.14.2
-> installed ocaml-base-compiler.4.14.2
-> installed ocaml-config.2
-> installed ocaml.4.14.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-31 01:14.26 ---> using "3206213b6e9a68bfdf715fd7ecc82852811fddb582360c1c9f50324a501c9cae" from cache

/: (copy (src domain-name.opam) (dst ./src/./))
2024-05-31 01:14.27 ---> saved as "33d1ed9593734390ac722bdaaead8b9b6f511cd327a8930cfd937052c94112e1"

/: (run (network host)
        (shell "opam pin add -yn domain-name.dev './src/./'"))
[domain-name.dev] synchronised (file:///Users/mac1000/src)
domain-name is now pinned to file:///Users/mac1000/src (version dev)
2024-05-31 01:14.36 ---> saved as "1c3521b72f16388ce8ecce23c22a63dc15ef31e6124655085d18f320b2ab549e"

/: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.15.3 fmt.0.9.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.14.3 ocamlfind.1.9.6 re.1.11.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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y domain-name.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[domain-name.dev] synchronised (no changes)

[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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
2024-05-31 01:14.59 ---> saved as "3ae013a01c9a345da54ff456935d1fcc7dea696df08dd702ed16f8898bb39ed0"

/: (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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
The following actions will be performed:
  - install cmdliner           1.3.0
  - install seq                base
  - install ocamlbuild         0.14.3
  - install dune               3.15.3
  - install ocamlfind          1.9.6
  - install stdlib-shims       0.3.0
  - install re                 1.11.0
  - install ocaml-syntax-shims 1.0.0
  - install topkg              1.0.7
  - install uutf               1.0.3
  - install fmt                0.9.0
  - install astring            0.8.5
  - install alcotest           1.7.0
===== 13 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved dune.3.15.3  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.15.3
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed alcotest.1.7.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-31 01:16.06 ---> saved as "4252d1e14bdbb8a855171b5a7a94c02e2d7b2b033efafb81ec5a0b6e42693bbc"

/: (copy (src .) (dst ./src))
2024-05-31 01:16.08 ---> saved as "0966cd45c217ccbc375d7cf94eab3bd0221aa5ceae7e7e85a7e534e158a7b1d1"

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

  [OK]          domain names          0   basic predicates.
  [OK]          domain names          1   basic name stuff.
  [OK]          domain names          2   case.
  [OK]          domain names          3   fqdn.
  [OK]          domain names          4   fqdn around.
  [OK]          domain names          5   drop labels.
  [OK]          domain names          6   get and count and find labels.
  [OK]          domain names          7   sorting.

Full test results in `~/src/_build/default/_build/_tests/domain name tests'.
Test Successful in 0.001s. 8 tests run.
2024-05-31 01:16.10 ---> saved as "fc3ba726ac712bb4771ad3bd8b31af4de330eb630950940fce3b01247c560571"
Job succeeded
2024-05-31 01:16.17: Job succeeded