action #40184
closedcoordination #49508: [functional][epic][y] Automated test for firstboot wizard
[functional][y] new yast2 firstboot wizard test
0%
Description
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
# reboot
[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.
Acceptance criteria¶
- First boot is validated for all distributions under development
Suggestions¶
- 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
Updated by okurz almost 6 years ago
- Subject changed from new yast2 firstboot wizard test to [functional][y] new yast2 firstboot wizard test
- Target version set to future
Updated by okurz over 5 years ago
- Copied to coordination #43886: autoyast tests for confirming base license, skipping proposal screen, first boot wizard added
Updated by okurz over 5 years ago
- Copied to deleted (coordination #43886: autoyast tests for confirming base license, skipping proposal screen, first boot wizard)
Updated by okurz over 5 years ago
- Related to coordination #43886: autoyast tests for confirming base license, skipping proposal screen, first boot wizard added
Updated by riafarov over 5 years ago
- Target version changed from future to Milestone 25
Updated by riafarov over 5 years ago
- Description updated (diff)
- Due date set to 2019-04-09
Updated by riafarov over 5 years ago
- Description updated (diff)
- Estimated time set to 5.00 h
Updated by mloviska over 5 years ago
- Status changed from Workable to In Progress
Updated by mloviska over 5 years ago
Leap15.1 is missing yast2-firstboot.rpm
http://eris.suse.cz/tests/12792#step/enable_y2_firstboot/6
Updated by mloviska over 5 years ago
In fact, Oliver has prepared firstboot ay profile for us. :)
https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/autoyast_sle15/autoyast_firstboot.xml
Updated by mloviska over 5 years ago
Updated by mloviska over 5 years ago
lnussel wrote:
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][2157]: install yast2-configuration-management-4.1.6-lp151.1.1.noarch: success
[ 338.114837] [RPM][2157]: install yast2-configuration-management-4.1.6-lp151.1.1.noarch: success
[ 338.117689] [RPM][2157]: Transaction ID 5ca3389b finished: 0
[ 338.141721] [RPM][2185]: Transaction ID 5ca3389c started
[ 338.401402] [RPM][2185]: install yast2-firstboot-4.1.5-lp151.1.1.noarch: success
[ 338.403470] [RPM][2185]: install yast2-firstboot-4.1.5-lp151.1.1.noarch: success
[ 427.114464] [RPM][2247]: install yast2-configuration-management-4.1.6-1.1.noarch: success
[ 427.117594] [RPM][2247]: install yast2-configuration-management-4.1.6-1.1.noarch: success
[ 427.122176] [RPM][2247]: Transaction ID 5c9ce3e8 finished: 0
[ 427.148971] [RPM][2301]: Transaction ID 5c9ce3eb started
[ 427.460571] [RPM][2301]: install yast2-firstboot-4.1.5-1.1.noarch: success
[ 427.462956] [RPM][2301]: install yast2-firstboot-4.1.5-1.1.noarch: success
[ 427.467380] [RPM][2301]: Transaction ID 5c9ce3eb finished: 0
- opensuse-15.1-DVD-x86_64-Build441.4-yast2_firstboot@64bit
- opensuse-Tumbleweed-DVD-x86_64-Build20190325-yast2_firstboot@64bit
Autoyast scenario states that yast2-firstboot package is still missing, I need to do further investigation.
Updated by mloviska over 5 years 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*"
➜
Updated by mloviska over 5 years ago
- Status changed from In Progress to Feedback
Updated by mloviska over 5 years ago
Updated by mloviska over 5 years 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
opensuse-Tumbleweed-DVD-x86_64-Build20190402-autoyast_y2_firstboot@64bit
Updated by mloviska over 5 years ago
Updated by mloviska over 5 years ago
- Status changed from Feedback to Resolved