Organisationsmiragemirage-tcpipaa1b46 ()alpine-3.20-4.14_opam-2.3

alpine-3.20-4.14_opam-2.3

Link Copied
Code Copied

Logs

2024-12-06 21:34.38: New job: test mirage/mirage-tcpip https://github.com/mirage/mirage-tcpip.git#refs/pull/523/head (aa1b46e4a497517f48a94db68585b9d0dbf8c607) (linux-x86_64:alpine-3.20-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ebf15d5caec90eae50336736fbd8a2fc99ae01dbe5ee3030d0ac51d47f5f6554
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-tcpip.git" && cd "mirage-tcpip" && git fetch origin "refs/pull/523/head" && git reset --hard aa1b46e4
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ebf15d5caec90eae50336736fbd8a2fc99ae01dbe5ee3030d0ac51d47f5f6554
# alpine-3.20-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 tcpip.opam ./
RUN opam pin add -yn tcpip.dev './' && echo '(lang dune 3.0)' > './dune-project'
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.8.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.17.0 dune-configurator.3.17.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.9.0 host-arch-x86_64.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.3 --depext-only -y tcpip.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-12-06 21:34.38: Using cache hint "mirage/mirage-tcpip-ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ebf15d5caec90eae50336736fbd8a2fc99ae01dbe5ee3030d0ac51d47f5f6554-alpine-3.20-4.14_opam-2.3-3b7ad78d55848be7a4c32d77b97386ba"
2024-12-06 21:34.38: Using OBuilder spec:
((from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ebf15d5caec90eae50336736fbd8a2fc99ae01dbe5ee3030d0ac51d47f5f6554)
(comment alpine-3.20-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src tcpip.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn tcpip.dev './' && echo '(lang dune 3.0)' > './dune-project'"))
(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.8.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.17.0 dune-configurator.3.17.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.9.0 host-arch-x86_64.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 /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y tcpip.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-12-06 21:34.38: Waiting for resource in pool OCluster
2024-12-06 21:34.38: Waiting for worker…
2024-12-06 21:34.38: Got resource from pool OCluster
Building on x86-bm-c20.sw.ocaml.org
All commits already cached
HEAD is now at aa1b46e4 dune: enable generate_opam_files option


(from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:ebf15d5caec90eae50336736fbd8a2fc99ae01dbe5ee3030d0ac51d47f5f6554)
2024-12-06 21:35.23 ---> saved as "46649d2bbe6f00c86a5d5fe022ab7bfe3de0143ddf6170e61af97324592363ef"


/: (comment alpine-3.20-4.14_opam-2.3)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-12-06 21:35.23 ---> saved as "aaec08dc1cc376136cf44220786214e8a0ebbe9a942ef1f5ed5212343f398c1b"


/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.2, which can't be reverted.
You may want to back it up before going further.


Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-12-06 21:36.56 ---> saved as "c20b52836025e3513a9894fe231f6646b695a305ff639278a94bee27807f1565"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.14.2
2.3.0
2024-12-06 21:36.56 ---> saved as "88c93c6148c30c716bb68a57e0cac30b94145a807330da422304977daf743137"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-12-06 21:36.56 ---> saved as "fcd84e0e139c435d1af7f7c9e919dda0cc52c09a9bf78199943fce6b0078735e"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
11bdbee611..86d364dc38  master     -> origin/master
9a4a489e63 Merge pull request #27019 from fpottier/opam-publish-cppo.1.8.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


2024-12-06 21:38.49: Cancelling: Auto-cancelling job because it is no longer needed
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.
# To update the current shell environment, run: eval $(opam env)
2024-12-06 21:38.29 ---> saved as "dd85feb4a3b26dd4e2dc86728c47c8f7b0f65ca1ecd0e2f294f10d43488121bb"


/src: (copy (src tcpip.opam) (dst ./))
2024-12-06 21:38.29 ---> saved as "48b0531775535588869327b0a841e2b4e077814896c41f456843c0c788163cd8"


/src: (run (network host)
(shell "opam pin add -yn tcpip.dev './' && echo '(lang dune 3.0)' > './dune-project'"))
[tcpip.dev] synchronised (file:///src)
tcpip is now pinned to file:///src (version dev)
2024-12-06 21:38.31 ---> saved as "f56de48e1122a851a8b8d4c48bfe0a8a91cc4c5d45b4205ee913baadb7988577"


/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.8.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.17.0 dune-configurator.3.17.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.9.0 host-arch-x86_64.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")


/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.3 --depext-only -y tcpip.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.20.3-388-g068b58b02cb [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
- v3.20.3-386-g5fa81045983 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
- v3.21.0-80-g967093f5ebd [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.21.0-90-g58421dee0ed [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.21.0-88-g5cc80c1f0e6 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 56109 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tcpip.dev] synchronised (file:///src)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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).
Job cancelled