2025-01-11 17:57.13: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/no-relaunch-0 (7562d2b7584f72537505a8a80e2100a875cee45b) (linux-x86_64:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ahrefs/devkit.git" -b "no-relaunch-0" && cd "devkit" && git reset --hard 7562d2b7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43
# alpine-3.21-5.3_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 84f0fe59c54c014ec00b31a1f0699ac6371b3498 || git fetch origin master) && git reset -q --hard 84f0fe59c54c014ec00b31a1f0699ac6371b3498 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 devkit.opam ./
RUN opam pin add -yn devkit.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.3 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.2 ppx_derivers.1.2.1 ppxlib.0.34.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.8 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y devkit.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-01-11 17:57.13: Using cache hint "ahrefs/devkit-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43-alpine-3.21-5.3_opam-2.3-74c0a084836e2748ad63709bb373bd33"
2025-01-11 17:57.13: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43)
(comment alpine-3.21-5.3_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 84f0fe59c54c014ec00b31a1f0699ac6371b3498 || git fetch origin master) && git reset -q --hard 84f0fe59c54c014ec00b31a1f0699ac6371b3498 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src devkit.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn devkit.dev './'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.3 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.2 ppx_derivers.1.2.1 ppxlib.0.34.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.8 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 devkit.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-01-11 17:57.13: Waiting for resource in pool OCluster
2025-01-11 18:00.59: Waiting for worker…
2025-01-11 18:02.08: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 7562d2b parallel: more control over revive condition in run_forks
(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43)
2025-01-11 18:02.09 ---> using "6a093706e05c0e53555e9244d46f7209a1fc612c26c390c11f484f242340b7cc" from cache
/: (comment alpine-3.21-5.3_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-01-11 18:02.09 ---> using "47e2cd9455944f816144a39e11a1b407a2c678674ac47b3a54baf41d5c87bbb6" 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 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-11 18:02.09 ---> using "05823c35ec1905ed8e3c1eba252d0c71d26c74dfeaca45ec163adeb413086403" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-01-11 18:02.09 ---> using "be40361a26aa90a3ae3280f9b87ab6ad1b9428a5e8cf8827e8aa63325b49635f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-11 18:02.09 ---> using "15fd2c878f779a79d4269fac9181a0eab2a1cfd97f0dab23438ac7ce787314aa" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 84f0fe59c54c014ec00b31a1f0699ac6371b3498 || git fetch origin master) && git reset -q --hard 84f0fe59c54c014ec00b31a1f0699ac6371b3498 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f93eb7cb02..84f0fe59c5 master -> origin/master
84f0fe59c5 Merge pull request #27222 from mmottl/release-pcre-8.0.2
<><> 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-01-11 18:02.09 ---> using "ee0844c21e7efef143d6ec7c4dad857d07909ab2c6578add9c2d16804b0187c6" from cache
/src: (copy (src devkit.opam) (dst ./))
2025-01-11 18:02.09 ---> using "24746d8adf237a340c92592db6f613b1570bd7e71214d4a0201d0a8851226860" from cache
/src: (run (network host)
(shell "opam pin add -yn devkit.dev './'"))
[devkit.dev] synchronised (file:///src)
devkit is now pinned to file:///src (version dev)
2025-01-11 18:02.09 ---> using "b93a92085019684550f6b31785e3aed96f419700cebddc10a2b1a0b109ca0787" from cache
/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.3 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.2 ppx_derivers.1.2.1 ppxlib.0.34.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.8 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 devkit.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.2-40-gec18125eba6 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.2-46-g3142132cc00 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-243-g8ebd12e954f [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-250-g0bdeda391e5 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-250-g0bdeda391e5 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 55134 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[devkit.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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-nnp is already installed (current version is base).
[NOTE] Package base-effects 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 system packages will first need to be installed:
curl-dev libevent-dev pcre-dev zlib-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apk" "add" "curl-dev" "libevent-dev" "pcre-dev" "zlib-dev"
- (1/18) Installing brotli (1.1.0-r2)
- (2/18) Installing brotli-dev (1.1.0-r2)
- (3/18) Installing c-ares-dev (1.34.3-r0)
- (4/18) Installing libidn2-dev (2.3.7-r0)
- (5/18) Installing libpsl-utils (0.21.5-r3)
- (6/18) Installing libpsl-dev (0.21.5-r3)
- (7/18) Installing nghttp2-dev (1.64.0-r0)
- (8/18) Installing openssl-dev (3.3.2-r4)
- (9/18) Installing zlib-dev (1.3.1-r2)
- (10/18) Installing zstd-dev (1.5.6-r2)
- (11/18) Installing curl-dev (8.11.1-r0)
- (12/18) Installing libevent (2.1.12-r7)
- (13/18) Installing libevent-dev (2.1.12-r7)
- (14/18) Installing libpcre16 (8.45-r3)
- (15/18) Installing libpcre32 (8.45-r3)
- (16/18) Installing pcre (8.45-r3)
- (17/18) Installing libpcrecpp (8.45-r3)
- (18/18) Installing pcre-dev (8.45-r3)
- Executing busybox-1.37.0-r9.trigger
- OK: 315 MiB in 120 packages
2025-01-11 18:02.09 ---> using "7ee8bc7342a5bb1e75dd7353f35fdf463ec250c5128ef9bc6675b1f5b0e2d8ae" from cache
/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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-nnp is already installed (current version is base).
[NOTE] Package base-effects 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 29 packages
- install base-bytes base
- install camlzip 1.13
- install conf-libcurl 2
- install conf-libevent 1
- install conf-libpcre 2
- install conf-pkg-config 3
- install conf-zlib 1
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.17.1
- install dune-configurator 3.17.1
- install extlib 1.8.0
- install extunix 0.4.3
- install libevent 0.9.0
- install lwt 5.9.0
- install lwt_ppx 5.8.0
- install ocaml-compiler-libs v0.17.0
- install ocamlfind 1.9.6
- install ocplib-endian 1.2
- install ocurl 0.9.2
- install ounit2 2.2.7
- install pcre 8.0.2
- install ppx_derivers 1.2.1
- install ppxlib 0.34.0
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install trace 0.8
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlzip.1.13 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-libcurl.2
-> installed conf-pkg-config.3
-> retrieved extlib.1.8.0 (cached)
-> retrieved extunix.0.4.3 (cached)
-> installed conf-libevent.1
-> installed conf-libpcre.2
-> installed conf-zlib.1
-> retrieved libevent.0.9.0 (cached)
-> retrieved lwt.5.9.0 (cached)
-> retrieved lwt_ppx.5.8.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocurl.0.9.2 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved pcre.8.0.2 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved trace.0.8 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved ppxlib.0.34.0 (cached)
-> retrieved dune.3.17.1, dune-configurator.3.17.1 (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed libevent.0.9.0
-> installed camlzip.1.13
-> installed dune.3.17.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed trace.0.8
-> installed ocaml-compiler-libs.v0.17.0
-> installed cppo.1.8.0
-> installed yojson.2.2.2
-> installed ocplib-endian.1.2
-> installed ounit2.2.2.7
-> installed extlib.1.8.0
-> installed dune-configurator.3.17.1
-> installed pcre.8.0.2
-> installed lwt.5.9.0
-> installed ppxlib.0.34.0
-> installed lwt_ppx.5.8.0
-> installed extunix.0.4.3
-> installed ocurl.0.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-11 18:02.37 ---> saved as "7d56c8cd139bdd7db1378fe094264f73f095e28809249aef8234d75cedcdab40"
/src: (copy (src .) (dst /src))
2025-01-11 18:02.38 ---> saved as "d310f086754360d5b37b4db0a841537ce8c1f2e5930c9eaa2c5baafc12428a4b"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && ./test.exe)
..................................
Ran: 34 tests in: 0.17 seconds.
OK
2025-01-11 18:02.46 ---> saved as "7d60aa23465212c940ff6ba85be08d12b0145be89a107bdb9bff2cd33149cd6d"
Job succeeded
2025-01-11 18:02.47: Job succeeded