2024-12-10 14:09.58: New job: test flatunionfind.20241210, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27064/head (dddcb965173c1b40859513fa9af32f1bfe723f22)
on opensuse-tumbleweed-ocaml-4.14/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/27064/head" && git reset --hard dddcb965
git fetch origin master
git merge --no-edit 1b2a01620fb88e9beac02940ce59c6de74151655
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:8a01af8ebfed17f87f78f66ee2906113911d9bcf4898402ae642d6fca1e7a4ee
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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 flatunionfind.20241210 20241210
RUN opam reinstall flatunionfind.20241210; \
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 "\"opensuse-tumbleweed\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'flatunionfind.20241210' && 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 flatunionfind.20241210) || true
RUN opam reinstall --with-test --verbose flatunionfind.20241210; \
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 "\"opensuse-tumbleweed\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'flatunionfind.20241210' && 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 .
2024-12-10 14:09.58: Using cache hint "ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:8a01af8ebfed17f87f78f66ee2906113911d9bcf4898402ae642d6fca1e7a4ee-flatunionfind.20241210-dddcb965173c1b40859513fa9af32f1bfe723f22"
2024-12-10 14:09.58: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:8a01af8ebfed17f87f78f66ee2906113911d9bcf4898402ae642d6fca1e7a4ee)
(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 "uname -rs && opam exec -- ocaml -version && opam --version"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMSOLVERTIMEOUT 1000)
(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 flatunionfind.20241210 20241210"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall flatunionfind.20241210;\
\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 \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'flatunionfind.20241210' && 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 flatunionfind.20241210) || true"))
(run (shell "opam reinstall --with-test --verbose flatunionfind.20241210;\
\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 \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'flatunionfind.20241210' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-12-10 14:09.58: Waiting for resource in pool OCluster
2024-12-10 14:09.59: Waiting for worker…
2024-12-10 14:09.59: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
Updating files: 99% (32739/32884)
Updating files: 100% (32884/32884)
Updating files: 100% (32884/32884), done.
HEAD is now at 1b2a01620f Merge pull request #27058 from hannesm/release-mirage-v4.8.2
Updating 1b2a01620f..dddcb96517
Fast-forward
packages/flatunionfind/flatunionfind.20241210/opam | 37 ++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 packages/flatunionfind/flatunionfind.20241210/opam
(from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:8a01af8ebfed17f87f78f66ee2906113911d9bcf4898402ae642d6fca1e7a4ee)
Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:8a01af8ebfed17f87f78f66ee2906113911d9bcf4898402ae642d6fca1e7a4ee' locally
docker.io/ocaml/opam@sha256:8a01af8ebfed17f87f78f66ee2906113911d9bcf4898402ae642d6fca1e7a4ee: Pulling from ocaml/opam
9ed33616dc1b: Pulling fs layer
9ed33616dc1b: Verifying Checksum
9ed33616dc1b: Download complete
9ed33616dc1b: Pull complete
Digest: sha256:8a01af8ebfed17f87f78f66ee2906113911d9bcf4898402ae642d6fca1e7a4ee
Status: Downloaded newer image for ocaml/opam@sha256:8a01af8ebfed17f87f78f66ee2906113911d9bcf4898402ae642d6fca1e7a4ee
2024-12-10 14:12.13 ---> saved as "378971b8a8f27ddc6c9efd710a1b614da72b815f691c80adadde2e24d7e7fa14"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-12-10 14:12.13 ---> saved as "5923416f98805f209038afeea00c21910d2448d97655818618323a03ab44b1b4"
/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 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] synchronised from file:///home/opam/opam-repository
2024-12-10 14:13.40 ---> saved as "61b9b351eeaddb61d6377844dfa03fba36bcd0c1baa9bb710e87c8b5b21d193a"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.14.2
2.4.0~alpha1~dev
2024-12-10 14:13.40 ---> saved as "9c736ba05be404c46b428faddf20c4c9703eaada9b49b4c8ab182185eb2c3475"
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMSOLVERTIMEOUT 1000)
/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/"))
2024-12-10 14:13.46 ---> saved as "7ddecbc7b5902408be1a72f0253394e221e1dda9c7a0aec36666cbd8f0d58b97"
/home/opam: (copy (src .) (dst opam-repository/))
2024-12-10 14:13.58 ---> saved as "5001a8e84703127fd010861f13cb455adb877984b79772bc775cd5f4615ce6a5"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-12-10 14:14.53 ---> saved as "24c7f988bc49458118f560e9171e551d6f3fa522ea89554ca2d0b2236134dd9b"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [.........done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [.
- .............
- .....done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- All repositories have been refreshed.
2024-12-10 14:15.02 ---> saved as "ed859d11d88ccd94a7e088677b00cb1588888c52f539798dfab3744076ea3dae"
/home/opam: (run (shell "opam pin add -k version -yn flatunionfind.20241210 20241210"))
flatunionfind is now pinned to version 20241210
2024-12-10 14:15.03 ---> saved as "d08a86191f2b084f808e17a024cb672cec0b4ed6e358ba7ec2d5ea82d7b271b0"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall flatunionfind.20241210;\
\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 \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'flatunionfind.20241210' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
flatunionfind.20241210 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
- install afl-persistent 1.4 [required by monolith]
- install cppo 1.8.0 [required by hachis, hector]
- install dune 3.17.0 [required by flatunionfind]
- install flatunionfind 20241210 (pinned)
- install hachis 20240918 [required by flatunionfind]
- install hector 20241208 [required by flatunionfind]
- install monolith 20241126 [required by hector]
- install pprint 20230830 [required by monolith]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved dune.3.17.0 (cached)
-> retrieved flatunionfind.20241210 (cached)
-> retrieved hachis.20240918 (cached)
-> retrieved hector.20241208 (cached)
-> retrieved monolith.20241126 (cached)
-> retrieved pprint.20230830 (cached)
-> installed dune.3.17.0
-> installed afl-persistent.1.4
-> installed pprint.20230830
-> installed cppo.1.8.0
-> installed monolith.20241126
-> installed hachis.20240918
-> installed hector.20241208
-> installed flatunionfind.20241210
Done.
<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
not enable AFL instrumentation by default, most packages will not be
instrumented and fuzzing with afl-fuzz may not be effective.
To globally enable AFL instrumentation, create an OCaml switch like:
opam switch create 4.14.2+afl ocaml-variants.4.14.2+options ocaml-option-afl
# To update the current shell environment, run: eval $(opam env)
2024-12-10 14:15.55 ---> saved as "667ea3ddd0b236ea37c1b0eb4685865faf8e5be4d27e82ec466c2f8e7a3c867d"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test flatunionfind.20241210) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile flatunionfind 20241210 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved flatunionfind.20241210 (https://github.com/fpottier/flatunionfind/archive/20241210.tar.gz)
-> removed flatunionfind.20241210
-> installed flatunionfind.20241210
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-10 14:16.19 ---> saved as "b7de65fbc9c49af3508c9f4ae53cdcef2c847e82001aa476faa1b42d81625973"
/home/opam: (run (shell "opam reinstall --with-test --verbose flatunionfind.20241210;\
\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 \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'flatunionfind.20241210' && 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 flatunionfind 20241210 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [flatunionfind.20241210: extract]
-> retrieved flatunionfind.20241210 (cached)
Processing 2/4: [flatunionfind: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "flatunionfind" "-j" "31" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/flatunionfind.20241210)
-> compiled flatunionfind.20241210
-> removed flatunionfind.20241210
-> installed flatunionfind.20241210
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-10 14:16.47 ---> saved as "3c431966a24c8ef0ac1779d2b2a9d8bc83a9481c71c7e256a5ce310ee1efdebf"
Job succeeded
2024-12-10 14:16.55: Job succeeded