Project

General

Profile

coordination #23606

Integrate classes autoyast profile test in openQA

Added by riafarov almost 6 years ago. Updated over 1 year ago.

Status:
In Progress
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

action #95392: Expand functionality of prepare_profile moduleClosedJERiveraMoya

action #97871: Implement the rules&classes including registrationClosedrainerkoenig

action #97874: Implement the rules&classes adapting AutoYAST profile for openSUSEClosedrainerkoenig


Related issues

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

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

History

#1 Updated by riafarov almost 6 years ago

  • Assignee set to riafarov
  • Target version set to Milestone 10

#3 Updated by riafarov almost 6 years ago

  • Status changed from New to Rejected

#4 Updated by riafarov over 5 years ago

  • Status changed from Rejected to New
  • Target version deleted (Milestone 10)

Reopened, as another ticket was accidentally created under another project.

#5 Updated by riafarov over 5 years ago

  • Description updated (diff)

#6 Updated by riafarov over 5 years ago

  • Status changed from New to Resolved

#7 Updated by riafarov over 5 years ago

  • Category set to New test
  • Status changed from Resolved to New

#8 Updated by riafarov over 5 years ago

  • Subject changed from [sle][functional] Integrate classes autoyast profile test in openQA to [sle][functional][autoyast] Integrate classes autoyast profile test in openQA
  • Assignee deleted (riafarov)

Unassigning, so someone could pick it up.

#9 Updated by okurz over 5 years ago

  • Target version set to Milestone 14

#10 Updated by riafarov over 5 years ago

#11 Updated by okurz over 5 years ago

  • Subject changed from [sle][functional][autoyast] Integrate classes autoyast profile test in openQA to [sle][functional][autoyast][yast] Integrate classes autoyast profile test in openQA
  • Due date set to 2018-03-13

#12 Updated by okurz over 5 years ago

  • Due date deleted (2018-03-13)
  • Target version changed from Milestone 14 to Milestone 16

M14 is too full. Better we focus more on fixing.

#13 Updated by okurz about 5 years ago

  • Subject changed from [sle][functional][autoyast][yast] Integrate classes autoyast profile test in openQA to [sle][functional][y][autoyast][yast] Integrate classes autoyast profile test in openQA
  • Target version changed from Milestone 16 to Milestone 17

#14 Updated by okurz about 5 years ago

  • Target version changed from Milestone 17 to Milestone 21+

riafarov please help to clarify what is the motivation behind this ticket with a single sentence within the description

#15 Updated by riafarov about 5 years ago

  • Description updated (diff)

#16 Updated by okurz almost 5 years ago

  • Target version changed from Milestone 21+ to Milestone 21+

#17 Updated by riafarov over 4 years ago

  • Related to coordination #40979: [sle][functional][y][epic] New test strategy for autoyast profiles from ay-tests repo added

#18 Updated by okurz over 4 years ago

  • Description updated (diff)
  • Target version changed from Milestone 21+ to future

#19 Updated by riafarov over 2 years ago

  • Project changed from openQA Tests to qe-yam
  • Subject changed from [sle][functional][y][autoyast][yast] Integrate classes autoyast profile test in openQA to Integrate classes autoyast profile test in openQA
  • Category deleted (New test)

#20 Updated by riafarov over 2 years ago

  • Target version changed from future to SLE 15 SP3

#21 Updated by riafarov over 2 years ago

  • Description updated (diff)
  • Status changed from New to Workable

#22 Updated by syrianidou_sofia almost 2 years ago

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

#23 Updated by oorlov almost 2 years ago

  • Tracker changed from action to coordination

#24 Updated by oorlov almost 2 years ago

  • Assignee changed from syrianidou_sofia to oorlov

#25 Updated by oorlov almost 2 years ago

  • Target version changed from SLE 15 SP3 to Current

#26 Updated by oorlov over 1 year ago

  • Assignee changed from oorlov to JERiveraMoya

Also available in: Atom PDF