Line 27: | Line 27: | ||
Most of the test cases can be covered by configure different kick start files. The kick start options are below <ref> Kick start options: http://fedoraproject.org/wiki/Anaconda/Kickstart</ref>: | Most of the test cases can be covered by configure different kick start files. The kick start options are below <ref> Kick start options: http://fedoraproject.org/wiki/Anaconda/Kickstart</ref>: | ||
{| class="wikitable collapsible collapsed" border="1" width="85%" | {| class="wikitable collapsible collapsed" border="1" width="85%" | ||
! colspan=" | ! colspan="7"| Kick start options | ||
|- | |- | ||
! Options!! Values !! Description !! Required !! Typical | ! Options!! Values !! Description !! Install Required !! Typical !! Upgrade Required !! Typical | ||
|- | |- | ||
| rowspan="5" |clearpart | | rowspan="5" |clearpart | ||
| --all | | --all | ||
| | |||
| rowspan="5" |no | |||
| rowspan="5" | | |||
| rowspan="5" |no | |||
| rowspan="5" | | |||
|- | |- | ||
| --drives | | --drives | ||
| | |||
|- | |- | ||
| --initlabel | | --initlabel | ||
| | |||
|- | |- | ||
| --linux | | --linux | ||
| | |||
|- | |- | ||
| --none | | --none | ||
| | |||
|- | |- | ||
|rowspan="2" |autopart | |rowspan="2" |autopart | ||
| --encrypted | | --encrypted | ||
| | |||
|rowspan="2" | | |||
|rowspan="2" | | |||
|rowspan="2" | | |||
|rowspan="2" | | |||
|- | |- | ||
| --passphrase | | --passphrase | ||
| | |||
|- | |- | ||
| rowspan="17" |part or partition | | rowspan="17" |part or partition | ||
| --size | | --size | ||
| | |||
| rowspan="17" |yes | |||
| rowspan="17" | | |||
| rowspan="17"|no | |||
| rowspan="17" | | |||
|- | |- | ||
| --grow | | --grow | ||
| | |||
|- | |- | ||
| --maxsize | | --maxsize | ||
Line 81: | Line 102: | ||
|- | |- | ||
| --backuppassphrase | | --backuppassphrase | ||
|- | |- | ||
| rowspan="2"|ignoredisk | | rowspan="2"|ignoredisk | ||
| ignoredisk --drives=[disk1,disk2,...] | | ignoredisk --drives=[disk1,disk2,...] | ||
| | |||
| rowspan="2"| | |||
| rowspan="2"| | |||
| rowspan="2"| | |||
| rowspan="2"| | |||
|- | |- | ||
| ignoredisk --only-use=[disk1,disk2,...] | | ignoredisk --only-use=[disk1,disk2,...] | ||
| | |||
|- | |- | ||
|zerombr | |zerombr | ||
|zerombr | |zerombr | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
|autostep | |autostep | ||
| --autoscreenshot | | --autoscreenshot | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
|rowspan="7"|bootloader | |rowspan="7"|bootloader | ||
| --append | | --append | ||
| | |||
|rowspan="7"| | |||
|rowspan="7"| | |||
|rowspan="7"| | |||
|rowspan="7"| | |||
|- | |- | ||
| --driveorder | | --driveorder | ||
| | |||
|- | |- | ||
| --location | | --location | ||
| | |||
|- | |- | ||
| --password | | --password | ||
| | |||
|- | |- | ||
| --md5pass | | --md5pass | ||
| | |||
|- | |- | ||
| --upgrade | | --upgrade | ||
| | |||
|- | |- | ||
| --timeout | | --timeout | ||
| | |||
|- | |- | ||
|comdline | |comdline | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | | | ||
|- | |- | ||
|device | |device | ||
| --opts | | --opts | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
|dmraid | |dmraid | ||
| dmraid --name= --dev= | | dmraid --name= --dev= | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
|rowspan="6"|firewall | |rowspan="6"|firewall | ||
| --enabled or --enable | | --enabled or --enable | ||
| | |||
|rowspan="6"| | |||
|rowspan="6"| | |||
|rowspan="6"| | |||
|rowspan="6"| | |||
|- | |- | ||
| --disabled or --disable | | --disabled or --disable | ||
| | |||
|- | |- | ||
| --trust= | | --trust= | ||
| | |||
|- | |- | ||
| <incoming> | | <incoming> | ||
| | |||
|- | |- | ||
| --port= | | --port= | ||
| | |||
|- | |- | ||
| --service= | | --service= | ||
| | |||
|- | |- | ||
|rowspan="3"|firstboot | |rowspan="3"|firstboot | ||
| --enable or --enabled | | --enable or --enabled | ||
| | |||
|rowspan="3"| | |||
|rowspan="3"| | |||
|rowspan="3"| | |||
|rowspan="3"| | |||
|- | |- | ||
| --disable or --disabled | | --disable or --disabled | ||
| | |||
|- | |- | ||
| --reconfig | | --reconfig | ||
| | |||
|- | |- | ||
|group | |group | ||
|group --name=<name> [--gid=<gid>] | |group --name=<name> [--gid=<gid>] | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
| rowspan="2" |mode | | rowspan="2" |mode | ||
| text | | text | ||
| | |||
| rowspan="2" | | |||
| rowspan="2" | | |||
| rowspan="2" | | |||
| rowspan="2" | | |||
|- | |- | ||
| graphical | | graphical | ||
| | |||
|- | |- | ||
|halt | |halt | ||
|halt | |halt | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
| rowspan="4"|install | | rowspan="4"|install | ||
| cdrom | | cdrom | ||
| | |||
| rowspan="4"| | |||
| rowspan="4"| | |||
| rowspan="4"| | |||
| rowspan="4"| | |||
|- | |- | ||
| harddrive | | harddrive | ||
| | |||
|- | |- | ||
| nfs | | nfs | ||
| | |||
|- | |- | ||
| url | | url | ||
| | |||
|- | |- | ||
|upgrade | |upgrade | ||
| --root-device=<root> (optional) | | --root-device=<root> (optional) | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
|keyboard | |keyboard | ||
Line 167: | Line 273: | ||
| | | | ||
|yes | |yes | ||
| | |||
| | |||
| | |||
|- | |- | ||
|lang | |lang | ||
Line 172: | Line 281: | ||
| | | | ||
|yes | |yes | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| rowspan="3" |logging | | rowspan="3" |logging | ||
| --host= | | --host= | ||
| | |||
| rowspan="3" | | |||
| rowspan="3" | | |||
| rowspan="3" | | |||
| rowspan="3" | | |||
|- | |- | ||
| --port= | | --port= | ||
| | |||
|- | |- | ||
| --level= | | --level= | ||
| | |||
|- | |- | ||
|poweroff | |poweroff | ||
|poweroff | |poweroff | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
| rowspan="12"| raid | | rowspan="12"| raid | ||
| --level | | --level | ||
| | |||
| rowspan="12"| | |||
| rowspan="12"| | |||
| rowspan="12"| | |||
| rowspan="12"| | |||
|- | |- | ||
| --device | | --device | ||
| | |||
|- | |- | ||
| --spares= | | --spares= | ||
| | |||
|- | |- | ||
| --fstype | | --fstype | ||
| | |||
|- | |- | ||
| --fsoptions | | --fsoptions | ||
| | |||
|- | |- | ||
| --label= | | --label= | ||
| | |||
|- | |- | ||
| --noformat | | --noformat | ||
| | |||
|- | |- | ||
| --useexisting | | --useexisting | ||
| | |||
|- | |- | ||
| --encrypted | | --encrypted | ||
| | |||
|- | |- | ||
| --passphrase= | | --passphrase= | ||
| | |||
|- | |- | ||
| --escrowcert=<url> | | --escrowcert=<url> | ||
| | |||
|- | |- | ||
| --backuppassphrase | | --backuppassphrase | ||
| | |||
|- | |- | ||
|reboot | |reboot | ||
| --reject | | --reject | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
|shutdown | |shutdown | ||
|shutdown | |shutdown | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
| rowspan="9" |repo | | rowspan="9" |repo | ||
| --name= | | --name= | ||
| | |||
| rowspan="9" | | |||
| rowspan="9" | | |||
| rowspan="9" | | |||
| rowspan="9" | | |||
|- | |- | ||
| --baseurl= | | --baseurl= | ||
| | |||
|- | |- | ||
| --mirrorlist= | | --mirrorlist= | ||
| | |||
|- | |- | ||
| --cost= | | --cost= | ||
| | |||
|- | |- | ||
| --excludepkgs= | | --excludepkgs= | ||
| | |||
|- | |- | ||
| --includepkgs= | | --includepkgs= | ||
| | |||
|- | |- | ||
| --proxy=[protocol://][username[:password]@]host[:port] | | --proxy=[protocol://][username[:password]@]host[:port] | ||
| | |||
|- | |- | ||
| --ignoregroups=true | | --ignoregroups=true | ||
| | |||
|- | |- | ||
| --noverifyssl | | --noverifyssl | ||
| | |||
|- | |- | ||
|rescue | |rescue | ||
|rescue [--nomount|--romount] | |rescue [--nomount|--romount] | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
| rowspan="2"|rootpw | | rowspan="2"|rootpw | ||
| --iscrypted|--plaintext | | --iscrypted|--plaintext | ||
| | |||
| rowspan="2"| | |||
| rowspan="2"| | |||
| rowspan="2"| | |||
| rowspan="2"| | |||
|- | |- | ||
| --lock | | --lock | ||
| | |||
|- | |- | ||
|rowspan="3" |selinux | |rowspan="3" |selinux | ||
| --disabled | | --disabled | ||
| | |||
|rowspan="3" | | |||
|rowspan="3" | | |||
|rowspan="3" | | |||
|rowspan="3" | | |||
|- | |- | ||
| --enforcing | | --enforcing | ||
| | |||
|- | |- | ||
| --permissive | | --permissive | ||
| | |||
|- | |- | ||
| rowspan="2" |services | | rowspan="2" |services | ||
| --enabled= | | --enabled= | ||
| | |||
| rowspan="2" | | |||
| rowspan="2" | | |||
| rowspan="2" | | |||
| rowspan="2" | | |||
|- | |- | ||
| --disabled= | | --disabled= | ||
| | |||
|- | |- | ||
|rowspan="3" |sshpw | |rowspan="3" |sshpw | ||
| --username | | --username | ||
| | |||
|rowspan="3" | | |||
|rowspan="3" | | |||
|rowspan="3" | | |||
|rowspan="3" | | |||
|- | |- | ||
| --iscrypted|--plaintext | | --iscrypted|--plaintext | ||
| | |||
|- | |- | ||
| --lock | | --lock | ||
| | |||
|- | |- | ||
|skipx | |skipx | ||
|skipx | |skipx | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
|timezone | |timezone | ||
| --utc | | --utc | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
|updates | |updates | ||
|updates [URL] | |updates [URL] | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
|rowspan="9" |user | |rowspan="9" |user | ||
| --name= | | --name= | ||
| | |||
|rowspan="9" | | |||
|rowspan="9" | | |||
|rowspan="9" | | |||
|rowspan="9" | | |||
|- | |- | ||
| --gecos= | | --gecos= | ||
| | |||
|- | |- | ||
| --groups= | | --groups= | ||
| | |||
|- | |- | ||
| --homedir= | | --homedir= | ||
| | |||
|- | |- | ||
| --lock | | --lock | ||
| | |||
|- | |- | ||
| --password= | | --password= | ||
| | |||
|- | |- | ||
| --iscrypted|--plaintext | | --iscrypted|--plaintext | ||
| | |||
|- | |- | ||
| --shell= | | --shell= | ||
| | |||
|- | |- | ||
| --uid= | | --uid= | ||
| | |||
|- | |- | ||
|rowspan="3"|vnc | |rowspan="3"|vnc | ||
| --host= | | --host= | ||
| | |||
|rowspan="3"| | |||
|rowspan="3"| | |||
|rowspan="3"| | |||
|rowspan="3"| | |||
|- | |- | ||
| --port= | | --port= | ||
| | |||
|- | |- | ||
| --password= | | --password= | ||
| | |||
|- | |- | ||
|rowspan="4"|volgroup | |rowspan="4"|volgroup | ||
|<name> | |<name> | ||
| | |||
|rowspan="4"| | |||
|rowspan="4"| | |||
|rowspan="4"| | |||
|rowspan="4"| | |||
|- | |- | ||
| --noformat | | --noformat | ||
| | |||
|- | |- | ||
| --useexiting | | --useexiting | ||
| | |||
|- | |- | ||
| --pesize | | --pesize | ||
| | |||
|- | |- | ||
|rowspan="2"|xconfig | |rowspan="2"|xconfig | ||
| --defaultdesktop= | | --defaultdesktop= | ||
| | |||
|rowspan="2"| | |||
|rowspan="2"| | |||
|rowspan="2"| | |||
|rowspan="2"| | |||
|- | |- | ||
| --startxonboot | | --startxonboot | ||
| | |||
|- | |- | ||
|rowspan="3"|zfcp | |rowspan="3"|zfcp | ||
| --devnum= | | --devnum= | ||
| | |||
|rowspan="3"| | |||
|rowspan="3"| | |||
|rowspan="3"| | |||
|rowspan="3"| | |||
|- | |- | ||
| --fcplun= | | --fcplun= | ||
| | |||
|- | |- | ||
| --wwpn= | | --wwpn= | ||
| | |||
|} | |} | ||
Revision as of 08:22, 15 March 2011
This page provides a high-level roadmap for implementing the Is_anaconda_broken_proposal project. More detailed tasks can be found in autoqa TRAC roadmap. We follow these steps to define the methods by which we initiate testing
Step 1: Identify boot methods, retrieve files and check file sanity
Method | Files | Sanity |
---|---|---|
DVD | DVD.iso exits | DVD size |
CD | 4 CDs exit, | CD size |
Minimal Boot Media | boot.iso exits | Sanity |
PXE | initrd.img, vmlinuz exit | Sanity |
Step 2: Write kick start file to cover test cases
Most of the test cases can be covered by configure different kick start files. The kick start options are below [1]:
Kick start options | ||||||
---|---|---|---|---|---|---|
Options | Values | Description | Install Required | Typical | Upgrade Required | Typical |
clearpart | --all | no | no | |||
--drives | ||||||
--initlabel | ||||||
--linux | ||||||
--none | ||||||
autopart | --encrypted | |||||
--passphrase | ||||||
part or partition | --size | yes | no | |||
--grow | ||||||
--maxsize | ||||||
--noformat | ||||||
--onpart= or --usepart= | ||||||
--ondisk= or --ondrive= | ||||||
--asprimary | ||||||
--fsprofile= | ||||||
--fstype= | ||||||
--fsoptions= | ||||||
--label= | ||||||
--recommended | ||||||
--onbiosdisk= | ||||||
--encrypted | ||||||
--passphrase= | ||||||
--escrowcert=<url> | ||||||
--backuppassphrase | ||||||
ignoredisk | ignoredisk --drives=[disk1,disk2,...] | |||||
ignoredisk --only-use=[disk1,disk2,...] | ||||||
zerombr | zerombr | |||||
autostep | --autoscreenshot | |||||
bootloader | --append | |||||
--driveorder | ||||||
--location | ||||||
--password | ||||||
--md5pass | ||||||
--upgrade | ||||||
--timeout | ||||||
comdline | ||||||
device | --opts | |||||
dmraid | dmraid --name= --dev= | |||||
firewall | --enabled or --enable | |||||
--disabled or --disable | ||||||
--trust= | ||||||
<incoming> | ||||||
--port= | ||||||
--service= | ||||||
firstboot | --enable or --enabled | |||||
--disable or --disabled | ||||||
--reconfig | ||||||
group | group --name=<name> [--gid=<gid>] | |||||
mode | text | |||||
graphical | ||||||
halt | halt | |||||
install | cdrom | |||||
harddrive | ||||||
nfs | ||||||
url | ||||||
upgrade | --root-device=<root> (optional) | |||||
keyboard | yes | |||||
lang | yes | |||||
logging | --host= | |||||
--port= | ||||||
--level= | ||||||
poweroff | poweroff | |||||
raid | --level | |||||
--device | ||||||
--spares= | ||||||
--fstype | ||||||
--fsoptions | ||||||
--label= | ||||||
--noformat | ||||||
--useexisting | ||||||
--encrypted | ||||||
--passphrase= | ||||||
--escrowcert=<url> | ||||||
--backuppassphrase | ||||||
reboot | --reject | |||||
shutdown | shutdown | |||||
repo | --name= | |||||
--baseurl= | ||||||
--mirrorlist= | ||||||
--cost= | ||||||
--excludepkgs= | ||||||
--includepkgs= | ||||||
--proxy=[protocol://][username[:password]@]host[:port] | ||||||
--ignoregroups=true | ||||||
--noverifyssl | ||||||
rescue | --romount] | |||||
rootpw | --plaintext | |||||
--lock | ||||||
selinux | --disabled | |||||
--enforcing | ||||||
--permissive | ||||||
services | --enabled= | |||||
--disabled= | ||||||
sshpw | --username | |||||
--plaintext | ||||||
--lock | ||||||
skipx | skipx | |||||
timezone | --utc | |||||
updates | updates [URL] | |||||
user | --name= | |||||
--gecos= | ||||||
--groups= | ||||||
--homedir= | ||||||
--lock | ||||||
--password= | ||||||
--plaintext | ||||||
--shell= | ||||||
--uid= | ||||||
vnc | --host= | |||||
--port= | ||||||
--password= | ||||||
volgroup | <name> | |||||
--noformat | ||||||
--useexiting | ||||||
--pesize | ||||||
xconfig | --defaultdesktop= | |||||
--startxonboot | ||||||
zfcp | --devnum= | |||||
--fcplun= | ||||||
--wwpn= |
List test scenarios,it will make clear that which suite needs to
support.
Test Scenarios | ||||||
---|---|---|---|---|---|---|
Boot Method [2] | ||||||
Test | DVD | CD | boot.iso | PXE images | efidisk.img | Live Image |
Installation Method [3][4] | ||||||
autodetect cdrom | yes | yes | yes | yes | yes | no |
repo=cdrom | yes | yes | yes | yes | yes | no |
repo=http://host/path | yes | yes | yes | yes | yes | no |
repo=ftp://[user:passwd@]server/path | yes | yes | yes | yes | yes | no |
repo=nfs:server:/path | yes | yes | yes | yes | yes | no |
repo=nfsiso:server:/path | yes | yes | yes | yes | yes | no |
repo=hd:device/path | yes | yes | yes | yes | yes | no |
repo=hdiso: | yes | yes | yes | yes | yes | no |
repo=livecd: | no | no | no | no | no | yes |
Methods to locate kickstart file [4] | ||||||
ks (autodetect from dhcp ???(default is nfs)) | yes | yes | yes | yes | yes | unknown |
ks=http://server/path | yes | yes | yes | yes | yes | unknown |
ks=ftp://[user:passwd@]server/path | yes | yes | yes | yes | yes | unknown |
ks=nfs:server:/path | yes | yes | yes | yes | yes | unknown |
ks=file:/path | yes | yes | yes | yes | yes | unknown |
ks=hd:device:/path | yes | yes | yes | yes | yes | unknown |
ks=bd:biosdevice:/path | yes | yes | yes | yes | yes | unknown |
ks=floppy | yes | yes | yes | yes | yes | unknown |
ks=cdrom | yes | yes | yes | yes | yes | unknown |
Methods to locate updates.img | ||||||
updates | yes | yes | yes | yes | yes | no |
updates=http | yes | yes | yes | yes | yes | no |
images/updates.img | no | no | no | yes | yes | no |
RHUpdates | no | no | no | yes | yes | no |
Methods to determine display device | ||||||
graphical | yes | yes | yes | yes | yes | yes |
text | yes | yes | yes | yes | yes | yes |
vnc | yes | yes | yes | yes | yes | no |
cmdline | yes | yes | yes | yes | yes | no |
serial console=ttyS0 | yes | yes | yes | yes | yes | no |
telnet | yes | yes | yes | yes | yes | no |
Methods to choose kickstart network device [4] | ||||||
ksdevice=link | yes | yes | yes | yes | yes | no |
ksdevice=bootif | yes | yes | yes | yes | yes | no |
ksdevice=eth0 | yes | yes | yes | yes | yes | no |
ksdevice=AA:BB:CC:DD:EE:FF | yes | yes | yes | yes | yes | no |
Methods to activate network device | ||||||
ip=dhcp | yes | yes | yes | yes | yes | no |
ip=a.b.c.d | yes | yes | yes | yes | yes | no |
dns= | yes | yes | yes | yes | yes | no |
gateway= | yes | yes | yes | yes | yes | no |
netmask= | yes | yes | yes | yes | yes | no |
step 3
Set priorities for each test. The test drivers will support the tests with high priority.
Colour | Explanation |
---|---|
yes | supported and default (high priority) |
yes | supported (medium priority) |
yes | supported (low priority) |
no | unsupported configuration |
unknown | unknown |
step 4
Identify potential test drivers that trigger off of those events.
- URL install source available (typically, http://download.fedoraproject.org/pub/fedora/linux/development/13/i386/os)
- url_install.py
- iso_sanity.py (for provided
images/boot.iso
) - bootiso_install.py
- pxe_install.py (kind of silly, but a possible future test)
- DVD image(s) available (typically, somewhere on http://serverbeach1.fedoraproject.org/pub/alt/stage/)
- iso_sanity.py
- dvd_install.py
- hdiso_install.py
- nfsiso_install.py
- CD image(s) available (typically, somewhere on http://serverbeach1.fedoraproject.org/pub/alt/stage/)
- iso_sanity.py
- cd_install.py
- hdiso_install.py
- nfsiso_install.py
Step 5
Write test drivers using requirements gathered in steps #2,#3,#4
Step 6
Write kickstart files to exercise the tests identified in step#2
References
- ↑ Kick start options: http://fedoraproject.org/wiki/Anaconda/Kickstart
- ↑ Boot Method: http://docs.fedoraproject.org/en-US/Fedora/14/html/Installation_Guide/ch04s06.html
- ↑ Installation Method: http://docs.fedoraproject.org/en-US/Fedora/14/html/Installation_Guide/s1-installmethod-x86.html
- ↑ 4.0 4.1 4.2 Anaconda Boot Options: http://fedoraproject.org/wiki/Anaconda/Options