Project

General

Profile

Actions

action #44786

closed

[sle][functional][y][medium] Create test suite to test that YaST2 lan rewrite hostname change properly (bsc#1052042)

Added by JRivrain over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Target version:
SUSE QA - Milestone 23
Start date:
2018-12-05
Due date:
2018-12-18
% Done:

0%

Estimated time:
Difficulty:

Description

Acceptance criteria

  • AC1: An openQA test exists that verifies entries in /etc/hosts after installation
  • AC2: An openQA test exists that verifies entries in /etc/hosts after modification by yast2 lan

Tasks

  • Understand the current openQA test modules for "yast2_lan" and "yast2_lan_restart"
  • If not already covered create a test case which tests what is added to hosts file and performs at least following:
    • Install SLES with static IP and hostname
    • cat /etc/hosts after installation
    • Start yast2 lan, edit network adapter and change the hostname to something else
    • On the hostname tab change the hostname as well, submit changes.
    • cat /etc/hosts

Further details

From an original yast team trello card - URL?:
Depending on previous setup (examples in the bug report, all cases happened when editing NIC properties, not on DNS/Hostname Tab), it could happen that:
1) in case of adding FQDN into /etc/hosts no alias was created
2) FQDN was not added as a canonical name but after the alias (proper format in /etc/hosts is [ , , , ... ], but it sometime happened that the record was stored in form [ , , ]
3) We discovered later that the fix for bsc#1052042 generates a new bug preventing yast2 lan from setting up a new hostname to the same static IP as previsously, see bsc#1115644


Related issues 1 (0 open1 closed)

Related to openQA Tests - action #44450: [functional][y] Adjust test modules to yast lan changesResolvedriafarov2018-11-282019-02-12

Actions
Actions #2

Updated by JRivrain over 5 years ago

  • Description updated (diff)
Actions #3

Updated by riafarov over 5 years ago

  • Assignee set to JRivrain
Actions #4

Updated by SLindoMansilla over 5 years ago

  • Category set to New test
Actions #5

Updated by SLindoMansilla over 5 years ago

  • Target version set to Milestone 23
Actions #6

Updated by riafarov over 5 years ago

  • Status changed from In Progress to Resolved

We got changes in the affected modules, so let's resolve this one and continue in #44450

Actions #7

Updated by riafarov over 5 years ago

  • Related to action #44450: [functional][y] Adjust test modules to yast lan changes added
Actions

Also available in: Atom PDF