From Fedora Project Wiki

No edit summary
 
(314 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The following table lists whether or not a test is possible in the listed configuration. 
{{header|qa}}


<!-- CSS Rotate
This page provides a high-level roadmap for implementing the [[Is_anaconda_broken_proposal]] project.  More detailed tasks can be found in [https://fedorahosted.org/autoqa/milestone/Automate%20installation%20test%20plan autoqa TRAC roadmap]. We follow these steps to define the methods by which we initiate testing
<style type="text/css">
td.vertical-text {
color:#333;
border:0px solid red;
writing-mode:tb-rl;
-webkit-transform:rotate(270deg);
-moz-transform:rotate(270deg);
-o-transform: rotate(270deg);
white-space:nowrap;
display:block;
bottom:0;
width:20px;
height:20px;
font-family: ‘Trebuchet MS’, Helvetica, sans-serif;
font-size:24px;
font-weight:normal;
text-shadow: 0px 0px 1px #333;
}
</style>
  -->


{| class="wikitable"
 
! colspan="1" class="unsortable"| &nbsp;
First, in order to provide a consistent and documented test approach, the existing Fedora Install test plan <ref>[[QA:Fedora_13_Install_Test_Plan]]</ref> will be revisited.  The test plan will be adjusted to ensure proper test coverage for the failure scenarios listed above.  Existing test cases will be reviewed for accuracy. New test cases will be created using the [[Template:QA/Test_Case]] template.  Finally, the test plan will be adjusted to match the improved Fedora Release Criteria <ref>[[Fedora Release Criteria]]</ref>.  This includes adjusting the test case priority to match milestone criteria.
! colspan="6" class="unsortable"|Methods to boot vmlinuz+initrd.img
 
|-
Next, in order to reduce the setup/execution time, improve efficiency and to provide test results on a more consistent basis, a subset of test cases will be chosen for automation.  Tests will be written in python and will be developed and executed on a system supporting KVM virtualization.   Test scripts will be responsible for preparing a virtual install environment, initiating a kickstart install and validating the results.  Once an initial batch of tests exist, they will be formally integrated into the [[AutoQA]] project.
! colspan="1"|Test
 
! DVD
Last, a method will be developed for collecting test results into a single test result matrix.  Results may be posted to the wiki directly, or a custom turbogears application may be needed to display results <ref>For a similar project see [http://jlaska.fedorapeople.org/irb.png screenshot] of ''is rawhide broken'' and [http://git.fedorahosted.org/git/?p=autoqa.git;a=tree;f=front-ends/israwhidebroken;hb=HEAD source code] and the [[QA:Rawhide_Acceptance_Test_Plan]].</ref>.  The results will be easily accessible for testers and the installer development team.
! CD
 
! boot.iso
<!-- Describe the scope of any project work or properties that will be affected by the proposal -->
! PXE images
 
! efidisk.img
The project will be divided into several phases. 
! Live Image
 
|-
==Phase#1 - proof of concept==
! colspan="1" class="unsortable"|Methods to locate install.img
* {{result|pass|Revise Fedora Install test plan to ensure adequate test coverage exists for failure scenarios listed above}}
! colspan="6" class="unsortable"|&nbsp;
* {{result|pass|Select a small, but representative, subset of test cases from the install test plan to automate}}The following test cases are selected:
|-
** [[QA:Rawhide_Acceptance_Test_Plan]]
|stage2=cdrom
** DVD.iso Installation
|style="background-color:lightgreen;"|yes
** Boot.iso/Netinst.iso Installation
|style="background-color:lightgreen;"|yes
** Live.iso Installation
|style="background-color:lightgreen;"|yes
** upgrade an exiting system
|style="background-color:lightgreen;"|yes
** system with basic video driver
|style="background-color:lightgreen;"|yes
** Rescue installed system
|style="background-color:red; color:white;"|no
** [[QA:Testcase_Memtest86]]
|-
* {{result|pass|Create python scripts to prepare KVM-based virtual environments for testing, initiate kickstart installs, and validate results}}
|stage2=http://server/path
** {{result|pass|Check the virtualization environment system sanity}}
|style="background-color:lightgreen;"|yes
** {{result|pass|virt-install tree and ISO media.}}
|style="background-color:lightgreen;"|yes
** {{result|pass|Print out test results}}
|style="background-color:lightgreen;"|yes
* {{result|pass| Create python scripts to parse differenet parameters}}
|style="background-color:lightgreen;"|yes
** {{result|pass|parse different repository: cdrom, http,ftp(anonymout, non anonymus), nfs, nfsiso, hard drive, [[QA:Testcase_Ftp_Repository]], [[QA:Testcase_Nfs_Repository]]}}
|style="background-color:lightgreen;"|yes
** {{result|pass|parse different kickstart delivery: http, file, hard drive, nfs [[QA/TestCases/KickstartKsHttpServerKsCfg]], [[QA/TestCases/KickstartKsFilePathKsCfg]], [[QA/TestCases/KickstartKsHdDevicePathKsCfg]], [[QA/TestCases/KickstartKsNfsServerPathKsCfg]]}}
|style="background-color:red; color:white;"|no
* Investigate methods for leveraging GUI automation to aid in automating applicable test cases
|-
** {{result|pass| Open Virt Viewer of the guest}}
|stage2=ftp://[user:passwd@]server/path
** {{result|pass| Input text into the GUI}}
|style="background-color:lightgreen;"|yes
** Close the Virt Viewer of the guest
|style="background-color:lightgreen;"|yes
 
|style="background-color:lightgreen;"|yes
==Phase#2 - implementation==
|style="background-color:lightgreen;"|yes
===Implement the selected test cases===
|style="background-color:lightgreen;"|yes
* {{result|pass|[[QA:Rawhide_Acceptance_Test_Plan]]}}
|style="background-color:red; color:white;"|no
** {{result|pass|system sanity}}
|-
** {{result|pass|parse arguments}}
|stage2=nfs:
** {{result|pass|Tree Compose Sanity}}
|style="background-color:lightgreen;"|yes
*** {{result|pass|[[QA:Repodata_validity_test_case]]}}
|style="background-color:lightgreen;"|yes
*** {{result|pass|[[QA:Comps_Validity_Test_Case]]}}
|style="background-color:lightgreen;"|yes
*** {{result|pass|[[QA:Core_package_dependency_closure_test_case]]}}
|style="background-color:lightgreen;"|yes
*** {{result|pass|[[QA:Core_package_existence_test_case]]}}
|style="background-color:lightgreen;"|yes
** {{result|pass|[[QA:Installer_image_presence_test_case]]}}
|style="background-color:red; color:white;"|no
** {{result|pass|[[QA:Kernel_simple_boot_test_case]]}}
|-
** {{result|pass|[[QA:Anaconda_stage2_fetch_test_case]]}}
|stage2=hd:
** {{result|pass|[[QA:Anaconda_storage_probe_test_case]]}}
|style="background-color:lightgreen;"|yes
** {{result|pass|[[QA:Anaconda_package_install_test_case]]}}
|style="background-color:lightgreen;"|yes
* {{result|inprogress|RATS Installation}}
|style="background-color:lightgreen;"|yes
** {{result|pass|system sanity}}
|style="background-color:lightgreen;"|yes
** {{result|pass|parse arguments}}
|style="background-color:lightgreen;"|yes
** {{result|pass|prepare kickstart}}
|style="background-color:red; color:white;"|no
*** {{result|pass|[[QA/TestCases/KickstartKsHttpServerKsCfg]]}}
|-
*** {{result|pass|[[QA/TestCases/KickstartKsFilePathKsCfg]]}}
|askmethod
*** {{result|none|[[QA/TestCases/KickstartKsHdDevicePathKsCfg]]}}
|style="background-color:lightgreen;"|yes
*** {{result|none|kickstart on cdrom (ks=cdrom)}}
|style="background-color:lightgreen;"|yes
** {{result|pass|Tree Compose Sanity}}
|style="background-color:lightgreen;"|yes
*** {{result|pass|[[QA:Repodata_validity_test_case]]}}
|style="background-color:lightgreen;"|yes
*** {{result|pass|[[QA:Comps_Validity_Test_Case]] }}
|style="background-color:lightgreen;"|yes
*** {{result|pass|[[QA:Core_package_dependency_closure_test_case]]}}
|style="background-color:red; color:white;"|no
*** {{result|none|[[QA:Core_package_existence_test_case]]}}
|-
** {{result|pass|[[QA:Installer_image_presence_test_case]]}}
! colspan="1" class="unsortable"|Methods to locate packages
** {{result|pass|[[QA:Kernel_simple_boot_test_case]]}}
! colspan="6" class="unsortable"|&nbsp;
** {{result|pass|[[QA:Anaconda_stage2_fetch_test_case]]}}
|-
** {{result|pass|[[QA:Anaconda_storage_probe_test_case]]}}
|autodetect cdrom
** {{result|pass|[[QA:Anaconda_package_install_test_case]]}}
|style="background-color:lightgreen;"|yes
** {{result|pass|Iterate different ksfile,eg. fedora,updates,updates-testing}}
|style="background-color:lightgreen;"|yes
**{{result|none|Close virtio serial port}}
|style="background-color:lightgreen;"|yes
* {{result|inprogress| DVD.iso Installation}}
|style="background-color:lightgreen;"|yes
** {{result|pass|system sanity}}
|style="background-color:lightgreen;"|yes
** {{result|pass|parse arguments, (kickstart, repo, architecture are parsed)}}
|style="background-color:red; color:white;"|no
** {{result|pass|prepare kickstart}}
|-
*** {{result|pass|create kickstart disk on guest if kick start is local}}
|repo=cdrom
*** {{result|pass|[[QA/TestCases/KickstartKsHttpServerKsCfg|kickstart on server (ks=http|ftp|nfs)]]}}
|style="background-color:lightgreen;"|yes
*** {{result|none|[[QA/TestCases/KickstartKsFilePathKsCfg|kickstart ks=file://path]]}}
|style="background-color:lightgreen;"|yes
**** {{result|none|compose kickstart to initrd}}
|style="background-color:lightgreen;"|yes
*** {{result|none|[[QA/TestCases/KickstartKsHdDevicePathKsCfg|kicstart on hard drive (ks=hd:)]]}}
|style="background-color:lightgreen;"|yes
*** {{result|none|kickstart on cdrom (ks=cdrom)}}
|style="background-color:lightgreen;"|yes
** {{result|inprogress|prepare repo}}
|style="background-color:red; color:white;"|no
***{{result|pass|repo on http, ftp nfs, nfsiso server}}
|-
***{{result|none|repo on cdrom}}
|repo=http://server/path
***{{result|none|repo on hd}}
|style="background-color:lightgreen;"|yes
** {{result|none|download remote media to local, since checksums and repoclosure does not work with remote media}}
|style="background-color:lightgreen;"|yes
** {{result|pass|[[QA:Testcase_Mediakit_ISO_Size]]}}
|style="background-color:lightgreen;"|yes
** {{result|pass|[[QA:Testcase_Mediakit_ISO_Checksums]]}}
|style="background-color:lightgreen;"|yes
** {{result|pass|[[QA:Testcase_Mediakit_Repoclosure]]}}
|style="background-color:lightgreen;"|yes
** {{result|pass|[[QA:Testcase_Mediakit_FileConflicts]]}}
|style="background-color:red; color:white;"|no
** create a function to report mediakit sanity status
|-
** {{result|none|[[QA/TestCases/BootMethodsDvd]]}}
|repo=ftp://[user:passwd@]server/path
** {{result|none|[[QA/TestCases/InstallSourceDvd]]}}
|style="background-color:lightgreen;"|yes
** {{result|inprogress|Iterate all ksfiles}}
|style="background-color:lightgreen;"|yes
**{{result|none|Close virtio serial port}}
|style="background-color:lightgreen;"|yes
* {{result|none|Hard Drive Installation}}
|style="background-color:lightgreen;"|yes
** {{result|none|system sanity}}
|style="background-color:lightgreen;"|yes
** {{result|none|parse arguments, (kickstart, repo, architecture, image)}}
|style="background-color:red; color:white;"|no
** {{result|none|prepare kickstart}}
|-
*** {{result|none|create physical disk on guest to store image}}
|repo=nfs:
*** {{result|none|create kickstart disk on guest if kick start is local}}
|style="background-color:lightgreen;"|yes
*** {{result|none|[[QA/TestCases/KickstartKsHttpServerKsCfg|kickstart on server (ks=http|ftp|nfs)]]}}
|style="background-color:lightgreen;"|yes
*** {{result|none|[[QA/TestCases/KickstartKsFilePathKsCfg|kickstart ks=file://path]]}}
|style="background-color:lightgreen;"|yes
**** {{result|none|compose kickstart to initrd}}
|style="background-color:lightgreen;"|yes
*** {{result|none|[[QA/TestCases/KickstartKsHdDevicePathKsCfg|kicstart on hard drive (ks=hd:)]]}}
|style="background-color:lightgreen;"|yes
*** {{result|none|kickstart on cdrom (ks=cdrom)}}
|style="background-color:red; color:white;"|no
** {{result|none|prepare repo}}
|-
***{{result|none|repo on http, ftp nfs, nfsiso server}}
|repo=nfsiso:
***{{result|none|repo on cdrom}}
|style="background-color:lightgreen;"|yes
***{{result|none|repo on hd}}
|style="background-color:lightgreen;"|yes
** {{result|none|[[QA:Testcase_Mediakit_ISO_Size]]}}
|style="background-color:lightgreen;"|yes
** {{result|none|[[QA:Testcase_Mediakit_ISO_Checksums]]}}
|style="background-color:lightgreen;"|yes
** {{result|none|[[QA:Testcase_Mediakit_Repoclosure]]}}
|style="background-color:lightgreen;"|yes
** {{result|none|[[QA:Testcase_Mediakit_FileConflicts]]}}
|style="background-color:red; color:white;"|no
** create a function to report mediakit sanity status
|-
** {{result|none|[[QA/TestCases/BootMethodsDvd]]}}
|repo=hd:
** {{result|none|[[QA/TestCases/InstallSourceDvd]]}}
|style="background-color:lightgreen;"|yes
**{{result|none|Close virtio serial port}}
|style="background-color:lightgreen;"|yes
* Boot.iso/Netinst.iso Installation
|style="background-color:lightgreen;"|yes
** system sanity
|style="background-color:lightgreen;"|yes
** [[QA:Testcase_Mediakit_ISO_Size]]
|style="background-color:lightgreen;"|yes
** [[QA:Testcase_Mediakit_ISO_Checksums]]
|style="background-color:red; color:white;"|no
** [[QA/TestCases/BootMethodsBootIso]]
|-
** [[QA/TestCases/InstallSourceBootIso]]
|repo=hdiso:
* Live.iso Installation
|style="background-color:lightgreen;"|yes
** system sanity
|style="background-color:lightgreen;"|yes
** [[QA:Testcase_Mediakit_ISO_Size]]
|style="background-color:lightgreen;"|yes
** [[QA:Testcase_Mediakit_ISO_Checksums]]
|style="background-color:lightgreen;"|yes
* [[QA:Testcase_Anaconda_Upgrade_New_Bootloader|upgrade an exiting system]]
|style="background-color:lightgreen;"|yes
** perform a default installation of the previous release
|style="background-color:red; color:white;"|no
** install the current release
|-
* [[QA:Testcase_Anaconda_User_Interface_Basic_Video_Driver]]
|repo=livecd:
* [[QA:Testcase_Anaconda_rescue_mode]]
|style="background-color:red; color:white;"|no
* [[QA:Testcase_Memtest86|Memory test - memtest86]]
|style="background-color:red; color:white;"|no
 
|style="background-color:red; color:white;"|no
===Automate remainder of test cases from the install test plan===
|style="background-color:red; color:white;"|no
* Rawhide Acceptance Test Plan
|style="background-color:red; color:white;"|no
** [[QA:Anaconda_bootloader_setup_test_case]]
|style="background-color:lightgreen;"|yes
** [[QA:X_basic_display_test_case]]
|-
** [[QA:X_basic_input_handling_test_case]]
! colspan="1" class="unsortable"|Methods to locate kickstart file
** [[QA:Network_basic_test_case]]
! colspan="6" class="unsortable"|&nbsp;
** [[QA:Yum_simple_update_test_case]]
|-
*  DVD installation
|ks (autodetect from dhcp)
** [[QA:Testcase_Additional_Http_Repository]]
|style="background-color:lightgreen;"|yes
** [[QA:Testcase_Additional_Ftp_Repository]]
|style="background-color:lightgreen;"|yes
** [[QA:Testcase_Additional_Mirrorlist_Repository]]
|style="background-color:lightgreen;"|yes
** [[QA:Testcase_Additional_NFS_Repository]]
|style="background-color:lightgreen;"|yes
* Boot.iso/netinst.iso installation
|style="background-color:lightgreen;"|yes
** [[QA:Testcase_Http_Repository]]
|style="background-color:red; color:white;"|unknown
* Live.iso installation
|-
** [[QA:TestCases/Install_Source_Live_Image]]
|ks=http://server/path
 
|style="background-color:lightgreen;"|yes
===Implement the general test cases===
|style="background-color:lightgreen;"|yes
* [[QA:Testcase_Anaconda_User_Interface_Cmdline]]
|style="background-color:lightgreen;"|yes
* [[QA:Testcase_Anaconda_updates.img_via_URL]], [[QA:Testcase_Anaconda_updates.img_via_installation_source]], [[QA:Testcase_Anaconda_updates.img_via_local_media]]
|style="background-color:lightgreen;"|yes
* [[QA:Testcase_Anaconda_save_traceback_to_remote_system]], [[QA:Testcase_Anaconda_save_traceback_to_bugzilla]], [[QA:Testcase_Anaconda_save_traceback_to_disk]], [[QA:Testcase_Anaconda_traceback_debug_mode]]
|style="background-color:lightgreen;"|yes
* upgrade
|style="background-color:red; color:white;"|unknown
** [[QA:Testcase_Anaconda_Upgrade_New_Bootloader]]
|-
** [[QA:Testcase_Anaconda_Upgrade_Skip_Bootloader]]
|ks=ftp://[user:passwd@]server/path
** [[QA:Testcase_Anaconda_Upgrade_Update_Bootloader]]
|style="background-color:lightgreen;"|yes
** [[QA:Testcase_Anaconda_Upgrade_Encrypted_Root]]
|style="background-color:lightgreen;"|yes
** [[QA:Testcase_Anaconda_Upgrade_Skip_Bootloader_Text_Mode]]
|style="background-color:lightgreen;"|yes
** [[QA:Testcase_Anaconda_Upgrade_Update_Bootloader_Text_Mode]]
|style="background-color:lightgreen;"|yes
 
|style="background-color:lightgreen;"|yes
* preupgrade
|style="background-color:red; color:white;"|unknown
** [[QA:Testcase_Preupgrade]]
|-
** [[QA:Testcase_Preupgrade_from_older_release]]
|ks=nfs:
 
|style="background-color:lightgreen;"|yes
=== Create kick start database to cover test cases that can be covered with kick start===
|style="background-color:lightgreen;"|yes
* [[QA:Testcase_Anaconda_User_Interface_Graphical]]
|style="background-color:lightgreen;"|yes
* [[QA:Testcase_Anaconda_User_Interface_Text]]
|style="background-color:lightgreen;"|yes
* [[QA:Testcase_Anaconda_User_Interface_VNC]]
|style="background-color:lightgreen;"|yes
* different packages selections: [[QA/TestCases/PackageSetsDefaultPackageInstall]], [[QA/TestCases/PackageSetsMinimalPackageInstall]]
|style="background-color:red; color:white;"|unknown
* different partition: [[QA:Testcase_Anaconda_autopart_install]], [[QA:Testcase_Anaconda_autopart_(encrypted)_install]], [[QA:Testcase_Anaconda_autopart_(shrink)_install]], [[QA:Testcase_Anaconda_autopart_(use_free_space)_install]], [[QA/TestCases/PartitioningExt4OnNativeDevice]], [[QA/TestCases/PartitioningExt3OnNativeDevice]], [[QA/TestCases/PartitioningXFSOnNativeDevice]], [[QA/TestCases/PartitioningBtrFSOnNativeDevice]], [[QA/TestCases/PartitioningNoSwap]], [[QA:Testcase_Partitioning_On_Software_RAID]]
|-
* [[QA:Testcase_Anaconda_rescue_mode]]
|ks=file:
 
|style="background-color:lightgreen;"|yes
==Phase#3 - integration==
|style="background-color:lightgreen;"|yes
*Identify test event triggers which will be used to automatically initiate testing
|style="background-color:lightgreen;"|yes
* Create appropriate control files and test wrappers to allow for scheduling tests through AutoQA (see [[Writing_AutoQA_Tests]])
|style="background-color:lightgreen;"|yes
* Develop or update [[AutoQA]] test event hooks to accommodate new test events (see [[Writing_AutoQA_Hooks]])
|style="background-color:lightgreen;"|yes
* Implement initial test result dashboard intended to eventually replace the wiki test matrix.  The dashboard will also support FAS user test result submission.  This will likely rely on
|style="background-color:red; color:white;"|unknown
 
|-
== References ==
|ks=hd:
<references/>
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|unknown
|-
|ks=bd:
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|unknown
|-
|ks=floppy
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|unknown
|-
|ks=cdrom
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|unknown
|-
! colspan="1" class="unsortable"|Methods to locate updates.img
! colspan="6" class="unsortable"|&nbsp;
|-
|updates
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|updates=http
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|images/updates.img
|style="background-color:red; color:white;"|no
|style="background-color:red; color:white;"|no
|style="background-color:red; color:white;"|no
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|RHUpdates
|style="background-color:red; color:white;"|no
|style="background-color:red; color:white;"|no
|style="background-color:red; color:white;"|no
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
! colspan="1" class="unsortable"|Methods to determine display device
! colspan="6" class="unsortable"|&nbsp;
|-
|graphical
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|-
|text
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|-
|vnc
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|cmdline
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|serial console=ttyS0
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|telnet
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
! colspan="1" class="unsortable"|Methods to choose kickstart device
! colspan="6" class="unsortable"|&nbsp;
|-
|ksdevice=link
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|ksdevice=bootif
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|ksdevice=eth0
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|ksdevice=AA:BB:CC:DD:EE:FF
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
! colspan="1" class="unsortable"|Methods to activate network device
! colspan="6" class="unsortable"|&nbsp;
|-
|ip=dhcp
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|ip=a.b.c.d
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|dns=
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|gateway=
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|netmask=
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:lightgreen;"|yes
|style="background-color:red; color:white;"|no
|-
|}

Latest revision as of 07:02, 1 June 2012

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


First, in order to provide a consistent and documented test approach, the existing Fedora Install test plan [1] will be revisited. The test plan will be adjusted to ensure proper test coverage for the failure scenarios listed above. Existing test cases will be reviewed for accuracy. New test cases will be created using the Template:QA/Test_Case template. Finally, the test plan will be adjusted to match the improved Fedora Release Criteria [2]. This includes adjusting the test case priority to match milestone criteria.

Next, in order to reduce the setup/execution time, improve efficiency and to provide test results on a more consistent basis, a subset of test cases will be chosen for automation. Tests will be written in python and will be developed and executed on a system supporting KVM virtualization. Test scripts will be responsible for preparing a virtual install environment, initiating a kickstart install and validating the results. Once an initial batch of tests exist, they will be formally integrated into the AutoQA project.

Last, a method will be developed for collecting test results into a single test result matrix. Results may be posted to the wiki directly, or a custom turbogears application may be needed to display results [3]. The results will be easily accessible for testers and the installer development team.


The project will be divided into several phases.

Phase#1 - proof of concept

  • Pass pass Revise Fedora Install test plan to ensure adequate test coverage exists for failure scenarios listed above
  • Pass pass Select a small, but representative, subset of test cases from the install test plan to automate
    The following test cases are selected:
  • Pass pass Create python scripts to prepare KVM-based virtual environments for testing, initiate kickstart installs, and validate results
    • Pass pass Check the virtualization environment system sanity
    • Pass pass virt-install tree and ISO media.
    • Pass pass Print out test results
  • Pass pass Create python scripts to parse differenet parameters
  • Investigate methods for leveraging GUI automation to aid in automating applicable test cases
    • Pass pass Open Virt Viewer of the guest
    • Pass pass Input text into the GUI
    • Close the Virt Viewer of the guest

Phase#2 - implementation

Implement the selected test cases

Automate remainder of test cases from the install test plan

Implement the general test cases

Create kick start database to cover test cases that can be covered with kick start

Phase#3 - integration

  • Identify test event triggers which will be used to automatically initiate testing
  • Create appropriate control files and test wrappers to allow for scheduling tests through AutoQA (see Writing_AutoQA_Tests)
  • Develop or update AutoQA test event hooks to accommodate new test events (see Writing_AutoQA_Hooks)
  • Implement initial test result dashboard intended to eventually replace the wiki test matrix. The dashboard will also support FAS user test result submission. This will likely rely on

References