Project

General

Profile

Actions

action #64731

closed

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

Added by ybonatakis almost 4 years ago. Updated almost 4 years 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by ybonatakis almost 4 years ago

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

Updated by riafarov almost 4 years 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)
Actions #3

Updated by riafarov almost 4 years ago

  • Due date changed from 2020-04-07 to 2020-04-21
Actions #4

Updated by riafarov almost 4 years ago

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

Updated by riafarov almost 4 years 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
Actions #6

Updated by riafarov almost 4 years ago

  • Due date changed from 2020-04-21 to 2020-05-05
Actions #7

Updated by riafarov almost 4 years ago

  • Due date changed from 2020-05-05 to 2020-05-19
Actions #8

Updated by oorlov almost 4 years ago

  • Status changed from Workable to In Progress
  • Assignee set to oorlov
Actions #10

Updated by oorlov almost 4 years ago

  • Status changed from In Progress to Feedback
Actions #11

Updated by oorlov almost 4 years 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.

Actions

Also available in: Atom PDF