action #40184
closed
coordination #49508: [functional][epic][y] Automated test for firstboot wizard
[functional][y] new yast2 firstboot wizard test
Added by lnussel almost 6 years ago.
Updated over 5 years ago.
Target version:
SUSE QA - Milestone 25
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
- Description updated (diff)
- Subject changed from new yast2 firstboot wizard test to [functional][y] new yast2 firstboot wizard test
- Target version set to future
- Copied to coordination #43886: autoyast tests for confirming base license, skipping proposal screen, first boot wizard added
- Copied to deleted (coordination #43886: autoyast tests for confirming base license, skipping proposal screen, first boot wizard)
- Related to coordination #43886: autoyast tests for confirming base license, skipping proposal screen, first boot wizard added
- Target version changed from future to Milestone 25
- Description updated (diff)
- Due date set to 2019-04-09
- Description updated (diff)
- Estimated time set to 5.00 h
- Parent task set to #49508
- Status changed from New to Workable
- Status changed from Workable to In Progress
your test probably has no repos enabled
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
Autoyast scenario states that yast2-firstboot package is still missing, I need to do further investigation.
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*"
➜
- Status changed from In Progress to Feedback
OSD VRs for yast2_firstboot only:
- Status changed from Feedback to Resolved
Also available in: Atom
PDF