Organisationsocaml-multicoreocaml-uring698ad3 ()alpine-3.21-5.3_opam-2.4

alpine-3.21-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-09-01 11:21.27: New job: test ocaml-multicore/ocaml-uring https://github.com/ocaml-multicore/ocaml-uring.git#refs/heads/main (698ad36fd94347f1732587931b6cae8a76c4d46b) (linux-x86_64:alpine-3.21-5.3_opam-2.4)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:f6341677628009b798cfd009bfc09e6c6e7e8daa500659db608067bf317ad123
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-multicore/ocaml-uring.git" -b "main" && cd "ocaml-uring" && git reset --hard 698ad36f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:f6341677628009b798cfd009bfc09e6c6e7e8daa500659db608067bf317ad123
# alpine-3.21-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 uring.opam ./
RUN opam pin add -yn uring.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.1 dune-configurator.3.20.1 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 mdx.2.5.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 re.1.13.2 result.1.5 seq.base topkg.1.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y uring.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-09-01 11:21.27: Using cache hint "ocaml-multicore/ocaml-uring-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:f6341677628009b798cfd009bfc09e6c6e7e8daa500659db608067bf317ad123-alpine-3.21-5.3_opam-2.4-ae5b8ad3e79bd7552733c33d4eed84a7"
2025-09-01 11:21.27: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:f6341677628009b798cfd009bfc09e6c6e7e8daa500659db608067bf317ad123)
(comment alpine-3.21-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src uring.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn uring.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.1 dune-configurator.3.20.1 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 mdx.2.5.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 re.1.13.2 result.1.5 seq.base 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.4 --depext-only -y uring.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-09-01 11:21.27: Waiting for resource in pool OCluster
2025-09-01 11:21.27: Waiting for worker…
2025-09-01 11:21.28: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 698ad36 Merge pull request #120 from patricoferris/mkdirat


(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:f6341677628009b798cfd009bfc09e6c6e7e8daa500659db608067bf317ad123)
2025-09-01 11:21.31 ---> using "4f03d9722b1d38951773ed1c3e06918222050f9b7e36e3da45d836913158178b" from cache


/: (comment alpine-3.21-5.3_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-01 11:21.31 ---> using "9f2b3827877f61e711907a53c0365442ef09a6eef6b48de6cf26fe349d19ea14" 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 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-09-01 11:21.31 ---> using "8a1ac9fac4846aa53dc1e32b8ecda435ffc73bfc3e983db0aded4e15b2f29eb4" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-01 11:21.31 ---> using "74b3c67918903b3e462fde7709ab88e33dc6472e2e31f3a4bd01cc6e9fbd405c" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-01 11:21.31 ---> using "10f606515cd7c725f81471152a95510c82ccb2187838bdcff5022e5b351073fb" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
b3b872a94f..f2cd184cfc  master     -> origin/master
53c7f25306 Merge pull request #28384 from raphael-proust/opam-publish-lwt.5.9.2


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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-01 11:21.31 ---> using "cbaa3cab21fbaf136efc63067e8d42bb86c48d65a1c179ab8c4288b97a3ede8a" from cache


/src: (copy (src uring.opam) (dst ./))
2025-09-01 11:21.31 ---> using "06c038e6395e2a69e81a0dcf09fbc33d747758a0631eb3d9a7248aef3f206bad" from cache


/src: (run (network host)
(shell "opam pin add -yn uring.dev './'"))
[uring.dev] synchronised (file:///src)
uring is now pinned to file:///src (version dev)
2025-09-01 11:21.31 ---> using "1e65f51c7ef7834a484af79cc9b27c595760dd92c422f47b79038026f6c75e3e" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-01 11:21.31 ---> using "00e5107415243328ff52c7616e73fb575d7d1ea6358687817e77761e5f75c769" from cache


/src: (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.1 dune-configurator.3.20.1 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 mdx.2.5.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 re.1.13.2 result.1.5 seq.base 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.4 --depext-only -y uring.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/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.21.4-75-ge59833779c6 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.4-75-ge59833779c6 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-5327-g1313d0cb7ef [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-5331-g37fb02e98c5 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-5332-g3f36e04b7ad [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59411 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[uring.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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:
linux-headers


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apk" "add" "linux-headers"
- (1/1) Installing linux-headers (6.6-r1)
- OK: 311 MiB in 103 packages
2025-09-01 11:21.31 ---> using "94ae86628163b39885b9cb1414730a2eec97c3d634921e80f4b9dab24e32d9c5" from cache


/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 23 packages
- install astring           0.8.5
- install base-bytes        base
- install bechamel          0.5.0
- install camlp-streams     5.0.1
- install cmdliner          1.3.0
- install cppo              1.8.0
- install csexp             1.5.2
- install cstruct           6.2.0
- install dune              3.20.1
- install dune-configurator 3.20.1
- install fmt               0.11.0
- install logs              0.9.0
- install lwt               5.9.2
- install mdx               2.5.0
- install ocaml-version     4.0.1
- install ocamlbuild        0.16.1
- install ocamlfind         1.9.8
- install ocplib-endian     1.2
- install optint            0.3.0
- install re                1.13.2
- install result            1.5
- install seq               base
- install topkg             1.1.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bechamel.0.5.0  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved mdx.2.5.0  (cached)
-> retrieved ocaml-version.4.0.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.13.2  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved dune.3.20.1, dune-configurator.3.20.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.1
-> installed csexp.1.5.2
-> installed bechamel.0.5.0
-> installed camlp-streams.5.0.1
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed ocaml-version.4.0.1
-> installed optint.0.3.0
-> installed re.1.13.2
-> installed result.1.5
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.1
-> installed lwt.5.9.2
-> installed logs.0.9.0
-> installed mdx.2.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-01 11:21.31 ---> using "d99455612ae3b84485b207d2ce8169112c988e164c4acb26eba9525dc358b106" from cache


/src: (copy (src .) (dst /src))
2025-09-01 11:21.31 ---> using "87ebfc983ad1ec4113bc0db5499539df077d9a12eb42b4db172142b317812072" from cache


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/vendor/liburing && ./configure)
prefix                        /usr
includedir                    /usr/include
libdir                        /usr/lib
libdevdir                     /usr/lib
relativelibdir
mandir                        /usr/man
datadir                       /usr/share
stringop_overflow             yes
array_bounds                  yes
__kernel_rwf_t                yes
__kernel_timespec             yes
open_how                      yes
statx                         yes
glibc_statx                   yes
C++                           yes
has_ucontext                  no
NVMe uring command support    yes
nolibc support                yes
has_fanotify                  yes
CC                            gcc
CXX                           g++
(cd _build/default/vendor/liburing && /usr/bin/make -j -C src)
make: Entering directory '/src/_build/default/vendor/liburing/src'
CC setup.ol
CC queue.ol
CC register.ol
CC syscall.ol
CC version.ol
CC nolibc.ol
CC ffi.ol
CC setup.os
CC queue.os
CC register.os
CC syscall.os
CC version.os
CC nolibc.os
CC ffi.os
CC liburing.so.2.4
AR liburing.a
RANLIB liburing.a
AR liburing-ffi.a
RANLIB liburing-ffi.a
CC liburing-ffi.so.2.4
make: Leaving directory '/src/_build/default/vendor/liburing/src'
ar: creating liburing.a
ar: creating liburing-ffi.a
(cd _build/default/tests && ./poll_add.exe)
submitted 1
poll_add: 1
2025-09-01 11:21.31 ---> using "dffd486b2b2940edcb4748b5fda00a98e6806b9cc0174ba3eee5878628a4f122" from cache
Job succeeded
2025-09-01 11:21.31: Job succeeded