Organisationsahrefsdevkit824312 (ahrefs/lwt-exceptions)opensuse-15.6-4.14_opam-2.3

opensuse-15.6-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-01-11 17:57.09: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/ahrefs/lwt-exceptions (824312f7bd09dc958031d3925d0c43d57ad6e677) (linux-x86_64:opensuse-15.6-4.14_opam-2.3)
Base: ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:a2a2de5bdfb9a458a57fba18bd1d7ebee97c9cd00c44e96031daf7c81f66c9f2
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:opensuse-15.6-ocaml-4.14@sha256:a2a2de5bdfb9a458a57fba18bd1d7ebee97c9cd00c44e96031daf7c81f66c9f2
# opensuse-15.6-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.09: Using cache hint "ahrefs/devkit-ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:a2a2de5bdfb9a458a57fba18bd1d7ebee97c9cd00c44e96031daf7c81f66c9f2-opensuse-15.6-4.14_opam-2.3-f89103381b53ee89fc6a38ef706494f5"
2025-01-11 17:57.09: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:a2a2de5bdfb9a458a57fba18bd1d7ebee97c9cd00c44e96031daf7c81f66c9f2)
(comment opensuse-15.6-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.09: Waiting for resource in pool OCluster
2025-01-11 17:57.11: Waiting for worker…
2025-01-11 18:01.31: 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:opensuse-15.6-ocaml-4.14@sha256:a2a2de5bdfb9a458a57fba18bd1d7ebee97c9cd00c44e96031daf7c81f66c9f2)
2025-01-11 18:20.39 ---> using "2629310870f904d03640e982f167478a758443a171a87c0d33fa878110d5696f" from cache


/: (comment opensuse-15.6-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:20.39 ---> using "7885f8b0acd25a6c10a14031ff9f22b33abc46df6c98eb38c5dc2fea76532b0f" 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:20.39 ---> using "b7af0e056a93df60f8dc2aaed1dd6eb4d75914a14b23620ad27ed98ec1a842cc" 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:20.39 ---> using "28dc11a9e6fc026c8b6ab1d990c4d756c1fff626853392512602377e49469dea" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-01-11 18:20.39 ---> using "d7a9c66ffb66cf374d1e8883105c182485dd524628237812b58664e14c25b098" 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
de786e28db..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:20.39 ---> using "3ffdec82c1aacfffc2f120f5f8ed529d5e434ffcfba151c8e7d0c5ee2968f61f" from cache


/src: (copy (src devkit.opam) (dst ./))
2025-01-11 18:20.39 ---> using "fe5384b16e5c3ceeb708b5143d55f475f99c8e4cc69298e6536acc65e5d8113b" 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:20.39 ---> using "5ce517a21866ca413cbfab01e680b8ff8453256decb3fa85daee050a4ecaf431" 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 "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [....
- .......done]
- Building repository 'Update repository of openSUSE Backports' cache [....done]
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [....
- ........
- ..........
- ..........
- .....done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Retrieving repository 'Main Update Repository' metadata [.
- ........
- done]
- Building repository 'Main Update Repository' cache [....done]
- Repository 'Update Repository (Non-Oss)' is up to date.
- All repositories have been refreshed.


<><> 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:
libcurl-devel libevent-devel pcre-devel


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "zypper" "--non-interactive" "install" "libcurl-devel" "libevent-devel" "pcre-devel"
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
- 
- The following 10 NEW packages are going to be installed:
-   libcurl-devel libevent-2_1-7 libevent-devel libopenssl1_1 libpcre16-0 libpcrecpp0 libpcreposix0 libpython3_6m1_0 pcre-devel python3-base
- 
- 10 new packages to install.
- 
- Package download size:    12.1 MiB
- 
- Package install size change:
-               |      41.3 MiB  required by packages that will be installed
-     41.3 MiB  |  -      0 B    released by packages that will be removed
- 
- Backend:  classic_rpmtrans
- Continue? [y/n/v/...? shows all options] (y): y
- Retrieving: libevent-2_1-7-2.1.12-150600.1.2.x86_64 (Main Repository) (1/10), 263.4 KiB
- Retrieving: libevent-2_1-7-2.1.12-150600.1.2.x86_64.rpm [...done]
- Retrieving: libpcre16-0-8.45-150000.20.13.1.x86_64 (Main Repository) (2/10), 213.9 KiB
- Retrieving: libpcre16-0-8.45-150000.20.13.1.x86_64.rpm [..done]
- Retrieving: libpcrecpp0-8.45-150000.20.13.1.x86_64 (Main Repository) (3/10),  28.6 KiB
- Retrieving: libpcrecpp0-8.45-150000.20.13.1.x86_64.rpm [.
- .done (28.6 KiB/s)]
- Retrieving: libpcreposix0-8.45-150000.20.13.1.x86_64 (Main Repository) (4/10),  19.7 KiB
- Retrieving: libpcreposix0-8.45-150000.20.13.1.x86_64.rpm [..done (19.7 KiB/s)]
- Retrieving: pcre-devel-8.45-150000.20.13.1.x86_64 (Main Repository) (5/10), 230.1 KiB
- Retrieving: pcre-devel-8.45-150000.20.13.1.x86_64.rpm [..done]
- Retrieving: libcurl-devel-8.6.0-150600.4.15.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (6/10), 893.2 KiB
- Retrieving: libcurl-devel-8.6.0-150600.4.15.1.x86_64.rpm [...done (4.0 MiB/s)]
- Retrieving: libopenssl1_1-1.1.1w-150600.5.9.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (7/10),   1.4 MiB
- Retrieving: libopenssl1_1-1.1.1w-150600.5.9.1.x86_64.rpm [...done (6.2 MiB/s)]
- Retrieving: python3-base-3.6.15-150300.10.78.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (8/10),   7.8 MiB
- Retrieving: python3-base-3.6.15-150300.10.78.1.x86_64.rpm [.
- ........done (10.4 MiB/s)]
- Retrieving: libpython3_6m1_0-3.6.15-150300.10.78.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (9/10),   1.2 MiB
- Retrieving: libpython3_6m1_0-3.6.15-150300.10.78.1.x86_64.rpm [.
- ...done (6.5 MiB/s)]
- Retrieving: libevent-devel-2.1.12-150600.1.2.x86_64 (Main Repository) (10/10), 116.1 KiB
- Retrieving: libevent-devel-2.1.12-150600.1.2.x86_64.rpm [..done]
- 
- Checking for file conflicts: [..done]
- ( 1/10) Installing: libevent-2_1-7-2.1.12-150600.1.2.x86_64 [..done]
- ( 2/10) Installing: libpcre16-0-8.45-150000.20.13.1.x86_64 [..done]
- ( 3/10) Installing: libpcrecpp0-8.45-150000.20.13.1.x86_64 [..done]
- ( 4/10) Installing: libpcreposix0-8.45-150000.20.13.1.x86_64 [..done]
- ( 5/10) Installing: pcre-devel-8.45-150000.20.13.1.x86_64 [..done]
- ( 6/10) Installing: libcurl-devel-8.6.0-150600.4.15.1.x86_64 [..
- .done]
- ( 7/10) Installing: libopenssl1_1-1.1.1w-150600.5.9.1.x86_64 [...done]
- ( 8/10) Installing: python3-base-3.6.15-150300.10.78.1.x86_64 [.......
- .......done]
- ( 9/10) Installing: libpython3_6m1_0-3.6.15-150300.10.78.1.x86_64 [...done]
- (10/10) Installing: libevent-devel-2.1.12-150600.1.2.x86_64 [.
- .done]
2025-01-11 18:20.39 ---> using "a083b3c05648157af59a8fa8b3370a5bae498e0656e406b3d6e6a022a07bc260" 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:20.39 ---> using "2117af131e1f958864b358b2c8a4b14d02ff50e590df6c7bd4b84bd29e1ecb4e" from cache


/src: (copy (src .) (dst /src))
2025-01-11 18:20.39 ---> saved as "be391bf8a4471fdd9ed3ff07d5166753ff9315f1fc495d70cfbbd24bd67342e5"


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