mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-24 23:03:08 +00:00
Compare commits
3 Commits
c65071f879
...
7955c092d6
Author | SHA1 | Date | |
---|---|---|---|
|
7955c092d6 | ||
|
d88c8e4335 | ||
|
6d2974f722 |
7
main.pm
7
main.pm
@ -352,11 +352,8 @@ sub load_postinstall_tests() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# load the ADVISORY / KOJITASK post-install test - this records which
|
# load the ADVISORY / KOJITASK post-install test - this records which
|
||||||
# update or task packages were actually installed during the test. Don't
|
# update or task packages were actually installed during the test.
|
||||||
# do this for netinst tests; as these just use the default install repo,
|
if (get_var("ADVISORY_OR_TASK") && !get_var("NO_ADVISORY_POST")) {
|
||||||
# they will not get the packages from the update. But installs from live
|
|
||||||
# image and ostree installer image should get them.
|
|
||||||
if (get_var("ADVISORY_OR_TASK") && get_var("TEST") ne "install_default_update_netinst") {
|
|
||||||
# don't do this for support server unless the update is for the same
|
# don't do this for support server unless the update is for the same
|
||||||
# release as the support server disk image, as we don't install the
|
# release as the support server disk image, as we don't install the
|
||||||
# updates on support server when they differ
|
# updates on support server when they differ
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 226,
|
|
||||||
"ypos": 271,
|
|
||||||
"width": 164,
|
|
||||||
"height": 19,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"keyring_askpass_password"
|
|
||||||
]
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 734 KiB |
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"height": 21,
|
||||||
|
"width": 170,
|
||||||
|
"ypos": 240,
|
||||||
|
"xpos": 550,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"keyring_askpass_yesno"
|
||||||
|
]
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 473 KiB |
@ -10,6 +10,8 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"nautilus_autounlock_password"
|
"nautilus_autounlock_password",
|
||||||
|
"keyring_askpass_remember",
|
||||||
|
"DESKTOP-gnome"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"nautilus_remember_password"
|
"nautilus_remember_password",
|
||||||
|
"keyring_askpass_remember",
|
||||||
|
"DESKTOP-gnome"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"nautilus_unlock"
|
"nautilus_unlock",
|
||||||
|
"keyring_askpass_confirm",
|
||||||
|
"DESKTOP-gnome"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"nautilus_unlock"
|
"nautilus_unlock",
|
||||||
|
"keyring_askpass_confirm",
|
||||||
|
"DESKTOP-gnome"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"keyring_askpass_confirm"
|
"keyring_askpass_confirm",
|
||||||
|
"DESKTOP-kde"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 379,
|
|
||||||
"ypos": 322,
|
|
||||||
"width": 167,
|
|
||||||
"height": 19,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"keyring_askpass_password"
|
|
||||||
]
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 374 KiB |
@ -10,6 +10,7 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"keyring_askpass_remember"
|
"keyring_askpass_remember",
|
||||||
|
"DESKTOP-kde"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"keyring_askpass_yesno"
|
"keyring_askpass_yesno",
|
||||||
|
"DESKTOP-kde"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"keyring_askpass_yesno"
|
"keyring_askpass_yesno",
|
||||||
|
"DESKTOP-kde"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"type": "match",
|
||||||
|
"width": 95,
|
||||||
|
"ypos": 231,
|
||||||
|
"xpos": 484,
|
||||||
|
"height": 19
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"keyring_wallet_password_reveal"
|
||||||
|
]
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 84 KiB |
15
needles/kde/apps/kwalletmanager_runs-f39-20241005.json
Normal file
15
needles/kde/apps/kwalletmanager_runs-f39-20241005.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"type": "match",
|
||||||
|
"ypos": 97,
|
||||||
|
"xpos": 460,
|
||||||
|
"width": 104,
|
||||||
|
"height": 23
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"kwalletmanager_runs"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/kde/apps/kwalletmanager_runs-f39-20241005.png
Normal file
BIN
needles/kde/apps/kwalletmanager_runs-f39-20241005.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 358 KiB |
15
needles/kde/printing_check_sentence-20241005-alt.json
Normal file
15
needles/kde/printing_check_sentence-20241005-alt.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 219,
|
||||||
|
"ypos": 136,
|
||||||
|
"width": 305,
|
||||||
|
"type": "match",
|
||||||
|
"height": 18
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"printing_check_sentence"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/kde/printing_check_sentence-20241005-alt.png
Normal file
BIN
needles/kde/printing_check_sentence-20241005-alt.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 104 KiB |
@ -351,12 +351,24 @@
|
|||||||
"fedora-updates-workstation-x86_64-*-64bit": 5
|
"fedora-updates-workstation-x86_64-*-64bit": 5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"desktop_keyring": {
|
||||||
|
"profiles": {
|
||||||
|
"fedora-updates-kde-x86_64-*-64bit": 5,
|
||||||
|
"fedora-updates-workstation-x86_64-*-64bit": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
"desktop_printing": {
|
"desktop_printing": {
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"fedora-updates-kde-x86_64-*-64bit": 5,
|
"fedora-updates-kde-x86_64-*-64bit": 5,
|
||||||
"fedora-updates-workstation-x86_64-*-64bit": 5
|
"fedora-updates-workstation-x86_64-*-64bit": 5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"desktop_printing_builtin": {
|
||||||
|
"profiles": {
|
||||||
|
"fedora-updates-kde-x86_64-*-64bit": 5,
|
||||||
|
"fedora-updates-workstation-x86_64-*-64bit": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
"desktop_terminal": {
|
"desktop_terminal": {
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"fedora-updates-kde-x86_64-*-64bit": 5,
|
"fedora-updates-kde-x86_64-*-64bit": 5,
|
||||||
@ -395,6 +407,7 @@
|
|||||||
"INSTALL_UNLOCK": "support_ready",
|
"INSTALL_UNLOCK": "support_ready",
|
||||||
"ISO": "%ADVISORY_OR_TASK%-netinst-%ARCH%.iso",
|
"ISO": "%ADVISORY_OR_TASK%-netinst-%ARCH%.iso",
|
||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
|
"NO_ADVISORY_POST": "1",
|
||||||
"PACKAGE_SET": "default",
|
"PACKAGE_SET": "default",
|
||||||
"PARALLEL_WITH": "support_server@%ARCH_BASE_MACHINE%",
|
"PARALLEL_WITH": "support_server@%ARCH_BASE_MACHINE%",
|
||||||
"WORKER_CLASS": "tap"
|
"WORKER_CLASS": "tap"
|
||||||
@ -601,6 +614,11 @@
|
|||||||
"fedora-updates-everything-boot-iso-x86_64-*-64bit": 5
|
"fedora-updates-everything-boot-iso-x86_64-*-64bit": 5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"toolbox": {
|
||||||
|
"profiles": {
|
||||||
|
"fedora-updates-workstation-x86_64-*-64bit": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
"upgrade_desktop_encrypted_64bit": {
|
"upgrade_desktop_encrypted_64bit": {
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"fedora-updates-workstation-upgrade-x86_64-*-64bit": 5
|
"fedora-updates-workstation-upgrade-x86_64-*-64bit": 5
|
||||||
|
@ -964,6 +964,8 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"BOOTFROM": "c",
|
"BOOTFROM": "c",
|
||||||
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
||||||
|
"NO_ADVISORY_POST": "1",
|
||||||
|
"NO_UEFI_POST": "1",
|
||||||
"POSTINSTALL": "desktop_login",
|
"POSTINSTALL": "desktop_login",
|
||||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
||||||
}
|
}
|
||||||
|
@ -46,10 +46,10 @@ sub connect_localhost {
|
|||||||
# in the password. We will also try to remember the
|
# in the password. We will also try to remember the
|
||||||
# password and confirm the connection.
|
# password and confirm the connection.
|
||||||
if ($type ne "reconnect") {
|
if ($type ne "reconnect") {
|
||||||
wait_still_screen(3);
|
assert_screen("keyring_askpass_remember");
|
||||||
type_very_safely($pass);
|
type_very_safely($pass);
|
||||||
assert_and_click("nautilus_remember_password");
|
click_lastmatch;
|
||||||
assert_and_click("nautilus_unlock");
|
assert_and_click("keyring_askpass_confirm");
|
||||||
}
|
}
|
||||||
# When the connection has been established,
|
# When the connection has been established,
|
||||||
# a new connection icon will appear.
|
# a new connection icon will appear.
|
||||||
@ -83,9 +83,9 @@ sub connect_localhost {
|
|||||||
# Then similarly to Gnome, the password dialogue will appear
|
# Then similarly to Gnome, the password dialogue will appear
|
||||||
# and we type in the password. Also, we click on Remember
|
# and we type in the password. Also, we click on Remember
|
||||||
# and confirm with the OK button.
|
# and confirm with the OK button.
|
||||||
assert_screen("keyring_askpass_password");
|
assert_screen("keyring_askpass_remember");
|
||||||
type_very_safely("$pass");
|
type_very_safely("$pass");
|
||||||
assert_and_click("keyring_askpass_remember");
|
click_lastmatch;
|
||||||
assert_and_click("keyring_askpass_confirm");
|
assert_and_click("keyring_askpass_confirm");
|
||||||
}
|
}
|
||||||
# Check that we have logged in and exit the application.
|
# Check that we have logged in and exit the application.
|
||||||
@ -154,7 +154,7 @@ sub run {
|
|||||||
# Boot to login screen and type in the password.
|
# Boot to login screen and type in the password.
|
||||||
boot_to_login_screen();
|
boot_to_login_screen();
|
||||||
dm_perform_login($desktop, $pass);
|
dm_perform_login($desktop, $pass);
|
||||||
check_desktop;
|
check_desktop(timeout => 120);
|
||||||
|
|
||||||
# Repeat the connection procedure, but skip the password
|
# Repeat the connection procedure, but skip the password
|
||||||
# handling process as this will be done by the keyring.
|
# handling process as this will be done by the keyring.
|
||||||
|
@ -46,25 +46,16 @@ sub connect_localhost {
|
|||||||
# the SSH key.
|
# the SSH key.
|
||||||
my $command = "sftp $user" . '@localhost';
|
my $command = "sftp $user" . '@localhost';
|
||||||
enter_cmd($command);
|
enter_cmd($command);
|
||||||
sleep 2;
|
|
||||||
|
|
||||||
# When connecting for the first time, we will remember
|
# When connecting for the first time, we will remember
|
||||||
# the key password and store it in the keyring.
|
# the key password and store it in the keyring.
|
||||||
if ($type ne "reconnect") {
|
if ($type ne "reconnect") {
|
||||||
if ($desktop eq "gnome") {
|
assert_screen("keyring_askpass_yesno");
|
||||||
type_very_safely("yes\n");
|
type_very_safely("yes\n");
|
||||||
wait_still_screen(2);
|
assert_screen("keyring_askpass_remember");
|
||||||
type_very_safely("sshpassword");
|
type_very_safely("sshpassword");
|
||||||
assert_and_click("nautilus_autounlock_password");
|
click_lastmatch;
|
||||||
assert_and_click("nautilus_unlock");
|
assert_and_click("keyring_askpass_confirm");
|
||||||
}
|
|
||||||
else {
|
|
||||||
type_very_safely("yes\n");
|
|
||||||
wait_still_screen(2);
|
|
||||||
type_very_safely("sshpassword");
|
|
||||||
assert_and_click("keyring_askpass_remember");
|
|
||||||
assert_and_click("keyring_askpass_confirm");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# The connection should have been established if everything has worked
|
# The connection should have been established if everything has worked
|
||||||
@ -105,7 +96,7 @@ sub run {
|
|||||||
# Log in.
|
# Log in.
|
||||||
boot_to_login_screen();
|
boot_to_login_screen();
|
||||||
dm_perform_login($desktop, $pass);
|
dm_perform_login($desktop, $pass);
|
||||||
check_desktop;
|
check_desktop(timeout => 120);
|
||||||
|
|
||||||
# Reconnect without using password. We still should be
|
# Reconnect without using password. We still should be
|
||||||
# able to log in.
|
# able to log in.
|
||||||
|
Loading…
Reference in New Issue
Block a user