2024-11-15 13:08.20: New job: test ocurrent/ocaml-dockerfile https://github.com/ocurrent/ocaml-dockerfile.git#refs/heads/master (83209cdbf75d64c50469b9719229fea49e008fb0) (linux-x86_64:(lower-bound)) Base: ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8 Opam project build To reproduce locally: git clone --recursive "https://github.com/ocurrent/ocaml-dockerfile.git" -b "master" && cd "ocaml-dockerfile" && git reset --hard 83209cdb cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8 # debian-12-4.08_opam-2.2 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version WORKDIR /src RUN sudo chown opam /src RUN cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam ./ RUN opam pin add -yn dockerfile.dev './' && \ opam pin add -yn dockerfile-opam.dev './' && \ opam pin add -yn dockerfile-cmd.dev './' ENV DEPS="alcotest.1.7.0 astring.0.8.2 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.1.0 conf-m4.1 dune.3.0.2 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.10 fpath.0.7.3 jbuilder.1.0+beta20.1 logs.0.6.3 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.3.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 parsexp.v0.12.0 ppx_derivers.1.0 ppx_sexp_conv.v0.12.0 ppxlib.0.7.0 re.1.7.2 result.1.5 rresult.0.7.0 sexplib.v0.12.0 sexplib0.v0.12.0 stdio.v0.12.0 stdlib-shims.0.1.0 topkg.1.0.3 uchar.0.0.2 uutf.1.0.1" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.2 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS RUN opam install $DEPS COPY --chown=1000:1000 . /src RUN opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2024-11-15 13:08.20: Using cache hint "ocurrent/ocaml-dockerfile-ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8-debian-12-4.08_opam-2.2-136362c3773f1008921e5b50a566853c" 2024-11-15 13:08.20: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8) (comment debian-12-4.08_opam-2.2) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam")) (run (shell "opam init --reinit -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (workdir /src) (run (shell "sudo chown opam /src")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam) (dst ./)) (run (network host) (shell "opam pin add -yn dockerfile.dev './' && \ \nopam pin add -yn dockerfile-opam.dev './' && \ \nopam pin add -yn dockerfile-cmd.dev './'")) (env DEPS "alcotest.1.7.0 astring.0.8.2 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.1.0 conf-m4.1 dune.3.0.2 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.10 fpath.0.7.3 jbuilder.1.0+beta20.1 logs.0.6.3 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.3.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 parsexp.v0.12.0 ppx_derivers.1.0 ppx_sexp_conv.v0.12.0 ppxlib.0.7.0 re.1.7.2 result.1.5 rresult.0.7.0 sexplib.v0.12.0 sexplib0.v0.12.0 stdio.v0.12.0 stdlib-shims.0.1.0 topkg.1.0.3 uchar.0.0.2 uutf.1.0.1") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.2 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /src)) (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2024-11-15 13:08.20: Waiting for resource in pool OCluster 2024-11-15 13:08.21: Waiting for worker… 2024-11-15 13:08.21: Got resource from pool OCluster Building on x86-bm-c11.sw.ocaml.org All commits already cached HEAD is now at 83209cd Merge pull request #223 from mtelvers/fedora-41-fix (from ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8) 2024-11-15 13:09.14 ---> saved as "45ed51cabfe3de1acd486922e22b24eee2a37ab1a07c3ddaa8a9367527eeade3" /: (comment debian-12-4.08_opam-2.2) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam")) 2024-11-15 13:09.14 ---> saved as "13f68d8fe05aeef95ccc5906a4e80e2ff77801f5b170515e2fb16bc7d4e819b3" /src: (run (shell "opam init --reinit -ni")) Configuring from /home/opam/.opamrc and then 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] synchronised from file:///home/opam/opam-repository 2024-11-15 13:10.47 ---> saved as "294086592733704d7a06c8eb9868913640f72ef439f238f7acb1a91796dc07eb" /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-122-generic The OCaml toplevel, version 4.08.1 2.2.1 2024-11-15 13:10.47 ---> saved as "cd60e4e9851044c0fcdec87c6f3c868861f866cdaff6b226191e594c939a1819" /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-11-15 13:10.47 ---> saved as "f7182983af2680d7a10d2372168e3332228b2072f3fc8b58cef2d84d4077fd35" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD d872638bdf..c31c18de15 master -> origin/master 28daeff6f3 Merge pull request #26814 from mtelvers/m4 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository Everything as up-to-date as possible (run with --verbose to show unavailable upgrades). However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. # Run eval $(opam env) to update the current shell environment 2024-11-15 13:12.07 ---> saved as "b9e1f2752bf4fc9486a8db7831dea58d8cbd4d121d552b2e7ac3a0cac02f41bf" /src: (copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam) (dst ./)) 2024-11-15 13:12.07 ---> saved as "5ba0e97f611dcdcaef6a4fe7fd956576a85dc4be12b3c6a7d5ae85947d260a60" /src: (run (network host) (shell "opam pin add -yn dockerfile.dev './' && \ \nopam pin add -yn dockerfile-opam.dev './' && \ \nopam pin add -yn dockerfile-cmd.dev './'")) [dockerfile.dev] synchronised (file:///src) dockerfile is now pinned to file:///src (version dev) [dockerfile-opam.dev] synchronised (file:///src) dockerfile-opam is now pinned to file:///src (version dev) [dockerfile-cmd.dev] synchronised (file:///src) dockerfile-cmd is now pinned to file:///src (version dev) 2024-11-15 13:12.13 ---> saved as "719730a564a6cef88af8a7f8b7be51ec5b5fef03368eac872e10a1990d6bb876" /src: (env DEPS "alcotest.1.7.0 astring.0.8.2 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.1.0 conf-m4.1 dune.3.0.2 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.10 fpath.0.7.3 jbuilder.1.0+beta20.1 logs.0.6.3 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.3.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 parsexp.v0.12.0 ppx_derivers.1.0 ppx_sexp_conv.v0.12.0 ppxlib.0.7.0 re.1.7.2 result.1.5 rresult.0.7.0 sexplib.v0.12.0 sexplib0.v0.12.0 stdio.v0.12.0 stdlib-shims.0.1.0 topkg.1.0.3 uchar.0.0.2 uutf.1.0.1") /src: (env CI true) /src: (env OCAMLCI true) /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.2 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] - 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 bookworm/main amd64 Packages [8789 kB] - Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [204 kB] - Fetched 9247 kB in 2s (4311 kB/s) - Reading package lists... <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [dockerfile.dev] synchronised (no changes) [dockerfile-cmd.dev] synchronised (no changes) [dockerfile-opam.dev] synchronised (no changes) [NOTE] Package ocaml-config is already installed (current version is 1). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1). [NOTE] Package ocaml is already installed (current version is 4.08.1). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). The following system packages will first need to be installed: m4 <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package m4. - (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 ... 18745 files and directories currently installed.) - Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ... - Unpacking m4 (1.4.19-3) ... - Setting up m4 (1.4.19-3) ... 2024-11-15 13:12.44 ---> saved as "7a38b4b40b7f3ecc4479aa5bb4a0179fc137f1e1b989f4d84620168ddf3fdd45" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-config is already installed (current version is 1). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1). [NOTE] Package ocaml is already installed (current version is 4.08.1). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). The following actions will be performed: === install 35 packages - install alcotest 1.7.0 - install astring 0.8.2 - install base v0.12.2 - install base-bytes base - install bos 0.2.1 - install cmdliner 1.1.0 - install conf-m4 1 - install dune 3.0.2 - install dune-configurator 2.3.0 - install dune-private-libs 2.3.0 - install fmt 0.8.10 - install fpath 0.7.3 - install jbuilder 1.0+beta20.1 - install logs 0.6.3 - install num 1.0 - install ocaml-compiler-libs v0.11.0 - install ocaml-migrate-parsetree 1.3.1 (deprecated) - install ocaml-syntax-shims 1.0.0 - install ocaml-version 3.5.0 - install ocamlbuild 0.14.0 - install ocamlfind 1.8.0 - install parsexp v0.12.0 - install ppx_derivers 1.0 - install ppx_sexp_conv v0.12.0 - install ppxlib 0.7.0 - install re 1.7.2 - install result 1.5 - install rresult 0.7.0 - install sexplib v0.12.0 - install sexplib0 v0.12.0 - install stdio v0.12.0 - install stdlib-shims 0.1.0 - install topkg 1.0.3 - install uchar 0.0.2 - install uutf 1.0.1 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved astring.0.8.2 (cached) -> retrieved base.v0.12.2 (cached) -> retrieved alcotest.1.7.0 (cached) -> retrieved bos.0.2.1 (cached) -> retrieved cmdliner.1.1.0 (cached) -> installed conf-m4.1 -> retrieved fmt.0.8.10 (cached) -> retrieved fpath.0.7.3 (cached) -> retrieved jbuilder.1.0+beta20.1 (cached) -> retrieved dune.3.0.2 (cached) -> retrieved dune-configurator.2.3.0, dune-private-libs.2.3.0 (cached) -> retrieved logs.0.6.3 (cached) -> retrieved num.1.0 (cached) -> retrieved ocaml-compiler-libs.v0.11.0 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocaml-version.3.5.0 (cached) -> retrieved ocamlbuild.0.14.0 (cached) -> retrieved ocamlfind.1.8.0 (cached) -> retrieved ocaml-migrate-parsetree.1.3.1 (cached) -> retrieved parsexp.v0.12.0 (cached) -> retrieved ppx_derivers.1.0 (cached) -> retrieved ppx_sexp_conv.v0.12.0 (cached) -> retrieved ppxlib.0.7.0 (cached) -> retrieved re.1.7.2 (cached) -> installed cmdliner.1.1.0 -> retrieved result.1.5 (cached) -> retrieved rresult.0.7.0 (cached) -> retrieved sexplib.v0.12.0 (cached) -> retrieved sexplib0.v0.12.0 (cached) -> retrieved stdio.v0.12.0 (cached) -> retrieved stdlib-shims.0.1.0 (cached) -> retrieved uchar.0.0.2 (cached) -> retrieved uutf.1.0.1 (cached) -> retrieved topkg.1.0.3 (cached) -> installed ocamlfind.1.8.0 -> installed base-bytes.base -> installed ocamlbuild.0.14.0 -> installed num.1.0 -> installed uchar.0.0.2 -> installed jbuilder.1.0+beta20.1 -> installed ppx_derivers.1.0 -> installed ocaml-compiler-libs.v0.11.0 -> installed re.1.7.2 -> installed topkg.1.0.3 -> installed rresult.0.7.0 -> installed uutf.1.0.1 -> installed dune.3.0.2 -> installed astring.0.8.2 -> installed fmt.0.8.10 -> installed result.1.5 -> installed ocaml-version.3.5.0 -> installed stdlib-shims.0.1.0 -> installed sexplib0.v0.12.0 -> installed ocaml-syntax-shims.1.0.0 -> installed fpath.0.7.3 -> installed logs.0.6.3 -> installed alcotest.1.7.0 -> installed dune-private-libs.2.3.0 -> installed bos.0.2.1 -> installed dune-configurator.2.3.0 -> installed ocaml-migrate-parsetree.1.3.1 -> installed base.v0.12.2 -> installed stdio.v0.12.0 -> installed parsexp.v0.12.0 -> installed sexplib.v0.12.0 -> installed ppxlib.0.7.0 -> installed ppx_sexp_conv.v0.12.0 Done. <><> ocaml-migrate-parsetree.1.3.1 installed successfully <><><><><><><><><><><> => Note: This package is deprecated. # Run eval $(opam env) to update the current shell environment 2024-11-15 13:14.09 ---> saved as "4daedde36b77e7444bb835a60eac24736cd327be0c55d70026050ba469709245" /src: (copy (src .) (dst /src)) 2024-11-15 13:14.09 ---> saved as "8202f74c7d236f9e0d05a7a3df5f2194f137f1abe5358d949ea1dbcb6a8b8845" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0: Warning: .dune files are ignored since 2.0. Reinstall the library with dune >= 2.0 to get rid of this warning and enable support for the subsystem this library provides. File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0: Warning: .dune files are ignored since 2.0. Reinstall the library with dune >= 2.0 to get rid of this warning and enable support for the subsystem this library provides. File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0: Warning: .dune files are ignored since 2.0. Reinstall the library with dune >= 2.0 to get rid of this warning and enable support for the subsystem this library provides. File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0: Warning: .dune files are ignored since 2.0. Reinstall the library with dune >= 2.0 to get rid of this warning and enable support for the subsystem this library provides. File "/home/opam/.opam/4.08/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0: Warning: .dune files are ignored since 2.0. Reinstall the library with dune >= 2.0 to get rid of this warning and enable support for the subsystem this library provides. File "/home/opam/.opam/4.08/lib/re/re.dune", line 1, characters 0-0: Warning: .dune files are ignored since 2.0. Reinstall the library with dune >= 2.0 to get rid of this warning and enable support for the subsystem this library provides. File "/home/opam/.opam/4.08/lib/re/emacs/re.emacs.dune", line 1, characters 0-0: Warning: .dune files are ignored since 2.0. Reinstall the library with dune >= 2.0 to get rid of this warning and enable support for the subsystem this library provides. File "/home/opam/.opam/4.08/lib/re/glob/re.glob.dune", line 1, characters 0-0: Warning: .dune files are ignored since 2.0. Reinstall the library with dune >= 2.0 to get rid of this warning and enable support for the subsystem this library provides. File "/home/opam/.opam/4.08/lib/re/pcre/re.pcre.dune", line 1, characters 0-0: Warning: .dune files are ignored since 2.0. Reinstall the library with dune >= 2.0 to get rid of this warning and enable support for the subsystem this library provides. File "/home/opam/.opam/4.08/lib/re/perl/re.perl.dune", line 1, characters 0-0: Warning: .dune files are ignored since 2.0. Reinstall the library with dune >= 2.0 to get rid of this warning and enable support for the subsystem this library provides. File "/home/opam/.opam/4.08/lib/re/posix/re.posix.dune", line 1, characters 0-0: Warning: .dune files are ignored since 2.0. Reinstall the library with dune >= 2.0 to get rid of this warning and enable support for the subsystem this library provides. File "/home/opam/.opam/4.08/lib/re/str/re.str.dune", line 1, characters 0-0: Warning: .dune files are ignored since 2.0. Reinstall the library with dune >= 2.0 to get rid of this warning and enable support for the subsystem this library provides. (cd _build/default/test && ./dockerfile.exe) Testing `test'. This run has ID `RGEGH9PL'. [OK] dockerfile 0 string_of_t. [OK] dockerfile 1 string_of_t. [OK] dockerfile 2 Format RUN heredocs. Full test results in `/src/_build/default/test/_build/_tests/test'. Test Successful in 0.000s. 3 tests run. 2024-11-15 13:14.12 ---> saved as "78457dc77eb0c232dad692f47f2a74a6da9c3d856265a1cce7c72d71635ec4ac" Job succeeded 2024-11-15 13:14.12: Job succeeded