Organisationsmirageencore55d837 (master)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-05-10 22:06.58: New job: test mirage/encore https://github.com/mirage/encore.git#refs/heads/master (55d8377c9fd3cb8f71cfe16d90aede0487a214cc) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/encore.git" -b "master" && cd "encore" && git reset --hard 55d8377c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
# debian-12-4.07_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 encore.opam ./
RUN opam pin add -yn encore.dev './'
ENV DEPS="alcotest.0.8.0 angstrom.0.14.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.5.0 cmdliner.1.0.3 conf-m4.1 dune.2.0.1 fmt.0.8.0 jbuilder.1.0+beta10 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.8.0 result.1.0 topkg.0.7.5"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y encore.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-10 22:06.58: Using cache hint "mirage/encore-ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b-debian-12-4.07_opam-2.1-85c35103f0fb4129e0b751856db59aae"
2024-05-10 22:06.58: Using OBuilder spec:
((from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
 (comment debian-12-4.07_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 encore.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn encore.dev './'"))
 (env DEPS "alcotest.0.8.0 angstrom.0.14.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.5.0 cmdliner.1.0.3 conf-m4.1 dune.2.0.1 fmt.0.8.0 jbuilder.1.0+beta10 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.8.0 result.1.0 topkg.0.7.5")
 (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 encore.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-10 22:06.58: Waiting for resource in pool OCluster
2024-05-11 12:47.09: Waiting for worker…
2024-05-11 12:53.51: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
All commits already cached
HEAD is now at 55d8377 Merge pull request #32 from mirage/prepare-v0.8


(from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
Unable to find image 'ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b' locally
docker.io/ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b: Pulling from ocaml/opam
2264256a3b65: Pulling fs layer
2264256a3b65: Verifying Checksum
2264256a3b65: Download complete
2264256a3b65: Pull complete
Digest: sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
Status: Downloaded newer image for ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
2024-05-11 12:53.51 ---> using "6ad54a8a0a996de05cd03ed30cbb4884566b39028d090d19101121413431a89f" from cache


/: (comment debian-12-4.07_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-11 12:53.51 ---> using "f0b7040ce20c0568672a3afcab01929fd18e2ee66f02faa8d94fd05399839280" 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.


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-11 12:53.51 ---> using "1178bb4688e7e4718d4170c0ec783ce5396ae6f9cd4db4b0fb12bcb2662305da" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.07.1
2.1.5
2024-05-11 12:53.51 ---> using "507d1b06732f1eddefe9afcbbd3414d34576360b7497df3aa76bf615c5a885e5" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-11 12:53.51 ---> using "b88e937d6c36e43c713a83fbd5f0a1b9c25ffbb55d9e0cc753e256236a40f949" from cache


/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"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   6a2ad82c27..2ae169d7d0  master     -> origin/master
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-11 12:55.38 ---> saved as "3f8fe4bb9daf2f46667018536d3a20db07a060c5ab106ce7ef961fce70d61a07"


/src: (copy (src encore.opam) (dst ./))
2024-05-11 12:55.38 ---> saved as "6bdcce4ada93a9a4a10bfa11003aaa5333639c8e9c5f7b326c84bc2b3b948d63"


/src: (run (network host)
           (shell "opam pin add -yn encore.dev './'"))
[encore.dev] synchronised (file:///src)
encore is now pinned to file:///src (version dev)
2024-05-11 12:55.42 ---> saved as "aa80c4bcacbe99678835cf4211bb25e7f6158431e8aaeaeb342f53101a131e46"


/src: (env DEPS "alcotest.0.8.0 angstrom.0.14.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.5.0 cmdliner.1.0.3 conf-m4.1 dune.2.0.1 fmt.0.8.0 jbuilder.1.0+beta10 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.8.0 result.1.0 topkg.0.7.5")


/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 encore.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]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [10.6 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 271 kB in 1s (354 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[encore.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.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.1).
[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-11 12:56.11 ---> saved as "4be1ea9dd3eab12b7f8b14465cb7eb1674df2cca5ebf65ef927272dee1f4fff8"


/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.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.1).
[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 result      1.0
  - install cmdliner    1.0.3
  - install dune        2.0.1
  - install ocamlbuild  0.9.1
  - install conf-m4     1
  - install bigstringaf 0.5.0
  - install ocamlfind   1.8.0
  - install angstrom    0.14.0
  - install topkg       0.7.5
  - install jbuilder    1.0+beta10
  - install base-bytes  base
  - install fmt         0.8.0
  - install astring     0.8.2
  - install alcotest    0.8.0
===== 14 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.0.8.0  (cached)
-> retrieved angstrom.0.14.0  (cached)
-> retrieved astring.0.8.2  (cached)
-> retrieved bigstringaf.0.5.0  (cached)
-> retrieved cmdliner.1.0.3  (cached)
-> retrieved dune.2.0.1  (cached)
-> installed conf-m4.1
-> retrieved fmt.0.8.0  (cached)
-> retrieved jbuilder.1.0+beta10  (cached)
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved result.1.0  (cached)
-> retrieved topkg.0.7.5  (cached)
-> installed result.1.0
-> installed cmdliner.1.0.3
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.9.1
-> installed jbuilder.1.0+beta10
-> installed topkg.0.7.5
-> installed fmt.0.8.0
-> installed astring.0.8.2
-> installed alcotest.0.8.0
-> installed dune.2.0.1
-> installed bigstringaf.0.5.0
-> installed angstrom.0.14.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 12:57.30 ---> saved as "98792c4cf3cdacfed6f11762143c82a174c4df428856d83929bfa10257ff8987"


/src: (copy (src .) (dst /src))
2024-05-11 12:57.31 ---> saved as "a1c8a1f223fa63a68e88d03aebea58a21638ebe79bfcdcf564b4ff55f3c6187a"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
      ocamlc test/.test.eobjs/byte/dune__exe__Test.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.07/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I test/.test.eobjs/byte -I /home/opam/.opam/4.07/lib/alcotest -I /home/opam/.opam/4.07/lib/angstrom -I /home/opam/.opam/4.07/lib/astring -I /home/opam/.opam/4.07/lib/bigstringaf -I /home/opam/.opam/4.07/lib/bytes -I /home/opam/.opam/4.07/lib/cmdliner -I /home/opam/.opam/4.07/lib/fmt -I /home/opam/.opam/4.07/lib/result -I lib/.encore.objs/byte -I lib/.encore.objs/native -no-alias-deps -opaque -o test/.test.eobjs/byte/dune__exe__Test.cmo -c -impl test/test.ml)
File "test/test.ml", line 32, characters 4-18:
Error: Unbound value Alcotest.failf
Hint: Did you mean fail?
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-11 12:57.32: Job failed: Failed: Build failed