action #49508: [functional][epic][y] Automated test for firstboot wizard
[functional][y] new yast2 firstboot wizard test
|Category:||New test||Estimated time:||5.00 hours|
|Target version:||SUSE QA tests - Milestone 25|
we lack a test for the yast2 firstboot wizard https://en.opensuse.org/YaST_Firstboot
Most simple test would be to boot a default install image, then
# zypper in yast2-firstboot
# touch /var/lib/YaST2/reconfig_system
[click through wizard]
We need at least smoke test to detect that functionality is not completely broken.
Alternative is autoyast installation with firstboot section enabled, e.g. for SLE 15 SP1 (https://www.suse.com/documentation/sles-15/singlehtml/book_autoyast/book_autoyast.html#CreateProfile.Firstboot).
Validation of the SUT is out of scope here, as a first step to automate steps for the functionality.
- First boot is validated for all distributions under development
- We should try to reuse test modules used in interactive installation
- firstboot.pm is not related to this feature, so we should consider to rename it
#13 Updated by mloviska about 1 year ago
Leap15.1 is missing yast2-firstboot.rpm
#14 Updated by mloviska about 1 year ago
In fact, Oliver has prepared firstboot ay profile for us. :)
#17 Updated by mloviska about 1 year ago
your test probably has no repos enabled
Thanks for the note! However, I can see a difference between Leap15.1 and TW.
First of all, the license agreement view is skipped on TW, but Leap15.1 shows it.
Despite that, the packages seem to be the same, the GUI has the impression as the work on this module is not done yet.
[ 338.112675] [RPM]: install yast2-configuration-management-4.1.6-lp151.1.1.noarch: success [ 338.114837] [RPM]: install yast2-configuration-management-4.1.6-lp151.1.1.noarch: success [ 338.117689] [RPM]: Transaction ID 5ca3389b finished: 0 [ 338.141721] [RPM]: Transaction ID 5ca3389c started [ 338.401402] [RPM]: install yast2-firstboot-4.1.5-lp151.1.1.noarch: success [ 338.403470] [RPM]: install yast2-firstboot-4.1.5-lp151.1.1.noarch: success [ 427.114464] [RPM]: install yast2-configuration-management-4.1.6-1.1.noarch: success [ 427.117594] [RPM]: install yast2-configuration-management-4.1.6-1.1.noarch: success [ 427.122176] [RPM]: Transaction ID 5c9ce3e8 finished: 0 [ 427.148971] [RPM]: Transaction ID 5c9ce3eb started [ 427.460571] [RPM]: install yast2-firstboot-4.1.5-1.1.noarch: success [ 427.462956] [RPM]: install yast2-firstboot-4.1.5-1.1.noarch: success [ 427.467380] [RPM]: Transaction ID 5c9ce3eb finished: 0
Autoyast scenario states that yast2-firstboot package is still missing, I need to do further investigation.
#18 Updated by mloviska about 1 year ago
So leap15.1 iso doesn't contain yast2-firstboot package.
➜ mount -o loop /var/lib/openqa/factory/iso/openSUSE-Tumbleweed-DVD-x86_64-Snapshot20190326-Media.iso /mnt mount: /mnt: WARNING: device write-protected, mounted read-only. ➜ find /mnt -iname "yast2-first*" /mnt/noarch/yast2-firstboot-4.1.5-1.1.noarch.rpm
➜ mount -o loop /var/lib/openqa/factory/iso/openSUSE-Leap-15.1-DVD-x86_64-Build441.4-Media.iso /tmp/mnt mount: /tmp/mnt: WARNING: device write-protected, mounted read-only. ➜ find /tmp/mnt -iname "yast2-first*" ➜
#21 Updated by mloviska about 1 year ago
#22 Updated by mloviska about 1 year ago
O3 AY VRs:
opensuse-Tumbleweed-DVD-x86_64-Build20190402-autoyast_y2_firstboot@64bit-> retriggered, I forgot to set NOAUTOLOGIN=1 opensuse-15.1-DVD-x86_64-Build442.2-autoyast_y2_firstboot@64bit-> failed as expected, marked in o3 with both bugs
#23 Updated by mloviska about 1 year ago
#24 Updated by mloviska about 1 year ago
- Status changed from Feedback to Resolved