- github
- ocaml
- opam-repository
- c40834
- distributions,debian-11-ocaml-5.3,tiny_httpd_camlzip.0.18,tests
(not at the head of any monitored branch or PR)
2025-04-11 19:08.41: New job: test tiny_httpd_camlzip.0.18, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27745/head (c408348fb2a7fd2c69e3ca675f58bf917499c853)
on debian-11-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/27745/head" && git reset --hard c408348f
git fetch origin master
git merge --no-edit 34a3fc46c301a891122df75c17fef6b5358bd68f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-5.3@sha256:4a2b8c679e707bffb12bdf9ba85eabd567a4c882193dca0a68086db4e04b1e6a
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 tiny_httpd_camlzip.0.18 0.18
RUN opam reinstall tiny_httpd_camlzip.0.18; \
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-11\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'tiny_httpd_camlzip.0.18' && 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 tiny_httpd_camlzip.0.18) || true
RUN opam reinstall --with-test --verbose tiny_httpd_camlzip.0.18; \
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-11\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'tiny_httpd_camlzip.0.18' && 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-04-11 19:08.41: Using cache hint "ocaml/opam:debian-11-ocaml-5.3@sha256:4a2b8c679e707bffb12bdf9ba85eabd567a4c882193dca0a68086db4e04b1e6a-tiny_httpd_camlzip.0.18-c408348fb2a7fd2c69e3ca675f58bf917499c853"
2025-04-11 19:08.41: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-5.3@sha256:4a2b8c679e707bffb12bdf9ba85eabd567a4c882193dca0a68086db4e04b1e6a)
(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 tiny_httpd_camlzip.0.18 0.18"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall tiny_httpd_camlzip.0.18;\
\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-11\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'tiny_httpd_camlzip.0.18' && 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 tiny_httpd_camlzip.0.18) || true"))
(run (shell "opam reinstall --with-test --verbose tiny_httpd_camlzip.0.18;\
\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-11\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'tiny_httpd_camlzip.0.18' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-04-11 19:08.41: Waiting for resource in pool OCluster
2025-04-11 19:08.42: Waiting for worker…
2025-04-11 19:08.42: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 34a3fc46c3 Merge pull request #27736 from Leonidas-from-XIV/core-unix-glibc
Updating 34a3fc46c3..c408348fb2
Fast-forward
packages/tiny_httpd/tiny_httpd.0.18/opam | 53 ++++++++++++++++++++++
.../tiny_httpd_camlzip.0.18/opam | 39 ++++++++++++++++
2 files changed, 92 insertions(+)
create mode 100644 packages/tiny_httpd/tiny_httpd.0.18/opam
create mode 100644 packages/tiny_httpd_camlzip/tiny_httpd_camlzip.0.18/opam
(from ocaml/opam:debian-11-ocaml-5.3@sha256:4a2b8c679e707bffb12bdf9ba85eabd567a4c882193dca0a68086db4e04b1e6a)
2025-04-11 19:09.02 ---> using "a66f52aecdb8624d99b3ca08463ae458fa294209c39215b418846b6b7160fc2d" 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-04-11 19:09.02 ---> using "0154794ff14c3429c4cd36550981106e58be05a9f6530c222ad4c48f913707ba" 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 31 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=31 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-11 19:09.30 ---> saved as "9ff068807b21dd9d9126a5e8548ec6686c8628b0bb41c15885059d59ee8d19ac"
/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=11
# 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-04-11 19:09.31 ---> saved as "c5c1caca22781290fd4db5b3d999d8f71cbcca69c841ed509360acda40648375"
/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-04-11 19:09.43 ---> saved as "68c02d68a8bba91c7c3c640d57cf125734e4b69addc93e30efd307dadb571075"
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-11 19:09.57 ---> saved as "c85c31c457adc739a10ef909bb7aa22d75c2864a8ef4d1b5f34fdfd8a0736ee4"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-11 19:10.21 ---> saved as "1970dc13e9beb3b1512eb4c355bd0ffab63d2533640fdd8b995a5a19056f85a2"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [359 kB]
- Fetched 430 kB in 1s (810 kB/s)
- Reading package lists...
-
2025-04-11 19:10.22 ---> saved as "1d46907f49248d767fbfbf84e95d2f1c6bc45e39754f556b8fedf40c4a13e103"
/home/opam: (run (shell "opam pin add -k version -yn tiny_httpd_camlzip.0.18 0.18"))
tiny_httpd_camlzip is now pinned to version 0.18
2025-04-11 19:10.23 ---> saved as "72ce6e7028e75a006a7b162030329c5f97b3f7a1d4ad0491484fc669151ae222"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall tiny_httpd_camlzip.0.18;\
\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-11\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'tiny_httpd_camlzip.0.18' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
tiny_httpd_camlzip.0.18 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 14 packages
- install camlzip 1.13 [required by tiny_httpd_camlzip]
- install conf-pkg-config 4 [required by conf-zlib]
- install conf-zlib 1 [required by camlzip]
- install dune 3.18.0 [required by tiny_httpd_camlzip]
- install hmap 0.8.1 [required by tiny_httpd]
- install iostream 0.3 [required by iostream-camlzip, tiny_httpd]
- install iostream-camlzip 0.3 [required by tiny_httpd_camlzip]
- install ocamlbuild 0.16.1 [required by hmap]
- install ocamlfind 1.9.8 [required by camlzip]
- install result 1.5 [required by tiny_httpd]
- install seq base [required by tiny_httpd]
- install tiny_httpd 0.18 [required by tiny_httpd_camlzip]
- install tiny_httpd_camlzip 0.18 (pinned)
- install topkg 1.0.8 [required by hmap]
The following system packages will first need to be installed:
pkg-config zlib1g-dev
<><> 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" "pkg-config" "zlib1g-dev"
- 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 ... 18367 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.66.8-1+deb11u5_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.66.8-1+deb11u5) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.66.8-1+deb11u5_all.deb ...
- Unpacking libglib2.0-data (2.66.8-1+deb11u5) ...
- Selecting previously unselected package libicu67:amd64.
- Preparing to unpack .../2-libicu67_67.1-7_amd64.deb ...
- Unpacking libicu67:amd64 (67.1-7) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../3-libxml2_2.9.10+dfsg-6.7+deb11u6_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u6) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../4-pkg-config_0.29.2-1_amd64.deb ...
- Unpacking pkg-config (0.29.2-1) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../5-shared-mime-info_2.0-1_amd64.deb ...
- Unpacking shared-mime-info (2.0-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../6-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../7-zlib1g-dev_1%3a1.2.11.dfsg-2+deb11u2_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2+deb11u2) ...
- Setting up libicu67:amd64 (67.1-7) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.66.8-1+deb11u5) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.66.8-1+deb11u5) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2+deb11u2) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u6) ...
- Setting up shared-mime-info (2.0-1) ...
- Processing triggers for libc-bin (2.31-13+deb11u11) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlzip.1.13 (cached)
-> installed conf-pkg-config.4
-> installed conf-zlib.1
-> retrieved dune.3.18.0 (cached)
-> retrieved hmap.0.8.1 (cached)
-> retrieved iostream.0.3, iostream-camlzip.0.3 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved tiny_httpd.0.18, tiny_httpd_camlzip.0.18 (cached)
-> retrieved topkg.1.0.8 (cached)
-> installed ocamlfind.1.9.8
-> installed camlzip.1.13
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed hmap.0.8.1
-> installed dune.3.18.0
-> installed result.1.5
-> installed iostream.0.3
-> installed iostream-camlzip.0.3
-> installed tiny_httpd.0.18
-> installed tiny_httpd_camlzip.0.18
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-11 19:10.55 ---> saved as "902f9b28f2b0db1f66ec74a997c1c944c7feba4927b70969562b383d5460b017"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test tiny_httpd_camlzip.0.18) || true"))
The following actions will be performed:
=== recompile 2 packages
- recompile tiny_httpd 0.18 [uses logs]
- recompile tiny_httpd_camlzip 0.18 (pinned)
=== install 1 package
- install logs 0.8.0 [required by tiny_httpd_camlzip]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved logs.0.8.0 (https://erratique.ch/software/logs/releases/logs-0.8.0.tbz)
-> retrieved tiny_httpd.0.18, tiny_httpd_camlzip.0.18 (https://github.com/c-cube/tiny_httpd/releases/download/v0.18/tiny_httpd-0.18.tbz)
-> removed tiny_httpd_camlzip.0.18
-> removed tiny_httpd.0.18
-> installed logs.0.8.0
-> installed tiny_httpd.0.18
-> installed tiny_httpd_camlzip.0.18
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-11 19:11.03 ---> saved as "009e19fecd1a9477488decf78a3d2611fa3706d6e5c9443adba13f1395882988"
/home/opam: (run (shell "opam reinstall --with-test --verbose tiny_httpd_camlzip.0.18;\
\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-11\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'tiny_httpd_camlzip.0.18' && 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 tiny_httpd_camlzip 0.18 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [tiny_httpd_camlzip: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "tiny_httpd_camlzip" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/tiny_httpd_camlzip.0.18)
- (cd _build/default/tests && ./echo1.sh ../examples/echo.exe) > _build/default/tests/echo1.out
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
-
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 234 100 234 0 0 228k 0 --:--:-- --:--:-- --:--:-- 228k
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
-
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 407 100 407 0 0 397k 0 --:--:-- --:--:-- --:--:-- 397k
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
-
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 12 0 12 0 0 12000 0 --:--:-- --:--:-- --:--:-- 12000
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
-
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 20 0 20 0 0 10000 0 --:--:-- --:--:-- --:--:-- 20000
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
-
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 196 0 196 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k
-> compiled tiny_httpd_camlzip.0.18
-> removed tiny_httpd_camlzip.0.18
-> installed tiny_httpd_camlzip.0.18
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-11 19:11.08 ---> saved as "6e9f2a5905d34f2998d98ffdf0016421ee6a4a91c39dfe5baee5130a451a7b25"
Job succeeded
2025-04-11 19:11.14: Job succeeded