Bug 1030759 - [Build 20170322] openQA test fails in first_boot (likely GNOME Shell crashing)
[Build 20170322] openQA test fails in first_boot (likely GNOME Shell crashing)
Status: RESOLVED MOVED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: GNOME
Current
Other Other
: P5 - None : Major (vote)
: ---
Assigned To: E-mail List
E-mail List
http://openqa.opensuse.org/tests/3757...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-23 20:56 UTC by Dominique Leuenberger
Modified: 2017-05-30 20:03 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2017-03-23 20:56:23 UTC
## Observation

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-update_Leap_42.2_gnome@64bit fails in
[first_boot](http://openqa.opensuse.org/tests/375730/modules/first_boot/steps/4)

This concerns all update tests from 13.1, 42.1 and 42.2 to Tumbleweed when updating using the DVD only (seems to be fine in NET/zdup based updates)


## Reproducible

Fails since (at least) Build [20170321](http://openqa.opensuse.org/tests/375120)


## Expected result

Last good: [20170320](http://openqa.opensuse.org/tests/374422) (or more recent)


## Further details

Always latest result in this scenario: [latest](http://openqa.opensuse.org/tests/latest?distri=opensuse&arch=x86_64&test=update_Leap_42.2_gnome&version=Tumbleweed&machine=64bit&flavor=DVD)
Comment 1 Bjørn Lie 2017-03-23 21:54:00 UTC
libmutter0 needs to be obsoleted

Index: mutter.changes
===================================================================
--- mutter.changes      (revision fb670191bc61759100f2a9b2ce290760)
+++ mutter.changes      (working copy)
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Thu Mar 23 21:49:19 UTC 2017 - zaitor@opensuse.org
+
+- Add libmutter0 Obsoletes: Ease updates from older versions of
+  openSUSE.
+
 -------------------------------------------------------------------
 Mon Mar 20 20:15:10 UTC 2017 - dimstar@opensuse.org
 
Index: mutter.spec
===================================================================
--- mutter.spec (revision fb670191bc61759100f2a9b2ce290760)
+++ mutter.spec (working copy)
@@ -102,6 +102,7 @@
 # (since we can't require = version, to not break SLPP)
 Group:          System/Libraries
 Requires:       %{name}-data >= %{version}
+Obsoletes:      libmutter0
 
 %description -n libmutter-0-0
 Mutter is a window and compositing manager based on Clutter, forked
Comment 2 Dominique Leuenberger 2017-03-23 21:55:22 UTC
While debugging it, it turns out that the DVD upgrade path did not update gnome-shell.

After the setup is completed, we could 'correct' the setup 'easily':

linux-4cxn:~ # zypper update gnome-shell
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: gnome-shell-3.24.0-1.1.x86_64 requires libmutter-clutter-0.so()(64bit), but this requirement cannot be provided
  uninstallable providers: mutter-3.24.0-1.1.x86_64[openSUSE-20170322-0]
 Solution 1: deinstallation of libmutter0-3.22.3-1.1.x86_64
 Solution 2: do not install gnome-shell-3.24.0-1.1.x86_64
 Solution 3: break gnome-shell-3.24.0-1.1.x86_64 by ignoring some of its dependencies

The weird thing here is that libmutter0 is marked as 'weakremover' in openSUSE-release

> rpm -q --provides  openSUSE-release|grep libmutter0
weakremover(libmutter0)

So it is my understanding that the installer should have gone ahead and mark this package as 'removable' while performing the offline update

As a result of this, I assign this to the yast team for investigation / confirmation

(from the GNOME side we can workaround it with an Obsoletes, which for libs is generally seen not the right thing to put in place)
Comment 3 Dominique Leuenberger 2017-03-23 21:58:07 UTC
side note: zypper dup using the online repos does this correct
Comment 4 Bjørn Lie 2017-03-23 22:00:27 UTC
This is the paste I meant to do:

linux-4cxn:~ # zypper se -is gnome-shell
Loading repository data...
Reading installed packages...

S | Name                                         | Type    | Version     | Arch   | Repository         
--+----------------------------------------------+---------+-------------+--------+--------------------
i | chrome-gnome-shell                           | package | 8.2-1.1     | x86_64 | openSUSE-20170322-0
i | gnome-shell                                  | package | 3.22.3-1.1  | x86_64 | (System Packages)  
i | gnome-shell-browser-plugin                   | package | 3.22.3-1.1  | x86_64 | (System Packages)  
i | gnome-shell-calendar                         | package | 3.22.3-1.1  | x86_64 | (System Packages)  
i | gnome-shell-classic                          | package | 3.22.2-1.1  | noarch | (System Packages)  
i | gnome-shell-extensions-common                | package | 3.22.2-1.1  | noarch | (System Packages)  
i | gnome-shell-extensions-common-lang           | package | 3.22.2-1.1  | noarch | (System Packages)  
i | gnome-shell-search-provider-bijiben          | package | 3.21.2-1.3  | x86_64 | openSUSE-20170322-0
i | gnome-shell-search-provider-contacts         | package | 3.22.1-1.2  | x86_64 | openSUSE-20170322-0
i | gnome-shell-search-provider-documents        | package | 3.23.91-1.1 | x86_64 | openSUSE-20170322-0
i | gnome-shell-search-provider-gnome-calculator | package | 3.24.0-1.1  | x86_64 | openSUSE-20170322-0
i | gnome-shell-search-provider-gnome-clocks     | package | 3.24.0-1.1  | x86_64 | openSUSE-20170322-0
i | gnome-shell-search-provider-gnome-photos     | package | 3.24.0-1.1  | x86_64 | openSUSE-20170322-0
i | gnome-shell-search-provider-gnome-terminal   | package | 3.24.0-1.1  | x86_64 | openSUSE-20170322-0
i | gnome-shell-search-provider-gnome-weather    | package | 3.24.0-1.1  | noarch | openSUSE-20170322-0
i | gnome-shell-search-provider-nautilus         | package | 3.24.0-1.1  | x86_64 | openSUSE-20170322-0
i | gnome-shell-search-provider-seahorse         | package | 3.20.0-2.4  | x86_64 | openSUSE-20170322-0
linux-4cxn:~ # zypper update gnome-shell
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: gnome-shell-3.24.0-1.1.x86_64 requires libmutter-clutter-0.so()(64bit), but this requirement cannot be provided
  uninstallable providers: mutter-3.24.0-1.1.x86_64[openSUSE-20170322-0]
 Solution 1: deinstallation of libmutter0-3.22.3-1.1.x86_64
 Solution 2: do not install gnome-shell-3.24.0-1.1.x86_64
 Solution 3: break gnome-shell-3.24.0-1.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c] (c): 1
Resolving dependencies...
Resolving package dependencies...

The following 2 NEW packages are going to be installed:
  libmutter-0-0 typelib-1_0-Rsvg-2_0

The following package is going to be REMOVED:
  libmutter0

The following 5 packages are going to be upgraded:
  gnome-shell gnome-shell-browser-plugin gnome-shell-calendar mutter mutter-data

5 packages to upgrade, 2 new, 1 to remove.
Overall download size: 3.0 MiB. Already cached: 0 B. After the operation,
additional 301.8 KiB will be used.
Continue? [y/n/...? shows all options] (y): y
Retrieving package typelib-1_0-Rsvg-2_0-2.40.16-1.4.x86_64
                                           (1/7),  26.7 KiB (  4.6 KiB unpacked)
Retrieving package libmutter-0-0-3.24.0-1.1.x86_64
                                           (2/7), 523.8 KiB (  1.3 MiB unpacked)
Retrieving package mutter-3.24.0-1.1.x86_64
                                           (3/7), 984.2 KiB (  3.0 MiB unpacked)
Retrieving package mutter-data-3.24.0-1.1.x86_64
                                           (4/7),  97.1 KiB ( 13.8 KiB unpacked)
Retrieving package gnome-shell-3.24.0-1.1.x86_64
                                           (5/7), 976.0 KiB (  7.6 MiB unpacked)
Retrieving package gnome-shell-calendar-3.24.0-1.1.x86_64
                                           (6/7), 218.9 KiB ( 39.2 KiB unpacked)
Retrieving package gnome-shell-browser-plugin-3.24.0-1.1.x86_64
                                           (7/7), 213.5 KiB ( 19.3 KiB unpacked)
Checking for file conflicts: .............................................[done]
(1/8) Installing: typelib-1_0-Rsvg-2_0-2.40.16-1.4.x86_64 ................[done]
(2/8) Removing libmutter0-3.22.3-1.1.x86_64 ..............................[done]
(3/8) Installing: libmutter-0-0-3.24.0-1.1.x86_64 ........................[done]
(4/8) Installing: mutter-3.24.0-1.1.x86_64 ...............................[done]
(5/8) Installing: mutter-data-3.24.0-1.1.x86_64 ..........................[done]
(6/8) Installing: gnome-shell-3.24.0-1.1.x86_64 ..........................[done]
(7/8) Installing: gnome-shell-calendar-3.24.0-1.1.x86_64 .................[done]
(8/8) Installing: gnome-shell-browser-plugin-3.24.0-1.1.x86_64 ...........[done]
Comment 5 Dominique Leuenberger 2017-03-23 22:16:56 UTC
Moving off YaST Team's queue again - This is an openQA issue: the upgrade tests have download.o.o enabled as a repo, so invalid packages are found there and taken into account for the dep resolution.

As a consequence, libmutter0 was found in an enabled repo, voiding the weakremover flag we have in place.

=> openQA bug
Comment 6 Dominique Leuenberger 2017-03-23 22:25:26 UTC
Files it as an openQA issue: https://progress.opensuse.org/issues/17926
Comment 7 Vasile Dan 2017-03-24 18:02:38 UTC
I've encountered this bug today when I updated Tumbleweed (ie. normal `zypper up`). So not only when upgrading from Leap to tumbleweed. I had to manually uninstall libmutter0 and install libmutter-0-0.
Comment 8 Dominique Leuenberger 2017-05-30 20:02:17 UTC
(In reply to Vasile Dan from comment #7)
> I've encountered this bug today when I updated Tumbleweed (ie. normal
> `zypper up`). So not only when upgrading from Leap to tumbleweed. I had to
> manually uninstall libmutter0 and install libmutter-0-0.

zypper dup - not zypper up as such there was nothing wrong from the system in your case
Comment 9 Dominique Leuenberger 2017-05-30 20:03:15 UTC
The GNOME issue itself is solved - openQA has it's own issue pending

The weakremoved did not trigger in openQA de to the wrong repo-setup

bug moved to https://progress.opensuse.org/issues/17926