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
diff --git a/definitions/canary_desktop_cases.xml b/definitions/canary_desktop_cases.xml
index fc632c9..e3825bb 100644
--- a/definitions/canary_desktop_cases.xml
+++ b/definitions/canary_desktop_cases.xml
@@ -212,7 +212,53 @@
212 <dd>The system loads into FAMILY showing username selected</dd>212 <dd>The system loads into FAMILY showing username selected</dd>
213 </ut:test>213 </ut:test>
214214
215 <ut:case id="1760_Canary Install (entire disk)">215 <ut:test id="enable-full-disk-encryption-tpm">
216 <dt>Click on "Advanced features"</dt>
217 <dd>Click on the tickbox for "Enhanced secure-boot"</dd>
218 <dd>Click on the tickbox for Hardware-backed full disk encryption</dd>
219 <dd>Click "Ok"</dd>
220 <dt>Click Continue</dt>
221 </ut:test>
222
223 <ut:test id="hardware-backed-full-disk-encryption-no-tpm-not-available">
224 <dt>Click on "Advanced features"</dt>
225 <dd>There should be no tickbox for "Enhanced secure-boot"</dd>
226 <dd>Click "Ok"</dd>
227 <dt>Click Continue</dt>
228 </ut:test>
229
230 <ut:test id="no-tpm-check">
231 <dt>Click on "Advanced features"</dt>
232 <dt>Verify there is no option for Hardware-backed full disk encryption with TPM.</dt>
233 </ut:test>
234
235 <ut:test id="no-tpm-reason-no-tpm">
236 <dt>For this check, please use a system with no TPM enabled hardware</dt>
237 </ut:test>
238
239 <ut:test id="no-tpm-reason-low-disk">
240 <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>
241 </ut:test>
242
243 <ut:test id="no-tpm-reason-misc-template">
244 <dt>For this check, please use a system with TPM enabled hardware, with $REASONITWILLFAIL.</dt>
245 </ut:test>
246
247 <ut:test id="tpm-on-boot">
248 <dt>After rebooting, log in to the installed system and run `snap list`, and check that the `pc-kernel` package is installed.</dt>
249 <dt>Open up a terminal window, and try to run this command: `sudo apt install linux-image-generic`.</dt>
250 <dd>You should get a response which includes this message: `boot-managed-by-snapd : Conflicts: linux-image`</dd>
251 </ut:test>
252
253 <ut:test id="hw-requirements">
254 <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>
255 </ut:test>
256
257 <ut:test id="should-fail">
258 <dt>Somewhere along the installation process, either in the install screen or after reboot, the install should fail.</dt>
259 </ut:test>
260
261 <ut:case id="1760_Canary Install (entire disk no tpm)">
216 <ut:include ref="grub" />262 <ut:include ref="grub" />
217 <ut:include ref="try-or-install" />263 <ut:include ref="try-or-install" />
218 <ut:include ref="start" />264 <ut:include ref="start" />
@@ -321,10 +367,12 @@
321 <ut:include ref="try-or-install" />367 <ut:include ref="try-or-install" />
322 <ut:include ref="start" />368 <ut:include ref="start" />
323 <ut:include ref="select-installation-type" />369 <ut:include ref="select-installation-type" />
370 <ut:include ref="enable-full-disk-encryption-tpm"/>
324 <ut:include ref="entire-disk" />371 <ut:include ref="entire-disk" />
325 <ut:include ref="setup" />372 <ut:include ref="setup" />
326 <ut:include ref="reboot-ubuntu" />373 <ut:include ref="reboot-ubuntu" />
327 <dt>Verify that your system is localized and that the calendar shows the regional settings correctly</dt>374 <dt>Verify that your system is localized and that the calendar shows the regional settings correctly</dt>
375 <ut:include ref="tpm-on-boot" />
328 </ut:case>376 </ut:case>
329377
330 <ut:case id="1770_Canary Install (Screen Reader)">378 <ut:case id="1770_Canary Install (Screen Reader)">
@@ -425,4 +473,29 @@
425 <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>473 <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>
426 </ut:case>474 </ut:case>
427475
476 <ut:case id="1775_Canary Install (entire disk with TPM encryption)">
477 <ut:include ref="grub" />
478 <ut:include ref="try-or-install" />
479 <ut:include ref="start" />
480 <ut:include ref="select-installation-type" />
481 <ut:include ref="enable-full-disk-encryption-tpm"/>
482 <ut:include ref="hw-requirements"/>
483 <ut:include ref="entire-disk" />
484 <ut:include ref="setup" />
485 <ut:include ref="reboot-ubuntu" />
486 <ut:include ref="tpm-on-boot" />
487 </ut:case>
488
489 <ut:case id="1776_Canary Install no TPM option without TPM support">
490 <ut:include ref="grub" />
491 <ut:include ref="try-or-install" />
492 <ut:include ref="start" />
493 <ut:include ref="select-installation-type" />
494 <ut:include ref="no-tpm-reason-no-tpm"/>
495 <ut:include ref="hardware-backed-full-disk-encryption-no-tpm-not-available"/>
496 <ut:include ref="entire-disk" />
497 <ut:include ref="setup" />
498 <ut:include ref="reboot-ubuntu" />
499 </ut:case>
500
428</ut:configuration>501</ut:configuration>
diff --git a/testcases/image/1760_Canary Install (entire disk no tpm) b/testcases/image/1760_Canary Install (entire disk no tpm)
429new file mode 100644502new file mode 100644
index 0000000..ab97c39
--- /dev/null
+++ b/testcases/image/1760_Canary Install (entire disk no tpm)
@@ -0,0 +1,89 @@
1<!-- Please do not edit this file directly; it was generated with the
2 tools/test_case_gen script using the following configuration as input:
3 definitions/canary_desktop_cases.xml
4-->
5
6 <p><em>Proceed in your native language if you wish. Instructions will remain in English.</em></p>
7 <dl>
8
9
10 <dt>Boot up the image</dt>
11 <dd>If you see the GRUB boot menu you should see the following:</dd>
12 <dd>
13 <li>'Try or Install FAMILY'</li>
14 <li>'FAMILY (safe graphics)'</li>
15 <li>'OEM install (for manufacturers)'</li>
16 <li>'Test memory' (only on BIOS systems)</li>
17 </dd>
18
19
20 <dt>Select the 'Try or Install FAMILY' option and press Enter</dt>
21 <dd>The system boots properly and loads the installer displaying the Welcome dialog with language selection and the mascot logo on the right.'</dd>
22
23
24 <dt>Click on 'Continue'</dt>
25 <dd>The 'Try or Install' screen is displayed with 'try FAMILY' and 'Install FAMILY' buttons</dd>
26 <dt>Click on the release notes hyperlink to confirm that a browser launches and you are taken to the release notes discourse page.</dt>
27 <dt>Click on the 'Install FAMILY' icon to select the option and click on the Continue button</dt>
28 <dd>The 'Keyboard layout' screen appears</dd>
29 <dd>The proposed keyboard corresponds with your keyboard</dd>
30 <dt>Select your keyboard layout and click on Continue</dt>
31 <dd>The 'Connect to internet' screen is displayed</dd>
32 <dd>The screen should reflect the current status and display those elements</dd>
33 <dd>
34 <li>Wired connection</li>
35 <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>
36 <li>Connect to a hidden Wi-Fi network</li>
37 <li>I don't want to connect to internet for now</li>
38 </dd>
39 <dt>Click on 'Continue'</dt>
40 <dd>The 'Updates and other software' screen is displayed, listing normal and minimal installation.</dd>
41
42
43 <dt>Click on 'Continue'</dt>
44 <dd>The 'Installation type' screen is displayed</dd>
45
46
47 <dt>Note the state of the 'Erase disk and install FAMILY' radio button</dt>
48 <dd>The 'Erase disk and install FAMILY' radio button is selected and the 'Advanced features' button is active</dd>
49 <dt>Click on 'Continue'</dt>
50 <dd>The 'Write changes to disk' screen is displayed, including the details of incoming partitions changes.</dd>
51 <dt>Verify that the partitioning details make sense</dt>
52 <dd>The available disk should be used for the installation</dd>
53 <dt>Click 'Start Installing'</dt>
54
55
56 <dd>The 'Where are you?' screen is displayed</dd>
57 <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>
58 <dd>The timezone and city displayed match your timezone and a major city from your area</dd>
59 <dt>Select your timezone, and click on the Continue button</dt>
60 <dd>The 'Who are you?' screen appears</dd>
61 <dt>Input your initial user details and password <em>admin can not be used - it is a dedicated Linux User</em></dt>
62
63 <dd>Name, username and password are accepted.</dd>
64 <dd>Continue button becomes available</dd>
65 <dt>Click on 'Continue'</dt>
66 <dd>The 'Choose your look' screen is displayed showing light and dark options</dd>
67 <dt>Click on 'Continue'</dt>
68 <dd>The 'Welcome to FAMILY' slide is displayed</dd>
69 <dd>The slideshow is entirely in your language</dd>
70 <dt>Wait for the installer to finish</dt>
71 <dd>An 'Installation Complete' dialog appears</dd>
72 <dt>Click the 'Restart into FAMILY XX.XX' button</dt>
73 <dd>GUI is shut down, a prompt to remove media and press Enter appears</dd>
74 <dt>Remove the disc and press enter</dt>
75 <dd>The machine is rebooted</dd>
76
77
78 <dt>Allow the machine to reboot</dt>
79 <dd>The system boots properly and loads into FAMILY showing username selected</dd>
80
81
82 </dl>
83 <p>If <strong>all</strong> actions produce the expected results described,
84 please <a href="results#add_result">submit</a> a 'passed' result.</p>
85 <p>If <strong>any</strong> action fails, or produces an unexpected result,
86 please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include
87 the bug number when you <a href="results#add_result">submit</a> your
88 result.</p>
89
0\ No newline at end of file90\ No newline at end of file
diff --git a/testcases/image/1761_Canary Install (manual partitioning) b/testcases/image/1761_Canary Install (manual partitioning)
index 334564e..88ae18e 100644
--- a/testcases/image/1761_Canary Install (manual partitioning)
+++ b/testcases/image/1761_Canary Install (manual partitioning)
@@ -13,7 +13,7 @@
13 <li>'Try or Install FAMILY'</li>13 <li>'Try or Install FAMILY'</li>
14 <li>'FAMILY (safe graphics)'</li>14 <li>'FAMILY (safe graphics)'</li>
15 <li>'OEM install (for manufacturers)'</li>15 <li>'OEM install (for manufacturers)'</li>
16 <li>'Memory test' (only on BIOS systems)</li>16 <li>'Test memory' (only on BIOS systems)</li>
17 </dd>17 </dd>
18 18
19 19
diff --git a/testcases/image/1762_Canary Install (auto-resize) b/testcases/image/1762_Canary Install (auto-resize)
index aa92422..97e5e9d 100644
--- a/testcases/image/1762_Canary Install (auto-resize)
+++ b/testcases/image/1762_Canary Install (auto-resize)
@@ -13,7 +13,7 @@
13 <li>'Try or Install FAMILY'</li>13 <li>'Try or Install FAMILY'</li>
14 <li>'FAMILY (safe graphics)'</li>14 <li>'FAMILY (safe graphics)'</li>
15 <li>'OEM install (for manufacturers)'</li>15 <li>'OEM install (for manufacturers)'</li>
16 <li>'Memory test' (only on BIOS systems)</li>16 <li>'Test memory' (only on BIOS systems)</li>
17 </dd>17 </dd>
18 18
19 19
diff --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)
index 0bb3439..f9f5ae9 100644
--- a/testcases/image/1763_Canary Install (entire disk with lvm and encryption)
+++ b/testcases/image/1763_Canary Install (entire disk with lvm and encryption)
@@ -13,7 +13,7 @@
13 <li>'Try or Install FAMILY'</li>13 <li>'Try or Install FAMILY'</li>
14 <li>'FAMILY (safe graphics)'</li>14 <li>'FAMILY (safe graphics)'</li>
15 <li>'OEM install (for manufacturers)'</li>15 <li>'OEM install (for manufacturers)'</li>
16 <li>'Memory test' (only on BIOS systems)</li>16 <li>'Test memory' (only on BIOS systems)</li>
17 </dd>17 </dd>
18 18
19 19
diff --git a/testcases/image/1764_Canary Install (Safe Graphics mode) b/testcases/image/1764_Canary Install (Safe Graphics mode)
index fc18dd5..939f3a5 100644
--- a/testcases/image/1764_Canary Install (Safe Graphics mode)
+++ b/testcases/image/1764_Canary Install (Safe Graphics mode)
@@ -13,7 +13,7 @@
13 <li>'Try or Install FAMILY'</li>13 <li>'Try or Install FAMILY'</li>
14 <li>'FAMILY (safe graphics)'</li>14 <li>'FAMILY (safe graphics)'</li>
15 <li>'OEM install (for manufacturers)'</li>15 <li>'OEM install (for manufacturers)'</li>
16 <li>'Memory test' (only on BIOS systems)</li>16 <li>'Test memory' (only on BIOS systems)</li>
17 </dd>17 </dd>
18 18
19 19
diff --git a/testcases/image/1765_Canary Install RST b/testcases/image/1765_Canary Install RST
index 541f10f..086ed67 100644
--- a/testcases/image/1765_Canary Install RST
+++ b/testcases/image/1765_Canary Install RST
@@ -19,7 +19,7 @@
19 <li>'Try or Install FAMILY'</li>19 <li>'Try or Install FAMILY'</li>
20 <li>'FAMILY (safe graphics)'</li>20 <li>'FAMILY (safe graphics)'</li>
21 <li>'OEM install (for manufacturers)'</li>21 <li>'OEM install (for manufacturers)'</li>
22 <li>'Memory test' (only on BIOS systems)</li>22 <li>'Test memory' (only on BIOS systems)</li>
23 </dd>23 </dd>
24 24
25 25
diff --git a/testcases/image/1766_Canary Install Bitlocker b/testcases/image/1766_Canary Install Bitlocker
index 701bf2e..1086179 100644
--- a/testcases/image/1766_Canary Install Bitlocker
+++ b/testcases/image/1766_Canary Install Bitlocker
@@ -16,7 +16,7 @@
16 <li>'Try or Install FAMILY'</li>16 <li>'Try or Install FAMILY'</li>
17 <li>'FAMILY (safe graphics)'</li>17 <li>'FAMILY (safe graphics)'</li>
18 <li>'OEM install (for manufacturers)'</li>18 <li>'OEM install (for manufacturers)'</li>
19 <li>'Memory test' (only on BIOS systems)</li>19 <li>'Test memory' (only on BIOS systems)</li>
20 </dd>20 </dd>
21 21
22 22
diff --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)
index afdda2d..7fa6f50 100644
--- a/testcases/image/1768_Canary Install (manual partitioning re-using home partition)
+++ b/testcases/image/1768_Canary Install (manual partitioning re-using home partition)
@@ -13,7 +13,7 @@
13 <li>'Try or Install FAMILY'</li>13 <li>'Try or Install FAMILY'</li>
14 <li>'FAMILY (safe graphics)'</li>14 <li>'FAMILY (safe graphics)'</li>
15 <li>'OEM install (for manufacturers)'</li>15 <li>'OEM install (for manufacturers)'</li>
16 <li>'Memory test' (only on BIOS systems)</li>16 <li>'Test memory' (only on BIOS systems)</li>
17 </dd>17 </dd>
18 18
19 19
diff --git a/testcases/image/1769_Canary Non-English Installation No Network b/testcases/image/1769_Canary Non-English Installation No Network
index c3a014d..57b63ea 100644
--- a/testcases/image/1769_Canary Non-English Installation No Network
+++ b/testcases/image/1769_Canary Non-English Installation No Network
@@ -18,7 +18,7 @@
18 <li>'Try or Install FAMILY'</li>18 <li>'Try or Install FAMILY'</li>
19 <li>'FAMILY (safe graphics)'</li>19 <li>'FAMILY (safe graphics)'</li>
20 <li>'OEM install (for manufacturers)'</li>20 <li>'OEM install (for manufacturers)'</li>
21 <li>'Memory test' (only on BIOS systems)</li>21 <li>'Test memory' (only on BIOS systems)</li>
22 </dd>22 </dd>
23 23
24 24
@@ -49,6 +49,13 @@
49 <dd>The 'Installation type' screen is displayed</dd>49 <dd>The 'Installation type' screen is displayed</dd>
50 50
51 51
52 <dt>Click on "Advanced features"</dt>
53 <dd>Click on the tickbox for "Enhanced secure-boot"</dd>
54 <dd>Click on the tickbox for Hardware-backed full disk encryption</dd>
55 <dd>Click "Ok"</dd>
56 <dt>Click Continue</dt>
57
58
52 <dt>Note the state of the 'Erase disk and install FAMILY' radio button</dt>59 <dt>Note the state of the 'Erase disk and install FAMILY' radio button</dt>
53 <dd>The 'Erase disk and install FAMILY' radio button is selected and the 'Advanced features' button is active</dd>60 <dd>The 'Erase disk and install FAMILY' radio button is selected and the 'Advanced features' button is active</dd>
54 <dt>Click on 'Continue'</dt>61 <dt>Click on 'Continue'</dt>
@@ -84,6 +91,11 @@
84 <dd>The system boots properly and loads into FAMILY showing username selected</dd>91 <dd>The system boots properly and loads into FAMILY showing username selected</dd>
85 92
86 <dt>Verify that your system is localized and that the calendar shows the regional settings correctly</dt>93 <dt>Verify that your system is localized and that the calendar shows the regional settings correctly</dt>
94
95 <dt>After rebooting, log in to the installed system and run `snap list`, and check that the `pc-kernel` package is installed.</dt>
96 <dt>Open up a terminal window, and try to run this command: `sudo apt install linux-image-generic`.</dt>
97 <dd>You should get a response which includes this message: `boot-managed-by-snapd : Conflicts: linux-image`</dd>
98
87 99
88 </dl>100 </dl>
89 <p>If <strong>all</strong> actions produce the expected results described,101 <p>If <strong>all</strong> actions produce the expected results described,
diff --git a/testcases/image/1770_Canary Install (Screen Reader) b/testcases/image/1770_Canary Install (Screen Reader)
index 798568c..fd97c86 100644
--- a/testcases/image/1770_Canary Install (Screen Reader)
+++ b/testcases/image/1770_Canary Install (Screen Reader)
@@ -18,7 +18,7 @@
18 <li>'Try or Install FAMILY'</li>18 <li>'Try or Install FAMILY'</li>
19 <li>'FAMILY (safe graphics)'</li>19 <li>'FAMILY (safe graphics)'</li>
20 <li>'OEM install (for manufacturers)'</li>20 <li>'OEM install (for manufacturers)'</li>
21 <li>'Memory test' (only on BIOS systems)</li>21 <li>'Test memory' (only on BIOS systems)</li>
22 </dd>22 </dd>
23 23
24 24
diff --git a/testcases/image/1771_Canary Install UEFI SecureBoot nVidia b/testcases/image/1771_Canary Install UEFI SecureBoot nVidia
index c4f992e..7ec8936 100644
--- a/testcases/image/1771_Canary Install UEFI SecureBoot nVidia
+++ b/testcases/image/1771_Canary Install UEFI SecureBoot nVidia
@@ -17,7 +17,7 @@
17 <li>'Try or Install FAMILY'</li>17 <li>'Try or Install FAMILY'</li>
18 <li>'FAMILY (safe graphics)'</li>18 <li>'FAMILY (safe graphics)'</li>
19 <li>'OEM install (for manufacturers)'</li>19 <li>'OEM install (for manufacturers)'</li>
20 <li>'Memory test' (only on BIOS systems)</li>20 <li>'Test memory' (only on BIOS systems)</li>
21 </dd>21 </dd>
22 22
23 23
diff --git a/testcases/image/1772_Canary Install (erase and re-install) b/testcases/image/1772_Canary Install (erase and re-install)
index fa1ce59..44d4db3 100644
--- a/testcases/image/1772_Canary Install (erase and re-install)
+++ b/testcases/image/1772_Canary Install (erase and re-install)
@@ -13,7 +13,7 @@
13 <li>'Try or Install FAMILY'</li>13 <li>'Try or Install FAMILY'</li>
14 <li>'FAMILY (safe graphics)'</li>14 <li>'FAMILY (safe graphics)'</li>
15 <li>'OEM install (for manufacturers)'</li>15 <li>'OEM install (for manufacturers)'</li>
16 <li>'Memory test' (only on BIOS systems)</li>16 <li>'Test memory' (only on BIOS systems)</li>
17 </dd>17 </dd>
18 18
19 19
diff --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
index f2f24c0..9b05ff0 100644
--- a/testcases/image/1773_Canary Non-English Installation Online and CJK Input
+++ b/testcases/image/1773_Canary Non-English Installation Online and CJK Input
@@ -14,7 +14,7 @@
14 <li>'Try or Install FAMILY'</li>14 <li>'Try or Install FAMILY'</li>
15 <li>'FAMILY (safe graphics)'</li>15 <li>'FAMILY (safe graphics)'</li>
16 <li>'OEM install (for manufacturers)'</li>16 <li>'OEM install (for manufacturers)'</li>
17 <li>'Memory test' (only on BIOS systems)</li>17 <li>'Test memory' (only on BIOS systems)</li>
18 </dd>18 </dd>
19 19
20 20
diff --git a/testcases/image/1775_Canary Install (entire disk with TPM encryption) b/testcases/image/1775_Canary Install (entire disk with TPM encryption)
21new file mode 10064421new file mode 100644
index 0000000..dab885b
--- /dev/null
+++ b/testcases/image/1775_Canary Install (entire disk with TPM encryption)
@@ -0,0 +1,104 @@
1<!-- Please do not edit this file directly; it was generated with the
2 tools/test_case_gen script using the following configuration as input:
3 definitions/canary_desktop_cases.xml
4-->
5
6 <p><em>Proceed in your native language if you wish. Instructions will remain in English.</em></p>
7 <dl>
8
9
10 <dt>Boot up the image</dt>
11 <dd>If you see the GRUB boot menu you should see the following:</dd>
12 <dd>
13 <li>'Try or Install FAMILY'</li>
14 <li>'FAMILY (safe graphics)'</li>
15 <li>'OEM install (for manufacturers)'</li>
16 <li>'Test memory' (only on BIOS systems)</li>
17 </dd>
18
19
20 <dt>Select the 'Try or Install FAMILY' option and press Enter</dt>
21 <dd>The system boots properly and loads the installer displaying the Welcome dialog with language selection and the mascot logo on the right.'</dd>
22
23
24 <dt>Click on 'Continue'</dt>
25 <dd>The 'Try or Install' screen is displayed with 'try FAMILY' and 'Install FAMILY' buttons</dd>
26 <dt>Click on the release notes hyperlink to confirm that a browser launches and you are taken to the release notes discourse page.</dt>
27 <dt>Click on the 'Install FAMILY' icon to select the option and click on the Continue button</dt>
28 <dd>The 'Keyboard layout' screen appears</dd>
29 <dd>The proposed keyboard corresponds with your keyboard</dd>
30 <dt>Select your keyboard layout and click on Continue</dt>
31 <dd>The 'Connect to internet' screen is displayed</dd>
32 <dd>The screen should reflect the current status and display those elements</dd>
33 <dd>
34 <li>Wired connection</li>
35 <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>
36 <li>Connect to a hidden Wi-Fi network</li>
37 <li>I don't want to connect to internet for now</li>
38 </dd>
39 <dt>Click on 'Continue'</dt>
40 <dd>The 'Updates and other software' screen is displayed, listing normal and minimal installation.</dd>
41
42
43 <dt>Click on 'Continue'</dt>
44 <dd>The 'Installation type' screen is displayed</dd>
45
46
47 <dt>Click on "Advanced features"</dt>
48 <dd>Click on the tickbox for "Enhanced secure-boot"</dd>
49 <dd>Click on the tickbox for Hardware-backed full disk encryption</dd>
50 <dd>Click "Ok"</dd>
51 <dt>Click Continue</dt>
52
53
54 <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>
55
56
57 <dt>Note the state of the 'Erase disk and install FAMILY' radio button</dt>
58 <dd>The 'Erase disk and install FAMILY' radio button is selected and the 'Advanced features' button is active</dd>
59 <dt>Click on 'Continue'</dt>
60 <dd>The 'Write changes to disk' screen is displayed, including the details of incoming partitions changes.</dd>
61 <dt>Verify that the partitioning details make sense</dt>
62 <dd>The available disk should be used for the installation</dd>
63 <dt>Click 'Start Installing'</dt>
64
65
66 <dd>The 'Where are you?' screen is displayed</dd>
67 <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>
68 <dd>The timezone and city displayed match your timezone and a major city from your area</dd>
69 <dt>Select your timezone, and click on the Continue button</dt>
70 <dd>The 'Who are you?' screen appears</dd>
71 <dt>Input your initial user details and password <em>admin can not be used - it is a dedicated Linux User</em></dt>
72
73 <dd>Name, username and password are accepted.</dd>
74 <dd>Continue button becomes available</dd>
75 <dt>Click on 'Continue'</dt>
76 <dd>The 'Choose your look' screen is displayed showing light and dark options</dd>
77 <dt>Click on 'Continue'</dt>
78 <dd>The 'Welcome to FAMILY' slide is displayed</dd>
79 <dd>The slideshow is entirely in your language</dd>
80 <dt>Wait for the installer to finish</dt>
81 <dd>An 'Installation Complete' dialog appears</dd>
82 <dt>Click the 'Restart into FAMILY XX.XX' button</dt>
83 <dd>GUI is shut down, a prompt to remove media and press Enter appears</dd>
84 <dt>Remove the disc and press enter</dt>
85 <dd>The machine is rebooted</dd>
86
87
88 <dt>Allow the machine to reboot</dt>
89 <dd>The system boots properly and loads into FAMILY showing username selected</dd>
90
91
92 <dt>After rebooting, log in to the installed system and run `snap list`, and check that the `pc-kernel` package is installed.</dt>
93 <dt>Open up a terminal window, and try to run this command: `sudo apt install linux-image-generic`.</dt>
94 <dd>You should get a response which includes this message: `boot-managed-by-snapd : Conflicts: linux-image`</dd>
95
96
97 </dl>
98 <p>If <strong>all</strong> actions produce the expected results described,
99 please <a href="results#add_result">submit</a> a 'passed' result.</p>
100 <p>If <strong>any</strong> action fails, or produces an unexpected result,
101 please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include
102 the bug number when you <a href="results#add_result">submit</a> your
103 result.</p>
104
0\ No newline at end of file105\ No newline at end of file
diff --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
1new file mode 100644106new file mode 100644
index 0000000..7ae3364
--- /dev/null
+++ b/testcases/image/1776_Canary Install no TPM option without TPM support
@@ -0,0 +1,98 @@
1<!-- Please do not edit this file directly; it was generated with the
2 tools/test_case_gen script using the following configuration as input:
3 definitions/canary_desktop_cases.xml
4-->
5
6 <p><em>Proceed in your native language if you wish. Instructions will remain in English.</em></p>
7 <dl>
8
9
10 <dt>Boot up the image</dt>
11 <dd>If you see the GRUB boot menu you should see the following:</dd>
12 <dd>
13 <li>'Try or Install FAMILY'</li>
14 <li>'FAMILY (safe graphics)'</li>
15 <li>'OEM install (for manufacturers)'</li>
16 <li>'Test memory' (only on BIOS systems)</li>
17 </dd>
18
19
20 <dt>Select the 'Try or Install FAMILY' option and press Enter</dt>
21 <dd>The system boots properly and loads the installer displaying the Welcome dialog with language selection and the mascot logo on the right.'</dd>
22
23
24 <dt>Click on 'Continue'</dt>
25 <dd>The 'Try or Install' screen is displayed with 'try FAMILY' and 'Install FAMILY' buttons</dd>
26 <dt>Click on the release notes hyperlink to confirm that a browser launches and you are taken to the release notes discourse page.</dt>
27 <dt>Click on the 'Install FAMILY' icon to select the option and click on the Continue button</dt>
28 <dd>The 'Keyboard layout' screen appears</dd>
29 <dd>The proposed keyboard corresponds with your keyboard</dd>
30 <dt>Select your keyboard layout and click on Continue</dt>
31 <dd>The 'Connect to internet' screen is displayed</dd>
32 <dd>The screen should reflect the current status and display those elements</dd>
33 <dd>
34 <li>Wired connection</li>
35 <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>
36 <li>Connect to a hidden Wi-Fi network</li>
37 <li>I don't want to connect to internet for now</li>
38 </dd>
39 <dt>Click on 'Continue'</dt>
40 <dd>The 'Updates and other software' screen is displayed, listing normal and minimal installation.</dd>
41
42
43 <dt>Click on 'Continue'</dt>
44 <dd>The 'Installation type' screen is displayed</dd>
45
46
47 <dt>For this check, please use a system with no TPM enabled hardware</dt>
48
49
50 <dt>Click on "Advanced features"</dt>
51 <dd>There should be no tickbox for "Enhanced secure-boot"</dd>
52 <dd>Click "Ok"</dd>
53 <dt>Click Continue</dt>
54
55
56 <dt>Note the state of the 'Erase disk and install FAMILY' radio button</dt>
57 <dd>The 'Erase disk and install FAMILY' radio button is selected and the 'Advanced features' button is active</dd>
58 <dt>Click on 'Continue'</dt>
59 <dd>The 'Write changes to disk' screen is displayed, including the details of incoming partitions changes.</dd>
60 <dt>Verify that the partitioning details make sense</dt>
61 <dd>The available disk should be used for the installation</dd>
62 <dt>Click 'Start Installing'</dt>
63
64
65 <dd>The 'Where are you?' screen is displayed</dd>
66 <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>
67 <dd>The timezone and city displayed match your timezone and a major city from your area</dd>
68 <dt>Select your timezone, and click on the Continue button</dt>
69 <dd>The 'Who are you?' screen appears</dd>
70 <dt>Input your initial user details and password <em>admin can not be used - it is a dedicated Linux User</em></dt>
71
72 <dd>Name, username and password are accepted.</dd>
73 <dd>Continue button becomes available</dd>
74 <dt>Click on 'Continue'</dt>
75 <dd>The 'Choose your look' screen is displayed showing light and dark options</dd>
76 <dt>Click on 'Continue'</dt>
77 <dd>The 'Welcome to FAMILY' slide is displayed</dd>
78 <dd>The slideshow is entirely in your language</dd>
79 <dt>Wait for the installer to finish</dt>
80 <dd>An 'Installation Complete' dialog appears</dd>
81 <dt>Click the 'Restart into FAMILY XX.XX' button</dt>
82 <dd>GUI is shut down, a prompt to remove media and press Enter appears</dd>
83 <dt>Remove the disc and press enter</dt>
84 <dd>The machine is rebooted</dd>
85
86
87 <dt>Allow the machine to reboot</dt>
88 <dd>The system boots properly and loads into FAMILY showing username selected</dd>
89
90
91 </dl>
92 <p>If <strong>all</strong> actions produce the expected results described,
93 please <a href="results#add_result">submit</a> a 'passed' result.</p>
94 <p>If <strong>any</strong> action fails, or produces an unexpected result,
95 please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include
96 the bug number when you <a href="results#add_result">submit</a> your
97 result.</p>
98
0\ No newline at end of file99\ No newline at end of file

Subscribers

People subscribed via source and target branches

to all changes: