[Spice-devel] [PATCH spice-server] ci: Fix recent GitLab failures

Frediano Ziglio fziglio at redhat.com
Fri Jul 28 15:30:30 UTC 2017


> 
> > 
> > On Fri, 2017-07-28 at 12:44 +0100, Frediano Ziglio wrote:
> > > Recent GitLab CI jobs are failing to run valgrind checks
> > > (like https://gitlab.com/spice/spice/-/jobs/25220999).
> > > 
> > > This as recent distro changes cause valgrind not to find some
> > > symbols required to detect some GLib suppression errors.
> > > 
> > > Adding debugging information for GLib solve the problem.
> > > 
> > > Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> > > ---
> > >  .gitlab-ci.yml | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > Tested at https://gitlab.com/freddy77/spice/-/jobs/25249286
> > > 
> > > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> > > index 491ae661..ddf1092c 100644
> > > --- a/.gitlab-ci.yml
> > > +++ b/.gitlab-ci.yml
> > > @@ -23,7 +23,7 @@ statistics:
> > >  check-valgrind:
> > >    script:
> > >    - dnf install
> > >    https://download1.rpmfusion.org/free/fedora/rpmfusion-free-re
> > > lease-$(rpm -E %fedora).noarch.rpm -y
> > > -  - dnf debuginfo-install spice-server -y
> > > +  - dnf debuginfo-install spice-server glib2 -y
> > 
> > Interesting, it should know automatically that it needs glib2 debug symbols
> > (like it knows for other dependencies)
> > 
> 
> That's a good question (had the same one).
> Looking at last working job (master)
>   https://gitlab.com/spice/spice/-/jobs/20620984
> when
>   dnf debuginfo-install spice-server -y
> is executed 61 debuginfo packages are installed while on
>   https://gitlab.com/spice/spice/-/jobs/22047780
> only spice-debuginfo package is installed.
> So looks like in rawhide they broken/changed the debuginfo
> dependencies.
> 
> > >    - >
> > >      dnf install valgrind
> > >      gstreamer1-libav gstreamer1-plugins-ugly gstreamer1-plugins-good
> > > gstreamer1-plugins-bad-free
> > 
> 

By the way, working now:
https://gitlab.com/spice/spice/-/jobs/25296914

Frediano


More information about the Spice-devel mailing list