Project

General

Profile

Actions

action #40184

closed

coordination #49508: [functional][epic][y] Automated test for firstboot wizard

[functional][y] new yast2 firstboot wizard test

Added by lnussel over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Target version:
SUSE QA - Milestone 25
Start date:
2018-08-23
Due date:
2019-04-09
% Done:

0%

Estimated time:
5.00 h
Difficulty:
easy

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

  1. First boot is validated for all distributions under development

Suggestions

  1. We should try to reuse test modules used in interactive installation
  2. firstboot.pm is not related to this feature, so we should consider to rename it

Related issues 1 (0 open1 closed)

Related to qe-yam - coordination #43886: autoyast tests for confirming base license, skipping proposal screen, first boot wizardRejectedriafarov2018-08-23

Actions
Actions #1

Updated by lnussel over 5 years ago

  • Description updated (diff)
Actions #2

Updated by okurz over 5 years ago

  • Subject changed from new yast2 firstboot wizard test to [functional][y] new yast2 firstboot wizard test
  • Target version set to future
Actions #3

Updated by okurz over 5 years ago

  • Copied to coordination #43886: autoyast tests for confirming base license, skipping proposal screen, first boot wizard added
Actions #4

Updated by okurz over 5 years ago

  • Copied to deleted (coordination #43886: autoyast tests for confirming base license, skipping proposal screen, first boot wizard)
Actions #5

Updated by okurz over 5 years ago

  • Related to coordination #43886: autoyast tests for confirming base license, skipping proposal screen, first boot wizard added
Actions #6

Updated by riafarov about 5 years ago

  • Target version changed from future to Milestone 25
Actions #7

Updated by riafarov about 5 years ago

  • Description updated (diff)
  • Due date set to 2019-04-09
Actions #8

Updated by riafarov about 5 years ago

  • Description updated (diff)
  • Estimated time set to 5.00 h
Actions #9

Updated by riafarov about 5 years ago

  • Parent task set to #49508
Actions #10

Updated by riafarov about 5 years ago

  • Status changed from New to Workable
Actions #11

Updated by mloviska about 5 years ago

  • Assignee set to mloviska
Actions #12

Updated by mloviska about 5 years ago

  • Status changed from Workable to In Progress
Actions #13

Updated by mloviska about 5 years ago

Leap15.1 is missing yast2-firstboot.rpm
http://eris.suse.cz/tests/12792#step/enable_y2_firstboot/6

Actions #15

Updated by lnussel about 5 years ago

your test probably has no repos enabled

Actions #17

Updated by mloviska about 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

Autoyast scenario states that yast2-firstboot package is still missing, I need to do further investigation.

Actions #18

Updated by mloviska about 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*"                                                                  
➜ 
Actions #20

Updated by mloviska about 5 years ago

OSD VRs for yast2_firstboot only:

Actions

Also available in: Atom PDF