Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use generic tag 'screenlock-password' instead of gnome-screenlock-password in ensure_unlocked_desktop #5614

Merged
merged 1 commit into from Aug 22, 2018

Conversation

ggardet
Copy link
Collaborator

@ggardet ggardet commented Aug 21, 2018

This will fix https://progress.opensuse.org/issues/39734 for LXDE case, once related needles will be merged: os-autoinst/os-autoinst-needles-opensuse#420

@ggardet
Copy link
Collaborator Author

ggardet commented Aug 21, 2018

Tested locally with opensuse-Tumbleweed-DVD-aarch64-Build20180813-lxde@aarch64

lib/utils.pm Outdated
@@ -436,15 +436,15 @@ sub workaround_type_encrypted_passphrase {
sub ensure_unlocked_desktop {
my $counter = 10;
while ($counter--) {
assert_screen [qw(displaymanager displaymanager-password-prompt generic-desktop screenlock gnome-screenlock-password)], no_wait => 1;
assert_screen [qw(displaymanager displaymanager-password-prompt generic-desktop screenlock gnome-screenlock-password xscreensaver-screenlock-password)], no_wait => 1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about we replace gnome-screenlock-password with screenlock-password? I can not imagine a situation where we need to distinguish between the two so it should be easier to reuse the more generic tag

@ggardet ggardet changed the title Handle xscreensaver-screenlock-password tag in ensure_unlocked_desktop Use generic tag 'screenlock-password' instead of gnome-screenlock-password in ensure_unlocked_desktop Aug 21, 2018
@ggardet
Copy link
Collaborator Author

ggardet commented Aug 21, 2018

@okurz PR updated.
Needle PR should be merged before: os-autoinst/os-autoinst-needles-opensuse#422

@okurz okurz merged commit 7bc048d into os-autoinst:master Aug 22, 2018
@jwbruno
Copy link
Contributor

jwbruno commented Aug 22, 2018

Hello, it seems that after this PR was merged, QAM tests have started failing in consoletest_finish:
SLE-12-SP3: https://openqa.suse.de/tests/1970532#step/consoletest_finish/15
SLE-12-SP3: https://openqa.suse.de/tests/1973722#step/consoletest_finish/17

@mitiao
Copy link
Contributor

mitiao commented Aug 23, 2018

So is it missing new needles for sle?

@okurz
Copy link
Member

okurz commented Aug 23, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants