- github
- ocaml
- opam-repository
- 9ea9d3
- extras,opam-2.0-ocaml-5.3,dockerfile.8.2.6,tests
(not at the head of any monitored branch or PR)
2025-04-15 10:22.49: New job: test dockerfile.8.2.6, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/27758/head (9ea9d35c51df3c77b9f7a685c4cf0d527cd6a65f)
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/27758/head" && git reset --hard 9ea9d35c
git fetch origin master
git merge --no-edit 7ac1b4e19a10b76522563b1a8ff9803429eb32ba
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66
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 dockerfile.8.2.6 8.2.6
RUN opam depext dockerfile.8.2.6 && opam reinstall dockerfile.8.2.6; \
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" != 'dockerfile.8.2.6' && 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 dockerfile.8.2.6 && opam reinstall --with-test dockerfile.8.2.6) || true
RUN opam depext --with-test dockerfile.8.2.6 && opam reinstall --with-test --verbose dockerfile.8.2.6; \
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" != 'dockerfile.8.2.6' && 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-15 10:22.49: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66-dockerfile.8.2.6-9ea9d35c51df3c77b9f7a685c4cf0d527cd6a65f"
2025-04-15 10:22.49: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66)
(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 dockerfile.8.2.6 8.2.6"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext dockerfile.8.2.6 && opam reinstall dockerfile.8.2.6;\
\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\" != 'dockerfile.8.2.6' && 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 dockerfile.8.2.6 && opam reinstall --with-test dockerfile.8.2.6) || true"))
(run (shell "opam depext --with-test dockerfile.8.2.6 && opam reinstall --with-test --verbose dockerfile.8.2.6;\
\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\" != 'dockerfile.8.2.6' && 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-15 10:22.49: Waiting for resource in pool OCluster
2025-04-15 10:23.52: Waiting for worker…
2025-04-15 10:30.22: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
Updating files: 59% (13524/22863)
Updating files: 60% (13718/22863)
Updating files: 61% (13947/22863)
Updating files: 62% (14176/22863)
Updating files: 63% (14404/22863)
Updating files: 64% (14633/22863)
Updating files: 65% (14861/22863)
Updating files: 66% (15090/22863)
Updating files: 67% (15319/22863)
Updating files: 68% (15547/22863)
Updating files: 69% (15776/22863)
Updating files: 70% (16005/22863)
Updating files: 71% (16233/22863)
Updating files: 72% (16462/22863)
Updating files: 73% (16690/22863)
Updating files: 74% (16919/22863)
Updating files: 75% (17148/22863)
Updating files: 76% (17376/22863)
Updating files: 77% (17605/22863)
Updating files: 78% (17834/22863)
Updating files: 79% (18062/22863)
Updating files: 80% (18291/22863)
Updating files: 81% (18520/22863)
Updating files: 82% (18748/22863)
Updating files: 83% (18977/22863)
Updating files: 84% (19205/22863)
Updating files: 85% (19434/22863)
Updating files: 86% (19663/22863)
Updating files: 87% (19891/22863)
Updating files: 88% (20120/22863)
Updating files: 89% (20349/22863)
Updating files: 90% (20577/22863)
Updating files: 91% (20806/22863)
Updating files: 92% (21034/22863)
Updating files: 93% (21263/22863)
Updating files: 94% (21492/22863)
Updating files: 95% (21720/22863)
Updating files: 96% (21949/22863)
Updating files: 97% (22178/22863)
Updating files: 98% (22406/22863)
Updating files: 99% (22635/22863)
Updating files: 100% (22863/22863)
Updating files: 100% (22863/22863), done.
HEAD is now at 7ac1b4e19a Merge pull request #27752 from hannesm/maint
Updating 7ac1b4e19a..9ea9d35c51
Fast-forward
packages/dockerfile-cmd/dockerfile-cmd.8.2.6/opam | 73 ++++++++++++++++++++++
.../dockerfile-opam/dockerfile-opam.8.2.6/opam | 72 +++++++++++++++++++++
packages/dockerfile/dockerfile.8.2.6/opam | 68 ++++++++++++++++++++
3 files changed, 213 insertions(+)
create mode 100644 packages/dockerfile-cmd/dockerfile-cmd.8.2.6/opam
create mode 100644 packages/dockerfile-opam/dockerfile-opam.8.2.6/opam
create mode 100644 packages/dockerfile/dockerfile.8.2.6/opam
(from ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66)
2025-04-15 10:30.25 ---> using "19877b52b990c5a970510eb0ace473d379b5f4771b9feb9f573b1d3119b07d2c" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-04-15 10:30.25 ---> using "05321615b12bcc2da5488a358ba1a19dfcafdeda0102a1ccdd5663a393b2f621" from cache
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+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-04-15 10:30.25 ---> using "28ea40579bc318dea8adaf0e86574aea19ff5b235a39e53801ee6ffd66fceccf" from cache
/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 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
2025-04-15 10:30.25 ---> using "932b3a1c5b24aa2f5cf0bf05fcf7fc50f84a7e99ddd71fcee9aff44155c03998" 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-04-15 10:30.25 ---> using "7cb96ff63026816f2ed0f5b7361e95ddfb0b6bfd917afec5638c7aa1fcdd9103" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-15 10:30.34 ---> saved as "a72af7b8b421594a19cf7ac066666b45004e96f9753d7e7efa73b7e03b2bb849"
/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-04-15 10:30.51 ---> saved as "0301f0b4ab80f30879454ddd8528458ce18f7adeec6c2c1a402ea6e95dd2aaca"
/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]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [254 kB]
Fetched 357 kB in 0s (1004 kB/s)
Reading package lists...
# OS package update successful
2025-04-15 10:30.54 ---> saved as "489882ecad77e1be72a8c7c7e7be9fcdf2f297ee2b4241818974f054aec74dac"
/home/opam: (run (shell "opam pin add -k version -yn dockerfile.8.2.6 8.2.6"))
dockerfile is now pinned to version 8.2.6
2025-04-15 10:30.54 ---> saved as "389d255da895d5fba2993e819836fb6479284cab91d61e719b592e0afb6aba27"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext dockerfile.8.2.6 && opam reinstall dockerfile.8.2.6;\
\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\" != 'dockerfile.8.2.6' && 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
# No extra OS packages requirements found.
# All required OS packages found.
dockerfile.8.2.6 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install ocamlbuild 0.16.1 [required by fmt]
- install dune 3.18.0 [required by dockerfile]
- install num 1.5-1 [required by sexplib]
- install ocamlfind 1.9.8 [required by fmt]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install sexplib0 v0.16.0 [required by ppx_sexp_conv, sexplib]
- 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 base]
- install topkg 1.0.8 [required by fmt]
- install parsexp v0.16.0 [required by sexplib]
- install ppxlib 0.35.0 [required by ppx_sexp_conv]
- install base v0.16.4 [required by ppx_sexp_conv]
- install fmt 0.10.0 [required by dockerfile]
- install sexplib v0.16.0 [required by dockerfile]
- install ppx_sexp_conv v0.16.0 [required by dockerfile]
- install dockerfile 8.2.6*
===== 17 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[base.v0.16.4] found in cache
[dockerfile.8.2.6] found in cache
[dune.3.18.0] found in cache
[dune-configurator.2.7.0] found in cache
[fmt.0.10.0] found in cache
[num.1.5-1] found in cache
[ocaml-compiler-libs.v0.17.0] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[parsexp.v0.16.0] found in cache
[ppx_derivers.1.2.1] found in cache
[ppx_sexp_conv.v0.16.0] found in cache
[ppxlib.0.35.0] found in cache
[sexplib.v0.16.0] found in cache
[sexplib0.v0.16.0] found in cache
[stdlib-shims.0.3.0] found in cache
[topkg.1.0.8] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed num.1.5-1
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed fmt.0.10.0
-> installed dune.3.18.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed dune-configurator.2.7.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed parsexp.v0.16.0
-> installed sexplib.v0.16.0
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.16.0
-> installed dockerfile.8.2.6
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-15 10:32.10 ---> saved as "bf1cb1a6d08132dd5f2f981312fa1d7d0a414f93da5454998a0149b62e7c7559"
/home/opam: (run (network host)
(shell "(opam depext --with-test dockerfile.8.2.6 && opam reinstall --with-test dockerfile.8.2.6) || 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 actions will be performed:
- install cmdliner 1.3.0 [required by alcotest]
- install seq base [required by re]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install astring 0.8.5 [required by alcotest]
- install uutf 1.0.4 [required by alcotest]
- recompile fmt 0.10.0 [uses cmdliner]
- install re 1.12.0 [required by alcotest]
- install alcotest 1.9.0 [required by dockerfile]
- recompile dockerfile 8.2.6*
===== 7 to install | 2 to recompile =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[alcotest.1.9.0] downloaded from https://github.com/mirage/alcotest/releases/download/1.9.0/alcotest-1.9.0.tbz
[astring.0.8.5] downloaded from https://erratique.ch/software/astring/releases/astring-0.8.5.tbz
[cmdliner.1.3.0] downloaded from https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz
[dockerfile.8.2.6] downloaded from https://github.com/ocurrent/ocaml-dockerfile/releases/download/8.2.6/ocaml-dockerfile-8.2.6.tbz
[fmt.0.10.0] downloaded from https://erratique.ch/software/fmt/releases/fmt-0.10.0.tbz
[ocaml-syntax-shims.1.0.0] downloaded from https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz
[re.1.12.0] downloaded from https://github.com/ocaml/ocaml-re/releases/download/1.12.0/re-1.12.0.tbz
[seq.base/META.seq] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/seq/META.seq
[seq.base/seq.install] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/seq/seq.install
[uutf.1.0.4] downloaded from https://erratique.ch/software/uutf/releases/uutf-1.0.4.tbz
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed ocaml-syntax-shims.1.0.0
-> installed astring.0.8.5
-> installed re.1.12.0
-> removed dockerfile.8.2.6
-> removed fmt.0.10.0
-> installed cmdliner.1.3.0
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed alcotest.1.9.0
-> installed dockerfile.8.2.6
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-15 10:32.36 ---> saved as "05c0d9b1504bbcf6f359d84566aac628f9595665b434a55e4dc54b7a6fc002d8"
/home/opam: (run (shell "opam depext --with-test dockerfile.8.2.6 && opam reinstall --with-test --verbose dockerfile.8.2.6;\
\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\" != 'dockerfile.8.2.6' && 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
# No extra OS packages requirements found.
# All required OS packages found.
The following actions will be performed:
- recompile dockerfile 8.2.6*
[dockerfile.8.2.6] found in cache
Processing 1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3: [dockerfile: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dockerfile" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/dockerfile.8.2.6)
- (cd _build/default/test && ./dockerfile.exe)
- Testing `test'.
- This run has ID `G3XJQ8Y9'.
-
- [OK] dockerfile 0 string_of_t.
- [OK] dockerfile 1 string_of_t.
- [OK] dockerfile 2 Format RUN heredocs.
-
- Full test results in `~/.opam/5.3/.opam-switch/build/dockerfile.8.2.6/_build/default/test/_build/_tests/test'.
- Test Successful in 0.000s. 3 tests run.
-> compiled dockerfile.8.2.6
-> removed dockerfile.8.2.6
-> installed dockerfile.8.2.6
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-15 10:32.53 ---> saved as "797b1e33c61070f5ff678a9ab85f71f6ec1de05852b090e2ebf5b4ed8f1a95c6"
Job succeeded
2025-04-15 10:33.01: Job succeeded