Project

General

Profile

coordination #23606

Updated by riafarov over 3 years ago

### 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 12, 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 https://bugzilla.suse.com/show_bug.cgi?id=1051483 
 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

Back