Project

General

Profile

Actions

coordination #69130

closed

[functional][y][epic] Extend test coverage for firstboot

Added by JERiveraMoya almost 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
2020-07-21
Due date:
2020-10-20
% Done:

100%

Estimated time:
(Total: 5.00 h)

Description

As requested by YaST team we could add more steps on our firstboot scenarios Trello card:
At the moment we have:

Both are using default firstboot.xml, which is created once the package is installed in the system.
With a custom firstboot.xml we could guarantee that more, called clients which are the menu that we see on the left during firstboot wizard are working fine.

We could just edit in the systeml /etc/YaST2/firstboot.xml. See documentation: https://en.opensuse.org/YaST_Firstboot#Customizing_YaST_Firstboot
In particular there was a bug with hostname, so we should enable it in the control file: https://github.com/yast/yast-firstboot/blob/master/control/firstboot.xml#L88 and some other clients.

Note: for editing on AutoYast we might need embedded script so maybe we could just consider to do it in the other test suite before rebooting.

As of now we cover only yast clients which are enabled by default.
Motivated by https://trello.com/c/WN7ywJhr/1943-2-sles15-sp2-p3-1173298-yast2-firstboothostname-breaks-with-error and https://bugzilla.suse.com/show_bug.cgi?id=1173298

Here we can see full list of available clients: https://github.com/yast/yast-firstboot/blob/master/control/firstboot.xml

There is refactoring of the first boot functionality planned, so we should clarify the requirements.
All the clients cannot be enabled in one test suite as some of them conflict with each other, so we will need to split it to multiple scenarios.


Subtasks 8 (0 open8 closed)

action #69175: [y] Enable firstboot_hostname yast client in first boot testResolvedJRivrain2020-07-212020-09-08

Actions
action #71308: [y][timeboxed:20h] Figure out most used module for the first bootResolvedsyrianidou_sofia2020-09-142020-10-20

Actions
action #73471: Enable yast2_firstboot in textmodeClosedJRivrain2020-10-18

Actions
action #73474: Add more modules to yast2_firstbootClosedJRivrain2020-10-18

Actions
action #73477: Modify firstboot configuration for yast2_firstboot_customClosedJRivrain2020-10-18

Actions
action #89866: Replace assert_screen calls by libyui asserts in firstbootResolvedsyrianidou_sofia2021-04-12

Actions
action #91013: Get rid of assert_screens in some firstboot clientsRejected2021-04-12

Actions
action #91581: Replace assert_screen calls by libyui asserts in firstbootClosedJERiveraMoya2021-04-22

Actions
Actions

Also available in: Atom PDF