Organisationsahrefsdevkit824312 (ahrefs/lwt-exceptions)alpine-3.21-4.14_opam-2.3

alpine-3.21-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-01-11 17:57.10: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/ahrefs/lwt-exceptions (824312f7bd09dc958031d3925d0c43d57ad6e677) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c810715263d60567b2461193b2da505b76379f507ee019b54161dd101ccd44bd
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/devkit.git" -b "ahrefs/lwt-exceptions" && cd "devkit" && git reset --hard 824312f7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c810715263d60567b2461193b2da505b76379f507ee019b54161dd101ccd44bd
# alpine-3.21-4.14_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-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 host-arch-x86_64.1 host-system-other.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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.10: Using cache hint "ahrefs/devkit-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c810715263d60567b2461193b2da505b76379f507ee019b54161dd101ccd44bd-alpine-3.21-4.14_opam-2.3-f89103381b53ee89fc6a38ef706494f5"
2025-01-11 17:57.10: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c810715263d60567b2461193b2da505b76379f507ee019b54161dd101ccd44bd)
(comment alpine-3.21-4.14_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-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 host-arch-x86_64.1 host-system-other.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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.10: Waiting for resource in pool OCluster
2025-01-11 17:57.21: Waiting for worker…
2025-01-11 18:02.17: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 824312f use Stdlib.raise and Lwt.reraise instead of Lwt.fail for better backtraces


(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c810715263d60567b2461193b2da505b76379f507ee019b54161dd101ccd44bd)
2025-01-11 18:02.17 ---> using "53a586dee36495bf7ec4fb904a8b3330f0aafc149d45da9757d8480bbc81dd56" from cache


/: (comment alpine-3.21-4.14_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.17 ---> using "461c3f13be41faf96f6a13c92270e688b0ad5416f7520d46cd35e5c4784d07c5" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-11 18:02.17 ---> using "a08aa2b714f2eb9001308844375adde0dffdf93ef9dd2ee9cbb051cd0aaaf049" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-11 18:02.17 ---> using "b0a038d393f2dc47db52841066eaf215bed6b9836d87a4470823f9f304af2c74" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-01-11 18:02.17 ---> using "23d495eb6205288b0503ee14c3933a15dc88912b2d66b9e90ce44d81c8bc47ba" 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.17 ---> using "0a8adfadbd56d7656dd4024be613cb953849c0c9feb92e1b561271d70435a753" from cache


/src: (copy (src devkit.opam) (dst ./))
2025-01-11 18:02.17 ---> using "bf39b1104b25c18d3b7183b13b78718f732d18ef9f37b0d94671b221ce7834d9" 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.17 ---> using "d270930aa56e60e1fe72f74da1937f831719430d29cd02d20bd1b5eaf6c81194" from cache


/src: (env DEPS "base-bigarray.base base-bytes.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 host-arch-x86_64.1 host-system-other.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.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 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/19) Installing brotli (1.1.0-r2)
- (2/19) Installing brotli-dev (1.1.0-r2)
- (3/19) Installing c-ares-dev (1.34.3-r0)
- (4/19) Installing libidn2-dev (2.3.7-r0)
- (5/19) Installing libpsl-utils (0.21.5-r3)
- (6/19) Installing libpsl-dev (0.21.5-r3)
- (7/19) Installing nghttp2-dev (1.64.0-r0)
- (8/19) Installing openssl-dev (3.3.2-r4)
- (9/19) Installing zlib-dev (1.3.1-r2)
- (10/19) Installing zstd (1.5.6-r2)
- (11/19) Installing zstd-dev (1.5.6-r2)
- (12/19) Installing curl-dev (8.11.1-r0)
- (13/19) Installing libevent (2.1.12-r7)
- (14/19) Installing libevent-dev (2.1.12-r7)
- (15/19) Installing libpcre16 (8.45-r3)
- (16/19) Installing libpcre32 (8.45-r3)
- (17/19) Installing pcre (8.45-r3)
- (18/19) Installing libpcrecpp (8.45-r3)
- (19/19) Installing pcre-dev (8.45-r3)
- Executing busybox-1.37.0-r9.trigger
- OK: 315 MiB in 120 packages
2025-01-11 18:02.17 ---> using "fd1497094921a1e937819d74681b4c3857b6df32a5a2806e9b5a8bb6f680daa7" 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.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 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.12.4
- 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.12.4  (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 stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.17.0
-> installed ounit2.2.2.7
-> installed trace.0.8
-> installed yojson.2.2.2
-> installed ocplib-endian.1.2
-> 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.17 ---> using "8beede7165c7e835777e9186e8979122e5eaa16a75107ddc17f585910041989a" from cache


/src: (copy (src .) (dst /src))
2025-01-11 18:02.17 ---> saved as "5550635933fc06f74471718288b3e1eae036691e376b6bd1945e1c1b47e4c2b2"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && ./test.exe)
..................................
Ran: 34 tests in: 0.08 seconds.
OK
2025-01-11 18:02.21 ---> saved as "b439bf4070056b3c65c83c19b0c8d133ea0a2177f798da8e035e0fdc33f08f1d"
Job succeeded
2025-01-11 18:02.21: Job succeeded