Bug 1217369 - [Build 92.8][KDE Plasma][ppc64le] Failed to obtain authentication.
Summary: [Build 92.8][KDE Plasma][ppc64le] Failed to obtain authentication.
Status: RESOLVED INVALID
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: KDE Workspace (Plasma) (show other bugs)
Version: Leap 15.4
Hardware: PowerPC-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-Mail List
QA Contact: E-mail List
URL: https://openqa.opensuse.org/tests/374...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-21 15:18 UTC by Jozef Pupava
Modified: 2023-11-21 15:25 UTC (History)
2 users (show)

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


Attachments
journalctl (144.61 KB, text/x-log)
2023-11-21 15:18 UTC, Jozef Pupava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jozef Pupava 2023-11-21 15:18:51 UTC
Created attachment 870878 [details]
journalctl

## Observation

On ppc64le with KDE Plasma after boot and login, PackageKit pop-up does show the "Failed to obtain authentication." failure.

Nov 21 07:25:00.606801 susetest PackageKit[2226]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
Nov 21 07:25:00.610480 susetest plasmashell[1819]: plasma-pk-updates: Transaction status changed: "waiting-for-auth" "(101%)"
Nov 21 07:25:00.611671 susetest plasmashell[1819]: plasma-pk-updates: Transaction status changed: "waiting-for-auth" "(101%)"
Nov 21 07:25:00.615314 susetest PackageKit[2226]: uid 1000 failed to obtain auth
Nov 21 07:25:00.619420 susetest polkitd[988]: Registered Authentication Agent for unix-process:2221:17450 (system bus name :1.43 [/usr/bin/pkttyagent --notify-fd 10 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale POSIX)
Nov 21 07:25:00.620583 susetest plasmashell[1819]: PK error: "Failed to obtain authentication." type: "not-authorized"
Nov 21 07:25:00.620734 susetest plasmashell[1819]: plasma-pk-updates: Transaction "/1_eebcadca" finished with status "failed" in 0 seconds

https://openqa.opensuse.org/tests/3744806/modules/updates_packagekit_kde/steps/21

I noticed same bug report on TW some time ago https://bugzilla.opensuse.org/show_bug.cgi?id=1208159

## Reproducible

Fails since (at least) Build [91.5](https://openqa.opensuse.org/tests/3731857)


## Expected result

Last good: [91.3](https://openqa.opensuse.org/tests/3728662) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=ppc64le&distri=opensuse&flavor=Container-Image&machine=ppc64le&test=container_image_on_leap15.2_host&version=15.4)
Comment 1 Jozef Pupava 2023-11-21 15:21:22 UTC
Ah sorry the system is Leap 15.2, I guess the test has to be updated to use supported system.
Comment 2 Jozef Pupava 2023-11-21 15:22:10 UTC
Unsupported Leap 15.2
Comment 3 Fabian Vogt 2023-11-21 15:25:26 UTC
This happens if the attempt to fetch updates happened while the desktop session was not selected, i.e. openQA was busy in a tty.