Merge ~fheimes/ubuntu-manual-tests/+git/ubuntu-manual-tests:master into ubuntu-manual-tests:master

Proposed by Frank Heimes
Status: Merged
Merged at revision: 6f95279dbdc7848fc808f72daf166f50b201ce27
Proposed branch: ~fheimes/ubuntu-manual-tests/+git/ubuntu-manual-tests:master
Merge into: ubuntu-manual-tests:master
Diff against target: 120 lines (+102/-0)
3 files modified
testcases/image/1728_PPC64EL Install using Netboot (Petitboot) (+33/-0)
testcases/image/1729_S390X Install LPAR (Server live) (+34/-0)
testcases/image/1730_S390X Install zVM (Server live) (+35/-0)
Reviewer Review Type Date Requested Status
Paride Legovini Approve
Ubuntu Testcase Admins Pending
Review via email: mp+390898@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Paride Legovini (paride) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/testcases/image/1728_PPC64EL Install using Netboot (Petitboot) b/testcases/image/1728_PPC64EL Install using Netboot (Petitboot)
2new file mode 100644
3index 0000000..7b71ae5
4--- /dev/null
5+++ b/testcases/image/1728_PPC64EL Install using Netboot (Petitboot)
6@@ -0,0 +1,33 @@
7+This testcase is to be carried out on an IBM POWER system (POWER 8 or higher, but cannot be executed on a PowerVM DLPAR).
8+Scope of this testcase is to verify that the system can be installed using a live server image and netbooting from the Petitboot firmware prompt.
9+
10+<em>Proceed in your native language if you wish. Instructions will remain in English.</em>
11+
12+<dl>
13+ <dt>Boot up a system using IPMI, monitor the (sol) console, until the Petitboot menu shows up and select 'Exit to shell'.</dt>
14+ <dd>It takes takes a while to boot the OPAL firmware aka embedded Linux up to the Petitboot menu.</dd>
15+ <dd>Select 'Exit to shell' in Petitboot promptly before the system times out and proceeds with booting from the default device.</dd>
16+ <dt>Download the ISO image, usually the one mentioned here in the QA tracker that was requested to be tested, using wget (a proxy server might need to be specified).</dt>
17+ <dd>wget http://path/to/image.iso # proxy might be needed: '-e use_proxy=yes -e http_proxy=squid.internal:3128' </dd>
18+ <dt>Loop-back mount the ISO image:</dt>
19+ <dd>mkdir iso</dd>
20+ <dd>mount -t iso9660 -o loop image.iso iso</dd>
21+ <dt>Start The installer using kexec</dt>
22+ <dd>kexec -l ./iso/casper/vmlinux --initrd=./iso/casper/initrd.gz --append="ip=dhcp url=http://path/to/image.iso --- quiet"</dd>
23+ <dd>kexec -e</dd>
24+ <dt>The subiquity UI will pop-up after some time, choose your desired language, or confirm the default 'English'.</dt>
25+ <dt>At the network configuration screen, just select 'Done' (it should be pre-selected).</dt>
26+ <dt>At the filesystem setup screen, select "Use An Entire Disk" (should be pre-selected).</dt>
27+ <dt>Choose a disk to install to.</dt>
28+ <dt>At the file system summary screen select Done (should be selected by default).</dt>
29+ <dt>At the confirmation dialog, select "Continue" (should not be selected by default).</dt>
30+ <dt>Fill out the user information dialog, ideally making sure to import your SSH keys from git or launchpad.</dt>
31+ <dt>Wait until the installation is completed.</dt>
32+ <dt>Reboot the system, and monitor the progress via the (sol) console.</dt>
33+ <dt>Ensure that it's possible to login to the system.</dt>
34+ <dt>Ensure that you can run commands with sudo.</dt>
35+ <dt>Check that the correct SSH keys have been imported by SSHing into the machine or looking in ~/.ssh./</dt>
36+</dl>
37+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
38+ 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>
39+
40diff --git a/testcases/image/1729_S390X Install LPAR (Server live) b/testcases/image/1729_S390X Install LPAR (Server live)
41new file mode 100644
42index 0000000..3917885
43--- /dev/null
44+++ b/testcases/image/1729_S390X Install LPAR (Server live)
45@@ -0,0 +1,34 @@
46+This testcase is to be carried out on an IBM Z logical partition (LPAR). (Notice that the minimal architectural requirement is z13/z13s, starting with Ubuntu Server 20.04, otherwise zEC12/zBC12.)
47+Scope of this testcase is to verify that an Ubuntu Server live image can be installed on LPAR with the help of the HMC.
48+
49+<em>Proceed in your native language if you wish. Instructions will remain in English.</em>
50+
51+<dl>
52+ <dt>Download the live server ISO image to your install server, loopback-mount (or better extract) it there and make it remotely available via ftp.</dt>
53+ <dt>Boot up a live server image with the help of the 'Load from Removable Media and Server' task of the HMC (Hardware Management Console).</dt>
54+ <dt>If the basic network configuration was not specified in the parmfile, the installer will interactively ask about it.</dt>
55+ <dd>Start the interactive questionnaire about the basic network configuration and make sure that the URL to image, that needs to be specified too, is accessible (hence, ideally point to the image located on the install server).</dd>
56+ <dt>If the boot-up of the installation system is complete, open the "Integrated ASCII Console" or use a remote ssh installer session (recommended) to connect to the live installer.</dt>
57+ <dd>A temporary installation password can be found at the end of the ('Operating System Messages') console boot log, like:</dd>
58+ <dd>|37.487176| cloud-init¬1873|: installer:BpAGSH2HAMY5testcbvZ</dd>
59+ <dt>The subiquity UI will be displayed after login - choose your desired language, or confirm the default 'English'.</dt>
60+ <dt>At the 'Zdev setup' screen select zfcp-host devices (usually two) and enable them (make sure the correct devices for your particular LPAR are used.</dt>
61+ <dd>Now all available (usually four) paths must be automatically detected (multipath).</dd>
62+ <dd>Alternatively DASD disk storage can be selected - if available.</dd>
63+ <dd>Overall it's recommended that zFCP/SCSI, as well as DASD disk storage, is tested. Hence if a second LPAR installation is done, it's recommended to use DASD instead of zFCP/SCSI disk storage that time.</dd>
64+ <dt>At the network configuration screen, select 'Done' (it should be pre-selected).</dt>
65+ <dt>At the filesystem setup screen, select "Use An Entire Disk" (should be pre-selected).</dt>
66+ <dt>Choose a disk to install to.</dt>
67+ <dt>At the file system summary screen select 'Done' (should be pre-selected).</dt>
68+ <dt>At the confirmation dialog, select 'Continue'.</dt>
69+ <dt>Fill out the user information dialog, ideally including the import of your SSH keys from launchpad (or github).</dt>
70+ <dt>Wait until the installation is complete and select 'Reboot'.</dt>
71+ <dt>You may optionally monitor the (re-)boot progress via the console ('Operating System Messages' HMC task).</dt>
72+ <dt>Ensure that it's possible to login to the system.</dt>
73+ <dt>Ensure that you can run commands with sudo (like for example 'sudo apt update').</dt>
74+ <dt>Ensure that the correct s390x devices were configured (like for example with 'lszdev --online').</dt>
75+ <dt>Check that the correct SSH keys have been imported by SSHing into the machine or looking at ~/.ssh .</dt>
76+</dl>
77+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
78+ 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>
79+
80diff --git a/testcases/image/1730_S390X Install zVM (Server live) b/testcases/image/1730_S390X Install zVM (Server live)
81new file mode 100644
82index 0000000..018c660
83--- /dev/null
84+++ b/testcases/image/1730_S390X Install zVM (Server live)
85@@ -0,0 +1,35 @@
86+This testcase is to be carried out on an IBM z/VM guest (virtual machine). (Notice that the minimal architectural requirement is z13/z13s, starting with Ubuntu Server 20.04, otherwise zEC12/zBC12.)
87+Scope of this testcase is to verify that an Ubuntu Server live image can be installed on an IBM z/VM guest with the help of a 3270 terminal emulator.
88+
89+<em>Proceed in your native language if you wish. Instructions will remain in English.</em>
90+
91+<dl>
92+ <dt>Download the live server ISO image to your install server, loopback-mount (or better extract) it there and make it remotely available via ftp.</dt>
93+ <dt>Connect the z/VM guest that is going to be installed with the help of a 3270 terminal emulator (usually x3270 or c3270).</dt>
94+ <dt>Transfer the kernel, initrd, parmfile and REXX script, located in the boot folder of the ISO image, to the z/VM guest (either with ftp or with the help of the 3270 terminal emulator file transfer functionality.</dt>
95+ <dt>Boot up a live server image by executing the ubuntu REXX script from CMS running inside of the z/VM guest.</dt>
96+ <dt>If the basic network configuration was not specified in the parmfile, the installer will interactively ask about it.</dt>
97+ <dd>Start the interactive questionnaire about the basic network configuration and make sure the URL to image (that needs to be specified in addition) is accessible (hence, ideally point to the image located on the install server.)</dd>
98+ <dt>If the boot-up of the installation system is complete, use a remote ssh installer session to connect to the live installer.</dt>
99+ <dd>A temporary installation password can be found at the end of the (3270) console boot log, like:</dd>
100+ <dd>|37.487176| cloud-init¬1873|: installer:BpAGSH2HAMY5testcbvZ</dd>
101+ <dt>The subiquity UI will be displayed after login - choose your desired language, or confirm the default 'English'.</dt>
102+ <dt>At the 'Zdev setup' screen select a DASD device.</dt>
103+ <dd>Alternatively zFCP/SCSI disk storage can be selected - if available.</dd>
104+ <dd>Overall it's recommended that DASD, as well as zFCP/SCSI disk storage, is tested. Hence if a second z/VM installation is done, it's recommended to use zFCP/SCSI instead of DASD disk storage that time. Usually two zfcp-host devices need to be selected and enabled. Then all available (usually four) paths must be automatically detected (multipath).</dd>
105+ <dt>At the network configuration screen, select 'Done' (it should be pre-selected).</dt>
106+ <dt>At the filesystem setup screen, select "Use An Entire Disk" (should be pre-selected).</dt>
107+ <dt>Choose a disk to install to.</dt>
108+ <dt>At the file system summary screen select 'Done' (should be pre-selected).</dt>
109+ <dt>At the confirmation dialog, select 'Continue'.</dt>
110+ <dt>Fill out the user information dialog, ideally including the import of your SSH keys from launchpad (or github).</dt>
111+ <dt>Wait until the installation is complete and select 'Reboot'.</dt>
112+ <dt>You may optionally monitor the (re-)boot progress via the console ('Operating System Messages' HMC task).</dt>
113+ <dt>Ensure that it's possible to login to the system.</dt>
114+ <dt>Ensure that you can run commands with sudo (like for example 'sudo apt update').</dt>
115+ <dt>Ensure that the correct s390x devices were configured (like for example with 'lszdev --online').</dt>
116+ <dt>Check that the correct SSH keys have been imported by SSHing into the machine or looking at ~/.ssh .</dt>
117+</dl>
118+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
119+ 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>
120+

Subscribers

People subscribed via source and target branches