action #25992
closedcoordination #23886: [sle][functional][desktop][sle15][epic] initial setup
[sle][functional][sle15][desktop] The shutdown-auth is not expected in sled15
0%
Description
Observation¶
openQA test in scenario sle-15-Installer-DVD-x86_64-create_hdd_sled_gnome@64bit fails in
shutdown
Reproducible¶
Fails since (at least) Build 288.8
Further details¶
shutdown.pm of create_hdd_sled_gnome want to match shutdown-auth for sled15 since
we have defined SHUTDOWN_NEEDS_AUTH=1 in the medium type of sle-15-Installer-DVD.
However the shutdown authentication is not expected in SLED.
In SLE 12 there are medium types for Desktop and Server respectively, but we only have one medium type called
sle-15-Installer-DVD in SLE15.
We could fix this issues in different ways:
Add SHUTDOWN_NEEDS_AUTH=0 for all testsuite of SLED, but for testsuite which is used by both Server and Desktop(eg testsuite: gnome) we have to add a new testsuite like gnome-sled or something else.
Set SHUTDOWN_NEEDS_AUTH=0 in main.pm when SLE_PRODUCT=sled
Add a new medium type for SLED15
Hi @okurz, do you have any ideas about this?
Updated by okurz about 7 years ago
- Subject changed from [sle15][functional][desktop] The shutdown-auth is not expected in sled15 to [sle15][desktop] The shutdown-auth is not expected in sled15
- Status changed from New to In Progress
- Assignee set to okurz
Updated by okurz about 7 years ago
- Subject changed from [sle15][desktop] The shutdown-auth is not expected in sled15 to [sle][functional][sle15][desktop] The shutdown-auth is not expected in sled15
- Status changed from In Progress to Resolved
merged. I went with suggestion "2." here.
Updated by qkzhu about 7 years ago
Since we already have:
# SLE needs auth for shutdown
if (!defined get_var('SHUTDOWN_NEEDS_AUTH') && !is_desktop) {
set_var('SHUTDOWN_NEEDS_AUTH', 1);
}
in main.pm,
we should remove SHUTDOWN_NEEDS_AUTH=1 in the medium type of sle-15-Installer-DVD.
Otherwise SLED will still uses the default value SHUTDOWN_NEEDS_AUTH=1
Updated by okurz about 7 years ago
of course. I did now. Sorry I resolved the bug before checking everything but as we are stuck in a bug in https://openqa.suse.de/tests/1236647#step/first_boot/4 I did not want to wait until we finally reach further.