2024-11-19 18:55.10: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (5c073f127a275a1332f791b6f7e0cfe047ed3ec2) (linux-x86_64:fedora-41-5.2_opam-2.3)
Base: ocaml/opam:fedora-41-ocaml-5.2@sha256:f4dcfef366037b9324bcfc0cd5be3903aa92cea757f573f290a30ea5b5e51348
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ppx_deriving_yojson.git" -b "master" && cd "ppx_deriving_yojson" && git reset --hard 5c073f12
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.2@sha256:f4dcfef366037b9324bcfc0cd5be3903aa92cea757f573f290a30ea5b5e51348
# fedora-41-5.2_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_deriving_yojson.opam ./
RUN opam pin add -yn ppx_deriving_yojson.dev './'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.7.0 dune.3.16.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppx_deriving_yojson.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-19 18:55.10: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:fedora-41-ocaml-5.2@sha256:f4dcfef366037b9324bcfc0cd5be3903aa92cea757f573f290a30ea5b5e51348-fedora-41-5.2_opam-2.3-448c0b194ba36629f03f3e6e7e293e03"
2024-11-19 18:55.10: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.2@sha256:f4dcfef366037b9324bcfc0cd5be3903aa92cea757f573f290a30ea5b5e51348)
(comment fedora-41-5.2_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppx_deriving_yojson.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppx_deriving_yojson.dev './'"))
(env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.7.0 dune.3.16.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.2.2.2")
(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 ppx_deriving_yojson.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-19 18:55.10: Waiting for resource in pool OCluster
2024-11-19 21:20.01: Waiting for worker…
2024-11-19 21:23.59: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 5c073f1 Switch changelog back to dev mode
(from ocaml/opam:fedora-41-ocaml-5.2@sha256:f4dcfef366037b9324bcfc0cd5be3903aa92cea757f573f290a30ea5b5e51348)
Unable to find image 'ocaml/opam:fedora-41-ocaml-5.2@sha256:f4dcfef366037b9324bcfc0cd5be3903aa92cea757f573f290a30ea5b5e51348' locally
docker.io/ocaml/opam@sha256:f4dcfef366037b9324bcfc0cd5be3903aa92cea757f573f290a30ea5b5e51348: Pulling from ocaml/opam
f625c1a90a8b: Pulling fs layer
f625c1a90a8b: Verifying Checksum
f625c1a90a8b: Download complete
f625c1a90a8b: Pull complete
Digest: sha256:f4dcfef366037b9324bcfc0cd5be3903aa92cea757f573f290a30ea5b5e51348
Status: Downloaded newer image for ocaml/opam@sha256:f4dcfef366037b9324bcfc0cd5be3903aa92cea757f573f290a30ea5b5e51348
2024-11-19 21:24.00 ---> using "6091b140ebc3a4faba31fd2c1c0bf8ab7a3336dc0622983745e1396586ad65ec" from cache
/: (comment fedora-41-5.2_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 41 - x86_64 100% | 74.3 KiB/s | 22.8 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 19.2 KiB/s | 25.8 KiB | 00m01s
Fedora 41 - x86_64 - Updates 100% | 519.7 KiB/s | 2.6 MiB | 00m05s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.
Nothing to do.
2024-11-19 21:24.00 ---> using "e1514c2b374f1ae1e22d94aadb7c7eb5cab8df4f7831f7367e4d95d51e0b7e89" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-11-19 21:24.00 ---> using "92f583d8b6918217c5d9f5e511fc8f7874af272dfaffe0ac7f6a7040e54bf34c" 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 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-19 21:24.00 ---> using "3fd4c4349b45b647db5430c24612748a47ad0bd797b778bb99f4815cdd2e8139" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 5.2.0
2.3.0~rc1
2024-11-19 21:24.00 ---> using "11833e86501aaadd927f156d74587a496fb594856955ece11d82f2e8ac5f18c3" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-19 21:24.00 ---> using "fcf7515d3e14ad73da0d215559effda321c913d227faa9c23695b3426bd0eeb9" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
371a52f4a8 Merge pull request #26816 from maiste/release-dune-3.16.1
<><> 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)
2024-11-19 21:24.00 ---> using "7c7e6fb41e0b363dd8294dacf7be8c0276d7372db319fc925cf46463114faa7c" from cache
/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2024-11-19 21:24.00 ---> saved as "443375b6315c1c41ecd834c04e7698eea25c5b3a2ee58c9b57cc8f5ff7bf5b1c"
/src: (run (network host)
(shell "opam pin add -yn ppx_deriving_yojson.dev './'"))
[ppx_deriving_yojson.dev] synchronised (file:///src)
ppx_deriving_yojson is now pinned to file:///src (version dev)
2024-11-19 21:24.01 ---> saved as "c57000945e1eda673588a3e69a4cec129d383a93c554097c57a18a9de22fc0a5"
/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.7.0 dune.3.16.1 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.2.2.2")
/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 ppx_deriving_yojson.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_yojson.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-11-19 21:24.12 ---> saved as "f4fb13b4538c9496195b8fbd27187b2db80c84a2cd08efa01a110ec564998175"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 12 packages
- install cppo 1.7.0
- install dune 3.16.1
- install ocaml-compiler-libs v0.17.0
- install ocamlfind 1.9.6
- install ounit2 2.2.7
- install ppx_derivers 1.2.1
- install ppx_deriving 6.0.3
- install ppxlib 0.33.0
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.7.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.0.3 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved dune.3.16.1 (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.16.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed cppo.1.7.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ounit2.2.2.7
-> installed yojson.2.2.2
-> installed ppxlib.0.33.0
-> installed ppx_deriving.6.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-19 21:25.00 ---> saved as "f635a2f3a569b07b4de834878ae13c73728cf68b8632cdffa907b7641db91bb9"
/src: (copy (src .) (dst /src))
2024-11-19 21:25.00 ---> saved as "adac66706ed133f1617b0f824fc5077438480baf67b2910a75ec7aaf7885e32f"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src_test && ./test_ppx_yojson.exe)
.................................
Ran: 33 tests in: 2.33 seconds.
OK
2024-11-19 21:25.07 ---> saved as "a481d49e1700a7504b46cb43682ab32397e5ff139d1232b63b77c80af9488be3"
Job succeeded
2024-11-19 21:25.07: Job succeeded