- github
- ocaml
- opam-repository
- 33432a
- distributions,debian-testing-ocaml-5.3,dypgen.0.2.1
(not at the head of any monitored branch or PR)
2025-05-08 21:25.25: New job: build dypgen.0.2.1, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27863/head (33432a43507d027e0f0f463008c4ce32d0bc8e34)
on debian-testing-ocaml-5.3/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/27863/head" && git reset --hard 33432a43
git fetch origin master
git merge --no-edit 0d013e603b5ebf0e9b404e10d5a6839f226e1739
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-testing-ocaml-5.3@sha256:970f87ac700201a642decc9bd2b5ca07181b540c2ec9e3e65a7f081669058b15
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 dypgen.0.2.1 0.2.1
RUN opam reinstall dypgen.0.2.1; \
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 "\"debian-testing\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'dypgen.0.2.1' && 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 .
2025-05-08 21:25.25: Using cache hint "ocaml/opam:debian-testing-ocaml-5.3@sha256:970f87ac700201a642decc9bd2b5ca07181b540c2ec9e3e65a7f081669058b15-dypgen.0.2.1-33432a43507d027e0f0f463008c4ce32d0bc8e34"
2025-05-08 21:25.25: Using OBuilder spec:
((from ocaml/opam:debian-testing-ocaml-5.3@sha256:970f87ac700201a642decc9bd2b5ca07181b540c2ec9e3e65a7f081669058b15)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 dypgen.0.2.1 0.2.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dypgen.0.2.1;\
\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 \"\\\"debian-testing\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dypgen.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-05-08 21:25.25: Waiting for resource in pool OCluster
2025-05-08 21:25.26: Waiting for worker…
2025-05-08 21:25.26: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files: 96% (22247/23011)
Updating files: 97% (22321/23011)
Updating files: 98% (22551/23011)
Updating files: 99% (22781/23011)
Updating files: 100% (23011/23011)
Updating files: 100% (23011/23011), done.
HEAD is now at 0d013e603b Merge pull request #27802 from Khady/release-junit-2.3.0
Merge made by the 'ort' strategy.
packages/dypgen/dypgen.0.2.1/opam | 42 +++++++++++++++++++++++++++
packages/grain_dypgen/grain_dypgen.0.2.1/opam | 42 +++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
create mode 100644 packages/dypgen/dypgen.0.2.1/opam
create mode 100644 packages/grain_dypgen/grain_dypgen.0.2.1/opam
(from ocaml/opam:debian-testing-ocaml-5.3@sha256:970f87ac700201a642decc9bd2b5ca07181b540c2ec9e3e65a7f081669058b15)
Unable to find image 'ocaml/opam:debian-testing-ocaml-5.3@sha256:970f87ac700201a642decc9bd2b5ca07181b540c2ec9e3e65a7f081669058b15' locally
docker.io/ocaml/opam@sha256:970f87ac700201a642decc9bd2b5ca07181b540c2ec9e3e65a7f081669058b15: Pulling from ocaml/opam
e93754234e5c: Pulling fs layer
e93754234e5c: Waiting
e93754234e5c: Verifying Checksum
e93754234e5c: Download complete
e93754234e5c: Pull complete
Digest: sha256:970f87ac700201a642decc9bd2b5ca07181b540c2ec9e3e65a7f081669058b15
Status: Downloaded newer image for ocaml/opam@sha256:970f87ac700201a642decc9bd2b5ca07181b540c2ec9e3e65a7f081669058b15
2025-05-08 21:25.41 ---> using "43adc9bcebae9a7dce14fcb7b3957b70f8b41dcb68d3bcdc26b1246aeea82ba3" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-08 21:25.41 ---> using "19a1f1e01471730b9bb1a90fb3df425da29a486b99fa1dbabeac3d17bfe4f847" from cache
/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] Initialised
2025-05-08 21:25.41 ---> using "f9abcb351c43b0f7ed35377b0025229739c4e74b69defea79cc134de0d468cd2" from cache
/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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=unknown
# 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.3
# invariant ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-05-08 21:25.41 ---> using "c334d8881977e7ba190fc5c33ebc855f969ff4b0664dc85eb48c912528e70baf" from cache
/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/"))
2025-05-08 21:25.41 ---> using "feb5850f366370eb25263c5a581d3818fda42837e3612e2acacb8134d34def51" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-05-08 21:25.50 ---> saved as "4cd72f7bb954e76180f190a521ed973802a5216e56be4a31fb117f77beb03815"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-08 21:26.14 ---> saved as "280fc9afa71766148902842f47392ba4b0254b87335ddc3620171bc9f7cbc06c"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian testing InRelease [175 kB]
- Get:2 http://deb.debian.org/debian testing-updates InRelease [49.6 kB]
- Get:3 http://deb.debian.org/debian-security testing-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [27.9 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-04-1415.21.pdiff [2592 B]
- Get:6 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-04-2008.45.pdiff [264 B]
- Get:7 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-05-0206.24.pdiff [35.0 kB]
- Get:8 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-05-0804.20.pdiff [1552 B]
- Get:9 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-05-1407.06.pdiff [5020 B]
- Get:10 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-05-2006.57.pdiff [8892 B]
- Get:11 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-06-0206.09.pdiff [26.3 kB]
- Get:12 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-06-0807.55.pdiff [224 B]
- Get:13 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-06-1404.15.pdiff [1278 B]
- Get:14 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-06-2013.59.pdiff [33 B]
- Get:15 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-07-0204.06.pdiff [23.2 kB]
- Get:16 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-07-0805.20.pdiff [588 B]
- Get:17 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-07-1405.39.pdiff [33 B]
- Get:18 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-08-0213.00.pdiff [26.8 kB]
- Get:19 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-08-0805.33.pdiff [364 B]
- Get:20 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-08-1404.53.pdiff [80 B]
- Get:20 http://deb.debian.org/debian testing/main amd64 Packages 2025-05-08-1404.53.pdiff [80 B]
- Fetched 433 kB in 1s (315 kB/s)
- Reading package lists...
-
2025-05-08 21:26.16 ---> saved as "3351fa0423fa21e2271d7d0e3a4105bcfffc5b8080f3c48b6f447f3614903a18"
/home/opam: (run (shell "opam pin add -k version -yn dypgen.0.2.1 0.2.1"))
dypgen is now pinned to version 0.2.1
2025-05-08 21:26.17 ---> saved as "b6ea163bd092cda1faaedda69fe38913f65b8462a6385a60c2ce14e016812c47"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dypgen.0.2.1;\
\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 \"\\\"debian-testing\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dypgen.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dypgen.0.2.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.18.2 [required by dypgen]
- install dypgen 0.2.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.18.2 (cached)
-> retrieved dypgen.0.2.1 (https://github.com/recoules/dypgen/releases/download/0.2.1/dypgen-0.2.1.tbz)
-> installed dune.3.18.2
-> installed dypgen.0.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-08 21:26.45 ---> saved as "edba324ffd167e595b43c4a2c06435ce4c2b949b0d0172474c30ffdd8e101425"
Job succeeded
2025-05-08 21:26.57: Job succeeded