- github
- ocaml
- opam-repository
- f2ac03
- distributions,ubuntu-22.04-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 dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26111/head (f2ac03865dc59fa28dbaf9a4764dead36cf9406f)
on ubuntu-22.04-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:ubuntu-22.04-ocaml-5.3@sha256:8df3e6d7769f10fc621ed3cded6f2f8dee48b0fb4e553cd7c9cf050db46cfece
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 herodotos.1.0 1.0
RUN 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 "\"ubuntu-22.04\""; 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 reinstall --with-test herodotos.1.0) || true
RUN 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 "\"ubuntu-22.04\""; 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:ubuntu-22.04-ocaml-5.3@sha256:8df3e6d7769f10fc621ed3cded6f2f8dee48b0fb4e553cd7c9cf050db46cfece-herodotos.1.0-f2ac03865dc59fa28dbaf9a4764dead36cf9406f"
2025-02-10 15:04.42: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:8df3e6d7769f10fc621ed3cded6f2f8dee48b0fb4e553cd7c9cf050db46cfece)
(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 herodotos.1.0 1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "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 \"\\\"ubuntu-22.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\" != '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 reinstall --with-test herodotos.1.0) || true"))
(run (shell "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 \"\\\"ubuntu-22.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\" != '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:04.42: Waiting for worker…
2025-02-10 15:16.15: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files: 86% (20173/23304)
Updating files: 87% (20275/23304)
Updating files: 88% (20508/23304)
Updating files: 89% (20741/23304)
Updating files: 90% (20974/23304)
Updating files: 91% (21207/23304)
Updating files: 92% (21440/23304)
Updating files: 93% (21673/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:ubuntu-22.04-ocaml-5.3@sha256:8df3e6d7769f10fc621ed3cded6f2f8dee48b0fb4e553cd7c9cf050db46cfece)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:8df3e6d7769f10fc621ed3cded6f2f8dee48b0fb4e553cd7c9cf050db46cfece' locally
docker.io/ocaml/opam@sha256:8df3e6d7769f10fc621ed3cded6f2f8dee48b0fb4e553cd7c9cf050db46cfece: Pulling from ocaml/opam
484b0deb330e: Pulling fs layer
484b0deb330e: Waiting
484b0deb330e: Download complete
484b0deb330e: Pull complete
Digest: sha256:8df3e6d7769f10fc621ed3cded6f2f8dee48b0fb4e553cd7c9cf050db46cfece
Status: Downloaded newer image for ocaml/opam@sha256:8df3e6d7769f10fc621ed3cded6f2f8dee48b0fb4e553cd7c9cf050db46cfece
2025-02-10 15:17.03 ---> using "5e36f4dd32c344c9eece6e843593339cb2ed379a9a41ef86dcb0f892fcb1b32b" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-02-10 15:17.03 ---> using "63d2610dec688c289c0a8c8f16c7dc41a1aff21fe800ca1ff7a4cb2f1779c525" 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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-10 15:17.03 ---> using "7c016d55b2ccf36d39d306217f705b5ec48bf145af80b9d4f4b8706ca812a03f" 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.4.0~alpha1~dev (747e73667ad9d054b0f736be205c0013e1bec087)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=ubuntu os-version=22.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (local), 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-02-10 15:17.03 ---> using "53646be97b6ad9a12a8926c937f5e68f0f046ca6c5c564dbd6952233ce9ed4ba" 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-02-10 15:17.03 ---> using "b9c987447dd80a27920f6070252690ba1b790f44c51de24aceda2cdec1f32e3d" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-10 15:17.04 ---> using "47fc753f423c2a44996a3a8ce3e95206321436e75191029ea745cd40041e5212" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-10 15:17.04 ---> using "99452b04d05b3eeeac882c16536a2025ccaa226d28a8027a5c7b00ee0db3fda0" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2910 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3748 kB]
- Fetched 7042 kB in 7s (1044 kB/s)
- Reading package lists...
-
2025-02-10 15:17.04 ---> using "e7f757a3c7a02023ec8b2dfea5a75e10a16cc2a4cd90a7a87250c1c4e263b6bd" from cache
/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:17.04 ---> using "56986a12f3eff4e6fee2eedd704c4a8a2e123d3d9b8b75c084ecc60661efe09c" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "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 \"\\\"ubuntu-22.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\" != '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"))
herodotos.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 14 packages
- install conf-pkg-config 4 [required by conf-postgresql]
- install conf-postgresql 2 [required by postgresql]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.17.2 [required by herodotos]
- install dune-configurator 3.17.2 [required by parmap, postgresql]
- install herodotos 1.0 (pinned)
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install parmap 1.2.5 [required by herodotos]
- install postgresql 5.1.3 [required by herodotos]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.35.0 [required by vlt]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install vlt 0.1 [required by herodotos]
The following system packages will first need to be installed:
libpq-dev pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libpq-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0: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 ... 15669 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.72.4-0ubuntu2.4_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.72.4-0ubuntu2.4) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.72.4-0ubuntu2.4_all.deb ...
- Unpacking libglib2.0-data (2.72.4-0ubuntu2.4) ...
- Selecting previously unselected package libicu70:amd64.
- Preparing to unpack .../2-libicu70_70.1-2_amd64.deb ...
- Unpacking libicu70:amd64 (70.1-2) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../3-libxml2_2.9.13+dfsg-1ubuntu0.5_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.13+dfsg-1ubuntu0.5) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../4-shared-mime-info_2.1-2_amd64.deb ...
- Unpacking shared-mime-info (2.1-2) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../5-xdg-user-dirs_0.17-2ubuntu4_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2ubuntu4) ...
- Selecting previously unselected package libpq5:amd64.
- Preparing to unpack .../6-libpq5_14.15-0ubuntu0.22.04.1_amd64.deb ...
- Unpacking libpq5:amd64 (14.15-0ubuntu0.22.04.1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../7-libssl-dev_3.0.2-0ubuntu1.18_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.2-0ubuntu1.18) ...
- Selecting previously unselected package libpq-dev.
- Preparing to unpack .../8-libpq-dev_14.15-0ubuntu0.22.04.1_amd64.deb ...
- Unpacking libpq-dev (14.15-0ubuntu0.22.04.1) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../9-pkg-config_0.29.2-1ubuntu3_amd64.deb ...
- Unpacking pkg-config (0.29.2-1ubuntu3) ...
- Setting up xdg-user-dirs (0.17-2ubuntu4) ...
- Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.4) ...
- No schema files found: doing nothing.
- Setting up libpq5:amd64 (14.15-0ubuntu0.22.04.1) ...
- Setting up libglib2.0-data (2.72.4-0ubuntu2.4) ...
- Setting up libssl-dev:amd64 (3.0.2-0ubuntu1.18) ...
- Setting up pkg-config (0.29.2-1ubuntu3) ...
- Setting up libicu70:amd64 (70.1-2) ...
- Setting up libpq-dev (14.15-0ubuntu0.22.04.1) ...
- Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.5) ...
- Setting up shared-mime-info (2.1-2) ...
- Processing triggers for libc-bin (2.35-0ubuntu3.9) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> installed conf-postgresql.2
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> retrieved herodotos.1.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved parmap.1.2.5 (cached)
-> retrieved postgresql.5.1.3 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved vlt.0.1 (cached)
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.17.2
-> installed parmap.1.2.5
-> installed postgresql.5.1.3
-> installed ppxlib.0.35.0
-> installed vlt.0.1
-> installed herodotos.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-10 15:18.48 ---> saved as "a449a9e1c926036c590701e0eadf072a817f15184dceb4228d0906c6545591e8"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test herodotos.1.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile herodotos 1.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved herodotos.1.0 (https://github.com/coccinelle/herodotos/archive/refs/tags/v1.0.tar.gz)
-> removed herodotos.1.0
-> installed herodotos.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-10 15:19.25 ---> saved as "a182e56b2c134aea301ad2cec99c4760027c622807b014ba043b878cf9146c13"
/home/opam: (run (shell "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 \"\\\"ubuntu-22.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\" != '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"))
The following actions will be performed:
=== recompile 1 package
- recompile herodotos 1.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [herodotos.1.0: extract]
-> retrieved herodotos.1.0 (cached)
Processing 2/4: [herodotos: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "herodotos" "-j" "71" "@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.
# To update the current shell environment, run: eval $(opam env)
2025-02-10 15:19.36 ---> saved as "5e087ddf6f1adf230df27cc8e8fc39a02bc544fc17ef6470763d10a6279038c1"
Job succeeded
2025-02-10 15:19.44: Job succeeded