action #67765
closed
[functional][y][sporadic][timeboxed:12h] test fails in shutdown, login page appears after authentication pop-up
Added by riafarov almost 4 years ago.
Updated almost 4 years ago.
Category:
Bugs in existing tests
Target version:
SUSE QA - SLE 15 SP2
Description
Observation¶
In the successful runs we unlock desktop first and get authentication pop-up https://openqa.suse.de/tests/4295268#step/shutdown/10
In the last run, something has changed and now authentication pop-up appears first and then we get gnome lock screen.
openQA test in scenario sle-15-SP2-Full-s390x-allmodules+allpatterns+registration@s390x-kvm-sle12 fails in
shutdown
Test suite description¶
Full Medium installation that covers the following cases:
1. Additional modules enabled using SCC (Legacy, Development Tools, Web and
Scripting, Containers, Desktop Applications);
2. All patterns installed;
3. System registration is skipped during installation;
4. Installation is validated by successful boot and that YaST does not
report any issues;
5. Registration is performed on the installed system.
Reproducible¶
Fails since (at least) Build 205.1
Expected result¶
Last good: 203.1 (or more recent)
Further details¶
Always latest result in this scenario: latest
- Subject changed from [functional][y] test fails in shutdown, login page appears after authentication pop-up to [functional][y][sporadic][timeboxed:12h] test fails in shutdown, login page appears after authentication pop-up
- Status changed from New to Workable
- Status changed from Workable to In Progress
- Assignee set to riafarov
So problem is reported issue 'bsc#1157928 - deal with additional polkit windows'.
We already handle this case in first boot, but in shutdown this code is not used when we switch back to x11. It also seems that once we start entering the password for the polkit dialog, login screen appears, so we might consider shutting down the system in the textmode on s390x for the sake of stability.
So I've applied same workaround as we do in first boot: https://openqa.suse.de/tests/overview?distri=sle&version=15-SP2&build=rwx788_yast2 let's see if it helps.
As of now code is ugly, but seems to solve a problem:
select_console('x11', await_console => 0);
record_soft_failure 'bsc#1157928 - deal with additional polkit windows';
wait_still_screen(3);
ensure_unlocked_desktop;
# deal with potential followup authentication window which is not
# actually a login screen but polkit asking for modification to system
# repositories
wait_still_screen(3);
ensure_unlocked_desktop;
- Status changed from In Progress to Feedback
- Status changed from Feedback to Resolved
Also available in: Atom
PDF