Organisationsahrefsdevkitd890d2 ()opensuse-15.6-5.3_opam-2.3

opensuse-15.6-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-04-03 16:17.18: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (d890d2fc872824c5abab43ce7813117b4bc6740c) (linux-x86_64:opensuse-15.6-5.3_opam-2.3)
Base: ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:03eed3183ced16e3bbc578545f87a5fc999109bedc4743538b9ff9563af70907
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard d890d2fc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:03eed3183ced16e3bbc578545f87a5fc999109bedc4743538b9ff9563af70907
# opensuse-15.6-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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 devkit.opam ./
RUN opam pin add -yn devkit.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
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.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 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.8 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.9 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-04-03 16:17.18: Using cache hint "ahrefs/devkit-ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:03eed3183ced16e3bbc578545f87a5fc999109bedc4743538b9ff9563af70907-opensuse-15.6-5.3_opam-2.3-53448ef5489517dfe4fc04e565645a95"
2025-04-03 16:17.18: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:03eed3183ced16e3bbc578545f87a5fc999109bedc4743538b9ff9563af70907)
(comment opensuse-15.6-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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src devkit.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn devkit.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(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.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 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.8 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.9 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-04-03 16:17.18: Waiting for resource in pool OCluster
2025-04-04 00:33.09: Waiting for worker…
2025-04-04 00:37.34: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at d890d2f time 2025


(from ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:03eed3183ced16e3bbc578545f87a5fc999109bedc4743538b9ff9563af70907)
2025-04-04 00:37.34 ---> using "97c0fadd2a2f6fc0d6f7c024b06fdc5e37314bdc6a75a12d7cd819ed6ccf2aa0" from cache


/: (comment opensuse-15.6-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-04-04 00:37.34 ---> using "ae8deb97ac3f0d225fc1c09301f1ecf73216745312621d386a5a7c1d83af4ac0" 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 71 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=71 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-04-04 00:37.34 ---> using "b9e7493c2d0282d19720dc154beb4021e405218902724c60e81ee6d906a24ad1" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-04-04 00:37.34 ---> using "59503f8b04c6e35ab7b00f105a136ae0ce66053ec9281c32268254d16b5cb3d4" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-04-04 00:37.34 ---> using "3336fd0a8b7aa274901f66563ebf4bbae201df957a49f9776cc6d20c7be356cc" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
862a7640b1..1b767795a4  master     -> origin/master
1b767795a4 Merge pull request #27704 from maiste/release-dune-3.18.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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-04-04 00:37.34 ---> using "aa508885888b16d6d745bea6abaf38b1d30155a412227b34816a2da5ac493f43" from cache


/src: (copy (src devkit.opam) (dst ./))
2025-04-04 00:37.35 ---> saved as "7eeb9bde9a7da1dc375bf77539d58ff541f887537bc476a025a728af27c0799c"


/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-04-04 00:37.43 ---> saved as "a7808c9ac29e58cf9f6fb9c88ac41e49004c8f613991c76834d8c86a48821632"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-04 00:37.44 ---> saved as "e0eaeae980f652f92a084989f8705b725113181a1ae84e9654e2ff232172d796"


/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.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 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.8 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.9 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]
- 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]
- Retrieving repository 'Update Repository (Non-Oss)' metadata [.
- .......done]
- Building repository 'Update Repository (Non-Oss)' cache [....done]
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[devkit.dev] synchronised (file:///src)


[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:
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.2 MiB  required by packages that will be installed
-     41.2 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 (2.6 MiB/s)]
- 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 (5.2 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]
- 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.21.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (6/10), 893.5 KiB
- Retrieving: libcurl-devel-8.6.0-150600.4.21.1.x86_64.rpm [...
- .done (3.3 MiB/s)]
- Retrieving: libopenssl1_1-1.1.1w-150600.5.12.2.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (7/10),   1.4 MiB
- Retrieving: libopenssl1_1-1.1.1w-150600.5.12.2.x86_64.rpm [....done (4.7 MiB/s)]
- Retrieving: python3-base-3.6.15-150300.10.84.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.84.1.x86_64.rpm [.....
- ..done (28.1 MiB/s)]
- Retrieving: libpython3_6m1_0-3.6.15-150300.10.84.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.84.1.x86_64.rpm [....done (10.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.21.1.x86_64 [..done]
- ( 7/10) Installing: libopenssl1_1-1.1.1w-150600.5.12.2.x86_64 [...done]
- ( 8/10) Installing: python3-base-3.6.15-150300.10.84.1.x86_64 [.......
- ....done]
- ( 9/10) Installing: libpython3_6m1_0-3.6.15-150300.10.84.1.x86_64 [...done]
- (10/10) Installing: libevent-devel-2.1.12-150600.1.2.x86_64 [..done]
2025-04-04 00:38.38 ---> saved as "91d7c7e3be08489514c9e9a4cd66b626e894814bae608cd929a6277a93ec77d2"


/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     4
- install conf-zlib           1
- install cppo                1.8.0
- install csexp               1.5.2
- install dune                3.18.0
- install dune-configurator   3.18.0
- install extlib              1.8.0
- install extunix             0.4.3
- install libevent            0.9.0
- install lwt                 5.9.1
- install lwt_ppx             5.9.1
- install ocaml-compiler-libs v0.17.0
- install ocamlfind           1.9.8
- install ocplib-endian       1.2
- install ocurl               0.9.2
- install ounit2              2.2.7
- install pcre                8.0.3
- install ppx_derivers        1.2.1
- install ppxlib              0.35.0
- install seq                 base
- install sexplib0            v0.17.0
- install stdlib-shims        0.3.0
- install trace               0.9
- 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.4
-> 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.1, lwt_ppx.5.9.1  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocurl.0.9.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved pcre.8.0.3  (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.9  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved dune.3.18.0, dune-configurator.3.18.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed libevent.0.9.0
-> installed camlzip.1.13
-> installed dune.3.18.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed yojson.2.2.2
-> installed trace.0.9
-> installed ocplib-endian.1.2
-> installed extlib.1.8.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.18.0
-> installed pcre.8.0.3
-> installed lwt.5.9.1
-> installed ppxlib.0.35.0
-> installed lwt_ppx.5.9.1
-> installed extunix.0.4.3
-> installed ocurl.0.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-04 00:40.08 ---> saved as "991518a2b161d006f7feaaa8cfb8e745df9c660bd65016b55781c67f38c4e9ec"


/src: (copy (src .) (dst /src))
2025-04-04 00:40.09 ---> saved as "64db5b64e17311d77a248138e640257de18a9b8686bf80bd5ed9be69bd1c497c"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && ./test.exe)
..................................
Ran: 34 tests in: 0.05 seconds.
OK
2025-04-04 00:40.13 ---> saved as "1b7b7e0535387cdaddd230e254f609805e71c3579ce7f566946cae1b8bbe390b"
Job succeeded
2025-04-04 00:40.14: Job succeeded