2024-05-14 13:15.12: New job: test hannesm/domain-name https://github.com/hannesm/domain-name.git#refs/heads/main (e9833486ee40ef2c49c43dd72976022a627b4a34) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
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 ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
# debian-12-4.04_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 domain-name.opam ./
RUN opam pin add -yn domain-name.dev './'
ENV DEPS="alcotest.0.1.0 base-bigarray.base base-num.base base-threads.base base-unix.base camlp4.4.04+1 cmdliner.0.9.2 conf-m4.1 dune.1.0.0 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit.1.1.2 re.1.0"
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 opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-05-14 13:15.12: Using cache hint "hannesm/domain-name-ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8-debian-12-4.04_opam-2.1-3cac313209b588e9ccdb76d6d52b9e35"
2024-05-14 13:15.12: Using OBuilder spec:
((from ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
(comment debian-12-4.04_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /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 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src domain-name.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn domain-name.dev './'"))
(env DEPS "alcotest.0.1.0 base-bigarray.base base-num.base base-threads.base base-unix.base camlp4.4.04+1 cmdliner.0.9.2 conf-m4.1 dune.1.0.0 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit.1.1.2 re.1.0")
(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.1 --depext-only -y domain-name.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"))
)
2024-05-14 13:15.12: Waiting for resource in pool OCluster
2024-05-14 13:15.15: Waiting for worker…
2024-05-14 13:15.15: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at e983348 compare: conform to canonical DNS name order
(from ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
Unable to find image 'ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8' locally
docker.io/ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8: Pulling from ocaml/opam
e58cd26576ff: Pulling fs layer
e58cd26576ff: Verifying Checksum
e58cd26576ff: Download complete
e58cd26576ff: Pull complete
Digest: sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
Status: Downloaded newer image for ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
2024-05-14 13:16.40 ---> saved as "f8cc879b8fa41146f4d68824f571af48d0fc242fa563e6c44aad42da2480e773"
/: (comment debian-12-4.04_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-14 13:16.40 ---> saved as "7acf9c20e3a294f65eec146d2b0278d86ac3011a3aaf14f981174ab68667921e"
/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 version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-05-14 13:17.27 ---> saved as "eb9e02ecfcb5ba37a004cedecf7a30bca11d30398ed5232984b27dff3d577897"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.04.2
2.1.5
2024-05-14 13:17.27 ---> saved as "1c1947f6600fe344049c423f5d475e2bbcf469ba4d40ccfe151b45e81f7382fc"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-14 13:17.28 ---> saved as "cac506b2ad2021f1ddbd68db7b37261e0a93bd2be740791bb6297e219b96903b"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
819388d34c @dra27 maintains the OCaml Museum
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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.
# Run eval $(opam env) to update the current shell environment
2024-05-14 13:18.17 ---> saved as "9bbc8a346c35d66f849e3eeabfa81e895c893b813af311f59f7b650e469fbb02"
/src: (copy (src domain-name.opam) (dst ./))
2024-05-14 13:18.18 ---> saved as "0d68227f9968bc63f63a1e370cffbfbcbe969a92ae213fd99a01732dcb598dbf"
/src: (run (network host)
(shell "opam pin add -yn domain-name.dev './'"))
[domain-name.dev] synchronised (file:///src)
domain-name is now pinned to file:///src (version dev)
2024-05-14 13:18.19 ---> saved as "7eee1e13fe68acc72d333e1fd92d1358073977dfc8614d2058b34a476cb49626"
/src: (env DEPS "alcotest.0.1.0 base-bigarray.base base-num.base base-threads.base base-unix.base camlp4.4.04+1 cmdliner.0.9.2 conf-m4.1 dune.1.0.0 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit.1.1.2 re.1.0")
/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.1 --depext-only -y domain-name.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Fetched 103 kB in 0s (398 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[domain-name.dev] synchronised (no changes)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.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 system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
2024-05-14 13:18.32 ---> saved as "3986d7a9c9374d61e9961b94454255a6f13076a8058296ac842490d93dc90aaf"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.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 base-num base
- install dune 1.0.0
- install ocamlbuild 0.9.1
- install conf-m4 1
- install num 0
- install camlp4 4.04+1
- install ocamlfind 1.6.2
- install re 1.0
- install ounit 1.1.2
- install cmdliner 0.9.2
- install alcotest 0.1.0
===== 11 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-num.base
-> retrieved alcotest.0.1.0 (cached)
-> retrieved camlp4.4.04+1 (cached)
-> installed num.0
-> retrieved cmdliner.0.9.2 (cached)
-> installed conf-m4.1
-> retrieved ocamlbuild.0.9.1 (cached)
-> retrieved ocamlfind.1.6.2 (cached)
-> retrieved dune.1.0.0 (cached)
-> retrieved ounit.1.1.2 (cached)
-> retrieved re.1.0 (cached)
-> installed ocamlfind.1.6.2
-> installed ocamlbuild.0.9.1
-> installed cmdliner.0.9.2
-> installed dune.1.0.0
-> installed re.1.0
-> installed camlp4.4.04+1
-> installed ounit.1.1.2
-> installed alcotest.0.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-14 13:20.03 ---> saved as "041578cee0f554369a0a30da8a6dce293b3fd9e4dbb32c3ec743c642f76ffe8f"
/src: (copy (src .) (dst /src))
2024-05-14 13:20.03 ---> saved as "851dbb7cf8983ea2095906aa6ae6b1f1e35a2c1d4fea87819e76c4fbd41623d6"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
From the command line:
Error: Alias "check" is empty.
It is not defined in . or any of its descendants.
ocamlc .tests.eobjs/tests.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.04/bin/ocamlc.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I .tests.eobjs -I /home/opam/.opam/4.04/lib/alcotest -I /home/opam/.opam/4.04/lib/cmdliner -I /home/opam/.opam/4.04/lib/oUnit -I /home/opam/.opam/4.04/lib/re -I .domain_name.objs -no-alias-deps -o .tests.eobjs/tests.cmo -c -impl tests.ml)
File "tests.ml", line 8, characters 9-56:
Error: Unbound module type Alcotest.TESTABLE
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-14 13:20.03: Job failed: Failed: Build failed