gitlab-ci: amd64-opensuse-leap-container job failing

Philippe Mathieu-Daudé posted 1 patch 2 years, 7 months ago
Test checkpatch failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/657cbef7-11ac-196c-01e2-aeb9744fe446@amsat.org
Maintainers: "Philippe Mathieu-Daudé" <f4bug@amsat.org>, "Alex Bennée" <alex.bennee@linaro.org>, Thomas Huth <thuth@redhat.com>, Willian Rampazzo <willianr@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>
gitlab-ci: amd64-opensuse-leap-container job failing
Posted by Philippe Mathieu-Daudé 2 years, 7 months ago
Hi,

FYI the OpenSUSE job is failing since few days, i.e.:
https://gitlab.com/qemu-project/qemu/-/jobs/1622345026

  Retrieving repository 'Main Repository' metadata
[..........................................................error]
  Repository 'Main Repository' is invalid.

[repo-oss|http://download.opensuse.org/distribution/leap/15.2/repo/oss/]
Valid metadata not found at specified URL
  History:
   - Download (curl) error for
'http://download.opensuse.org/distribution/leap/15.2/repo/oss/repodata/repomd.xml':
  Error code: Curl error 56
  Error message: Recv failure: Connection reset by peer
   - Can't provide /repodata/repomd.xml
  Please check if the URIs defined for this repository are pointing to a
valid repository.
  Warning: Skipping repository 'Main Repository' because of the above error.

I tried to run 'zypper ref' with:

-- >8 --
--- a/tests/docker/dockerfiles/opensuse-leap.docker
+++ b/tests/docker/dockerfiles/opensuse-leap.docker
@@ -109,5 +109,7 @@ ENV PACKAGES \
     zlib-devel
 ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3.6

-RUN zypper update -y && zypper --non-interactive install -y $PACKAGES
+RUN zypper refresh && \
+    zypper update -y && \
+    zypper --non-interactive install -y $PACKAGES
 RUN rpm -q $PACKAGES | sort > /packages.txt
---

but no luck: https://gitlab.com/philmd/qemu/-/jobs/1623554962

Should we temporarily disable to job and its dependencies?

Regards,

Phil.