Merge ubuntu-manual-tests:advanced_features_dialog into ubuntu-manual-tests:master

Proposed by Jean-Baptiste Lallement
Status: Merged
Merged at revision: 44cdbbf7f2984e271c61525d6c25788f1d1e1a79
Proposed branch: ubuntu-manual-tests:advanced_features_dialog
Merge into: ubuntu-manual-tests:master
Diff against target: 137 lines (+109/-3)
2 files modified
testcases/image/1451_Install (entire disk with lvm and encryption) (+9/-3)
testcases/image/1716_Install (entire disk with ZFS) (+100/-0)
Reviewer Review Type Date Requested Status
Iain Lane Approve
Ubuntu Testcase Admins Pending
Review via email: mp+382229@code.launchpad.net

Commit message

2 updates for Ubuntu Desktop:
 * Fixed the LVM test case
 * Added test case for ZFS

To post a comment you must log in.
Revision history for this message
Iain Lane (laney) wrote :

Thanks!

For 20.04 beta we had a bug which only appeared on the second boot. Should there be a step which tests that?

I've added one other question below.

(Can't actually approve this though - should ~ubuntu-release be a member of ~ubuntu-testcase?)

review: Needs Information
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

The first verification addresses it. bpool was not imported on first boot, so grub created its grubenv file in /boot/grub and on next boot bpool failed to import because there were exiting files on its mountpoint.

Revision history for this message
Jean-Baptiste Lallement (jibel) :
Revision history for this message
Iain Lane (laney) :
review: Approve
Revision history for this message
Brian Murray (brian-murray) wrote :

I updated the 1451 test case in the isotracker. I also added 1716 test case but only added it to the Ubuntu Desktop suite. If it needs adding to more suites please do so or let me know.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/testcases/image/1451_Install (entire disk with lvm and encryption) b/testcases/image/1451_Install (entire disk with lvm and encryption)
2index 6bcf45f..c844cda 100755
3--- a/testcases/image/1451_Install (entire disk with lvm and encryption)
4+++ b/testcases/image/1451_Install (entire disk with lvm and encryption)
5@@ -21,9 +21,13 @@
6 <dt>Click on the continue button</dt>
7 <dd>The 'Installation type' screen is displayed</dd>
8 <dt>Note the state of the 'Erase disk and install FAMILY' radio button</dt>
9- <dd>The 'Erase disk and install FAMILY' radio button is selected</dd>
10- <dt>Check 'Encrypt the new FAMILY Installation for security' and 'Use LVM with the new FAMILY Installation'</dt>
11+ <dd>The 'Erase disk and install FAMILY' radio button is selected and the 'Advanced features' button is active</dd>
12+ <dt>Click on the 'Advanced features...' button</dt>
13+ <dd>The 'Advanced features' dialog is displayed</dd>
14+ <dt>Check 'Use LVM with the new FAMILY Installation' and 'Encrypt the new FAMILY Installation for security'</dt>
15 <dd>'Encrypt the new FAMILY Installation for security' and 'Use LVM with the new FAMILY Installation' is checked</dd>
16+ <dt>Click on the 'OK' button</dt>
17+ <dd>The dialog closes and 'LVM and encryption selected' is displayed next to the 'Advanced features...' button </dd>
18 <dt>Click on the 'Install Now' button</dt>
19 <dd>The 'Choose a security key' screen is displayed with the 'Install now' button greyed out</dd>
20 <dt>Enter a security key and type a different key into the 'confirm the security key' input box</dt>
21@@ -54,7 +58,9 @@
22 <dt>Remove the disc and press enter</dt>
23 <dd>The machine is rebooted</dd>
24 <dt>Allow the machine to reboot</dt>
25- <dd>The system boots properly and loads into FAMILY</dd>
26+ <dd>The system boots properly</dd>
27+ <dd>A field is displayed to enter your password to decrypt the disk</dd>
28+ <dd>The system loads into FAMILY upon entering the right password</dd>
29 </dl>
30 <strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
31 If an action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include the bug number when you <a href="results#add_result">submit</a> your result.</strong>
32diff --git a/testcases/image/1716_Install (entire disk with ZFS) b/testcases/image/1716_Install (entire disk with ZFS)
33new file mode 100755
34index 0000000..af838a7
35--- /dev/null
36+++ b/testcases/image/1716_Install (entire disk with ZFS)
37@@ -0,0 +1,100 @@
38+<em>Proceed in your native language if you wish. Instructions will remain in English</em>
39+
40+<dl>
41+ <dt>Boot up the image</dt>
42+ <dd>The system boots properly and loads the installer displaying Welcome dialog with language selection and 'Try FAMILY' and 'Install FAMILY' buttons</dd>
43+ <dt>Click on the release notes hyperlink to confirm that a browser launches and you are taken to the release notes wiki page.</dt>
44+ <dt>Click on the Install FAMILY button</dt>
45+ <dd>The 'Keyboard Layout' screen appears</dd>
46+ <dd>The proposed keyboard corresponds with your keyboard</dd>
47+ <dt>Select your keyboard layout and click on continue</dt>
48+ <dd>The 'Updates and other software' screen is displayed</dd>
49+ <dt>On the screen 'Updates and other software', note the availability of the following components</dt>
50+ <dd>Available options should represent the state of your system accurately</dd>
51+ <dd>
52+ <ul>
53+ <li>(If network is available) Download updates while installing FAMILY</li>
54+ <li>(If on a 'laptop') Is plugged to a power source</li>
55+ <li>Install third-party software ... option available</li>
56+ </ul>
57+ </dd>
58+ <dt>Click on the continue button</dt>
59+ <dd>The 'Installation type' screen is displayed</dd>
60+ <dt>Note the state of the 'Erase disk and install FAMILY' radio button</dt>
61+ <dd>The 'Erase disk and install FAMILY' radio button is selected and the 'Advanced features' button is active</dd>
62+ <dt>Click on the 'Advanced features...' button</dt>
63+ <dd>The 'Advanced features' dialog is displayed</dd>
64+ <dt>Check 'Erase disk and use ZFS'</dt>
65+ <dd>'Erase disk and use ZFS'</dd>
66+ <dt>Click on the 'OK' button</dt>
67+ <dd>The dialog closes and 'Erase disk and use ZFS'</dd>
68+ <dt>Click on the 'Install Now' button</dt>
69+ <dd>The 'Choose a security key' screen is displayed with the 'Install now' button greyed out</dd>
70+ <dt>Enter a security key and type a different key into the 'confirm the security key' input box</dt>
71+ <dd>The installer displays 'Passwords do not match'</dd>
72+ <dt>Enter a security key and type the same key into the 'confirm the security key' input box</dt>
73+ <dd>The passwords are accepted and the 'Install Now' button can be clicked</dd>
74+ <dt>Check 'Overwrite empty disk space' and click the 'Install Now' button</dt>
75+ <dd>The screen advances</dd>
76+ <dt>If there is only one hard disk, skip to step 14 (On the 'Where are you?' screen...). Otherwise, on the 'Installation type' screen verify that the drive selected on the Select drive list corresponds to the drive on the chart (e.g /dev/sda)</dt>
77+ <dd>Selected drive is displayed on the chart</dd>
78+ <dt>Verify that the full drive space is allocated</dt>
79+ <dd>Full drive space is allocated for installation</dd>
80+ <dt>Click on the Install Now button</dt>
81+ <dd>The 'Where are you?' screen is displayed</dd>
82+ <dt>If your system is connected to the network, note the preselected timezone correspond with your timezone and the city indicated in the text box </dt>
83+ <dd>The timezone and city displayed match your timezone and the main city from your area</dd>
84+ <dt>Select your timezone, and click on the continue button</dt>
85+ <dd>The 'Who are you?' screen appears</dd>
86+ <dt>Input your initial user details and password (Note admin can not be used - it is a dedicated Linux User)</dt>
87+ <dd>Name, username and password are accepted. Additionally, the continue button is enabled</dd>
88+ <dt>Click on the continue button</dt>
89+ <dd>The 'Welcome to FAMILY ' slide is displayed</dd>
90+ <dd>The slideshow is entirely in your language</dd>
91+ <dt>Wait for the installer to finish</dt>
92+ <dd>An 'Installation Complete' dialog appears</dd>
93+ <dt>Click the Restart now button</dt>
94+ <dd>GUI is shut down, a prompt to remove media and press Enter appears</dd>
95+ <dt>Remove the disc and press enter</dt>
96+ <dd>The machine is rebooted</dd>
97+ <dt>Allow the machine to reboot</dt>
98+ <dd>The system boots properly and loads into FAMILY</dd>
99+ <dd>Upon login, open a terminal, run the following commands and verify it matches the output</dd>
100+ <dd><code>$ zfs mount
101+ rpool/ROOT/ubuntu_UUID /
102+ bpool/BOOT/ubuntu_UUID /boot
103+ rpool/USERDATA/root_0y7dio /root
104+ rpool/ROOT/ubuntu_UUID/srv /srv
105+ rpool/USERDATA/u_0y7dio /home/u
106+ rpool/ROOT/ubuntu_UUID/usr/local /usr/local
107+ rpool/ROOT/ubuntu_UUID/var/lib /var/lib
108+ rpool/ROOT/ubuntu_UUID/var/games /var/games
109+ rpool/ROOT/ubuntu_UUID/var/mail /var/mail
110+ rpool/ROOT/ubuntu_UUID/var/snap /var/snap
111+ rpool/ROOT/ubuntu_UUID/var/log /var/log
112+ rpool/ROOT/ubuntu_UUID/var/www /var/www
113+ rpool/ROOT/ubuntu_UUID/var/spool /var/spool
114+ rpool/ROOT/ubuntu_UUID/var/lib/AccountsService /var/lib/AccountsService
115+ rpool/ROOT/ubuntu_UUID/var/lib/NetworkManager /var/lib/NetworkManager
116+ rpool/ROOT/ubuntu_UUID/var/lib/apt /var/lib/apt
117+ rpool/ROOT/ubuntu_UUID/var/lib/dpkg /var/lib/dpkg
118+ </code></dd>
119+ <dd><code>$ zsysctl show
120+ Name: rpool/ROOT/ubuntu_UUID
121+ ZSys: true
122+ Last Used: current
123+ History:
124+ - Name: rpool/ROOT/ubuntu_UUID@autozsys_SNAPID
125+ Created on: 2020-04-14 16:37:10
126+ Users:
127+ - Name: root
128+ History:
129+ - rpool/USERDATA/root_0y7dio@autozsys_SNAPID (2020-04-14 16:37:10)
130+ - Name: u
131+ History:
132+ - rpool/USERDATA/u_0y7dio@autozsys_SNAPID (2020-04-14 16:37:10)
133+ - rpool/USERDATA/u_0y7dio@autozsys_SNAPID (2020-04-14 16:34:41)
134+ </code></dd>
135+</dl>
136+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
137+ If an action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include the bug number when you <a href="results#add_result">submit</a> your result.</strong>

Subscribers

People subscribed via source and target branches

to all changes: