Organisationsocamlopam-file-format976d8e (master)debian-12-4.03_opam-2.3

debian-12-4.03_opam-2.3

Link Copied
Code Copied

Logs

2025-02-01 17:11.33: New job: test ocaml/opam-file-format https://github.com/ocaml/opam-file-format.git#refs/heads/master (976d8ec1157913b2d36b2705d650a5e0fd6fc092) (linux-x86_64:debian-12-4.03_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml/opam-file-format.git" -b "master" && cd "opam-file-format" && git reset --hard 976d8ec1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806
# debian-12-4.03_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && 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 './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.1.0 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 dune.3.17.2 fmt.0.8.6 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 re.1.11.0 seq.0.3.1 stdlib-shims.0.3.0 topkg.1.0.4 uuidm.0.9.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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


2025-02-01 17:11.33: Using cache hint "ocaml/opam-file-format-ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806-debian-12-4.03_opam-2.3-ed8ac02a6a20433672422c585388c091"
2025-02-01 17:11.33: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806)
(comment debian-12-4.03_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && 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 './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.1.0 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 dune.3.17.2 fmt.0.8.6 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 re.1.11.0 seq.0.3.1 stdlib-shims.0.3.0 topkg.1.0.4 uuidm.0.9.7")
(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.3 --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"))
)


2025-02-01 17:11.33: Waiting for resource in pool OCluster
2025-02-01 17:13.01: Waiting for worker…
2025-02-01 17:14.29: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 976d8ec Merge pull request #61 from kit-ty-kate/rel-2.2.0-alpha1


(from ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806' locally
docker.io/ocaml/opam@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806: Pulling from ocaml/opam
46e35eb005a6: Pulling fs layer
46e35eb005a6: Verifying Checksum
46e35eb005a6: Download complete
46e35eb005a6: Pull complete
Digest: sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806
Status: Downloaded newer image for ocaml/opam@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806
2025-02-01 17:33.09 ---> using "1a689143ea134c88ba740cf6c4224b335a7ad49d5eed0cadfda0a4734062da5c" from cache


/: (comment debian-12-4.03_opam-2.3)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-02-01 17:33.09 ---> using "244257d51b21c22015df2b8c08522ed5721d4bd167a931d64056e9bb69ccdcef" from cache


/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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-02-01 17:33.09 ---> using "26e94915a71056f9e5be76b0a495ac37f1196ee2cfc52de02eb8a8480851882c" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.03.0
2.3.0
2025-02-01 17:33.09 ---> using "2295af233e6f34663bf3970d0072ec36a300b321367d34af7e4a7208b655bfb9" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-02-01 17:33.09 ---> using "84cc0cadecff1b9cbb5019958f736bc4cb93425c78fe9af2cfb6e48a94a6e846" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
3e681a81f6..e25af452e6  master     -> origin/master
e25af452e6 Merge pull request #27273 from hannesm/archive-phase2


<><> 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.
# To update the current shell environment, run: eval $(opam env)
2025-02-01 17:33.09 ---> using "9acec161127d7d48c8eee08fb2f36853b2dec677d49cfee6f2448a5f3219bfa3" from cache


/src: (copy (src opam-file-format.opam) (dst ./))
2025-02-01 17:33.10 ---> saved as "08568af19ce608695c7b34b488eba89d605a96809cb8fa555d9c15627e67854b"


/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)
2025-02-01 17:33.11 ---> saved as "e3034ff0bc404ae37c1668ae2ade35518d40aa0559a554f946a0d69da33b138a"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-01 17:33.12 ---> saved as "a250d9a2957a022818ff47a391910189d154b75b10760f5a6da9baf940bc11f4"


/src: (env DEPS "alcotest.1.1.0 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 dune.3.17.2 fmt.0.8.6 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 re.1.11.0 seq.0.3.1 stdlib-shims.0.3.0 topkg.1.0.4 uuidm.0.9.7")


/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.3 --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 [243 kB]
- Fetched 346 kB in 0s (1096 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-file-format.dev] synchronised (file:///src)


[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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).
2025-02-01 17:33.22 ---> saved as "fba13ec394942d9ae6acf84edc2164f764b7f33ea7f33964c6e78daf5417a66c"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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 17 packages
- install alcotest            1.1.0
- install astring             0.8.3
- install base-bytes          base
- install cmdliner            1.0.4
- install dune                3.17.2
- install fmt                 0.8.6
- install menhir              20230608
- install menhirLib           20230608
- install menhirSdk           20230608
- install ocamlbuild          0.14.3
- install ocamlfind           1.9.6
- install ocamlfind-secondary 1.9.6
- install re                  1.11.0
- install seq                 0.3.1
- install stdlib-shims        0.3.0
- install topkg               1.0.4
- install uuidm               0.9.7


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved astring.0.8.3  (cached)
-> retrieved fmt.0.8.6  (cached)
-> retrieved menhir.20230608, menhirLib.20230608, menhirSdk.20230608  (cached)
-> retrieved alcotest.1.1.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6  (cached)
-> retrieved dune.3.17.2  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved seq.0.3.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uuidm.0.9.7  (cached)
-> retrieved topkg.1.0.4  (cached)
-> installed cmdliner.1.0.4
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed topkg.1.0.4
-> installed uuidm.0.9.7
-> installed astring.0.8.3
-> installed dune.3.17.2
-> installed seq.0.3.1
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20230608
-> installed menhirLib.20230608
-> installed re.1.11.0
-> installed fmt.0.8.6
-> installed alcotest.1.1.0
-> installed menhir.20230608
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-01 17:34.11 ---> saved as "e4e3f047970f316caa4ee2c0f5109c2ff8b25e2835fb823e4940480c915a095d"


/src: (copy (src .) (dst /src))
2025-02-01 17:34.11 ---> saved as "79256c8513f5bebeb35225b319390e24f4464c15af7eb4757908b31b9e4f00d5"


/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 `00D7AA22-80F0-4C7E-8C20-D68074357E24`.
...                oldpos values             0   parser-printer simple.
[OK]                oldpos values             0   parser-printer simple.
...                oldpos values             1   parser-printer unop.
[OK]                oldpos values             1   parser-printer unop.
...                oldpos values             2   parser-printer binop.
[OK]                oldpos values             2   parser-printer binop.
...                oldpos values             3   parser-printer lists.
[OK]                oldpos values             3   parser-printer lists.
...                oldpos values             4   parser-printer and_or.
[OK]                oldpos values             4   parser-printer and_or.
...                oldpos values             5   parser simple.
[OK]                oldpos values             5   parser simple.
...                oldpos values             6   parser unop.
[OK]                oldpos values             6   parser unop.
...                oldpos values             7   parser binop.
[OK]                oldpos values             7   parser binop.
...                oldpos values             8   parser lists.
[OK]                oldpos values             8   parser lists.
...                oldpos values             9   parser and_or.
[OK]                oldpos values             9   parser and_or.
...                oldpos values            10   printer simple.
[OK]                oldpos values            10   printer simple.
...                oldpos values            11   printer unop.
[OK]                oldpos values            11   printer unop.
...                oldpos values            12   printer binop.
[OK]                oldpos values            12   printer binop.
...                oldpos values            13   printer lists.
[OK]                oldpos values            13   printer lists.
...                oldpos values            14   printer and_or.
[OK]                oldpos values            14   printer and_or.
...                oldpos items              0   variable printer.
[OK]                oldpos items              0   variable printer.
...                oldpos items              1   variable parser.
[OK]                oldpos items              1   variable parser.
...                oldpos items              2   variable parser-printer.
[OK]                oldpos items              2   variable parser-printer.
...                oldpos items              3   section printer.
[OK]                oldpos items              3   section printer.
...                oldpos items              4   section parser.
[OK]                oldpos items              4   section parser.
...                oldpos items              5   section parser-printer.
[OK]                oldpos items              5   section parser-printer.
...                oldpos opamfile           0   parser.
[OK]                oldpos opamfile           0   parser.
...                oldpos opamfile           1   printer.
[OK]                oldpos opamfile           1   printer.
...                oldpos opamfile           2   parser-printer.
[OK]                oldpos opamfile           2   parser-printer.
...                oldpos opamfile           3   positions-file.
[OK]                oldpos opamfile           3   positions-file.
...                fullpos values            0   parser-printer simple.
[OK]                fullpos values            0   parser-printer simple.
...                fullpos values            1   parser-printer unop.
[OK]                fullpos values            1   parser-printer unop.
...                fullpos values            2   parser-printer binop.
[OK]                fullpos values            2   parser-printer binop.
...                fullpos values            3   parser-printer lists.
[OK]                fullpos values            3   parser-printer lists.
...                fullpos values            4   parser-printer and_or.
[OK]                fullpos values            4   parser-printer and_or.
...                fullpos values            5   parser simple.
[OK]                fullpos values            5   parser simple.
...                fullpos values            6   parser unop.
[OK]                fullpos values            6   parser unop.
...                fullpos values            7   parser binop.
[OK]                fullpos values            7   parser binop.
...                fullpos values            8   parser lists.
[OK]                fullpos values            8   parser lists.
...                fullpos values            9   parser and_or.
[OK]                fullpos values            9   parser and_or.
...                fullpos values           10   printer simple.
[OK]                fullpos values           10   printer simple.
...                fullpos values           11   printer unop.
[OK]                fullpos values           11   printer unop.
...                fullpos values           12   printer binop.
[OK]                fullpos values           12   printer binop.
...                fullpos values           13   printer lists.
[OK]                fullpos values           13   printer lists.
...                fullpos values           14   printer and_or.
[OK]                fullpos values           14   printer and_or.
...                fullpos items             0   variable printer.
[OK]                fullpos items             0   variable printer.
...                fullpos items             1   variable parser.
[OK]                fullpos items             1   variable parser.
...                fullpos items             2   variable parser-printer.
[OK]                fullpos items             2   variable parser-printer.
...                fullpos items             3   section printer.
[OK]                fullpos items             3   section printer.
...                fullpos items             4   section parser.
[OK]                fullpos items             4   section parser.
...                fullpos items             5   section parser-printer.
[OK]                fullpos items             5   section parser-printer.
...                fullpos opamfile          0   parser.
[OK]                fullpos opamfile          0   parser.
...                fullpos opamfile          1   printer.
[OK]                fullpos opamfile          1   printer.
...                fullpos opamfile          2   parser-printer.
[OK]                fullpos opamfile          2   parser-printer.
...                fullpos opamfile          3   printer-preserved.
[OK]                fullpos opamfile          3   printer-preserved.
...                fullpos opamfile          4   positions-file.
[OK]                fullpos opamfile          4   positions-file.
...                opam-version              0   OpamPrinter.FullPos.opamfile.
[OK]                opam-version              0   OpamPrinter.FullPos.opamfile.
...                opam-version              1   OpamPrinter.FullPos.Normalise.opamfile.
[OK]                opam-version              1   OpamPrinter.FullPos.Normalise.opamfile.
...                opam-version              2   opam-version > 2.0 not at start 1.
[OK]                opam-version              2   opam-version > 2.0 not at start 1.
...                opam-version              3   opam-version > 2.1 repeated.
[OK]                opam-version              3   opam-version > 2.1 repeated.
...                opam-version              4   no opam-version and parsing error.
[OK]                opam-version              4   no opam-version and parsing error.
...                opam-version              5   opam-version 2.1 and lexing error.
[OK]                opam-version              5   opam-version 2.1 and lexing error.
...                opam-version              6   opam-version 2.1 and parsing error.
[OK]                opam-version              6   opam-version 2.1 and parsing error.
...                opam-version              7   opam-version 2.1 and immediate parsing error.
[OK]                opam-version              7   opam-version 2.1 and immediate parsing error.
...                opam-version              8   opam-version 4 and parsing error.
[OK]                opam-version              8   opam-version 4 and parsing error.
...                opam-version              9   opam-version 42.0 and parsing error.
[OK]                opam-version              9   opam-version 42.0 and parsing error.
...                opam-version             10   opam-version 42.0 and evil parsing error.
[OK]                opam-version             10   opam-version 42.0 and evil parsing error.
...                opam-version             11   opam-version 42.0 and immediate parsing error.
[OK]                opam-version             11   opam-version 42.0 and immediate parsing error.
...                opam-version             12   opam-version 42.0 and lexing error.
[OK]                opam-version             12   opam-version 42.0 and lexing error.
The full test results are available in `/src/_build/default/tests/_build/_tests/00D7AA22-80F0-4C7E-8C20-D68074357E24`.
Test Successful in 0.000s. 64 tests run.
2025-02-01 17:34.12 ---> saved as "fac093f049f48ebf3738bd946a73c250cdae452bc7a04b350e17a2cb6ab1e0d5"
Job succeeded
2025-02-01 17:34.12: Job succeeded