- github
- ocaml
- opam-repository
- f2ac03
- extras,opam-2.0-ocaml-5.3,herodotos.1.0,tests
(not at the head of any monitored branch or PR)
2025-02-10 15:04.42: New job: test herodotos.1.0, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/26111/head (f2ac03865dc59fa28dbaf9a4764dead36cf9406f)
on debian-12-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/26111/head" && git reset --hard f2ac0386
git fetch origin master
git merge --no-edit 36f4d2d5ceb882a79fd7d7f956b490201da67226
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn herodotos.1.0 1.0
RUN opam depext herodotos.1.0 && opam reinstall herodotos.1.0; \
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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'herodotos.1.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam depext --with-test herodotos.1.0 && opam reinstall --with-test herodotos.1.0) || true
RUN opam depext --with-test herodotos.1.0 && opam reinstall --with-test --verbose herodotos.1.0; \
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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'herodotos.1.0' && 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-02-10 15:04.42: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683-herodotos.1.0-f2ac03865dc59fa28dbaf9a4764dead36cf9406f"
2025-02-10 15:04.42: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || true"))
(run (shell "opam pin add -k version -yn herodotos.1.0 1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext herodotos.1.0 && opam reinstall herodotos.1.0;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'herodotos.1.0' && 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 depext --with-test herodotos.1.0 && opam reinstall --with-test herodotos.1.0) || true"))
(run (shell "opam depext --with-test herodotos.1.0 && opam reinstall --with-test --verbose herodotos.1.0;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'herodotos.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-02-10 15:04.42: Waiting for resource in pool OCluster
2025-02-10 15:11.23: Waiting for worker…
2025-02-10 15:18.22: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
Updating files: 93% (21685/23304)
Updating files: 94% (21906/23304)
Updating files: 95% (22139/23304)
Updating files: 96% (22372/23304)
Updating files: 97% (22605/23304)
Updating files: 98% (22838/23304)
Updating files: 99% (23071/23304)
Updating files: 100% (23304/23304)
Updating files: 100% (23304/23304), done.
HEAD is now at 36f4d2d5ce Merge pull request #27169 from Frigory33/release-allegro5-0.1
Merge made by the 'ort' strategy.
packages/herodotos/herodotos.1.0/opam | 44 +++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 packages/herodotos/herodotos.1.0/opam
(from ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683' locally
docker.io/ocaml/opam@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683: Pulling from ocaml/opam
a7d4498d29fd: Pulling fs layer
a7d4498d29fd: Verifying Checksum
a7d4498d29fd: Download complete
a7d4498d29fd: Pull complete
Digest: sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683
Status: Downloaded newer image for ocaml/opam@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683
2025-02-10 15:35.55 ---> saved as "2eea5bde28725c99a87e1f2a5b147a024a046c2a06cd3ab003a93e0be5a0f139"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-02-10 15:35.55 ---> saved as "ff42299dd71c9cb3087a78856bcde3cbc85514135e98a5b28240833452a96df5"
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-02-10 15:36.42 ---> saved as "5b204f302084be9fdd8f76970b288c8d2f79f2a0966ec9d7f4eff4ecce1ef288"
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 39
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
2025-02-10 15:36.43 ---> saved as "a54d9253c3b2cf608ddec9717d4c59f92788ac6bc062ecd45079328791ec37e7"
/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-02-10 15:36.51 ---> saved as "4c42197ed3b6f60bb20d42621e691016114bb03cecdcc199f22a577d7ab7b660"
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-10 15:37.01 ---> saved as "dd9d66259516054fce86e92860e42f8566fa83202fb18788f40bc712e16d1383"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-02-10 15:37.35 ---> saved as "cee2e45f803fea6f87f0db95ce78f5166a365f480aca2d41595544cbb36e80bb"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Fetched 103 kB in 5s (19.3 kB/s)
Reading package lists...
# OS package update successful
2025-02-10 15:37.43 ---> saved as "1e6c6d9ca40df11ba6e8545165910ec4e125d5b9773fa99057d952c9d309509b"
/home/opam: (run (shell "opam pin add -k version -yn herodotos.1.0 1.0"))
herodotos is now pinned to version 1.0
2025-02-10 15:37.44 ---> saved as "c8e9a5a30f2c0b0844375763decc85d6e1f73393f17b88a361a99b92219f3042"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext herodotos.1.0 && opam reinstall herodotos.1.0;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'herodotos.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libpq-dev
pkg-config
The following command needs to be run through "sudo":
apt-get install -qq -yy libpq-dev pkg-config
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpkgconf3:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18776 files and directories currently installed.)
Preparing to unpack .../0-libpkgconf3_1.8.1-1_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-1) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../1-libpq5_15.10-0+deb12u1_amd64.deb ...
Unpacking libpq5:amd64 (15.10-0+deb12u1) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../2-libssl-dev_3.0.15-1~deb12u1_amd64.deb ...
Unpacking libssl-dev:amd64 (3.0.15-1~deb12u1) ...
Selecting previously unselected package libpq-dev.
Preparing to unpack .../3-libpq-dev_15.10-0+deb12u1_amd64.deb ...
Unpacking libpq-dev (15.10-0+deb12u1) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../4-pkgconf-bin_1.8.1-1_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-1) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../5-pkgconf_1.8.1-1_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-1) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../6-pkg-config_1.8.1-1_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-1) ...
Setting up libpq5:amd64 (15.10-0+deb12u1) ...
Setting up libpkgconf3:amd64 (1.8.1-1) ...
Setting up libssl-dev:amd64 (3.0.15-1~deb12u1) ...
Setting up pkgconf-bin (1.8.1-1) ...
Setting up libpq-dev (15.10-0+deb12u1) ...
Setting up pkgconf:amd64 (1.8.1-1) ...
Setting up pkg-config:amd64 (1.8.1-1) ...
Processing triggers for libc-bin (2.36-9+deb12u9) ...
# OS packages installation successful
herodotos.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install conf-postgresql 1 [required by postgresql]
- install dune 3.17.2 [required by herodotos]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install sexplib0 v0.17.0 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install dune-configurator 2.7.0 [required by parmap, postgresql]
- install ppxlib 0.35.0 [required by vlt]
- install postgresql 5.1.3 [required by herodotos]
- install parmap 1.2.5 [required by herodotos]
- install vlt 0.1 [required by herodotos]
- install herodotos 1.0*
===== 12 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.17.2] found in cache
[dune-configurator.2.7.0] found in cache
[herodotos.1.0] downloaded from https://github.com/coccinelle/herodotos/archive/refs/tags/v1.0.tar.gz
[ocaml-compiler-libs.v0.17.0] found in cache
[parmap.1.2.5] found in cache
[postgresql.5.1.3] found in cache
[ppx_derivers.1.2.1] found in cache
[ppxlib.0.35.0] found in cache
[sexplib0.v0.17.0] found in cache
[stdlib-shims.0.3.0] found in cache
[vlt.0.1] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-postgresql.1
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed dune-configurator.2.7.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed parmap.1.2.5
-> installed postgresql.5.1.3
-> installed ppxlib.0.35.0
-> installed vlt.0.1
-> installed herodotos.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-10 15:39.11 ---> saved as "e41c08dd17031a9f33681484818bc874c6eb04f157f3b6e578395160dc675845"
/home/opam: (run (network host)
(shell "(opam depext --with-test herodotos.1.0 && opam reinstall --with-test herodotos.1.0) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
libpq-dev
pkg-config
# The following system packages are needed:
# All required OS packages found.
The following actions will be performed:
- recompile herodotos 1.0*
[herodotos.1.0] downloaded from https://github.com/coccinelle/herodotos/archive/refs/tags/v1.0.tar.gz
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed herodotos.1.0
-> installed herodotos.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-10 15:40.21 ---> saved as "2c28c0e7f6f88e16a1a229871b272336f63bc30e8d47559d8130f320d34110c1"
/home/opam: (run (shell "opam depext --with-test herodotos.1.0 && opam reinstall --with-test --verbose herodotos.1.0;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'herodotos.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libpq-dev
pkg-config
# All required OS packages found.
The following actions will be performed:
- recompile herodotos 1.0*
[herodotos.1.0] found in cache
Processing 1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3: [herodotos: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "herodotos" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/herodotos.1.0)
-> compiled herodotos.1.0
-> removed herodotos.1.0
-> installed herodotos.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-10 15:40.41 ---> saved as "edd9dfadec81589d10cf7c1b05a6b696b3dd5fda8ee01e2f8fe0a2bf994bdb92"
Job succeeded
2025-02-10 15:40.50: Job succeeded