2024-05-16 08:56.40: New job: test geocaml/ocaml-geojson https://github.com/geocaml/ocaml-geojson.git#refs/heads/main (393789ac2ab1d3f44fce31b7f61a9683677cad4a) (linux-x86_64:ubuntu-23.10-5.1_opam-2.1)
Base: ocaml/opam@sha256:9e6f96f9697b03f5d2651380cb15e242fb55ac621e55f22d6e306f8b362e34c8
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/geocaml/ocaml-geojson.git" -b "main" && cd "ocaml-geojson" && git reset --hard 393789ac
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:9e6f96f9697b03f5d2651380cb15e242fb55ac621e55f22d6e306f8b362e34c8
# ubuntu-23.10-5.1_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 4e29837bedc03b2e5a3771c15479e71c8faee17a || git fetch origin master) && git reset -q --hard 4e29837bedc03b2e5a3771c15479e71c8faee17a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 geojsone.opam geojson.opam ./
RUN opam pin add -yn geojsone.dev './' && \
opam pin add -yn geojson.dev './'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.9.1 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-local-await.1.0.1 dune.3.15.2 dune-configurator.3.15.2 eio.1.0 eio_linux.1.0 eio_main.1.0 eio_posix.1.0 ezjsonm.1.3.0 fmt.0.9.0 fpath.0.7.3 hex.1.5.0 hmap.0.8.1 iomux.0.3 jsonm.1.0.2 logs.0.7.0 lwt-dllist.1.0.1 mdx.2.4.1 mtime.2.0.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 optint.0.3.0 psq.0.2.1 re.1.11.0 result.1.5 rresult.0.7.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uring.0.9 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y geojsone.dev geojson.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-05-16 08:56.40: Using cache hint "geocaml/ocaml-geojson-ocaml/opam@sha256:9e6f96f9697b03f5d2651380cb15e242fb55ac621e55f22d6e306f8b362e34c8-ubuntu-23.10-5.1_opam-2.1-b12a9069640e83018c283502f9f2687d"
2024-05-16 08:56.40: Using OBuilder spec:
((from ocaml/opam@sha256:9e6f96f9697b03f5d2651380cb15e242fb55ac621e55f22d6e306f8b362e34c8)
(comment ubuntu-23.10-5.1_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 4e29837bedc03b2e5a3771c15479e71c8faee17a || git fetch origin master) && git reset -q --hard 4e29837bedc03b2e5a3771c15479e71c8faee17a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src geojsone.opam geojson.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn geojsone.dev './' && \
\nopam pin add -yn geojson.dev './'"))
(env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.9.1 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-local-await.1.0.1 dune.3.15.2 dune-configurator.3.15.2 eio.1.0 eio_linux.1.0 eio_main.1.0 eio_posix.1.0 ezjsonm.1.3.0 fmt.0.9.0 fpath.0.7.3 hex.1.5.0 hmap.0.8.1 iomux.0.3 jsonm.1.0.2 logs.0.7.0 lwt-dllist.1.0.1 mdx.2.4.1 mtime.2.0.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 optint.0.3.0 psq.0.2.1 re.1.11.0 result.1.5 rresult.0.7.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uring.0.9 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 geojsone.dev geojson.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-05-16 08:56.40: Waiting for resource in pool OCluster
2024-05-16 08:56.40: Waiting for worker…
2024-05-16 08:56.40: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at 393789a Merge pull request #55 from geocaml/v.0.2
(from ocaml/opam@sha256:9e6f96f9697b03f5d2651380cb15e242fb55ac621e55f22d6e306f8b362e34c8)
2024-05-16 08:56.41 ---> using "f988bc4dbab9abb6fc99f8bee93271b7f8b19cd943baf5960159aa05a90602d7" from cache
/: (comment ubuntu-23.10-5.1_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-05-16 08:56.41 ---> using "ea0f8500f4608b984943bfe29b74e2c0df9807e817c7abcee51d04bf10b818b1" 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.
Continue? [Y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-05-16 08:56.41 ---> using "b4ff1b6a176a40274648df490b790572b8ac8cde5877ed27686f0792b4caeba0" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 5.1.1
2.1.5
2024-05-16 08:56.41 ---> using "b20e7353fdea759335cab2cf103e9cbe02a27de6a599eb1a852199c11da418bc" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-16 08:56.41 ---> using "a01765f5b9b8fcdb4cf4c17861beb30ca0e0034fc766e44efa1db41177af8a46" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4e29837bedc03b2e5a3771c15479e71c8faee17a || git fetch origin master) && git reset -q --hard 4e29837bedc03b2e5a3771c15479e71c8faee17a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
eb2dcab0d8..3be63245f1 master -> origin/master
4e29837bed [new release] uring (0.9)
<><> 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-05-16 08:56.41 ---> using "4470ab59652c96f4e1053a02e785b5b7b1b1b8d69ad2126e8503ff4195d46b2c" from cache
/src: (copy (src geojsone.opam geojson.opam) (dst ./))
2024-05-16 08:56.41 ---> saved as "0c35ab06c3ccd207dea26adb3140e38ed5d4235e4725398fd59f7b89fac40129"
/src: (run (network host)
(shell "opam pin add -yn geojsone.dev './' && \
\nopam pin add -yn geojson.dev './'"))
[geojsone.dev] synchronised (file:///src)
geojsone is now pinned to file:///src (version dev)
[geojson.dev] synchronised (file:///src)
geojson is now pinned to file:///src (version dev)
2024-05-16 08:56.47 ---> saved as "b056c2bcf6c5018c86a39926dbcc34fb4ea74f28f9130dc1c0e12984a11b756c"
/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.9.1 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-local-await.1.0.1 dune.3.15.2 dune-configurator.3.15.2 eio.1.0 eio_linux.1.0 eio_main.1.0 eio_posix.1.0 ezjsonm.1.3.0 fmt.0.9.0 fpath.0.7.3 hex.1.5.0 hmap.0.8.1 iomux.0.3 jsonm.1.0.2 logs.0.7.0 lwt-dllist.1.0.1 mdx.2.4.1 mtime.2.0.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 optint.0.3.0 psq.0.2.1 re.1.11.0 result.1.5 rresult.0.7.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 uring.0.9 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 geojsone.dev geojson.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu mantic InRelease
- Get:2 http://archive.ubuntu.com/ubuntu mantic-updates InRelease [109 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu mantic-backports InRelease
- Get:4 http://security.ubuntu.com/ubuntu mantic-security InRelease [109 kB]
- Get:5 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages [540 kB]
- Get:6 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 Packages [472 kB]
- Get:7 http://archive.ubuntu.com/ubuntu mantic-updates/restricted amd64 Packages [477 kB]
- Get:8 http://security.ubuntu.com/ubuntu mantic-security/restricted amd64 Packages [456 kB]
- Get:9 http://security.ubuntu.com/ubuntu mantic-security/main amd64 Packages [462 kB]
- Get:10 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 Packages [361 kB]
- Fetched 2986 kB in 1s (2651 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[geojson.dev] synchronised (no changes)
[geojsone.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.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-05-16 08:57.09 ---> saved as "42a8f59add7268f45c8c405154b2c3f3ca876eb87b641cd98321a802909acbee"
/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.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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 ocamlbuild 0.14.3
- install cmdliner 1.2.0
- install ocamlfind 1.9.6
- install seq base
- install dune 3.15.2
- install topkg 1.0.7
- install thread-table 1.0.0
- install stdlib-shims 0.3.0
- install sexplib0 v0.17.0
- install result 1.5
- install re 1.11.0
- install psq 0.2.1
- install optint 0.3.0
- install ocaml-version 3.6.7
- install ocaml-syntax-shims 1.0.0
- install lwt-dllist 1.0.1
- install csexp 1.5.2
- install cppo 1.6.9
- install camlp-streams 5.0.1
- install uutf 1.0.3
- install rresult 0.7.0
- install mtime 2.0.0
- install hmap 0.8.1
- install fmt 0.9.0
- install astring 0.8.5
- install domain-local-await 1.0.1
- install dune-configurator 3.15.2
- install jsonm 1.0.2
- install logs 0.7.0
- install cstruct 6.2.0
- install fpath 0.7.3
- install alcotest 1.7.0
- install iomux 0.3
- install bigstringaf 0.9.1
- install mdx 2.4.1
- install uring 0.9
- install hex 1.5.0
- install bos 0.2.1
- install eio 1.0
- install ezjsonm 1.3.0
- install eio_posix 1.0
- install eio_linux 1.0
- install eio_main 1.0
===== 43 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigstringaf.0.9.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved alcotest.1.7.0 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved eio.1.0 (cached)
-> retrieved eio_linux.1.0 (cached)
-> retrieved eio_main.1.0 (cached)
-> retrieved eio_posix.1.0 (cached)
-> retrieved ezjsonm.1.3.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved hex.1.5.0 (cached)
-> retrieved hmap.0.8.1 (cached)
-> retrieved iomux.0.3 (cached)
-> retrieved dune.3.15.2 (cached)
-> retrieved dune-configurator.3.15.2 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt-dllist.1.0.1 (cached)
-> retrieved mtime.2.0.0 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.7 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved re.1.11.0 (cached)
-> installed seq.base
-> retrieved result.1.5 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved uring.0.9 (cached)
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed hmap.0.8.1
-> installed rresult.0.7.0
-> installed mtime.2.0.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed bos.0.2.1
-> installed dune.3.15.2
-> installed lwt-dllist.1.0.1
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed cstruct.6.2.0
-> installed ocaml-version.3.6.7
-> installed optint.0.3.0
-> installed psq.0.2.1
-> installed result.1.5
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed thread-table.1.0.0
-> installed hex.1.5.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed domain-local-await.1.0.1
-> installed cppo.1.6.9
-> installed ezjsonm.1.3.0
-> installed alcotest.1.7.0
-> installed dune-configurator.3.15.2
-> installed bigstringaf.0.9.1
-> installed iomux.0.3
-> installed mdx.2.4.1
-> installed eio.1.0
-> installed uring.0.9
-> installed eio_posix.1.0
-> installed eio_linux.1.0
-> installed eio_main.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-16 08:58.17 ---> saved as "09eafbef5aaa8b6b2ce7a1fc4e702c2ef66e22ec147c611014e673212fe29d2c"
/src: (copy (src .) (dst /src))
2024-05-16 08:58.17 ---> saved as "d75a6994083d330a2ca8fd87a700a7582668f4e4f5532831af72bf2932d59e04"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/geojson && ./test.exe)
Testing `geojson'.
This run has ID `R601WEOU'.
[OK] geometry 0 multi-line.
[OK] geometry 1 multi-point.
[OK] geometry 2 point.
[OK] geometry 3 linestring.
[OK] geometry 4 polygon.
[OK] geometry 5 multi_polygon.
[OK] feature 0 feature.
[OK] feature-collection 0 feature-collection.
[OK] random 0 simple-random.
[OK] bbox 0 bbox.
[OK] 3D 0 3D.
Full test results in `/src/_build/default/test/geojson/_build/_tests/geojson'.
Test Successful in 0.002s. 11 tests run.
2024-05-16 08:58.20 ---> saved as "3d8a14fae06b5a4fa1344b54a0a91910cfb83b398329cf485a246137aff61fec"
Job succeeded
2024-05-16 08:58.21: Job succeeded