From Fedora Project Wiki

No edit summary
No edit summary
Line 54: Line 54:
*git, is git a version control tool?
*git, is git a version control tool?
*How to capture the Fedora UI during the installation
*How to capture the Fedora UI during the installation
*What is on the autotest server? KVM? virt-manager?

Revision as of 07:36, 28 December 2010

Fedora Installation Automatic Test

Note:
This is for personal note, please do not refer this.
  • Fedora Installation methods:
    • CD
    • DVD
    • Hard Drive
    • NFS
    • URL
    • Live USB
  • Fedora Support CPUs
    • x86
    • x86_64
    • IA64
    • ARM
  • Fedora Support other Hardwares
    • Macintosh
    • Intel, AMD
    • ...

It seems crazy, if we wanna cover all!

  1. Platform
    1. virt-manager/lib-virt+KVM
  2. Test case
    1. Download installation media (which media to install? patch, rpm,iso...)
    2. Check installation media, refer QA:Installer image presence test case http://fedoraproject.org/wiki/QA:Installer_image_presence_test_case
    3. Install fedora on different archs
    4. Installation successes, exception occurs but do not block the installation, exception occurs and block the installation.
  3. Development
    1. AutoQA patch Process, refer: http://fedoraproject.org/wiki/AutoQA_Patch_Process
    2. 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.
    3. How to check the images and archs
    4. How to call virt-manager by command from Python
    5. How to create different virtual machines from command.
    6. How to log the test result.
  • Example of bash script to install Fedora on KVM
#!/bin/bash
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

  


  • 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?