Project

General

Profile

Actions

coordination #23606

closed

Integrate classes autoyast profile test in openQA

Added by riafarov over 7 years ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2021-07-12
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)

Description

Motivation

AY support splitting profile into multiple xml files what simplifies maintenance and readability. In SLE 12 SP3 we have missed the regression and this flow is broken there.
This functionality is not covered by openQA, whereas there is jenkins job which is executed as a part of AY CI.

See https://documentation.suse.com/sles/15-SP2/single-html/SLES-autoyast/#rulesandclass

We should use classes where we can validate that they were used. For example, we can use mandatory sections, like registration for online medium as installation will fail without it, or we can validate exact setup in the SUT if e.g. propose custom partitioning.

Acceptance criteria

  • AC1: Class based AY profile installation is verified for SLE 15 and optionally for openSUSE

Further details

We need to enable this test in openQA, it may need some changes in env, as test uses multiple files for installation.

Description from trello card:
https://bugzilla.suse.com/show_bug.cgi?id=105148
Review

Evaluation of classes/rules has been called twice due to self-update
without initialization.

SP3:
yast/yast-autoinstallation: Pull Request 323
Submitted to SUSE:SLE-12-SP3:Update id 137252

Master:
yast/yast-autoinstallation: Pull Request 324

SP2: Tested, but the error has not happened there.

Testcase:

https://github.com/yast/aytests-tests/pull/98/files

yast/aytests-tests: Pull Request 99

Patch for handling classes in AY-testsuite:
yast/autoyast-integration-test: Pull Request 140


Subtasks 3 (0 open3 closed)

action #95392: Expand functionality of prepare_profile moduleClosedJERiveraMoya2021-07-12

Actions
action #97871: Implement the rules&classes including registrationClosedrainerkoenig2021-09-01

Actions
action #97874: Implement the rules&classes adapting AutoYAST profile for openSUSEClosedrainerkoenig2021-09-01

Actions

Related issues 2 (0 open2 closed)

Related to qe-yam - coordination #29122: Extend autoyast tests coverageRejected2017-12-08

Actions
Related to qe-yam - coordination #40979: [sle][functional][y][epic] New test strategy for autoyast profiles from ay-tests repoResolved2018-09-13

Actions
Actions

Also available in: Atom PDF