Bug 1221843 - [Build 67.1] openQA test softfails in first_boot; gnome-software and flatpak requires additional authentication
Summary: [Build 67.1] openQA test softfails in first_boot; gnome-software and flatpak ...
Status: RESOLVED FIXED
Alias: None
Product: PUBLIC SUSE Linux Enterprise Server 15 SP6
Classification: openSUSE
Component: GNOME (show other bugs)
Version: unspecified
Hardware: Other Other
: P2 - High : Normal
Target Milestone: ---
Assignee: Antonio Larrosa
QA Contact:
URL: https://openqa.suse.de/tests/13829676...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-22 04:37 UTC by Jia Zhaocong
Modified: 2024-03-25 01:17 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jia Zhaocong 2024-03-22 04:37:23 UTC
## Observation

gnome-software is update in build 67.1.

Now when logging into gnome desktop for the first time, additional authentication is asked by gnome-software on "modify a system repository".

This only happen in SLES+WE, not SLED.

openQA test in scenario sle-15-SP6-Online-x86_64-create_hdd_gnome+we@64bit fails in
[first_boot](https://openqa.suse.de/tests/13829676/modules/first_boot/steps/9)

## Test suite description
image creation job used as parent for other jobs testing based on existing installation. To be used as `START_AFTER_TEST=create_hdd_gnome+we`


## Reproducible

Fails since (at least) Build [67.1](https://openqa.suse.de/tests/13829676) (current job)


## Expected result

Last good: [64.2](https://openqa.suse.de/tests/13794035) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=x86_64&distri=sle&flavor=Online&machine=64bit&test=create_hdd_gnome%2Bwe&version=15-SP6)
Comment 1 Yifan Jiang 2024-03-22 07:46:47 UTC
Hi Jonathan, this smells very similar of what you have done with gnome-software upstream for non-interactive background change:

https://bugzilla.suse.com/show_bug.cgi?id=1221843

I guess the new update of gnome-software might ask for more service authentication than what you once handled. Can you help to dig into it?
Thanks.
Comment 2 Yifan Jiang 2024-03-22 07:47:54 UTC
> https://bugzilla.suse.com/show_bug.cgi?id=1221843

I failed to manage my clipboard :-) https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1561
Comment 3 Yifan Jiang 2024-03-22 08:10:41 UTC
Hi Zhaocong,

Would you try to manually remove flatpak-remote-flathub on the system, and see if the dialog is gone? This package will be taken out shortly after a maintenance update acceptance:

https://build.suse.de/request/show/324326

If this works out, we probably want to keep gnome-software sanitized by now.
Comment 4 Jia Zhaocong 2024-03-22 09:01:10 UTC
The permission requested is "org.freedesktop.Flatpak.modify-repo".

There's no auth pop-up if we remove flatpak-remote-flathub.
Comment 5 Yifan Jiang 2024-03-25 01:17:34 UTC
The dialog should not be there by default when Antonio's submission is accepted:

https://build.suse.de/request/show/324481

I assume this is sufficient by now, so closing the bug.