Organisationsygrekocurl04b40e ()opensuse-15.6-4.14_opam-2.3

opensuse-15.6-4.14_opam-2.3

Logs

Steps to Reproduce
git clone --recursive "https://github.com/ygrek/ocurl.git" && cd "ocurl" && git fetch origin "refs/pull/90/head" && git reset --hard 04b40e3b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42
# 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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocurl.opam curl_lwt.opam curl.opam ./
RUN opam pin add -yn ocurl.dev './' && \
opam pin add -yn curl_lwt.dev './' && \
opam pin add -yn curl.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 lwt.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ocurl.dev curl_lwt.dev curl.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 .
2025-04-03 16:18.04: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/pull/90/head (04b40e3b0140990ea0503a0d6d1dda1c54c826d0) (linux-x86_64:opensuse-15.6-4.14_opam-2.3)
Base: ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/ocurl.git" && cd "ocurl" && git fetch origin "refs/pull/90/head" && git reset --hard 04b40e3b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42
# 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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocurl.opam curl_lwt.opam curl.opam ./
RUN opam pin add -yn ocurl.dev './' && \
opam pin add -yn curl_lwt.dev './' && \
opam pin add -yn curl.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 lwt.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ocurl.dev curl_lwt.dev curl.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:18.04: Using cache hint "ygrek/ocurl-ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42-opensuse-15.6-4.14_opam-2.3-713d50af6c2799a6ad5fc39b65bf269b"
2025-04-03 16:18.04: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42)
(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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn ocurl.dev './' && \
\nopam pin add -yn curl_lwt.dev './' && \
\nopam pin add -yn curl.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 lwt.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.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 ocurl.dev curl_lwt.dev curl.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:18.04: Waiting for resource in pool OCluster
2025-04-04 01:11.52: Waiting for worker…
2025-04-04 01:14.50: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 04b40e3 Release lock on cleanup because it might call callbacks


(from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42)
2025-04-04 01:14.50 ---> using "3b7e8a4fb21f4034347e11519504df3808a360be032bbbf7c465c3f2423c3629" 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-04-04 01:14.50 ---> using "f8d64e200258fee472f888537ceb960c5e22e288e48e49d7c445bb7a8c255d27" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[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 01:14.50 ---> using "a3c6816a84321cb1d33a816e8ee54eaa422a535338cf11ec5af37a2e19e94ad1" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-04-04 01:14.50 ---> using "7528dbfbe3383afd600072bc24930dbc369ace9c55e70a3b9e75078fd5686756" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-04-04 01:14.50 ---> using "4fad7a1ddfe50de196575d881f4ad00b5db49adda955546e96b25a8a842f96a5" 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
a8ed476033..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 01:14.50 ---> using "1293a8a66736739b22a7732ab8398a1c1531c44ffb555b199f142149b7260efb" from cache


/src: (copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
2025-04-04 01:14.51 ---> saved as "ebe33c386876c4e9fe334ad26dc9d8b4c7c2d4509574c8b99128db28a1327960"


/src: (run (network host)
(shell  "opam pin add -yn ocurl.dev './' && \
\nopam pin add -yn curl_lwt.dev './' && \
\nopam pin add -yn curl.dev './'"))
[ocurl.dev] synchronised (file:///src)
ocurl is now pinned to file:///src (version dev)
Package curl_lwt does not exist, create as a NEW package? [y/n] y
[curl_lwt.dev] synchronised (file:///src)
curl_lwt is now pinned to file:///src (version dev)
Package curl does not exist, create as a NEW package? [y/n] y
[curl.dev] synchronised (file:///src)
curl is now pinned to file:///src (version dev)
2025-04-04 01:15.07 ---> saved as "0e03f651a51596874f4c6a622a5c7eb7a0ccfa9a93776954ab04906fb94f387c"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-04 01:15.07 ---> saved as "f7e4fde8f587d4609f1dcee2f1fc4b599ae5197628129a1ede861494c6f26d0e"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 lwt.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.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 ocurl.dev curl_lwt.dev curl.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 [.error]
- Repository 'Update repository with updates from SUSE Linux Enterprise 15' is invalid.
- [repo-sle-update|http://download.opensuse.org/update/leap/15.6/sle/] Failed to retrieve new repository metadata.
- History:
-  - [|] Error trying to read from 'http://download.opensuse.org/update/leap/15.6/sle/'
-  - Location 'http://download.opensuse.org/update/leap/15.6/sle/repodata/repomd.xml' is temporarily unaccessible.
- Please check if the URIs defined for this repository are pointing to a valid repository.
- Skipping repository 'Update repository with updates from SUSE Linux Enterprise 15' because of the above error.
- 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.
- Retrieving repository 'Main Repository' metadata [.error]
- Repository 'Main Repository' is invalid.
- [repo-oss|http://download.opensuse.org/distribution/leap/15.6/repo/oss/] Failed to retrieve new repository metadata.
- History:
-  - [|] Error trying to read from 'http://download.opensuse.org/distribution/leap/15.6/repo/oss/'
-  - Location 'http://download.opensuse.org/distribution/leap/15.6/repo/oss/repodata/repomd.xml' is temporarily unaccessible.
- Please check if the URIs defined for this repository are pointing to a valid repository.
- Skipping repository 'Main Repository' because of the above error.
- Some of the repositories have not been refreshed because of an error.
Fatal error: System package update failed with exit code 4 at command:
sudo zypper --non-interactive refresh
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.3 --depext-only -y ocurl.dev curl_lwt.dev curl.dev $DEPS" failed with exit status 99
2025-04-04 01:15.18: Job failed: Failed: Build failed