Organisationsmirageparse-argv6344e6 (main)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-05-10 22:06.57: New job: test mirage/parse-argv https://github.com/mirage/parse-argv.git#refs/heads/main (6344e67ddef4c38ca1ea84f97901b3c3f8a36940) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/parse-argv.git" -b "main" && cd "parse-argv" && git reset --hard 6344e67d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260
# debian-12-4.06_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 parse-argv.opam ./
RUN opam pin add -yn parse-argv.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.1.0.0 ocaml.4.06.1 ocaml-base-compiler.4.06.1 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.7.3 ounit.2.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y parse-argv.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.57: Using cache hint "mirage/parse-argv-ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260-debian-12-4.06_opam-2.1-e3b8d08f4ac8e39398b91dcda30cd12d"
2024-05-10 22:06.57: Using OBuilder spec:
((from ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260)
 (comment debian-12-4.06_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 parse-argv.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn parse-argv.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.1.0.0 ocaml.4.06.1 ocaml-base-compiler.4.06.1 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.7.3 ounit.2.0.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 parse-argv.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.57: Waiting for resource in pool OCluster
2024-05-11 12:38.40: Waiting for worker…
2024-05-11 12:44.47: Got resource from pool OCluster
Building on x86-bm-c19.sw.ocaml.org
All commits already cached
HEAD is now at 6344e67 add license to opam file


(from ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260)
Unable to find image 'ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260' locally
docker.io/ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260: Pulling from ocaml/opam
Digest: sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260
Status: Downloaded newer image for ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260
2024-05-11 12:45.31 ---> saved as "892c338b589a62a59c59cff7a94a45d05cc552a424c9217d6aaf3ec3cf967845"


/: (comment debian-12-4.06_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:45.31 ---> saved as "e47f485891503cb0e5d103b0e01a5495a94f6323ae2185ffb1e88bc155347da7"


/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:46.48 ---> saved as "30f7e8eacb9385fb19ac2c9eeaa3d1cbd712dc8e6721f870397bd99d25a37e6f"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.06.1
2.1.5
2024-05-11 12:46.49 ---> saved as "87188233f0fd5a18ddfae1bad560620237af3fe8f77e4ae5cbf63cb0ef649f3c"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-11 12:46.49 ---> saved as "49f815766ee289566034e84eafdd5132e0b4b6683aa5cc20f27e7f4946d8e0f7"


/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
   d4fc3679e9..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:48.12 ---> saved as "6ec044fe91329e5ccbc1d1fa01aaaa1368a30c7843e874e0747e9faeffbbbe91"


/src: (copy (src parse-argv.opam) (dst ./))
2024-05-11 12:48.12 ---> saved as "ffa9b1bea9893e36350c085cd464b9e49c6c4ec17b0a74828751a7fa3720ba52"


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


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.1.0.0 ocaml.4.06.1 ocaml-base-compiler.4.06.1 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.7.3 ounit.2.0.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 parse-argv.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-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 258 kB in 0s (1024 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[parse-argv.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.06.1).
[NOTE] Package ocaml is already installed (current version is 4.06.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:48.33 ---> saved as "54facbb60b94a24892418a879de90a067b6b63d13811c59b3f6d840bac25686d"


/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.06.1).
[NOTE] Package ocaml is already installed (current version is 4.06.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 dune       1.0.0
  - install ocamlbuild 0.9.1
  - install conf-m4    1
  - install ocamlfind  1.7.3
  - install ounit      2.0.0
===== 5 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.1.0.0  (cached)
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved ocamlfind.1.7.3  (cached)
-> installed conf-m4.1
-> retrieved ounit.2.0.0  (cached)
-> installed ocamlfind.1.7.3
-> installed ocamlbuild.0.9.1
-> installed dune.1.0.0
-> installed ounit.2.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 12:49.13 ---> saved as "55674ebb1b664e05c08140b429ffea6871ecfcb3047345a716aae5f38a9ac39b"


/src: (copy (src .) (dst /src))
2024-05-11 12:49.13 ---> saved as "500353bfbe24006bd238761b7ddf01a4f624a8bbbe93d638b6c424872651a9a1"


/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.
        test alias test/runtest
..
Ran: 2 tests in: 0.00 seconds.
OK
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-11 12:49.14: Job failed: Failed: Build failed