Organisationsmirageocaml-pcap3cb441 (main)fedora-42-4.14_opam-2.3

fedora-42-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-07-28 18:08.52: New job: test mirage/ocaml-pcap https://github.com/mirage/ocaml-pcap.git#refs/heads/main (3cb441db242681045666936d7675693be98a8322) (linux-x86_64:fedora-42-4.14_opam-2.3)
Base: ocaml/opam:fedora-42-ocaml-4.14@sha256:92a2dfcbfadc0b877c4c07531e6c17e01d81a35f590c259ac6ee644491c96ca9
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-pcap.git" -b "main" && cd "ocaml-pcap" && git reset --hard 3cb441db
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-4.14@sha256:92a2dfcbfadc0b877c4c07531e6c17e01d81a35f590c259ac6ee644491c96ca9
# fedora-42-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 pcap-format.opam ./
RUN opam pin add -yn pcap-format.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.19.1 fmt.0.11.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ounit2.2.2.7 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y pcap-format.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


2025-07-28 18:08.52: Using cache hint "mirage/ocaml-pcap-ocaml/opam:fedora-42-ocaml-4.14@sha256:92a2dfcbfadc0b877c4c07531e6c17e01d81a35f590c259ac6ee644491c96ca9-fedora-42-4.14_opam-2.3-46183e865faada33b369878fe412165c"
2025-07-28 18:08.52: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:92a2dfcbfadc0b877c4c07531e6c17e01d81a35f590c259ac6ee644491c96ca9)
(comment fedora-42-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src pcap-format.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn pcap-format.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.19.1 fmt.0.11.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ounit2.2.2.7 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.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.3 --depext-only -y pcap-format.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"))
)


2025-07-28 18:08.52: Waiting for resource in pool OCluster
2025-07-29 00:48.09: Waiting for worker…
2025-07-29 00:49.58: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 3cb441d Merge pull request #40 from hannesm/add-maint


(from ocaml/opam:fedora-42-ocaml-4.14@sha256:92a2dfcbfadc0b877c4c07531e6c17e01d81a35f590c259ac6ee644491c96ca9)
2025-07-29 00:49.59 ---> using "ed16fac839065eed411261dd98027fc5a774a777a7cb09f621eb5f9c8e70e408" from cache


/: (comment fedora-42-4.14_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 42 openh264 (From Cisco) - x86_ 100% |  10.2 KiB/s | 986.0   B |  00m00s
Fedora 42 - x86_64 - Updates           100% |  57.2 KiB/s |  25.2 KiB |  00m00s
Fedora 42 - x86_64                     100% |  83.1 KiB/s |  26.0 KiB |  00m00s
Fedora 42 - x86_64 - Updates           100% | 409.1 KiB/s |   7.2 MiB |  00m18s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.


Nothing to do.
2025-07-29 00:49.59 ---> using "0f727d8e6b4922459793d6ee82ac3325992f2fce053926a6761b95ae4a580d35" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-29 00:49.59 ---> using "8cbba7add5ad330639653b419d7ab94b6e2a15e174401f8c13c979cc732f7456" 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 development 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-29 00:49.59 ---> using "e10b4ac3ec769b1d8261edaa737089af50b2f0fbb8906d0c0a4548f2489de52d" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-29 00:49.59 ---> using "b3dffb3ff06fcff9299c46485bd7509ac0775759abdb1876a07729d2f1191664" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-29 00:49.59 ---> using "7d0dd958de6f888928813b3c6cec0ba0dc0f0cd4aca0bacbb5859159c41f76a9" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
6dea2f9390..ee8b9193dd  master     -> origin/master
e77940d8ff Merge pull request #28255 from dbuenzli/b0-publish-fmt.0.11.0


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


The following actions will be performed:
=== recompile 2 packages
- recompile ocaml       4.14.2 [upstream or system changes]
- recompile opam-depext 1.2.3  [uses ocaml]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> removed   ocaml.4.14.2
-> installed ocaml.4.14.2
-> installed opam-depext.1.2.3
Done.


<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2025-07-29 00:49.59 ---> using "2b98022570ea5e8da6d23d0820b71da9ad2f2ea1004b150169fee9bf2fc18d41" from cache


/src: (copy (src pcap-format.opam) (dst ./))
2025-07-29 00:50.00 ---> saved as "700bd808ba417789170856178fa8577328f195b327209c9e561abbac605f5daf"


/src: (run (network host)
(shell "opam pin add -yn pcap-format.dev './'"))
[pcap-format.dev] synchronised (file:///src)
pcap-format is now pinned to file:///src (version dev)
2025-07-29 00:50.02 ---> saved as "beb9282ec55207fd8642b73846c9b9c54753ba287e84e3d89c22927fd0f8a1ea"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-29 00:50.02 ---> saved as "a2546ede0c1b107738e9d26e86f814bf3ec7ef1ac75243ae52b0c0453125d463"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.19.1 fmt.0.11.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ounit2.2.2.7 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.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.3 --depext-only -y pcap-format.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[pcap-format.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 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).
2025-07-29 00:50.20 ---> saved as "ebe20eeccefe125ceb5be0ec03ff7ef44ba67227d6cf19a58ab2532e31c40e37"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[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 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 17 packages
- install cstruct             6.2.0
- install dune                3.19.1
- install fmt                 0.11.0
- install num                 1.6
- install ocaml-compiler-libs v0.12.4
- install ocamlbuild          0.16.1
- install ocamlfind           1.9.8
- install ounit2              2.2.7
- install parsexp             v0.16.0
- install ppx_cstruct         6.2.0
- install ppx_derivers        1.2.1
- install ppxlib              0.36.0
- install seq                 base
- install sexplib             v0.16.0
- install sexplib0            v0.16.0
- install stdlib-shims        0.3.0
- install topkg               1.1.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cstruct.6.2.0, ppx_cstruct.6.2.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved dune.3.19.1  (cached)
-> installed num.1.6
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed dune.3.19.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed cstruct.6.2.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ounit2.2.2.7
-> installed parsexp.v0.16.0
-> installed sexplib.v0.16.0
-> installed ppxlib.0.36.0
-> installed ppx_cstruct.6.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-29 00:52.42 ---> saved as "5bc0161c00c82e27458b7330f911416f533ffead3754cc17643b447c008a7e57"


/src: (copy (src .) (dst /src))
2025-07-29 00:52.43 ---> saved as "1bb5fc28194d92f82f1283dd2c691eff66c41a7a4cca0eae7d187e69ad27599b"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./test.exe)
..
Ran: 2 tests in: 0.00 seconds.
OK
2025-07-29 00:52.47 ---> saved as "17ce22ee7c6e23f7c04dfd8a87927e90c6a24afee3577dcbd423fc2dee99ce47"
Job succeeded
2025-07-29 00:52.47: Job succeeded