Organisationsahrefsdevkitb9e686 (ahrefs/get-socket-error)opensuse-15.6-5.3_opam-2.3

opensuse-15.6-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-01-11 17:57.07: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/ahrefs/get-socket-error (b9e6865a2be640b0d78792b1b88aaebb85350164) (linux-x86_64:opensuse-15.6-5.3_opam-2.3)
Base: ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:066d54ebcaac9fbf51e5120e6b8bed3bd5b56a517272c52311b81758d0a1889e
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/devkit.git" -b "ahrefs/get-socket-error" && cd "devkit" && git reset --hard b9e6865a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:066d54ebcaac9fbf51e5120e6b8bed3bd5b56a517272c52311b81758d0a1889e
# 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 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.07: Using cache hint "ahrefs/devkit-ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:066d54ebcaac9fbf51e5120e6b8bed3bd5b56a517272c52311b81758d0a1889e-opensuse-15.6-5.3_opam-2.3-74c0a084836e2748ad63709bb373bd33"
2025-01-11 17:57.07: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:066d54ebcaac9fbf51e5120e6b8bed3bd5b56a517272c52311b81758d0a1889e)
(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 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.07: Waiting for resource in pool OCluster
2025-01-11 17:57.07: Waiting for worker…
2025-01-11 17:57.08: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at b9e6865 httpev: don't use deprecated value Unix.SO_ERROR


(from ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:066d54ebcaac9fbf51e5120e6b8bed3bd5b56a517272c52311b81758d0a1889e)
2025-01-11 17:57.08 ---> using "64389f9824e1ce3f02db0f1639cacbd4e1d661f7dd7b1c1605a3324f3bedaf8f" 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-01-11 17:57.08 ---> using "6be39778e9d9ef3c57103bfdb2d647df7be4f449c559481c76d44d5f1216a096" 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 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.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-11 17:57.08 ---> using "32a43bdb07bccd0cd6c0be7f92e4f464f85fbc826272c403ff2c65ed27f80226" 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 17:57.08 ---> using "18ddb035234f86f101e04011ef4f0278c3b564ff43aefa91a26ed05f7414dea9" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-01-11 17:57.08 ---> using "bdaf655b1379408c6b7d340783e38e7e76524c024e0f5176014fd468a7198b92" 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 17:58.22 ---> saved as "0a45ec802163563f4a8687f2c88b0be1ba7826b3922e0b134e7db55a5538a3c9"


/src: (copy (src devkit.opam) (dst ./))
2025-01-11 17:58.22 ---> saved as "8ed0bbe18c3c51756c468451f9badb0cdd411acd6b6c8e1e687843d1db7f8d5e"


/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 17:58.27 ---> saved as "f2864f46accceb00ea08782afcad7d7e79e6f37466d290e19cb2c572d95c8479"


/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 "zypper" "--non-interactive" "refresh"
- Repository 'Update repository of openSUSE Backports' is up to date.
- 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]
- Repository 'Main Update Repository' is up to date.
- 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 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.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 (3.9 MiB/s)]
- 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 (19.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 (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.3 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 (3.0 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 (7.1 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 (8.6 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 17:59.07 ---> saved as "000527cd8a0d130cd22783289cf8893afc7bad862ddd23e1d4cc155b1562babd"


/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 <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.3
-> retrieved camlzip.1.13  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libcurl.2
-> installed conf-libevent.1
-> installed conf-libpcre.2
-> installed conf-zlib.1
-> retrieved extlib.1.8.0  (cached)
-> retrieved extunix.0.4.3  (cached)
-> 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 cppo.1.8.0
-> installed trace.0.8
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.2.2.2
-> installed ocplib-endian.1.2
-> installed extlib.1.8.0
-> installed ounit2.2.2.7
-> 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:00.51 ---> saved as "16f025f4f185c9af658a4d680f0ad8a2a389fa93aa591ffdd2a5b88f6969779a"


/src: (copy (src .) (dst /src))
2025-01-11 18:00.51 ---> saved as "15dd25642413182184d0a2f52f35fcca829e0b8cec02bdfb31d7890353fd14aa"


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