All of lore.kernel.org
 help / color / mirror / Atom feed
* gitlab-ci: amd64-opensuse-leap-container job failing
@ 2021-09-26 17:23 Philippe Mathieu-Daudé
  2021-09-27  8:35 ` Daniel P. Berrangé
  0 siblings, 1 reply; 8+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-09-26 17:23 UTC (permalink / raw)
  To: Cho, Yu-Chen; +Cc: Thomas Huth, Daniel P . Berrange, qemu-devel

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gitlab-ci: amd64-opensuse-leap-container job failing
  2021-09-26 17:23 gitlab-ci: amd64-opensuse-leap-container job failing Philippe Mathieu-Daudé
@ 2021-09-27  8:35 ` Daniel P. Berrangé
  2021-09-27  9:44   ` Al Cho
                     ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Daniel P. Berrangé @ 2021-09-27  8:35 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé; +Cc: Thomas Huth, Cho, Yu-Chen, qemu-devel

On Sun, Sep 26, 2021 at 07:23:56PM +0200, Philippe Mathieu-Daudé wrote:
> 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:

It isn't confined to only SuSE. In libvirt we've had similar problems
with several other jobs, though are suse jobs are the worst affected.

GitLab have finally acknowledged it is an general infra issue affecting
many things:

   https://status.gitlab.com/
   https://gitlab.com/gitlab-com/gl-infra/production/-/issues/5590

> -- >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?

Given it is believed to be a gitlab infra issue, rather than a problem
of ours, or something we're using, I think best to wait a little longer
to see if they get fix the infra.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gitlab-ci: amd64-opensuse-leap-container job failing
  2021-09-27  8:35 ` Daniel P. Berrangé
@ 2021-09-27  9:44   ` Al Cho
  2021-09-27  9:49   ` Philippe Mathieu-Daudé
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Al Cho @ 2021-09-27  9:44 UTC (permalink / raw)
  To: f4bug, berrange; +Cc: qemu-devel, thuth

On Mon, 2021-09-27 at 09:35 +0100, Daniel P. Berrangé wrote:
> On Sun, Sep 26, 2021 at 07:23:56PM +0200, Philippe Mathieu-Daudé wrote:
> > 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:
> 
> It isn't confined to only SuSE. In libvirt we've had similar problems
> with several other jobs, though are suse jobs are the worst affected.
> 
> GitLab have finally acknowledged it is an general infra issue affecting
> many things:
> 
>    https://status.gitlab.com/
>    https://gitlab.com/gitlab-com/gl-infra/production/-/issues/5590
> 
> > -- >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?
> 
> Given it is believed to be a gitlab infra issue, rather than a problem
> of ours, or something we're using, I think best to wait a little longer
> to see if they get fix the infra.
> 

agree, and I am also checking the status of it.
for now the http://download.opensuse.org/distribution/leap/15.2 and the
repo works.
Will follow up it.

Cheers,
      AL

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gitlab-ci: amd64-opensuse-leap-container job failing
  2021-09-27  8:35 ` Daniel P. Berrangé
  2021-09-27  9:44   ` Al Cho
@ 2021-09-27  9:49   ` Philippe Mathieu-Daudé
  2021-09-27 13:47   ` Daniel P. Berrangé
  2021-09-29 16:57   ` Daniel P. Berrangé
  3 siblings, 0 replies; 8+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-09-27  9:49 UTC (permalink / raw)
  To: Daniel P. Berrangé; +Cc: Thomas Huth, Cho, Yu-Chen, qemu-devel

On 9/27/21 10:35, Daniel P. Berrangé wrote:
> On Sun, Sep 26, 2021 at 07:23:56PM +0200, Philippe Mathieu-Daudé wrote:
>> Hi,
>>
>> FYI the OpenSUSE job is failing since few days, i.e.:
>> https://gitlab.com/qemu-project/qemu/-/jobs/1622345026

> It isn't confined to only SuSE. In libvirt we've had similar problems
> with several other jobs, though are suse jobs are the worst affected.
> 
> GitLab have finally acknowledged it is an general infra issue affecting
> many things:
> 
>    https://status.gitlab.com/
>    https://gitlab.com/gitlab-com/gl-infra/production/-/issues/5590

>> Should we temporarily disable to job and its dependencies?
> 
> Given it is believed to be a gitlab infra issue, rather than a problem
> of ours, or something we're using, I think best to wait a little longer
> to see if they get fix the infra.

OK (I checked the status page during Saturday and Sunday morning and it
was all green).

Thanks for investigating,

Phil.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gitlab-ci: amd64-opensuse-leap-container job failing
  2021-09-27  8:35 ` Daniel P. Berrangé
  2021-09-27  9:44   ` Al Cho
  2021-09-27  9:49   ` Philippe Mathieu-Daudé
@ 2021-09-27 13:47   ` Daniel P. Berrangé
  2021-09-27 14:35     ` Philippe Mathieu-Daudé
  2021-09-29 16:57   ` Daniel P. Berrangé
  3 siblings, 1 reply; 8+ messages in thread
From: Daniel P. Berrangé @ 2021-09-27 13:47 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, Thomas Huth, Cho, Yu-Chen, qemu-devel

On Mon, Sep 27, 2021 at 09:35:22AM +0100, Daniel P. Berrangé wrote:
> On Sun, Sep 26, 2021 at 07:23:56PM +0200, Philippe Mathieu-Daudé wrote:
> > 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:
> 
> It isn't confined to only SuSE. In libvirt we've had similar problems
> with several other jobs, though are suse jobs are the worst affected.
> 
> GitLab have finally acknowledged it is an general infra issue affecting
> many things:
> 
>    https://status.gitlab.com/
>    https://gitlab.com/gitlab-com/gl-infra/production/-/issues/5590

Setting GitLab CI env var works around the problem temporarily:

 FF_NETWORK_PER_BUILD=true

You can set it for all repos under a group eg

  https://gitlab.com/groups/qemu-project/-/settings/ci_cd

or per repo eg

  https://gitlab.com/berrange/libvirt/-/settings/ci_cd


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gitlab-ci: amd64-opensuse-leap-container job failing
  2021-09-27 13:47   ` Daniel P. Berrangé
@ 2021-09-27 14:35     ` Philippe Mathieu-Daudé
  2021-09-27 14:57       ` Daniel P. Berrangé
  0 siblings, 1 reply; 8+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-09-27 14:35 UTC (permalink / raw)
  To: Daniel P. Berrangé, Thomas Huth, Cho, Yu-Chen, qemu-devel

On 9/27/21 15:47, Daniel P. Berrangé wrote:
> On Mon, Sep 27, 2021 at 09:35:22AM +0100, Daniel P. Berrangé wrote:
>> On Sun, Sep 26, 2021 at 07:23:56PM +0200, Philippe Mathieu-Daudé wrote:
>>> 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:
>>
>> It isn't confined to only SuSE. In libvirt we've had similar problems
>> with several other jobs, though are suse jobs are the worst affected.
>>
>> GitLab have finally acknowledged it is an general infra issue affecting
>> many things:
>>
>>    https://status.gitlab.com/
>>    https://gitlab.com/gitlab-com/gl-infra/production/-/issues/5590
> 
> Setting GitLab CI env var works around the problem temporarily:
> 
>  FF_NETWORK_PER_BUILD=true

Do you know if we need to recreate the pipeline?
(It didn't work on already failing one, I'm going to test
a freshly created one now).

> You can set it for all repos under a group eg
> 
>   https://gitlab.com/groups/qemu-project/-/settings/ci_cd
> 
> or per repo eg
> 
>   https://gitlab.com/berrange/libvirt/-/settings/ci_cd
> 
> 
> Regards,
> Daniel
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gitlab-ci: amd64-opensuse-leap-container job failing
  2021-09-27 14:35     ` Philippe Mathieu-Daudé
@ 2021-09-27 14:57       ` Daniel P. Berrangé
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel P. Berrangé @ 2021-09-27 14:57 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé; +Cc: Thomas Huth, Cho, Yu-Chen, qemu-devel

On Mon, Sep 27, 2021 at 04:35:04PM +0200, Philippe Mathieu-Daudé wrote:
> On 9/27/21 15:47, Daniel P. Berrangé wrote:
> > On Mon, Sep 27, 2021 at 09:35:22AM +0100, Daniel P. Berrangé wrote:
> >> On Sun, Sep 26, 2021 at 07:23:56PM +0200, Philippe Mathieu-Daudé wrote:
> >>> 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:
> >>
> >> It isn't confined to only SuSE. In libvirt we've had similar problems
> >> with several other jobs, though are suse jobs are the worst affected.
> >>
> >> GitLab have finally acknowledged it is an general infra issue affecting
> >> many things:
> >>
> >>    https://status.gitlab.com/
> >>    https://gitlab.com/gitlab-com/gl-infra/production/-/issues/5590
> > 
> > Setting GitLab CI env var works around the problem temporarily:
> > 
> >  FF_NETWORK_PER_BUILD=true
> 
> Do you know if we need to recreate the pipeline?
> (It didn't work on already failing one, I'm going to test
> a freshly created one now).

You shoudln't need to re-create the pipeline, just retry the job.

If setting the variable in the web UI, make sure "Protect variable"
is *not* set. Only the "master" branch is protected by default
so other branches won't get protected variables set in their jobs.


> 
> > You can set it for all repos under a group eg
> > 
> >   https://gitlab.com/groups/qemu-project/-/settings/ci_cd
> > 
> > or per repo eg
> > 
> >   https://gitlab.com/berrange/libvirt/-/settings/ci_cd
> > 
> > 
> > Regards,
> > Daniel
> > 
> 

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gitlab-ci: amd64-opensuse-leap-container job failing
  2021-09-27  8:35 ` Daniel P. Berrangé
                     ` (2 preceding siblings ...)
  2021-09-27 13:47   ` Daniel P. Berrangé
@ 2021-09-29 16:57   ` Daniel P. Berrangé
  3 siblings, 0 replies; 8+ messages in thread
From: Daniel P. Berrangé @ 2021-09-29 16:57 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé; +Cc: Thomas Huth, Cho, Yu-Chen, qemu-devel

On Mon, Sep 27, 2021 at 09:35:22AM +0100, Daniel P. Berrangé wrote:
> On Sun, Sep 26, 2021 at 07:23:56PM +0200, Philippe Mathieu-Daudé wrote:
> > 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:
> 
> It isn't confined to only SuSE. In libvirt we've had similar problems
> with several other jobs, though are suse jobs are the worst affected.
> 
> GitLab have finally acknowledged it is an general infra issue affecting
> many things:
> 
>    https://status.gitlab.com/
>    https://gitlab.com/gitlab-com/gl-infra/production/-/issues/5590

As it turned out, it wasn't gitlab's fault at all. Google cloud had
some networking problems, and these were resolved a short while ago.

So gitlab CI jobs sould be back to normal, and the FF_NETWORK_PER_BUILD
env variable workaround should no longer be needed either.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-09-29 16:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-26 17:23 gitlab-ci: amd64-opensuse-leap-container job failing Philippe Mathieu-Daudé
2021-09-27  8:35 ` Daniel P. Berrangé
2021-09-27  9:44   ` Al Cho
2021-09-27  9:49   ` Philippe Mathieu-Daudé
2021-09-27 13:47   ` Daniel P. Berrangé
2021-09-27 14:35     ` Philippe Mathieu-Daudé
2021-09-27 14:57       ` Daniel P. Berrangé
2021-09-29 16:57   ` Daniel P. Berrangé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.