Commits on Jun 6, 2012
  1. @lmr

    utils/check_patch.py: Apply patches against next branch

    Since we have changed our policy, we didn't update
    check_patch to apply patches against next, this will
    take care of it.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    lmr committed Jun 6, 2012
  2. @kongove @lmr

    perf: add a variance to summary results

    'summary_results' will parse the raw results of above
    variances, and generate a RHS format file, it will
    be used in regression comparison.
    
    Signed-off-by: Amos Kong <akong@redhat.com>
    kongove committed with lmr Jun 6, 2012
  3. @kongove @lmr

    update configuration of ffsb

    The first colum will be ignored in comparison.
    
    Signed-off-by: Amos Kong <akong@redhat.com>
    kongove committed with lmr Jun 6, 2012
  4. @kongove @lmr

    virt: add a new subtest: performance

    In performance tests, we need to collect cpu/memory/interrupt/etc,
    this test is used to launch perf program in guest and collect
    other information.
    The idea is similar with 'client/tests/kvm/tests/autotest.py',
    but we can implement some special requests for performance testing.
    
    Signed-off-by: Yiqiao Pu <ypu@redhat.com>
    Signed-off-by: Amos Kong <akong@redhat.com>
    kongove committed with lmr May 25, 2012
  5. @kongove @lmr

    virt_test_utils: introduce summary_up_result()

    Use to summary the monitor or other kinds of results. Now it
    calculate the average value for each item in the results. It
    fit to the records that in matrix form.
    
    Signed-off-by: Yiqiao Pu <ypu@redhat.com>
    Signed-off-by: Amos Kong <akong@redhat.com>
    kongove committed with lmr Jun 1, 2012
  6. @kongove @lmr

    virt_test_utils: introduce cmd_runner_monitor()

    This function is used to collect the environment information of
    host and guest, such as cpu utilization, meminfo, etc.
    
    Signed-off-by: Yiqiao Pu <ypu@redhat.com>
    Signed-off-by: Amos Kong <akong@redhat.com>
    kongove committed with lmr May 28, 2012
  7. @kongove @lmr

    subtests.cfg: update configuration of performance subtest

    Signed-off-by: Yiqiao Pu <ypu@redhat.com>
    Signed-off-by: Amos Kong <akong@redhat.com>
    kongove committed with lmr May 25, 2012
  8. @kongove @lmr

    ffsb: add example patches

    Those patches are used for performance/ffsb subtest
    to add new examples.
    
    Signed-off-by: Yiqiao Pu <ypu@redhat.com>
    Signed-off-by: Amos Kong <akong@redhat.com>
    kongove committed with lmr May 25, 2012
  9. @kongove @lmr

    introduce a script to execute program

    This script is used to execute command and collect the monitor
    information in background, redirect the outputs to log files.
    
    Signed-off-by: Yiqiao Pu <ypu@redhat.com>
    Signed-off-by: Amos Kong <akong@redhat.com>
    kongove committed with lmr May 25, 2012
  10. @kongove @lmr

    test: fix directory name

    . fix typo: src -> srcdir
    . add 'virtdir' in comments
    
    Signed-off-by: Amos Kong <akong@redhat.com>
    kongove committed with lmr May 25, 2012
  11. @lmr

    virt.virt_utils: Add bitlist_to_string and string_to_bitlist helper

    bitlist_to_string: Transform from bit list to ASCII string.
    string_to_bitlist: Transform from ASCII string to bit list.
    
    Signed-off-by: Feng Yang <fyang@redhat.com>
    Acked-by: Qingtang Zhou <qzhou@redhat.com>
    Acked-by: Golita Yue <gyue@redhat.com>
    Feng Yang committed with lmr Jun 6, 2012
  12. @lmr

    virt: Shorten name of the default HMP monitor

    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    lmr committed Jun 6, 2012
  13. @zhouqt @lmr

    virt: Move PciAssignable out of virt_utils module

    This PciAssignable class depends kvm_control module which will raise
    an exception in guest. Thus move this class to virt_test_setup module
    so that we can use virt_utils in client tests.
    
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    Acked-by: Yiqiao Pu <ypu@redhat.com>
    zhouqt committed with lmr Apr 20, 2012
  14. @ypu @lmr

    KVM-test: Kill VM more gracefully through monitor

    Check the guest status util it changed to paused before timeout,
    then send quit to monitor. By this way may ignore some qcow2 image
    problems in tests. The parameter kill_vm_in_paused can be set to
    "no" if some damage tests. Also make the destroy timeout
    configurable.
    
    Changes from V1:
     - Update log message.
     - Put 'kill_timeout' && 'kill_vm_only_when_paused' in config file
    
    Signed-off-by: Yiqiao Pu <ypu@redhat.com>
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    ypu committed with lmr Mar 30, 2012
  15. @lmr

    KVM Test: Update vm.reboot function

    Do not need session when reboot by system_reset.
    Test this patch with reboot test case.
    
    Changes from v1:
     - Make this patch works for merged tree.
    
    Signed-off-by: Feng Yang <fyang@redhat.com>
    Feng Yang committed with lmr Mar 29, 2012
  16. @ypu @lmr

    KVM-test: Add family to cpu for whql

    WHQL test need add family in cpu options.
    
    Signed-off-by: Yiqiao Pu <ypu@redhat.com>
    Acked-by: Feng Yang <fyang@redhat.com>
    Acked-by: Xiaoqing Wei <xwei@redhat.com>
    Acked-by: Qingtang Zhou <qzhou@redhat.com>
    ypu committed with lmr Nov 21, 2011
  17. @lmr

    KVM Test: Add support for VNC extra params

    This patch also adds get_vnc_port function in VM class
    
    Signed-off-by: Feng Yang <fyang@redhat.com>
    Acked-by: Qingtang Zhou <qzhou@redhat.com>
    Acked-by: Golita Yue <gyue@redhat.com>
    Feng Yang committed with lmr Aug 9, 2011
  18. @lmr

    virt.kvm_vm: Add the "menu" options to -boot

    This patch adds the "-boot" option instead of using
    'extra_params' parameter. There are there new variants
    added:
     - boot_order
     - boot_once
     - boot_menu
    
    It's different in different kvm version to use -boot,
    so we need to check the usage of the "-boot".
    
    Signed-off-by: slei <slei@redhat.com>
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    slei committed with lmr Dec 10, 2010
  19. @kongove @lmr

    KVM-test: Add -enable-kvm to command line

    '-enable-kvm' only exists on qemu-kvm-rhel6
    
    Chnage from V1:
     - Use has_option() to check enable-kvm support.
    
    Signed-off-by: Amos Kong <akong@redhat.com>
    Signed-off-by: Feng Yang <fyang@redhat.com>
    kongove committed with lmr Sep 14, 2010
  20. @lmr

    KVM-test: make pci_addr in make_qemu_command configurable

    Changes from V1:
     - Introduce some VMPCIError classes for PCI device error.
    
    Signed-off-by: Chen Cao <kcao@redhat.com>
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    Chen Cao committed with lmr Aug 16, 2010
  21. @lmr

    KVM-test: update command line for serial

    tested with unattened_install.*
    
    Changes from V2:
     - Code cleanup.
     - Use '_add_option' function to paste option.
    
    Changes from V1:
     - Fix of random serial id
        Random serial/monitor id causes qemu cmdline
        comparison always failed, we could not combin
        many tests together.
        Guest only has one serial, so replace randome
        string in serial_id with 'self.instance'.
    
    Signed-off-by: Chen Cao <kcao@redhat.com>
    Signed-off-by: Amos Kong <akong@redhat.com>
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    Chen Cao committed with lmr Aug 11, 2010
  22. @lmr

    KVM-test: update command line for monitor

    Changes from V4:
     - Code cleanup.
     - Add 'monitor_name' argument.
     - Use '_add_option' function to paste option.
     - Create human monitor if qmp is unsupported
       in VM.create method.
    
    Changes from V3:
     - Fix of random monitor id
        Random serial/monitor id causes qemu cmdline
        comparison always failed, we could not combin
        many tests together.
        Add unique monitor_name to monitor ID
    
    Changes from V2:
     - Create human monitor when host doesn't
       support qmp monitor
    
    Changes from V1:
     - Check qmp option support when dealing with
       qmp monitor. Some qemu-kvm do not support
       qmp option. So we should check qmp option
       support first.
    
    Signed-off-by: Chen Cao <kcao@redhat.com>
    Signed-off-by: Feng Yang <fyang@redhat.com>
    Signed-off-by: Amos Kong <akong@redhat.com>
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    Chen Cao committed with lmr Aug 11, 2010
  23. @jasowang @lmr

    KVM Test: Add support for the new rtc cmdline

    Newer qemu support a -rtc option, this patch enable
    it when qemu binary supports it.
    
    The rtc_base option is use to specify for base of
    rtc (utc|localtime|date)
    The rtc_clock is specified the clock (host|vm)
    
    Changes from v2:
     - Check if qemu-kvm binary supports '-rtc-td-hack'
       option.
    
    Changes from v1:
     - Remove -rtc-td-hack and add option driftfix
       According to bug 611229, -rtc-td-hack can not be
       used anymore, it is replaced by
       "-rtc base=xxx,clock=yy,driftfix=xx"
     - 'driftfix=slew' is used to test timedrift,
        in other cases set driftfix=none.
    
    Signed-off-by: Jason Wang <jasowang@redhat.com>
    Signed-off-by: Suqin Huang <shuang@redhat.com>
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    jasowang committed with lmr Jun 29, 2010
  24. @lmr

    KVM-test: Add more cpu parameters to qemu-kvm cmd line

    Add support for things like,
    "-smp 4,cores=2,threads=1,socket=2"
    
    Changes from v2:
     - Cleanup add_smp function.
    
    Changes from v1:
     - Set the default value of cores and threads to 1,
       and the value of sockets equal to smp.
    
       Check the value of the parameter, if it's none,
       the vaule will be calculated.
       eg. cores=smp/cores/threads
    
       1). if smp >8 and threads=1, set threads=2
       2). if one of the vaule is not set in config file,
           it will be calculated with other params.
    
    Signed-off-by: Chen Cao <kcao@redhat.com>
    Signed-off-by: Suqin Huang <shuang@redhat.com>
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    Chen Cao committed with lmr Jun 25, 2010
  25. @lmr

    KVM-test: Add '-soundhw' into guest booting command line

    We can specify multiple sound cards seperated by comma
    in config file, like:
    
    soundcards = sb16,adlib
    
    or assign 'all' by:
    soundcards = all
    
    By default it's ac97.
    
    Signed-off-by: Yolkfull Chow <yzhou@redhat.com>
    Yolkfull Chow committed with lmr Jan 15, 2010
  26. @lmr

    KVM Test: Add qemu_has_option() helper function in kvm_utils

    Same function with has_option() in vm.make_qemu_command.
    
    Signed-off-by: Feng Yang <fyang@redhat.com>
    Feng Yang committed with lmr Jun 6, 2012
Commits on Jun 5, 2012
  1. @lmr

    install-autotest-server.sh: Fix IP grabbing expression

    So the IP displays correctly on Fedora 17.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    lmr committed Jun 5, 2012
  2. @lmr

    frontend.settings: Add MessageMiddleware among the middleware classes

    So we can effectively show up popup messages in the Django
    admin view. As this class was introduced in 1.2, this change
    should also allow to use Django 1.3 as a supported dep.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    lmr committed May 31, 2012
  3. @lmr

    utils/external_packages.py: Update Django built to 1.4

    But stablish a minimum version of 1.3. This way systems
    with Django at least 1.3 can use the distro installed
    django instead of a newer one.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    lmr committed May 31, 2012
  4. @lmr

    apache/django-directives: Update to Django 1.4

    Django 1.4 does change the location of the CSS files for
    the admin interface, so let's add an extra rule for
    that.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    lmr committed May 31, 2012
  5. @lmr

    frontend.afe.feeds: Fix coding style

    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    lmr committed May 31, 2012
  6. @lmr

    frontend.afe.feeds: Update use of deprecated code

    In Django 1.2, the access to the feeds object was moved
    to from django.contrib.feeds from django.contrib.syndication
    and marked it as deprecated. Django 1.4 removed it entirely,
    so this change makes the web app actually compatible with
    both versions of Django.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    lmr committed May 31, 2012
  7. @lmr

    frontend.db: Pass connection to DatabaseOperations

    In Django 1.4, the DatabaseOperations constructor takes
    a mandatory connection argument, so let's handle the
    TypeError, and make the application compatible with both
    Django 1.3 and 1.4.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    lmr committed May 31, 2012
  8. @lmr

    install-autotest-server.sh: Add java-1.7.0-openjdk-devel to pkg list

    This way, the appropriate java tools will be installed
    to compile the web interface on Fedora 17.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    lmr committed May 31, 2012
  9. @zhouqt @lmr

    virt.kvm_monitor: Use qmp's screendump cmd if qmp support it

    New qemu-kvm version supports 'screendump' cmd
    in qmp monitor, thus we can use it directly.
    
    Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
    zhouqt committed with lmr May 28, 2012