Project

General

Profile

action #64731

[functional][y] generate TW image with wicked and use it in yast2_cmdline and nis MM test suites

Added by ybonatakis about 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
Start date:
2020-01-08
Due date:
2020-05-19
% Done:

0%

Estimated time:
5.00 h
Difficulty:

Description

Motivation

The yast2_cmdline performs some tests for the command line with the Test Anything Protocol [0].
One of the tap test is for yast2_network module which its tests are relative to wicked and that's why they do not work with NetworkManager,
and it doesnt make sense to run it if this is the case.

Therefore, yast2_cmdline should be executed with wicked setup only.

In openqa, Tumbleweed uses an image which uses NetworkManager. We need to make the test work 'switching' to wicked

https://openqa.opensuse.org/tests/overview?distri=opensuse&version=Tumbleweed&build=20200320&groupid=38

NOTE: textmode installation has wicked by default, but we use only gnome image

In the image we can switch using following commands:
systemctl disable NetworkManager --now
systemctl enable wicked --now

Acceptance criteria

  1. There is an image with wicked enabled in it
  2. yast2_ui_devel uses image with wicked from step 1.
  3. nis_(client|server) test suites use image with wicked from step 1.

Suggestions

[0] https://yastgithubio.readthedocs.io/en/latest/how-to-write-tests/#how


Related issues

Copied from openQA Tests - action #61901: [functional][y] Check if wicked is running for yast command line testsResolved2020-01-082020-03-24

History

#1 Updated by ybonatakis about 1 year ago

  • Copied from action #61901: [functional][y] Check if wicked is running for yast command line tests added

#2 Updated by riafarov about 1 year ago

  • Due date changed from 2020-03-24 to 2020-04-07
  • Category changed from Enhancement to existing tests to Bugs in existing tests
  • Assignee deleted (ybonatakis)
  • Estimated time deleted (2.00 h)

#3 Updated by riafarov about 1 year ago

  • Due date changed from 2020-04-07 to 2020-04-21

#4 Updated by riafarov about 1 year ago

  • Description updated (diff)
  • Status changed from New to Workable
  • Estimated time set to 5.00 h

#5 Updated by riafarov about 1 year ago

  • Subject changed from [functional][y] yast2_cmdline module should use wicked manager to [functional][y] generate TW image with wicked and use it in yast2_cmdline and nis MM test suites

#6 Updated by riafarov about 1 year ago

  • Due date changed from 2020-04-21 to 2020-05-05

#7 Updated by riafarov 12 months ago

  • Due date changed from 2020-05-05 to 2020-05-19

#8 Updated by oorlov 11 months ago

  • Status changed from Workable to In Progress
  • Assignee set to oorlov

#10 Updated by oorlov 11 months ago

  • Status changed from In Progress to Feedback

#11 Updated by oorlov 11 months ago

  • Status changed from Feedback to Resolved

Verification Run on o3: https://openqa.opensuse.org/tests/1266798

yast2_ui_devel passed.
nis_client, nis_server are still failed on the same step as before. So, wicked is not an issue there. These failures will be investigated in scope of another ticket.

Also available in: Atom PDF