-
Notifications
You must be signed in to change notification settings - Fork 39
Ensure GDM sees managed users after reboot #1744
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
base: main
Are you sure you want to change the base?
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| *** Settings *** | ||
| Resource resources/utils.resource | ||
| Resource resources/authd.resource | ||
| Resource resources/broker.resource | ||
|
|
||
| Test Setup utils.Test Setup snapshot=%{BROKER}-installed | ||
| Test Teardown utils.Test Teardown | ||
|
|
||
|
|
||
| *** Variables *** | ||
| ${username} %{E2E_USER} | ||
| ${local_password} qwer1234 | ||
|
|
||
|
|
||
| *** Test Cases *** | ||
| Managed user is listed by GDM after reboot | ||
| [Documentation] Verify that GDM discovers an existing managed user during boot. | ||
| ... | ||
| ... Do not query NSS after the reboot: that would activate authd and | ||
| ... hide the startup-ordering regression this test covers. | ||
| Log In With Remote User Through GDM: QR Code ${username} ${local_password} | ||
| Log Out | ||
| ${display_name} = SSH.Execute getent passwd ${username} | cut -d: -f5 | cut -d, -f1 | ||
|
|
||
|
Comment on lines
+23
to
+24
|
||
| Run Keyword And Ignore Error SSH.Execute systemctl reboot | ||
| Wait Until Keyword Succeeds 3 min 1 sec | ||
| ... SSH.Execute systemctl is-system-running --wait | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @copilot ok, but then extract a keyword for this
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed in e6cd694. I extracted the reboot readiness wait into a shared Robot keyword ( |
||
|
|
||
| Wait Until GDM Login Screen Ready | ||
| Match Text ${display_name} 30 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this is needed if the service needs the socket that should be before the lookup?