Project

General

Profile

Actions

action #67534

closed

[functional][y] Change yast2_lan hostname validation

Added by syrianidou_sofia almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
SUSE QA - SLE 15 SP2
Start date:
2020-06-01
Due date:
2020-06-30
% Done:

0%

Estimated time:
5.00 h
Difficulty:

Description

In yast2_lan module, one of the steps is to verify that the hostname can be successfully changed. Currently in the code, the hostname used for the change comes from: $hostname = get_var('HOSTNAME', 'susetest') . For most architectures 'susetest' is also the hostname prior the change. So, in reality it doesn't verify if the hostname was changed ( https://openqa.suse.de/tests/4286250#step/yast2_lan/13 ).

On some backends we cannot change hostname without breaking the setup (at least powerVM and zVM). So we might need to limit scope of test to qemu.

Running the module on xen hvm, where original hostname is not 'susetest', fails (https://openqa.suse.de/tests/4295089#step/yast2_lan/20).
Running the module on x86, with different $hostname works (new needle needed for that to work) (http://falafel.suse.cz/tests/832#step/yast2_lan/23).

Acceptance criteria:

  • Change the code of yast2_lan so that the hostname after change is different than before.
Actions

Also available in: Atom PDF