Organisationsmiragemirage-tcpip519c57 (main)macos-homebrew-4.14_arm64_opam-2.2

macos-homebrew-4.14_arm64_opam-2.2

Link Copied
Code Copied

Logs

2024-11-15 15:06.15: New job: test mirage/mirage-tcpip https://github.com/mirage/mirage-tcpip.git#refs/heads/main (519c576a9477ea381f077309f61feab01c4bb76a) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.2)
Base: macos-homebrew-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-tcpip.git" -b "main" && cd "mirage-tcpip" && git reset --hard 519c576a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_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 bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && 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-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.0 dune.3.16.1 dune-configurator.3.16.1 duration.0.2.1 eqaf.0.10 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.9.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.1.1.0 mirage-crypto-rng.1.1.0 mirage-crypto-rng-mirage.1.1.0 mirage-flow.4.0.2 mirage-net.4.0.0 mirage-runtime.4.8.1 mirage-time.3.0.0 mirage-vnetif.0.6.2 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.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.2.0 re.1.12.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.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-11-15 15:06.15: Using cache hint "mirage/mirage-tcpip-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.2-2c90d7d1d1c1f8a7edf580a76cd3ace8"
2024-11-15 15:06.15: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_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 bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && 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-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.0 dune.3.16.1 dune-configurator.3.16.1 duration.0.2.1 eqaf.0.10 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.9.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.1.1.0 mirage-crypto-rng.1.1.0 mirage-crypto-rng-mirage.1.1.0 mirage-flow.4.0.2 mirage-net.4.0.0 mirage-runtime.4.8.1 mirage-time.3.0.0 mirage-vnetif.0.6.2 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.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.2.0 re.1.12.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.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-11-15 15:06.15: Waiting for resource in pool OCluster
2024-11-15 15:06.16: Waiting for worker…
2024-11-15 16:56.21: Got resource from pool OCluster
Building on m1-worker-03
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 7959 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-11-15 16:57.47: Job failed: Failed: Build failed