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

Handle race condition in gui password #137

Merged

Conversation

okurz
Copy link
Member

@okurz okurz commented Jul 25, 2023

@okurz okurz marked this pull request as draft July 25, 2023 10:17
@okurz
Copy link
Member Author

okurz commented Jul 25, 2023

Needle worker-lockscreen-password-prompt-20230725 created/updated and password typed password created, retriggered CI openQA job https://openqa.opensuse.org/tests/3451186

EDIT: https://openqa.opensuse.org/tests/3451193 looks good now

Explicit needle checks are quicker and also safer than any "sleep-like"
calls. This fixes a race condition where the lockscreen is properly
handled but the subsequent assert_screen catches too quickly on the
still visible password prompt.

Related progress issue: https://progress.opensuse.org/issues/133301
@okurz okurz force-pushed the feature/lockscreen_race_fix_poo133301 branch from 8f8e5ba to 09f8535 Compare July 25, 2023 15:30
@okurz okurz changed the title WIP -- Handle race condition in gui password Handle race condition in gui password Jul 25, 2023
@okurz okurz marked this pull request as ready for review July 25, 2023 15:31
@okurz
Copy link
Member Author

okurz commented Jul 25, 2023

adding "merge-fast" to unblock the OSD deployment

@mergify mergify bot merged commit 9caff99 into os-autoinst:master Jul 25, 2023
4 checks passed
@okurz okurz deleted the feature/lockscreen_race_fix_poo133301 branch July 25, 2023 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants