Merge ubuntu-manual-tests:FDE_install into ubuntu-manual-tests:main

Proposed by Tim Andersson
Status: Merged
Merged at revision: 89e8cad0931edc112affd006e7da26b2b45c243c
Proposed branch: ubuntu-manual-tests:FDE_install
Merge into: ubuntu-manual-tests:main
Diff against target: 596 lines (+389/-13)
16 files modified
definitions/canary_desktop_cases.xml (+74/-1)
testcases/image/1760_Canary Install (entire disk no tpm) (+89/-0)
testcases/image/1761_Canary Install (manual partitioning) (+1/-1)
testcases/image/1762_Canary Install (auto-resize) (+1/-1)
testcases/image/1763_Canary Install (entire disk with lvm and encryption) (+1/-1)
testcases/image/1764_Canary Install (Safe Graphics mode) (+1/-1)
testcases/image/1765_Canary Install RST (+1/-1)
testcases/image/1766_Canary Install Bitlocker (+1/-1)
testcases/image/1768_Canary Install (manual partitioning re-using home partition) (+1/-1)
testcases/image/1769_Canary Non-English Installation No Network (+13/-1)
testcases/image/1770_Canary Install (Screen Reader) (+1/-1)
testcases/image/1771_Canary Install UEFI SecureBoot nVidia (+1/-1)
testcases/image/1772_Canary Install (erase and re-install) (+1/-1)
testcases/image/1773_Canary Non-English Installation Online and CJK Input (+1/-1)
testcases/image/1775_Canary Install (entire disk with TPM encryption) (+104/-0)
testcases/image/1776_Canary Install no TPM option without TPM support (+98/-0)
Reviewer Review Type Date Requested Status
Brian Murray Needs Fixing
Review via email: mp+449743@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Tim Andersson (andersson123) wrote :

(WIP)

Revision history for this message
Tim Andersson (andersson123) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Multiple existing tests have the "enable-full-disk-encryption-tpm" and "tpm-on-boot" test id's added to them where they actually not possible. Did you mean to add the "full-disk-encryption-no-tpm-not-available" and "no-tpm-check" test id's to those test cases?

Based on a conversation with a subiquity developer I believe the test case with description "Canary Install no TPM option with low disk space" needs a re-think. See bug 2028889 for details.

review: Needs Fixing
Revision history for this message
Tim Andersson (andersson123) :
Revision history for this message
Tim Andersson (andersson123) wrote :

The low disk space install test has been removed since the bug is marked as fix-released. If this isn't the right approach let me know. Disk size changes based on install so it's hard to give a straight defined install disk size for each test, as far as I can garner from that discussion.

I've removed the tpm install steps from some of the tests that I thought perhaps it wasn't applicable to as well. Please re-review and let me know.

Revision history for this message
Brian Murray (brian-murray) wrote :

To make reviewing this a bit easier I generated the new test cases using `tools/test_case_gen definitions/canary_desktop_cases.xml`. (Maybe we should run that command with appropriate arguments before submitting the MP?)

Then looking at the generated test cases I have the following comments:

1761 - manual partitioning and FDE are mutually exclusive so this test case doesn't need any TPM additions
1762 - Can you resize an existing install and then do an FDE install alongside it? (I don't know!) Regardless if you can we'd want an auto-resize w/ FDE and and an auto-resize w/o FDE test case - so there should be a new test added for the latter.
1764 - This doesn't require any changes as installing with FDE after safe graphics mode wouldn't change the installed system afaik
1769 - Here we'd want a new test case that is essentially the same but with the addition of FDE
1770, 1772, 1773 - I don't think we need FDE variations of these test cases given what they are testing

Thanks!

review: Needs Fixing
Revision history for this message
Tim Andersson (andersson123) wrote :

I checked with a VM and I don't think it's possible to install alongside with TPM FDE.

Revision history for this message
Tim Andersson (andersson123) wrote :

I did discover this bug with 1773 when installing with FDE:
https://bugs.launchpad.net/subiquity/+bug/2034581

Maybe we should keep it with FDE?

Revision history for this message
Tim Andersson (andersson123) wrote :

I've made some amendments and used the script to generate the test cases now (missed that before, woops). Let me know what you think!

Revision history for this message
Brian Murray (brian-murray) wrote :

Test testcases directory already had testcases numbered 1775 and 1776 so I renumbered those after merging this.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/definitions/canary_desktop_cases.xml b/definitions/canary_desktop_cases.xml
2index fc632c9..e3825bb 100644
3--- a/definitions/canary_desktop_cases.xml
4+++ b/definitions/canary_desktop_cases.xml
5@@ -212,7 +212,53 @@
6 <dd>The system loads into FAMILY showing username selected</dd>
7 </ut:test>
8
9- <ut:case id="1760_Canary Install (entire disk)">
10+ <ut:test id="enable-full-disk-encryption-tpm">
11+ <dt>Click on "Advanced features"</dt>
12+ <dd>Click on the tickbox for "Enhanced secure-boot"</dd>
13+ <dd>Click on the tickbox for Hardware-backed full disk encryption</dd>
14+ <dd>Click "Ok"</dd>
15+ <dt>Click Continue</dt>
16+ </ut:test>
17+
18+ <ut:test id="hardware-backed-full-disk-encryption-no-tpm-not-available">
19+ <dt>Click on "Advanced features"</dt>
20+ <dd>There should be no tickbox for "Enhanced secure-boot"</dd>
21+ <dd>Click "Ok"</dd>
22+ <dt>Click Continue</dt>
23+ </ut:test>
24+
25+ <ut:test id="no-tpm-check">
26+ <dt>Click on "Advanced features"</dt>
27+ <dt>Verify there is no option for Hardware-backed full disk encryption with TPM.</dt>
28+ </ut:test>
29+
30+ <ut:test id="no-tpm-reason-no-tpm">
31+ <dt>For this check, please use a system with no TPM enabled hardware</dt>
32+ </ut:test>
33+
34+ <ut:test id="no-tpm-reason-low-disk">
35+ <dt>For this check, please use a system with TPM enabled hardware, with approx 20G of disk space. The install should fail later on.</dt>
36+ </ut:test>
37+
38+ <ut:test id="no-tpm-reason-misc-template">
39+ <dt>For this check, please use a system with TPM enabled hardware, with $REASONITWILLFAIL.</dt>
40+ </ut:test>
41+
42+ <ut:test id="tpm-on-boot">
43+ <dt>After rebooting, log in to the installed system and run `snap list`, and check that the `pc-kernel` package is installed.</dt>
44+ <dt>Open up a terminal window, and try to run this command: `sudo apt install linux-image-generic`.</dt>
45+ <dd>You should get a response which includes this message: `boot-managed-by-snapd : Conflicts: linux-image`</dd>
46+ </ut:test>
47+
48+ <ut:test id="hw-requirements">
49+ <dt>In order to do full disk encryption with TPM, you either need to make sure you're using a piece of hardware that has TPM functionality, or you can install with a VM, making sure you have the correct options set to emulate a TPM backed system.</dt>
50+ </ut:test>
51+
52+ <ut:test id="should-fail">
53+ <dt>Somewhere along the installation process, either in the install screen or after reboot, the install should fail.</dt>
54+ </ut:test>
55+
56+ <ut:case id="1760_Canary Install (entire disk no tpm)">
57 <ut:include ref="grub" />
58 <ut:include ref="try-or-install" />
59 <ut:include ref="start" />
60@@ -321,10 +367,12 @@
61 <ut:include ref="try-or-install" />
62 <ut:include ref="start" />
63 <ut:include ref="select-installation-type" />
64+ <ut:include ref="enable-full-disk-encryption-tpm"/>
65 <ut:include ref="entire-disk" />
66 <ut:include ref="setup" />
67 <ut:include ref="reboot-ubuntu" />
68 <dt>Verify that your system is localized and that the calendar shows the regional settings correctly</dt>
69+ <ut:include ref="tpm-on-boot" />
70 </ut:case>
71
72 <ut:case id="1770_Canary Install (Screen Reader)">
73@@ -425,4 +473,29 @@
74 <p>The goal of this test case is to check that the Easy Install option in VMWare Player works correctly with the Ubuntu image.</p>
75 </ut:case>
76
77+ <ut:case id="1775_Canary Install (entire disk with TPM encryption)">
78+ <ut:include ref="grub" />
79+ <ut:include ref="try-or-install" />
80+ <ut:include ref="start" />
81+ <ut:include ref="select-installation-type" />
82+ <ut:include ref="enable-full-disk-encryption-tpm"/>
83+ <ut:include ref="hw-requirements"/>
84+ <ut:include ref="entire-disk" />
85+ <ut:include ref="setup" />
86+ <ut:include ref="reboot-ubuntu" />
87+ <ut:include ref="tpm-on-boot" />
88+ </ut:case>
89+
90+ <ut:case id="1776_Canary Install no TPM option without TPM support">
91+ <ut:include ref="grub" />
92+ <ut:include ref="try-or-install" />
93+ <ut:include ref="start" />
94+ <ut:include ref="select-installation-type" />
95+ <ut:include ref="no-tpm-reason-no-tpm"/>
96+ <ut:include ref="hardware-backed-full-disk-encryption-no-tpm-not-available"/>
97+ <ut:include ref="entire-disk" />
98+ <ut:include ref="setup" />
99+ <ut:include ref="reboot-ubuntu" />
100+ </ut:case>
101+
102 </ut:configuration>
103diff --git a/testcases/image/1760_Canary Install (entire disk no tpm) b/testcases/image/1760_Canary Install (entire disk no tpm)
104new file mode 100644
105index 0000000..ab97c39
106--- /dev/null
107+++ b/testcases/image/1760_Canary Install (entire disk no tpm)
108@@ -0,0 +1,89 @@
109+<!-- Please do not edit this file directly; it was generated with the
110+ tools/test_case_gen script using the following configuration as input:
111+ definitions/canary_desktop_cases.xml
112+-->
113+
114+ <p><em>Proceed in your native language if you wish. Instructions will remain in English.</em></p>
115+ <dl>
116+
117+
118+ <dt>Boot up the image</dt>
119+ <dd>If you see the GRUB boot menu you should see the following:</dd>
120+ <dd>
121+ <li>'Try or Install FAMILY'</li>
122+ <li>'FAMILY (safe graphics)'</li>
123+ <li>'OEM install (for manufacturers)'</li>
124+ <li>'Test memory' (only on BIOS systems)</li>
125+ </dd>
126+
127+
128+ <dt>Select the 'Try or Install FAMILY' option and press Enter</dt>
129+ <dd>The system boots properly and loads the installer displaying the Welcome dialog with language selection and the mascot logo on the right.'</dd>
130+
131+
132+ <dt>Click on 'Continue'</dt>
133+ <dd>The 'Try or Install' screen is displayed with 'try FAMILY' and 'Install FAMILY' buttons</dd>
134+ <dt>Click on the release notes hyperlink to confirm that a browser launches and you are taken to the release notes discourse page.</dt>
135+ <dt>Click on the 'Install FAMILY' icon to select the option and click on the Continue button</dt>
136+ <dd>The 'Keyboard layout' screen appears</dd>
137+ <dd>The proposed keyboard corresponds with your keyboard</dd>
138+ <dt>Select your keyboard layout and click on Continue</dt>
139+ <dd>The 'Connect to internet' screen is displayed</dd>
140+ <dd>The screen should reflect the current status and display those elements</dd>
141+ <dd>
142+ <li>Wired connection</li>
143+ <li>Connect to a Wi-Fi network followed by a scrollable list of available APs, displaying an active one colored with a leading checkmark</li>
144+ <li>Connect to a hidden Wi-Fi network</li>
145+ <li>I don't want to connect to internet for now</li>
146+ </dd>
147+ <dt>Click on 'Continue'</dt>
148+ <dd>The 'Updates and other software' screen is displayed, listing normal and minimal installation.</dd>
149+
150+
151+ <dt>Click on 'Continue'</dt>
152+ <dd>The 'Installation type' screen is displayed</dd>
153+
154+
155+ <dt>Note the state of the 'Erase disk and install FAMILY' radio button</dt>
156+ <dd>The 'Erase disk and install FAMILY' radio button is selected and the 'Advanced features' button is active</dd>
157+ <dt>Click on 'Continue'</dt>
158+ <dd>The 'Write changes to disk' screen is displayed, including the details of incoming partitions changes.</dd>
159+ <dt>Verify that the partitioning details make sense</dt>
160+ <dd>The available disk should be used for the installation</dd>
161+ <dt>Click 'Start Installing'</dt>
162+
163+
164+ <dd>The 'Where are you?' screen is displayed</dd>
165+ <dt>If your system is connected to the network, note the preselected timezone corresponds with your timezone and the city indicated in the text box</dt>
166+ <dd>The timezone and city displayed match your timezone and a major city from your area</dd>
167+ <dt>Select your timezone, and click on the Continue button</dt>
168+ <dd>The 'Who are you?' screen appears</dd>
169+ <dt>Input your initial user details and password <em>admin can not be used - it is a dedicated Linux User</em></dt>
170+
171+ <dd>Name, username and password are accepted.</dd>
172+ <dd>Continue button becomes available</dd>
173+ <dt>Click on 'Continue'</dt>
174+ <dd>The 'Choose your look' screen is displayed showing light and dark options</dd>
175+ <dt>Click on 'Continue'</dt>
176+ <dd>The 'Welcome to FAMILY' slide is displayed</dd>
177+ <dd>The slideshow is entirely in your language</dd>
178+ <dt>Wait for the installer to finish</dt>
179+ <dd>An 'Installation Complete' dialog appears</dd>
180+ <dt>Click the 'Restart into FAMILY XX.XX' button</dt>
181+ <dd>GUI is shut down, a prompt to remove media and press Enter appears</dd>
182+ <dt>Remove the disc and press enter</dt>
183+ <dd>The machine is rebooted</dd>
184+
185+
186+ <dt>Allow the machine to reboot</dt>
187+ <dd>The system boots properly and loads into FAMILY showing username selected</dd>
188+
189+
190+ </dl>
191+ <p>If <strong>all</strong> actions produce the expected results described,
192+ please <a href="results#add_result">submit</a> a 'passed' result.</p>
193+ <p>If <strong>any</strong> action fails, or produces an unexpected result,
194+ please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include
195+ the bug number when you <a href="results#add_result">submit</a> your
196+ result.</p>
197+
198\ No newline at end of file
199diff --git a/testcases/image/1761_Canary Install (manual partitioning) b/testcases/image/1761_Canary Install (manual partitioning)
200index 334564e..88ae18e 100644
201--- a/testcases/image/1761_Canary Install (manual partitioning)
202+++ b/testcases/image/1761_Canary Install (manual partitioning)
203@@ -13,7 +13,7 @@
204 <li>'Try or Install FAMILY'</li>
205 <li>'FAMILY (safe graphics)'</li>
206 <li>'OEM install (for manufacturers)'</li>
207- <li>'Memory test' (only on BIOS systems)</li>
208+ <li>'Test memory' (only on BIOS systems)</li>
209 </dd>
210
211
212diff --git a/testcases/image/1762_Canary Install (auto-resize) b/testcases/image/1762_Canary Install (auto-resize)
213index aa92422..97e5e9d 100644
214--- a/testcases/image/1762_Canary Install (auto-resize)
215+++ b/testcases/image/1762_Canary Install (auto-resize)
216@@ -13,7 +13,7 @@
217 <li>'Try or Install FAMILY'</li>
218 <li>'FAMILY (safe graphics)'</li>
219 <li>'OEM install (for manufacturers)'</li>
220- <li>'Memory test' (only on BIOS systems)</li>
221+ <li>'Test memory' (only on BIOS systems)</li>
222 </dd>
223
224
225diff --git a/testcases/image/1763_Canary Install (entire disk with lvm and encryption) b/testcases/image/1763_Canary Install (entire disk with lvm and encryption)
226index 0bb3439..f9f5ae9 100644
227--- a/testcases/image/1763_Canary Install (entire disk with lvm and encryption)
228+++ b/testcases/image/1763_Canary Install (entire disk with lvm and encryption)
229@@ -13,7 +13,7 @@
230 <li>'Try or Install FAMILY'</li>
231 <li>'FAMILY (safe graphics)'</li>
232 <li>'OEM install (for manufacturers)'</li>
233- <li>'Memory test' (only on BIOS systems)</li>
234+ <li>'Test memory' (only on BIOS systems)</li>
235 </dd>
236
237
238diff --git a/testcases/image/1764_Canary Install (Safe Graphics mode) b/testcases/image/1764_Canary Install (Safe Graphics mode)
239index fc18dd5..939f3a5 100644
240--- a/testcases/image/1764_Canary Install (Safe Graphics mode)
241+++ b/testcases/image/1764_Canary Install (Safe Graphics mode)
242@@ -13,7 +13,7 @@
243 <li>'Try or Install FAMILY'</li>
244 <li>'FAMILY (safe graphics)'</li>
245 <li>'OEM install (for manufacturers)'</li>
246- <li>'Memory test' (only on BIOS systems)</li>
247+ <li>'Test memory' (only on BIOS systems)</li>
248 </dd>
249
250
251diff --git a/testcases/image/1765_Canary Install RST b/testcases/image/1765_Canary Install RST
252index 541f10f..086ed67 100644
253--- a/testcases/image/1765_Canary Install RST
254+++ b/testcases/image/1765_Canary Install RST
255@@ -19,7 +19,7 @@
256 <li>'Try or Install FAMILY'</li>
257 <li>'FAMILY (safe graphics)'</li>
258 <li>'OEM install (for manufacturers)'</li>
259- <li>'Memory test' (only on BIOS systems)</li>
260+ <li>'Test memory' (only on BIOS systems)</li>
261 </dd>
262
263
264diff --git a/testcases/image/1766_Canary Install Bitlocker b/testcases/image/1766_Canary Install Bitlocker
265index 701bf2e..1086179 100644
266--- a/testcases/image/1766_Canary Install Bitlocker
267+++ b/testcases/image/1766_Canary Install Bitlocker
268@@ -16,7 +16,7 @@
269 <li>'Try or Install FAMILY'</li>
270 <li>'FAMILY (safe graphics)'</li>
271 <li>'OEM install (for manufacturers)'</li>
272- <li>'Memory test' (only on BIOS systems)</li>
273+ <li>'Test memory' (only on BIOS systems)</li>
274 </dd>
275
276
277diff --git a/testcases/image/1768_Canary Install (manual partitioning re-using home partition) b/testcases/image/1768_Canary Install (manual partitioning re-using home partition)
278index afdda2d..7fa6f50 100644
279--- a/testcases/image/1768_Canary Install (manual partitioning re-using home partition)
280+++ b/testcases/image/1768_Canary Install (manual partitioning re-using home partition)
281@@ -13,7 +13,7 @@
282 <li>'Try or Install FAMILY'</li>
283 <li>'FAMILY (safe graphics)'</li>
284 <li>'OEM install (for manufacturers)'</li>
285- <li>'Memory test' (only on BIOS systems)</li>
286+ <li>'Test memory' (only on BIOS systems)</li>
287 </dd>
288
289
290diff --git a/testcases/image/1769_Canary Non-English Installation No Network b/testcases/image/1769_Canary Non-English Installation No Network
291index c3a014d..57b63ea 100644
292--- a/testcases/image/1769_Canary Non-English Installation No Network
293+++ b/testcases/image/1769_Canary Non-English Installation No Network
294@@ -18,7 +18,7 @@
295 <li>'Try or Install FAMILY'</li>
296 <li>'FAMILY (safe graphics)'</li>
297 <li>'OEM install (for manufacturers)'</li>
298- <li>'Memory test' (only on BIOS systems)</li>
299+ <li>'Test memory' (only on BIOS systems)</li>
300 </dd>
301
302
303@@ -49,6 +49,13 @@
304 <dd>The 'Installation type' screen is displayed</dd>
305
306
307+ <dt>Click on "Advanced features"</dt>
308+ <dd>Click on the tickbox for "Enhanced secure-boot"</dd>
309+ <dd>Click on the tickbox for Hardware-backed full disk encryption</dd>
310+ <dd>Click "Ok"</dd>
311+ <dt>Click Continue</dt>
312+
313+
314 <dt>Note the state of the 'Erase disk and install FAMILY' radio button</dt>
315 <dd>The 'Erase disk and install FAMILY' radio button is selected and the 'Advanced features' button is active</dd>
316 <dt>Click on 'Continue'</dt>
317@@ -84,6 +91,11 @@
318 <dd>The system boots properly and loads into FAMILY showing username selected</dd>
319
320 <dt>Verify that your system is localized and that the calendar shows the regional settings correctly</dt>
321+
322+ <dt>After rebooting, log in to the installed system and run `snap list`, and check that the `pc-kernel` package is installed.</dt>
323+ <dt>Open up a terminal window, and try to run this command: `sudo apt install linux-image-generic`.</dt>
324+ <dd>You should get a response which includes this message: `boot-managed-by-snapd : Conflicts: linux-image`</dd>
325+
326
327 </dl>
328 <p>If <strong>all</strong> actions produce the expected results described,
329diff --git a/testcases/image/1770_Canary Install (Screen Reader) b/testcases/image/1770_Canary Install (Screen Reader)
330index 798568c..fd97c86 100644
331--- a/testcases/image/1770_Canary Install (Screen Reader)
332+++ b/testcases/image/1770_Canary Install (Screen Reader)
333@@ -18,7 +18,7 @@
334 <li>'Try or Install FAMILY'</li>
335 <li>'FAMILY (safe graphics)'</li>
336 <li>'OEM install (for manufacturers)'</li>
337- <li>'Memory test' (only on BIOS systems)</li>
338+ <li>'Test memory' (only on BIOS systems)</li>
339 </dd>
340
341
342diff --git a/testcases/image/1771_Canary Install UEFI SecureBoot nVidia b/testcases/image/1771_Canary Install UEFI SecureBoot nVidia
343index c4f992e..7ec8936 100644
344--- a/testcases/image/1771_Canary Install UEFI SecureBoot nVidia
345+++ b/testcases/image/1771_Canary Install UEFI SecureBoot nVidia
346@@ -17,7 +17,7 @@
347 <li>'Try or Install FAMILY'</li>
348 <li>'FAMILY (safe graphics)'</li>
349 <li>'OEM install (for manufacturers)'</li>
350- <li>'Memory test' (only on BIOS systems)</li>
351+ <li>'Test memory' (only on BIOS systems)</li>
352 </dd>
353
354
355diff --git a/testcases/image/1772_Canary Install (erase and re-install) b/testcases/image/1772_Canary Install (erase and re-install)
356index fa1ce59..44d4db3 100644
357--- a/testcases/image/1772_Canary Install (erase and re-install)
358+++ b/testcases/image/1772_Canary Install (erase and re-install)
359@@ -13,7 +13,7 @@
360 <li>'Try or Install FAMILY'</li>
361 <li>'FAMILY (safe graphics)'</li>
362 <li>'OEM install (for manufacturers)'</li>
363- <li>'Memory test' (only on BIOS systems)</li>
364+ <li>'Test memory' (only on BIOS systems)</li>
365 </dd>
366
367
368diff --git a/testcases/image/1773_Canary Non-English Installation Online and CJK Input b/testcases/image/1773_Canary Non-English Installation Online and CJK Input
369index f2f24c0..9b05ff0 100644
370--- a/testcases/image/1773_Canary Non-English Installation Online and CJK Input
371+++ b/testcases/image/1773_Canary Non-English Installation Online and CJK Input
372@@ -14,7 +14,7 @@
373 <li>'Try or Install FAMILY'</li>
374 <li>'FAMILY (safe graphics)'</li>
375 <li>'OEM install (for manufacturers)'</li>
376- <li>'Memory test' (only on BIOS systems)</li>
377+ <li>'Test memory' (only on BIOS systems)</li>
378 </dd>
379
380
381diff --git a/testcases/image/1775_Canary Install (entire disk with TPM encryption) b/testcases/image/1775_Canary Install (entire disk with TPM encryption)
382new file mode 100644
383index 0000000..dab885b
384--- /dev/null
385+++ b/testcases/image/1775_Canary Install (entire disk with TPM encryption)
386@@ -0,0 +1,104 @@
387+<!-- Please do not edit this file directly; it was generated with the
388+ tools/test_case_gen script using the following configuration as input:
389+ definitions/canary_desktop_cases.xml
390+-->
391+
392+ <p><em>Proceed in your native language if you wish. Instructions will remain in English.</em></p>
393+ <dl>
394+
395+
396+ <dt>Boot up the image</dt>
397+ <dd>If you see the GRUB boot menu you should see the following:</dd>
398+ <dd>
399+ <li>'Try or Install FAMILY'</li>
400+ <li>'FAMILY (safe graphics)'</li>
401+ <li>'OEM install (for manufacturers)'</li>
402+ <li>'Test memory' (only on BIOS systems)</li>
403+ </dd>
404+
405+
406+ <dt>Select the 'Try or Install FAMILY' option and press Enter</dt>
407+ <dd>The system boots properly and loads the installer displaying the Welcome dialog with language selection and the mascot logo on the right.'</dd>
408+
409+
410+ <dt>Click on 'Continue'</dt>
411+ <dd>The 'Try or Install' screen is displayed with 'try FAMILY' and 'Install FAMILY' buttons</dd>
412+ <dt>Click on the release notes hyperlink to confirm that a browser launches and you are taken to the release notes discourse page.</dt>
413+ <dt>Click on the 'Install FAMILY' icon to select the option and click on the Continue button</dt>
414+ <dd>The 'Keyboard layout' screen appears</dd>
415+ <dd>The proposed keyboard corresponds with your keyboard</dd>
416+ <dt>Select your keyboard layout and click on Continue</dt>
417+ <dd>The 'Connect to internet' screen is displayed</dd>
418+ <dd>The screen should reflect the current status and display those elements</dd>
419+ <dd>
420+ <li>Wired connection</li>
421+ <li>Connect to a Wi-Fi network followed by a scrollable list of available APs, displaying an active one colored with a leading checkmark</li>
422+ <li>Connect to a hidden Wi-Fi network</li>
423+ <li>I don't want to connect to internet for now</li>
424+ </dd>
425+ <dt>Click on 'Continue'</dt>
426+ <dd>The 'Updates and other software' screen is displayed, listing normal and minimal installation.</dd>
427+
428+
429+ <dt>Click on 'Continue'</dt>
430+ <dd>The 'Installation type' screen is displayed</dd>
431+
432+
433+ <dt>Click on "Advanced features"</dt>
434+ <dd>Click on the tickbox for "Enhanced secure-boot"</dd>
435+ <dd>Click on the tickbox for Hardware-backed full disk encryption</dd>
436+ <dd>Click "Ok"</dd>
437+ <dt>Click Continue</dt>
438+
439+
440+ <dt>In order to do full disk encryption with TPM, you either need to make sure you're using a piece of hardware that has TPM functionality, or you can install with a VM, making sure you have the correct options set to emulate a TPM backed system.</dt>
441+
442+
443+ <dt>Note the state of the 'Erase disk and install FAMILY' radio button</dt>
444+ <dd>The 'Erase disk and install FAMILY' radio button is selected and the 'Advanced features' button is active</dd>
445+ <dt>Click on 'Continue'</dt>
446+ <dd>The 'Write changes to disk' screen is displayed, including the details of incoming partitions changes.</dd>
447+ <dt>Verify that the partitioning details make sense</dt>
448+ <dd>The available disk should be used for the installation</dd>
449+ <dt>Click 'Start Installing'</dt>
450+
451+
452+ <dd>The 'Where are you?' screen is displayed</dd>
453+ <dt>If your system is connected to the network, note the preselected timezone corresponds with your timezone and the city indicated in the text box</dt>
454+ <dd>The timezone and city displayed match your timezone and a major city from your area</dd>
455+ <dt>Select your timezone, and click on the Continue button</dt>
456+ <dd>The 'Who are you?' screen appears</dd>
457+ <dt>Input your initial user details and password <em>admin can not be used - it is a dedicated Linux User</em></dt>
458+
459+ <dd>Name, username and password are accepted.</dd>
460+ <dd>Continue button becomes available</dd>
461+ <dt>Click on 'Continue'</dt>
462+ <dd>The 'Choose your look' screen is displayed showing light and dark options</dd>
463+ <dt>Click on 'Continue'</dt>
464+ <dd>The 'Welcome to FAMILY' slide is displayed</dd>
465+ <dd>The slideshow is entirely in your language</dd>
466+ <dt>Wait for the installer to finish</dt>
467+ <dd>An 'Installation Complete' dialog appears</dd>
468+ <dt>Click the 'Restart into FAMILY XX.XX' button</dt>
469+ <dd>GUI is shut down, a prompt to remove media and press Enter appears</dd>
470+ <dt>Remove the disc and press enter</dt>
471+ <dd>The machine is rebooted</dd>
472+
473+
474+ <dt>Allow the machine to reboot</dt>
475+ <dd>The system boots properly and loads into FAMILY showing username selected</dd>
476+
477+
478+ <dt>After rebooting, log in to the installed system and run `snap list`, and check that the `pc-kernel` package is installed.</dt>
479+ <dt>Open up a terminal window, and try to run this command: `sudo apt install linux-image-generic`.</dt>
480+ <dd>You should get a response which includes this message: `boot-managed-by-snapd : Conflicts: linux-image`</dd>
481+
482+
483+ </dl>
484+ <p>If <strong>all</strong> actions produce the expected results described,
485+ please <a href="results#add_result">submit</a> a 'passed' result.</p>
486+ <p>If <strong>any</strong> action fails, or produces an unexpected result,
487+ please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include
488+ the bug number when you <a href="results#add_result">submit</a> your
489+ result.</p>
490+
491\ No newline at end of file
492diff --git a/testcases/image/1776_Canary Install no TPM option without TPM support b/testcases/image/1776_Canary Install no TPM option without TPM support
493new file mode 100644
494index 0000000..7ae3364
495--- /dev/null
496+++ b/testcases/image/1776_Canary Install no TPM option without TPM support
497@@ -0,0 +1,98 @@
498+<!-- Please do not edit this file directly; it was generated with the
499+ tools/test_case_gen script using the following configuration as input:
500+ definitions/canary_desktop_cases.xml
501+-->
502+
503+ <p><em>Proceed in your native language if you wish. Instructions will remain in English.</em></p>
504+ <dl>
505+
506+
507+ <dt>Boot up the image</dt>
508+ <dd>If you see the GRUB boot menu you should see the following:</dd>
509+ <dd>
510+ <li>'Try or Install FAMILY'</li>
511+ <li>'FAMILY (safe graphics)'</li>
512+ <li>'OEM install (for manufacturers)'</li>
513+ <li>'Test memory' (only on BIOS systems)</li>
514+ </dd>
515+
516+
517+ <dt>Select the 'Try or Install FAMILY' option and press Enter</dt>
518+ <dd>The system boots properly and loads the installer displaying the Welcome dialog with language selection and the mascot logo on the right.'</dd>
519+
520+
521+ <dt>Click on 'Continue'</dt>
522+ <dd>The 'Try or Install' screen is displayed with 'try FAMILY' and 'Install FAMILY' buttons</dd>
523+ <dt>Click on the release notes hyperlink to confirm that a browser launches and you are taken to the release notes discourse page.</dt>
524+ <dt>Click on the 'Install FAMILY' icon to select the option and click on the Continue button</dt>
525+ <dd>The 'Keyboard layout' screen appears</dd>
526+ <dd>The proposed keyboard corresponds with your keyboard</dd>
527+ <dt>Select your keyboard layout and click on Continue</dt>
528+ <dd>The 'Connect to internet' screen is displayed</dd>
529+ <dd>The screen should reflect the current status and display those elements</dd>
530+ <dd>
531+ <li>Wired connection</li>
532+ <li>Connect to a Wi-Fi network followed by a scrollable list of available APs, displaying an active one colored with a leading checkmark</li>
533+ <li>Connect to a hidden Wi-Fi network</li>
534+ <li>I don't want to connect to internet for now</li>
535+ </dd>
536+ <dt>Click on 'Continue'</dt>
537+ <dd>The 'Updates and other software' screen is displayed, listing normal and minimal installation.</dd>
538+
539+
540+ <dt>Click on 'Continue'</dt>
541+ <dd>The 'Installation type' screen is displayed</dd>
542+
543+
544+ <dt>For this check, please use a system with no TPM enabled hardware</dt>
545+
546+
547+ <dt>Click on "Advanced features"</dt>
548+ <dd>There should be no tickbox for "Enhanced secure-boot"</dd>
549+ <dd>Click "Ok"</dd>
550+ <dt>Click Continue</dt>
551+
552+
553+ <dt>Note the state of the 'Erase disk and install FAMILY' radio button</dt>
554+ <dd>The 'Erase disk and install FAMILY' radio button is selected and the 'Advanced features' button is active</dd>
555+ <dt>Click on 'Continue'</dt>
556+ <dd>The 'Write changes to disk' screen is displayed, including the details of incoming partitions changes.</dd>
557+ <dt>Verify that the partitioning details make sense</dt>
558+ <dd>The available disk should be used for the installation</dd>
559+ <dt>Click 'Start Installing'</dt>
560+
561+
562+ <dd>The 'Where are you?' screen is displayed</dd>
563+ <dt>If your system is connected to the network, note the preselected timezone corresponds with your timezone and the city indicated in the text box</dt>
564+ <dd>The timezone and city displayed match your timezone and a major city from your area</dd>
565+ <dt>Select your timezone, and click on the Continue button</dt>
566+ <dd>The 'Who are you?' screen appears</dd>
567+ <dt>Input your initial user details and password <em>admin can not be used - it is a dedicated Linux User</em></dt>
568+
569+ <dd>Name, username and password are accepted.</dd>
570+ <dd>Continue button becomes available</dd>
571+ <dt>Click on 'Continue'</dt>
572+ <dd>The 'Choose your look' screen is displayed showing light and dark options</dd>
573+ <dt>Click on 'Continue'</dt>
574+ <dd>The 'Welcome to FAMILY' slide is displayed</dd>
575+ <dd>The slideshow is entirely in your language</dd>
576+ <dt>Wait for the installer to finish</dt>
577+ <dd>An 'Installation Complete' dialog appears</dd>
578+ <dt>Click the 'Restart into FAMILY XX.XX' button</dt>
579+ <dd>GUI is shut down, a prompt to remove media and press Enter appears</dd>
580+ <dt>Remove the disc and press enter</dt>
581+ <dd>The machine is rebooted</dd>
582+
583+
584+ <dt>Allow the machine to reboot</dt>
585+ <dd>The system boots properly and loads into FAMILY showing username selected</dd>
586+
587+
588+ </dl>
589+ <p>If <strong>all</strong> actions produce the expected results described,
590+ please <a href="results#add_result">submit</a> a 'passed' result.</p>
591+ <p>If <strong>any</strong> action fails, or produces an unexpected result,
592+ please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include
593+ the bug number when you <a href="results#add_result">submit</a> your
594+ result.</p>
595+
596\ No newline at end of file

Subscribers

People subscribed via source and target branches

to all changes: