Build:
- 0
2026-03-02 21:58.46: New job: test posix-unistd.4.0.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29495/head (2179367d24629cef9cd7954ac7f567f6655671d4)
on ubuntu-25.04-ocaml-5.4/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29495/head" && git reset --hard 2179367d
git fetch origin master
git merge --no-edit 4d2d05075ed20338fa6af3429fc5c18858025bd3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:2cffc410bda1fffd602391e87abe1564166b41d9804fa80d94b3f0b269fbfaf7
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn posix-unistd.4.0.2 4.0.2
RUN opam reinstall posix-unistd.4.0.2; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"ubuntu-25.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'posix-unistd.4.0.2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test posix-unistd.4.0.2) || true
RUN opam reinstall --with-test --verbose posix-unistd.4.0.2; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"ubuntu-25.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'posix-unistd.4.0.2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-03-02 21:58.46: Using cache hint "ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:2cffc410bda1fffd602391e87abe1564166b41d9804fa80d94b3f0b269fbfaf7-posix-unistd.4.0.2-2179367d24629cef9cd7954ac7f567f6655671d4"
2026-03-02 21:58.46: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:2cffc410bda1fffd602391e87abe1564166b41d9804fa80d94b3f0b269fbfaf7)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn posix-unistd.4.0.2 4.0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall posix-unistd.4.0.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-25.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'posix-unistd.4.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test posix-unistd.4.0.2) || true"))
(run (shell "opam reinstall --with-test --verbose posix-unistd.4.0.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-25.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'posix-unistd.4.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-03-02 21:58.46: Waiting for resource in pool OCluster
2026-03-03 09:35.35: Waiting for worker…
2026-03-03 09:39.38: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 4d2d05075e Merge pull request #29493 from filipeom/opam-publish-smtml.0.22.0
Updating 4d2d05075e..2179367d24
Fast-forward
packages/posix-base/posix-base.4.0.2/opam | 40 ++++++++++++++++++
packages/posix-bindings/posix-bindings.4.0.2/opam | 47 ++++++++++++++++++++++
packages/posix-errno/posix-errno.4.0.2/opam | 40 ++++++++++++++++++
packages/posix-getopt/posix-getopt.4.0.2/opam | 46 +++++++++++++++++++++
packages/posix-math2/posix-math2.4.0.2/opam | 40 ++++++++++++++++++
packages/posix-resource/posix-resource.4.0.2/opam | 44 ++++++++++++++++++++
packages/posix-signal/posix-signal.4.0.2/opam | 42 +++++++++++++++++++
.../posix-socket-unix/posix-socket-unix.4.0.2/opam | 43 ++++++++++++++++++++
packages/posix-socket/posix-socket.4.0.2/opam | 42 +++++++++++++++++++
packages/posix-stat/posix-stat.4.0.2/opam | 44 ++++++++++++++++++++
packages/posix-time2/posix-time2.4.0.2/opam | 43 ++++++++++++++++++++
packages/posix-types/posix-types.4.0.2/opam | 42 +++++++++++++++++++
packages/posix-uname/posix-uname.4.0.2/opam | 41 +++++++++++++++++++
packages/posix-unistd/posix-unistd.4.0.2/opam | 42 +++++++++++++++++++
14 files changed, 596 insertions(+)
create mode 100644 packages/posix-base/posix-base.4.0.2/opam
create mode 100644 packages/posix-bindings/posix-bindings.4.0.2/opam
create mode 100644 packages/posix-errno/posix-errno.4.0.2/opam
create mode 100644 packages/posix-getopt/posix-getopt.4.0.2/opam
create mode 100644 packages/posix-math2/posix-math2.4.0.2/opam
create mode 100644 packages/posix-resource/posix-resource.4.0.2/opam
create mode 100644 packages/posix-signal/posix-signal.4.0.2/opam
create mode 100644 packages/posix-socket-unix/posix-socket-unix.4.0.2/opam
create mode 100644 packages/posix-socket/posix-socket.4.0.2/opam
create mode 100644 packages/posix-stat/posix-stat.4.0.2/opam
create mode 100644 packages/posix-time2/posix-time2.4.0.2/opam
create mode 100644 packages/posix-types/posix-types.4.0.2/opam
create mode 100644 packages/posix-uname/posix-uname.4.0.2/opam
create mode 100644 packages/posix-unistd/posix-unistd.4.0.2/opam
(from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:2cffc410bda1fffd602391e87abe1564166b41d9804fa80d94b3f0b269fbfaf7)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:2cffc410bda1fffd602391e87abe1564166b41d9804fa80d94b3f0b269fbfaf7' locally
docker.io/ocaml/opam@sha256:2cffc410bda1fffd602391e87abe1564166b41d9804fa80d94b3f0b269fbfaf7: Pulling from ocaml/opam
c62190a9ab61: Already exists
9a2e0901dff5: Already exists
b1f9cc70ae42: Already exists
ce0546b0dd1f: Already exists
79301f00e8ba: Already exists
9b295b25667c: Already exists
a31f71beef5e: Already exists
5f6f7ff1dd75: Already exists
3326c804f772: Already exists
dbc305c5cd35: Already exists
c2cccf40b87f: Already exists
45e66d8ca585: Already exists
fcefa7241269: Already exists
5bf160151561: Already exists
874b2264723c: Already exists
ada98df8f669: Already exists
ab8d0ea6e4f6: Already exists
ab8d0ea6e4f6: Already exists
18a72a4bedd6: Already exists
bfcd7ea0ace8: Already exists
76a18c947be5: Already exists
6fd9d51ce26c: Already exists
4f4fb700ef54: Already exists
77d410803a59: Already exists
44e2dad9dd55: Already exists
b51e285283d3: Already exists
dd8da5b96ca2: Already exists
b46c436fcec9: Already exists
a9e62b40a1cc: Already exists
f5ab56558ad4: Already exists
8f52d3d09866: Already exists
39ac1f9b485e: Already exists
503fbe92c3b9: Already exists
f3db52c04fc1: Already exists
3bb40995af78: Already exists
6d3eedecbaf6: Already exists
54d9b8997e57: Already exists
7ac9824e9d33: Already exists
c1f90a8d5106: Already exists
d336c837e373: Already exists
944b009c31cf: Already exists
b54434d1a7b2: Pulling fs layer
c6fa116348d4: Pulling fs layer
f40b1da90c03: Pulling fs layer
6b2f3ad82cd2: Pulling fs layer
2abd53e9d152: Pulling fs layer
225bd13e574b: Pulling fs layer
ff3c24573dcf: Pulling fs layer
6b2f3ad82cd2: Waiting
2abd53e9d152: Waiting
225bd13e574b: Waiting
ff3c24573dcf: Waiting
b54434d1a7b2: Verifying Checksum
b54434d1a7b2: Download complete
c6fa116348d4: Download complete
b54434d1a7b2: Pull complete
f40b1da90c03: Verifying Checksum
f40b1da90c03: Download complete
c6fa116348d4: Pull complete
f40b1da90c03: Pull complete
2abd53e9d152: Verifying Checksum
2abd53e9d152: Download complete
225bd13e574b: Verifying Checksum
ff3c24573dcf: Verifying Checksum
ff3c24573dcf: Download complete
6b2f3ad82cd2: Verifying Checksum
6b2f3ad82cd2: Download complete
6b2f3ad82cd2: Pull complete
2abd53e9d152: Pull complete
225bd13e574b: Pull complete
ff3c24573dcf: Pull complete
Digest: sha256:2cffc410bda1fffd602391e87abe1564166b41d9804fa80d94b3f0b269fbfaf7
Status: Downloaded newer image for ocaml/opam@sha256:2cffc410bda1fffd602391e87abe1564166b41d9804fa80d94b3f0b269fbfaf7
2026-03-03 09:40.37 ---> saved as "a634f8fb437ef5cea72ce5f0477c94f6d86af23208db08fbeebe95aaad5c8479"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-03 09:40.37 ---> saved as "0f2ad049b2c64b97fc6d1b929b071eb53bea066429880c4b95b75ff098bf9ef2"
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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
2026-03-03 09:41.01 ---> saved as "50f9e11c2ce90d9c32c8320c0731ab9589de6092197d1bfa64c9f80d72438d9a"
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=ubuntu os-version=25.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-03-03 09:41.02 ---> saved as "f4da5ce3c2dc0fd7f08f0d4e12bb1006a0065954420ab1801f0da95e212cecc7"
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2026-03-03 09:41.11 ---> saved as "f140835d880c52828301fc0760f8911695f1aafafd707cf1950d86c69d639adf"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 09:41.25 ---> saved as "95da83c00b6027c9cf0997b105c062705901640a7d20e5cc314b2cd2b9c5e08a"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 09:41.44 ---> saved as "a17aa2a9bcd61450906b1918193db59c6ac8bf07f288de6548ec486d2cb98d14"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Hit:2 http://security.ubuntu.com/ubuntu plucky-security InRelease
- Hit:3 http://archive.ubuntu.com/ubuntu plucky-updates InRelease
- Hit:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease
- Reading package lists...
-
2026-03-03 09:41.45 ---> saved as "de140d8d6269801f0725d6109360107cf6378f9d096c0d95a6a94b3a7310a420"
/home/opam: (run (shell "opam pin add -k version -yn posix-unistd.4.0.2 4.0.2"))
posix-unistd is now pinned to version 4.0.2
2026-03-03 09:41.46 ---> saved as "573e0d9f1bb65bb5d3a5500d20bd3d89db89b0040e82f080346ce50bbe92ceca"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall posix-unistd.4.0.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-25.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'posix-unistd.4.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
posix-unistd.4.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 10 packages
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by posix-unistd]
- install dune 3.21.1 [required by posix-unistd]
- install dune-configurator 3.21.1 [required by ctypes]
- install integers 0.7.0 [required by ctypes, posix-base]
- install posix-base 4.0.2 [required by posix-unistd]
- install posix-errno 4.0.2 [required by posix-unistd]
- install posix-types 4.0.2 [required by posix-unistd]
- install posix-unistd 4.0.2 (pinned)
- install stdlib-shims 0.3.0 [required by integers]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved ctypes.0.24.0 (cached)
-> retrieved dune.3.21.1, dune-configurator.3.21.1 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved posix-base.4.0.2, posix-errno.4.0.2, posix-types.4.0.2, posix-unistd.4.0.2 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.21.1
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.21.1
-> installed ctypes.0.24.0
-> installed posix-base.4.0.2
-> installed posix-types.4.0.2
-> installed posix-errno.4.0.2
-> installed posix-unistd.4.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 09:42.31 ---> saved as "ed4d94290bd23366de921ae0ce4aab60a09b8db85fe1990994fd3c3b121831ac"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test posix-unistd.4.0.2) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile posix-unistd 4.0.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed posix-unistd.4.0.2
-> installed posix-unistd.4.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 09:42.36 ---> saved as "d8b46b10dadfd3c094a1b602b8c8a13add4f6030a6bdc39707679cd5a199e9d4"
/home/opam: (run (shell "opam reinstall --with-test --verbose posix-unistd.4.0.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-25.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'posix-unistd.4.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile posix-unistd 4.0.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [posix-unistd: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-unistd" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/posix-unistd.4.0.2)
-> compiled posix-unistd.4.0.2
-> removed posix-unistd.4.0.2
-> installed posix-unistd.4.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 09:42.41 ---> saved as "c9c14699f099c7180f74e93bb248bb52141774c8f7d155a7db7a87ad373d39f2"
Job succeeded
2026-03-03 09:42.47: Job succeeded