Project

General

Profile

Actions

coordination #23606

closed

Integrate classes autoyast profile test in openQA

Added by riafarov over 6 years ago. Updated 4 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 #1

Updated by riafarov over 6 years ago

  • Assignee set to riafarov
  • Target version set to Milestone 10
Actions #3

Updated by riafarov over 6 years ago

  • Status changed from New to Rejected
Actions #4

Updated by riafarov over 6 years ago

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

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

Actions #5

Updated by riafarov over 6 years ago

  • Description updated (diff)
Actions #6

Updated by riafarov over 6 years ago

  • Status changed from New to Resolved
Actions #7

Updated by riafarov over 6 years ago

  • Category set to New test
  • Status changed from Resolved to New
Actions #8

Updated by riafarov over 6 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.

Actions #9

Updated by okurz over 6 years ago

  • Target version set to Milestone 14
Actions #10

Updated by riafarov over 6 years ago

Actions #11

Updated by okurz about 6 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
Actions #12

Updated by okurz about 6 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.

Actions #13

Updated by okurz almost 6 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
Actions #14

Updated by okurz almost 6 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

Actions #15

Updated by riafarov almost 6 years ago

  • Description updated (diff)
Actions #16

Updated by okurz almost 6 years ago

  • Target version changed from Milestone 21+ to Milestone 21+
Actions #17

Updated by riafarov over 5 years ago

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

Updated by okurz over 5 years ago

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

Updated by riafarov over 3 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)
Actions #20

Updated by riafarov about 3 years ago

  • Target version changed from future to SLE 15 SP3
Actions #21

Updated by riafarov about 3 years ago

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

Updated by syrianidou_sofia almost 3 years ago

  • Status changed from Workable to In Progress
  • Assignee set to syrianidou_sofia
Actions #23

Updated by oorlov almost 3 years ago

  • Tracker changed from action to coordination
Actions #24

Updated by oorlov almost 3 years ago

  • Assignee changed from syrianidou_sofia to oorlov
Actions #25

Updated by oorlov almost 3 years ago

  • Target version changed from SLE 15 SP3 to Current
Actions #26

Updated by oorlov about 2 years ago

  • Assignee changed from oorlov to JERiveraMoya
Actions #27

Updated by JERiveraMoya 4 months ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF