2024-06-17 12:48.38: New job: test ocaml/opam-file-format https://github.com/ocaml/opam-file-format.git#refs/pull/60/head (c52ffe781c7885d3cfe916b646807557a4d0e686) (linux-x86_64:debian-12-4.14+flambda_opam-2.1) Base: ocaml/opam@sha256:bec9c8ebbadebe1fd4c0564f815c7458a35960811a6312be095cbe2766cf4e21 Opam project build To reproduce locally: git clone --recursive "https://github.com/ocaml/opam-file-format.git" && cd "opam-file-format" && git fetch origin "refs/pull/60/head" && git reset --hard c52ffe78 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam@sha256:bec9c8ebbadebe1fd4c0564f815c7458a35960811a6312be095cbe2766cf4e21 # debian-12-4.14+flambda_opam-2.1 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.1 /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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 opam-file-format.opam ./ RUN opam pin add -yn opam-file-format.dev './' ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 ocaml.4.14.2 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.1 --depext-only -y opam-file-format.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-06-17 12:48.38: Using cache hint "ocaml/opam-file-format-ocaml/opam@sha256:bec9c8ebbadebe1fd4c0564f815c7458a35960811a6312be095cbe2766cf4e21-debian-12-4.14+flambda_opam-2.1-fa2f9bfa65db5b4ab4df674ca308accf" 2024-06-17 12:48.38: Using OBuilder spec: ((from ocaml/opam@sha256:bec9c8ebbadebe1fd4c0564f815c7458a35960811a6312be095cbe2766cf4e21) (comment debian-12-4.14+flambda_opam-2.1) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src opam-file-format.opam) (dst ./)) (run (network host) (shell "opam pin add -yn opam-file-format.dev './'")) (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 ocaml.4.14.2 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3") (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.1 --depext-only -y opam-file-format.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-06-17 12:48.38: Waiting for resource in pool OCluster 2024-06-19 00:57.27: Waiting for worker… 2024-06-19 06:38.04: Got resource from pool OCluster Building on doris.caelum.ci.dev All commits already cached HEAD is now at c52ffe7 Remove hash-consing (from ocaml/opam@sha256:bec9c8ebbadebe1fd4c0564f815c7458a35960811a6312be095cbe2766cf4e21) Unable to find image 'ocaml/opam@sha256:bec9c8ebbadebe1fd4c0564f815c7458a35960811a6312be095cbe2766cf4e21' locally docker.io/ocaml/opam@sha256:bec9c8ebbadebe1fd4c0564f815c7458a35960811a6312be095cbe2766cf4e21: Pulling from ocaml/opam Digest: sha256:bec9c8ebbadebe1fd4c0564f815c7458a35960811a6312be095cbe2766cf4e21 Status: Downloaded newer image for ocaml/opam@sha256:bec9c8ebbadebe1fd4c0564f815c7458a35960811a6312be095cbe2766cf4e21 2024-06-19 06:41.32 ---> saved as "979d5c0781d4803cace183c0e5ec7b1354b42a3d5d08b1908e3e28cd84827b42" /: (comment debian-12-4.14+flambda_opam-2.1) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) 2024-06-19 06:41.32 ---> saved as "acdcef7f53ce802bbd4ed4da4285fa47c93df38a520ee462f92c12a2bf8fbb9f" /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 version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, 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-06-19 06:43.32 ---> saved as "db2a60b2cc8e7797b9e7e70285cb1a245a5b41ec21df067e59cdba36418de330" /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-112-generic The OCaml toplevel, version 4.14.2 2.1.6 2024-06-19 06:43.33 ---> saved as "b8b103337558fd429589d4edb015e7bd26a25e3a8d3edcc2ae9cfc3dc6faef8b" /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-06-19 06:43.33 ---> saved as "8c3842790ba07039180dc92eb985acd3549dbfe5e15cc79002ad649e06622b48" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD c45f5bab71..5d6f1cf035 master -> origin/master a6069b9eeb [new release] dune (15 packages) (3.16.0) <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository The following actions will be performed: - recompile ocaml-options-only-flambda 1 [upstream or system changes] - install host-arch-x86_64 1 - recompile ocaml-variants 4.14.2+options* [upstream or system changes] - install host-system-other 1 - recompile ocaml-config 2 [upstream or system changes] - recompile ocaml 4.14.2 [uses ocaml-config, ocaml-variants] - recompile opam-depext 1.2.1-1 [uses ocaml] ===== 2 to install | 5 to recompile ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.2 (cached) -> removed ocaml-options-only-flambda.1 -> installed host-arch-x86_64.1 -> installed host-system-other.1 -> installed ocaml-options-only-flambda.1 -> retrieved opam-depext.1.2.1-1 (cached) -> retrieved ocaml-variants.4.14.2+options (cached) -> removed opam-depext.1.2.1-1 -> removed ocaml.4.14.2 -> removed ocaml-config.2 -> removed ocaml-variants.4.14.2+options -> installed ocaml-variants.4.14.2+options -> installed ocaml-config.2 -> installed ocaml.4.14.2 -> installed opam-depext.1.2.1-1 Done. <><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><> => opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead # Run eval $(opam env) to update the current shell environment 2024-06-19 06:47.30 ---> saved as "2826edac5081c0f6f132e412699b2489e87c6112336284dae94935bf95055ad9" /src: (copy (src opam-file-format.opam) (dst ./)) 2024-06-19 06:47.30 ---> saved as "50d4e3c9b1de4bb4052f3fa01c437e185a341a131b0a82e451164173975f1420" /src: (run (network host) (shell "opam pin add -yn opam-file-format.dev './'")) [opam-file-format.dev] synchronised (file:///src) opam-file-format is now pinned to file:///src (version dev) 2024-06-19 06:47.32 ---> saved as "e3bce88d602c4d550d36b3e3a3cd49560875071898f5066f66b49c180f96924a" /src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 ocaml.4.14.2 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3") /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.1 --depext-only -y opam-file-format.dev $DEPS")) + /usr/bin/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 [160 kB] - Fetched 263 kB in 0s (833 kB/s) - Reading package lists... <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [opam-file-format.dev] synchronised (no changes) [NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options). [NOTE] Package ocaml-config is already installed (current version is 2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [NOTE] Package host-system-other is already installed (current version is 1). [NOTE] Package host-arch-x86_64 is already installed (current version is 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). 2024-06-19 06:47.44 ---> saved as "486ef36a85d98f919384e8d865eb754c51826150b39dcfdca6e2ff5291a18f0e" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options). [NOTE] Package ocaml-config is already installed (current version is 2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [NOTE] Package host-system-other is already installed (current version is 1). [NOTE] Package host-arch-x86_64 is already installed (current version is 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 ocamlbuild 0.14.3 - install dune 3.16.0 - install ocamlfind 1.9.6 - install cmdliner 1.3.0 - install seq base - install stdlib-shims 0.3.0 - install ocaml-syntax-shims 1.0.0 - install menhirSdk 20231231 - install menhirLib 20231231 - install menhirCST 20231231 - install topkg 1.0.7 - install re 1.11.0 - install menhir 20231231 - install uutf 1.0.3 - install fmt 0.9.0 - install astring 0.8.5 - install alcotest 1.7.0 ===== 17 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved astring.0.8.5 (cached) -> retrieved alcotest.1.7.0 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved dune.3.16.0 (cached) -> retrieved fmt.0.9.0 (cached) -> retrieved menhir.20231231 (cached) -> retrieved menhirCST.20231231 (cached) -> retrieved menhirLib.20231231 (cached) -> retrieved menhirSdk.20231231 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocamlbuild.0.14.3 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved ocamlfind.1.9.6 (cached) -> retrieved re.1.11.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved topkg.1.0.7 (cached) -> retrieved uutf.1.0.3 (cached) -> installed cmdliner.1.3.0 -> installed ocamlfind.1.9.6 -> installed ocamlbuild.0.14.3 -> installed topkg.1.0.7 -> installed uutf.1.0.3 -> installed fmt.0.9.0 -> installed astring.0.8.5 -> installed dune.3.16.0 -> installed stdlib-shims.0.3.0 -> installed menhirCST.20231231 -> installed menhirSdk.20231231 -> installed menhirLib.20231231 -> installed re.1.11.0 -> installed ocaml-syntax-shims.1.0.0 -> installed alcotest.1.7.0 -> installed menhir.20231231 Done. # Run eval $(opam env) to update the current shell environment 2024-06-19 06:49.02 ---> saved as "d58b588d30f6ba92998c1b37828f6c9106229e33d7ae3a1f461ab0cae519b3ad" /src: (copy (src .) (dst /src)) 2024-06-19 06:49.03 ---> saved as "33f918edd9d9166f896cee56f48b68c44dd84c91dc1a9a8c7948dc8e15f6bb4d" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default/tests/simple && ./simple.exe) Successfully loaded ./opam-file-format.opam (cd _build/default/tests && ./tests.exe) Testing `opam-file-format'. This run has ID `NZR66MEY'. [OK] oldpos values 0 parser-printer simple. [OK] oldpos values 1 parser-printer unop. [OK] oldpos values 2 parser-printer binop. [OK] oldpos values 3 parser-printer lists. [OK] oldpos values 4 parser-printer and_or. [OK] oldpos values 5 parser simple. [OK] oldpos values 6 parser unop. [OK] oldpos values 7 parser binop. [OK] oldpos values 8 parser lists. [OK] oldpos values 9 parser and_or. [OK] oldpos values 10 printer simple. [OK] oldpos values 11 printer unop. [OK] oldpos values 12 printer binop. [OK] oldpos values 13 printer lists. [OK] oldpos values 14 printer and_or. [OK] oldpos items 0 variable printer. [OK] oldpos items 1 variable parser. [OK] oldpos items 2 variable parser-printer. [OK] oldpos items 3 section printer. [OK] oldpos items 4 section parser. [OK] oldpos items 5 section parser-printer. [OK] oldpos opamfile 0 parser. [OK] oldpos opamfile 1 printer. [OK] oldpos opamfile 2 parser-printer. [OK] oldpos opamfile 3 positions-file. [OK] fullpos values 0 parser-printer simple. [OK] fullpos values 1 parser-printer unop. [OK] fullpos values 2 parser-printer binop. [OK] fullpos values 3 parser-printer lists. [OK] fullpos values 4 parser-printer and_or. [OK] fullpos values 5 parser simple. [OK] fullpos values 6 parser unop. [OK] fullpos values 7 parser binop. [OK] fullpos values 8 parser lists. [OK] fullpos values 9 parser and_or. [OK] fullpos values 10 printer simple. [OK] fullpos values 11 printer unop. [OK] fullpos values 12 printer binop. [OK] fullpos values 13 printer lists. [OK] fullpos values 14 printer and_or. [OK] fullpos items 0 variable printer. [OK] fullpos items 1 variable parser. [OK] fullpos items 2 variable parser-printer. [OK] fullpos items 3 section printer. [OK] fullpos items 4 section parser. [OK] fullpos items 5 section parser-printer. [OK] fullpos opamfile 0 parser. [OK] fullpos opamfile 1 printer. [OK] fullpos opamfile 2 parser-printer. [OK] fullpos opamfile 3 printer-preserved. [OK] fullpos opamfile 4 positions-file. [OK] opam-version 0 OpamPrinter.FullPos.opamfile. [OK] opam-version 1 OpamPrinter.FullPos.Normalise.o... [OK] opam-version 2 opam-version > 2.0 not at start 1. [OK] opam-version 3 opam-version > 2.1 repeated. [OK] opam-version 4 no opam-version and parsing error. [OK] opam-version 5 opam-version 2.1 and lexing error. [OK] opam-version 6 opam-version 2.1 and parsing er... [OK] opam-version 7 opam-version 2.1 and immediate ... [OK] opam-version 8 opam-version 4 and parsing error. [OK] opam-version 9 opam-version 42.0 and parsing e... [OK] opam-version 10 opam-version 42.0 and evil pars... [OK] opam-version 11 opam-version 42.0 and immediate... [OK] opam-version 12 opam-version 42.0 and lexing er... Full test results in `/src/_build/default/tests/_build/_tests/opam-file-format'. Test Successful in 0.097s. 64 tests run. 2024-06-19 06:49.04 ---> saved as "d3f314328131bc8b7871a9daf95d9a753fe88b0acff3ea8ee02c3259b13d4ed6" Job succeeded 2024-06-19 06:49.05: Job succeeded