Project

General

Profile

Actions

action #28639

closed

Verify that yast network module doesn't crash in case of wrong configuration in ifcfg

Added by riafarov over 6 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
SUSE QA - SLE 15 SP3
Start date:
2017-11-30
Due date:
% Done:

0%

Estimated time:

Description

This test scenario occurred in the customer setup, see https://bugzilla.suse.com/show_bug.cgi?id=1061306

YaST must not break if it finds something unexpected in network configuration files (ifcfg). The fact is, that if anything changes in the future, we need to be ready. Customers can add some values either by a mistake or even intentionally, for instance, if they want/need it for some reason (that might be unknown to us).

Scope is 64bit only. We can add this scenario to yast2_gui test suite.

Test scenario should include at least following steps:

  1. Put misconfigured settings in ifcfg file e.g. ETHERDEVICE setting which is expected to be used for VLANs only: ETHERDEVICE='eth0'
  2. Run lan module of the yast nd verify it doesn't crash

Tasks

  1. Implement automated test
  2. Add to the SLE Functional job group

Acceptance criteria:

  1. Automated test runs in production and verifies that lan yast module doesn't crash when ifcfg file contains invalid configuration
Actions

Also available in: Atom PDF