From Fedora Project Wiki

No edit summary
No edit summary
 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
<h1>Fedora Installation Automatic Test</h1>
__NOTOC__
{{Template:Userpage/Infobox2
|REAL-NAME=Hongqing, YANG
|HOME=https://fedoraproject.org/wiki/User:Hongqing
|FAS-NAME=hongqing
|IRC=hongqing
|irc-channels=#fedora-qa, #fedora-test-day, #fedora-meeting
|image=hongqing_fp.jpg
}}
==About==
Thanks for visiting my page! I am a Fedora Quality Assurance Engineer and now I am working on the project Fedora installation test automation.<br/>
I start to use Fedora when I was a student and developed the molecular simulation project on Linux platform.
 
==Auto Test==
*auto test: http://autotest.kernel.org
*autoQA: http://fedoraproject.org/wiki/AutoQA
*writing autoQA test: http://fedoraproject.org/wiki/Writing_AutoQA_Tests
*verifying autoQA test:http://fedoraproject.org/wiki/Verifying_AutoQA_tests
 
==Languages==
*Python
**Style Guide for Python Code:http://www.python.org/dev/peps/pep-0008/
==Virtualization==
*get started with virtualization:http://fedoraproject.org/wiki/Virtualization_Quick_Start
*libvirt: http://libvirt.org/index.html
*virt-manager:http://virt-manager.et.redhat.com/
*KVM:http://www.linux-kvm.org/page/Main_Page
==Fedora Installation Test Automation==
{{admon/note|Note:|This is for personal note, please do not refer this.}}
{{admon/note|Note:|This is for personal note, please do not refer this.}}
* Fedora Desktop
**GNOME,KDE,LXDE,Xfce
* Fedora Installation methods:
* Fedora Installation methods:
**CD/DVD
**CD/DVD
**Hard Drive
**Hard Drive
**NFS/URL
**HTTP Server, FTP Server, NFS Server
**ISO images on NFS Server.
**Live USB
**Live USB
* Fedora Support Platform
* Fedora Support Platform
Line 20: Line 50:
#Development
#Development
##trigger Testing, refer the current test events being monitored: http://git.fedorahosted.org/git/?p=autoqa.git;a=tree;f=hooks
##trigger Testing, refer the current test events being monitored: http://git.fedorahosted.org/git/?p=autoqa.git;a=tree;f=hooks
##detect the prerequirements of the Fedora installation.
##create the suitable KVM machines.
##start to install fedora, and also need
##Check installation media, refer QA:Installer image presence test case http://fedoraproject.org/wiki/QA:Installer_image_presence_test_case
##Check installation media, refer QA:Installer image presence test case http://fedoraproject.org/wiki/QA:Installer_image_presence_test_case
##Install fedora on different archs
##detect the prerequirements (arch etc) of the Fedora installation and create the suitable KVM machines.
##Installation successes, exception occurs but do not block the installation, exception occurs and block the installation.  
##start to install fedora (which installation mode to choose)
#Development
##log the test result. (cases: installation successes, exception occurs but not block the installation, exception occurs and blocks the installation).  
##AutoQA patch Process, refer: http://fedoraproject.org/wiki/AutoQA_Patch_Process
#Works need to do
##How to download installation media from Koji and Bodhi refer: The current test events being monitored. http://git.fedorahosted.org/git/?p=autoqa.git;a=tree;f=hooks or Writing AutoQA Hooks http://fedoraproject.org/wiki/Writing_AutoQA_Hooks or by command virt-install.
##explore trigger (AutoQA current monitored events)
##How to check the images and archs
##check installation media (This has been done in AutoQA, still need to explore how to call it.)
##How to call virt-manager by command from Python
##access the AutoTest Server from AutoQA client and explore the Python libraries of AutoQA, such as util etc, but it seems there is no documentation. 
##How to create different virtual machines from command.
##explore the files of Fedora, such as .treeinfo, initrd etc. which I need to deal during development.
##How to log the test result.
#Questions
*Example of bash script to install Fedora on KVM
##where to find the AutoQA arguments?
  <pre>
== References ==
#!/bin/bash
<references/>
virt-install \
--connect qemu:///system \
--virt-type kvm \
--name demo \
--ram 500 \
--disk path=~/Desktop/fedora/Fedora-14-i686-Live-Desktop.iso,size=8 \
--vnc \
--cdrom /dev/cdrom \
--os-variant fedora14
 
  </pre>
 
 
 
*How to write AutoQA  http://fedoraproject.org/wiki/Writing_AutoQA_Tests
*How to login AutoTest Server?
*Python works with bash o.system("command")
*git, is git a version control tool?
*How to capture the Fedora UI during the installation
*What is on the autotest server? KVM? virt-manager?

Latest revision as of 06:46, 26 April 2012

Hongqing, YANG
Hongqing, YANG
Hongqing, YANG
Fedora Information
FAS name: hongqing
Fedora email: hongqing@fedoraproject.org
IRC nick: hongqing
IRC channels: #fedora-qa, #fedora-test-day, #fedora-meeting
Fedorapeople page: https://hongqing.fedorapeople.org
Badges (0)
 

About

Thanks for visiting my page! I am a Fedora Quality Assurance Engineer and now I am working on the project Fedora installation test automation.
I start to use Fedora when I was a student and developed the molecular simulation project on Linux platform.

Auto Test

Languages

Virtualization

Fedora Installation Test Automation

Note:
This is for personal note, please do not refer this.
  • Fedora Desktop
    • GNOME,KDE,LXDE,Xfce
  • Fedora Installation methods:
    • CD/DVD
    • Hard Drive
    • HTTP Server, FTP Server, NFS Server
    • ISO images on NFS Server.
    • Live USB
  • Fedora Support Platform
    • x86
    • x86_64
    • IA64
    • ARM
  • Fedora Support CPUs
    • Macintosh
    • Intel, AMD
    • ...

It seems huge, if we wanna cover all!

  1. Platform
    1. virt-manager/lib-virt+KVM
  2. Development
    1. trigger Testing, refer the current test events being monitored: http://git.fedorahosted.org/git/?p=autoqa.git;a=tree;f=hooks
    2. Check installation media, refer QA:Installer image presence test case http://fedoraproject.org/wiki/QA:Installer_image_presence_test_case
    3. detect the prerequirements (arch etc) of the Fedora installation and create the suitable KVM machines.
    4. start to install fedora (which installation mode to choose)
    5. log the test result. (cases: installation successes, exception occurs but not block the installation, exception occurs and blocks the installation).
  3. Works need to do
    1. explore trigger (AutoQA current monitored events)
    2. check installation media (This has been done in AutoQA, still need to explore how to call it.)
    3. access the AutoTest Server from AutoQA client and explore the Python libraries of AutoQA, such as util etc, but it seems there is no documentation.
    4. explore the files of Fedora, such as .treeinfo, initrd etc. which I need to deal during development.
  4. Questions
    1. where to find the AutoQA arguments?

References