Organisationsmiragemirage-tcpip82bad3 ()macos-homebrew-5.2_arm64_opam-2.2

macos-homebrew-5.2_arm64_opam-2.2

Link Copied
Code Copied

Logs

2024-08-02 16:42.18: New job: test mirage/mirage-tcpip https://github.com/mirage/mirage-tcpip.git#refs/heads/main (82bad3aed8d25db31e3592adaa6d5b530ef344eb) (macos-arm64:macos-homebrew-5.2_arm64_opam-2.2)
Base: macos-homebrew-ocaml-5.2
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-tcpip.git" -b "main" && cd "mirage-tcpip" && git reset --hard 82bad3ae
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.2
# macos-homebrew-5.2_arm64_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.2 ~/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 44a281fd66344f50c411e5c5300745612282e651 || git fetch origin master) && git reset -q --hard 44a281fd66344f50c411e5c5300745612282e651 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 tcpip.opam ./src/./
RUN opam pin add -yn tcpip.dev './src/./'
ENV DEPS="alcotest.1.8.0 arp.3.1.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.9 ethernet.3.2.0 fmt.0.9.0 host-arch-arm64.1 host-system-other.1 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-crypto.0.11.3 mirage-crypto-rng.0.11.3 mirage-flow.4.0.2 mirage-net.4.0.0 mirage-random.3.0.0 mirage-time.3.0.0 mirage-vnetif.0.6.2 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.17.0 pcap-format.0.6.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.33.0 psq.0.2.1 randomconv.0.1.3 re.1.11.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 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.2 --depext-only -y tcpip.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-08-02 16:42.18: Using cache hint "mirage/mirage-tcpip-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_arm64_opam-2.2-72965bfb2f0f8085a6dd80d075e5e442"
2024-08-02 16:42.18: Using OBuilder spec:
((from macos-homebrew-ocaml-5.2)
 (comment macos-homebrew-5.2_arm64_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.2 ~/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 44a281fd66344f50c411e5c5300745612282e651 || git fetch origin master) && git reset -q --hard 44a281fd66344f50c411e5c5300745612282e651 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src tcpip.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn tcpip.dev './src/./'"))
 (env DEPS "alcotest.1.8.0 arp.3.1.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.9 ethernet.3.2.0 fmt.0.9.0 host-arch-arm64.1 host-system-other.1 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-crypto.0.11.3 mirage-crypto-rng.0.11.3 mirage-flow.4.0.2 mirage-net.4.0.0 mirage-random.3.0.0 mirage-time.3.0.0 mirage-vnetif.0.6.2 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.17.0 pcap-format.0.6.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.33.0 psq.0.2.1 randomconv.0.1.3 re.1.11.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 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.2 --depext-only -y tcpip.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-08-02 16:42.18: Waiting for resource in pool OCluster
2024-08-03 01:29.19: Waiting for worker…
2024-08-03 03:56.33: Got resource from pool OCluster
Building on m1-worker-04
Initialized empty Git repository in /private/var/lib/ocluster-worker/git/mirage-tcpip.git-934b800ac74145db651d7ee37f9a1502f3779252/.git/
error: 6554 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
git-fetch failed with exit-code 128
2024-08-03 03:57.59: Job failed: Failed: Build failed