Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Jul 6, 2011
  1. KVM test: Fix missing commas and unattended install nic mode

    lmr authored
    In actuality, unattended install now can use the same nic mode
    as any other tests.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5488 592f7852-d20e-0410-864c-8624ca9c26a4
  2. KVM test: Add new virtio-win.cfg.sample file

    lmr authored
    One of the problems with virtio drivers install is
    that the configuration needed to get it done was
    scattered around the pretty large tests_base.cfg.sample
    file. So, separate the relevant configuration from
    that file and create a file dedicated to be the
    central point of configuration for virtio drivers
    install. The new file is hopefully well commented,
    and will be helpful in getting people started with
    virtio win drivers testing with kvm autotest.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5487 592f7852-d20e-0410-864c-8624ca9c26a4
Commits on Jul 5, 2011
  1. KVM test: Don't restrict Windows guests on virtio_blk variant anymore

    lmr authored
    The original config was making harder to maintain custom config files
    with virtio drivers install enabled. So, rather than doing a whitelist
    of OSs, just make a not very strict blacklist, just to help users, and
    not block them.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5486 592f7852-d20e-0410-864c-8624ca9c26a4
  2. KVM test: A couple of fixes for unattended install

    lmr authored
    Fix a typo and verify if virtio_network_installer
    is actually set to something before trying to use
    it as a class attribute.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5485 592f7852-d20e-0410-864c-8624ca9c26a4
  3. KVM test: Add subtest smbios_table

    lmr authored
        Check smbios table :
        1) Boot a guest with smbios options
        2) verify if host bios options have been emulated,
           that is, the vendor, date and version options
           returned by dmidecode are the same on host and
           on guest.
    
    Signed-off-by: Pradeep Kumar Surisetty <psuriset@linux.vnet.ibm.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5484 592f7852-d20e-0410-864c-8624ca9c26a4
  4. web backend: Fix for adding acl groups in Django Admin

    lmr authored
       - added id field to ManyToMany tables
    
    Signed-off-by: Frank Becker <Frank.Becker@amd.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5483 592f7852-d20e-0410-864c-8624ca9c26a4
Commits on Jul 4, 2011
  1. KVM Test: drop support for building/loading external KVM kernel modules

    lmr authored
    Building and loading KVM modules that are not shipped with the Linux kernel
    is discouraged these days.
    
    This patch allows for loading the KVM modules only on the default system
    location, which should be the modules built/shipped with the running kernel.
    
    Signed-off-by: Cleber Rosa <crosa@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5482 592f7852-d20e-0410-864c-8624ca9c26a4
  2. virt: Add more flexible way to specify comm ports host -> guest

    lmr authored
    When running the virt guest windows tests using the (now default)
    autotest private bridge, noticed that some ports needed for host
    and guest communication weren't specified. So, add a config file
    knob to allow people to specify additional ports to be added to
    the default firewall configuration. The config tracks some important
    ports used on tests, such as the remote shell ports and remote
    shell file transfer ports.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5481 592f7852-d20e-0410-864c-8624ca9c26a4
  3. KVM test: Reformat sample windows ini style unattended files

    lmr authored
    If we prepend spaces on the key=value lines, ConfigParser will
    fail to parse the file. So let's reformat the files in a way
    that we won't have this problem again.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5480 592f7852-d20e-0410-864c-8624ca9c26a4
  4. KVM test: Update Win2003 CD info to match MSDN shipped CD

    lmr authored
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5479 592f7852-d20e-0410-864c-8624ca9c26a4
  5. KVM test: Render unattended files more properly

    lmr authored
    Windows2008 install program does not behave well when
    we specify dummy paths to alternate install drivers,
    unlike Windows Vista and Windows 7. This is enough
    motivation to rewrite the unattended install file
    rendering code, now:
    
    1) XML files will be properly modified using an XML API
    2) ini files will be properly modified using ConfigParser
    3) kickstart files use a simplified version of the old
    logic (re.sub).
    
    Tested with the guest OS that motivated the patch and
    of course, other linux and windows guests, everything
    looks good.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5478 592f7852-d20e-0410-864c-8624ca9c26a4
  6. Contrib: atest site_job.py README file

    lmr authored
    This patch adds a README file for the atest site_job.py extension,
    with instructions on installation and basic usage.
    
    Signed-off-by: Cleber Rosa <crosa@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5477 592f7852-d20e-0410-864c-8624ca9c26a4
  7. Contrib: control file template for use with contrib/virt/site_job.py

    lmr authored
    This patch adds a control file template to be used with the atest
    site_job.py extension.
    
    Signed-off-by: Cleber Rosa <crosa@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5476 592f7852-d20e-0410-864c-8624ca9c26a4
  8. Contrib: atest site_job.py extension for virt testing

    lmr authored
    This module contains extensions to 'atest' that proved to be useful
    when doing virtualization testing of multiple KVM versions, on multiple
    operating system versions (Fedora, RHEL5, RHEL6).
    
    This attempts to kick off the sharing of site_*.py files that
    might be useful to others.
    
    Changes from v1 (based on feedback from lmr@redhat.com):
     * Configure logging so that messages are output in the same format
       as other autotest messages
     * Renamed private methods from using double underscores to a single
       underscore
    
    Signed-off-by: Cleber Rosa <crosa@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5475 592f7852-d20e-0410-864c-8624ca9c26a4
Commits on Jun 30, 2011
  1. KVM test: Fixing CD hash config params

    lmr authored
    Some CD hash keys in tests_base.cfg.sample weren't
    completely converted to the new format,
    
    md5_cd1
    md5_1m_cd1
    
    Finish this change.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5474 592f7852-d20e-0410-864c-8624ca9c26a4
  2. Fixing a missing quote meant to go on r5471

    lmr authored
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5473 592f7852-d20e-0410-864c-8624ca9c26a4
  3. KVM test: get_started.py: Remove --verbose flag from printed command

    lmr authored
    So people start looking at INFO logs by default, and only look at
    DEBUG logs in case something goes wrong.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5472 592f7852-d20e-0410-864c-8624ca9c26a4
  4. virt: Cleaning up debug messages

    lmr authored
    In order to make it easier for people to read KVM autotest logs,
    went through the virt module and the kvm test, removing some not
    overly useful debug messages and modified others. Some things that
    were modified:
    
    1) Removed MAC address management messages
    2) Removed ellipses from most of the debug messages, as they're
    unnecessary
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5471 592f7852-d20e-0410-864c-8624ca9c26a4
Commits on Jun 29, 2011
  1. Cleaning up client log messages

    lmr authored
    In order to trim down the amount of autotest output, and
    leave the most relevant information to INFO level logs,
    removed some non overly relevant debug messages, turned
    some INFO messages into DEBUG ones, and in the process
    made the symlink of init scripts on harness_standalone
    more pythonic. Changes tested and pylinted.
    
    Now a simple sleeptest run is down to the following output:
    
    [lmr@freedom autotest-git]$ sudo client/bin/autotest client/tests/sleeptest/control 
    15:21:25 INFO | Writing results to /home/lmr/Code/autotest-git/client/results/default
    15:21:35 INFO | START	----	----	timestamp=1309371695	localtime=Jun 29 15:21:35	
    15:21:35 INFO | 	START	sleeptest	sleeptest	timestamp=1309371695	localtime=Jun 29 15:21:35	
    15:21:46 INFO | 		GOOD	sleeptest	sleeptest	timestamp=1309371706	localtime=Jun 29 15:21:46	completed successfully
    15:21:46 INFO | 	END GOOD	sleeptest	sleeptest	timestamp=1309371706	localtime=Jun 29 15:21:46	
    15:21:49 INFO | END GOOD	----	----	timestamp=1309371709	localtime=Jun 29 15:21:49	
    
    Thanks to Don Zickus <dzickus@redhat.com> for the suggestions on the subject.
    I plan on doing more cleanups on other entry points.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5470 592f7852-d20e-0410-864c-8624ca9c26a4
  2. Virt: re-write and refactor save_build() utility function

    lmr authored
    The save_build() has a rather specific name, but its purpose is really
    general in nature: to archive a given directory (build dir) as a tarball
    file somewhere (dest_dir).
    
    This patch:
     * Renames save_build() to archive_as_tarball()
     * Moves it to virt_utils
     * Adds more flexiblity with regards to naming the tarball
     * Adds more flexiblity with regards to compression
     * Avoids using external 'tar' command by using 'tarfile' module
     * Adds more unittests
    
    Signed-off-by: Cleber Rosa <crosa@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5469 592f7852-d20e-0410-864c-8624ca9c26a4
  3. Virt: remove deprecated KVM 'release' and 'snapshot' install modes

    lmr authored
    This removes KVM installation modes that are not used anymore and thus
    not worth maintaining.
    
    Signed-off-by: Cleber Rosa <crosa@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5468 592f7852-d20e-0410-864c-8624ca9c26a4
  4. Virt: re-write and refactor of cpu_vendor() utility function

    lmr authored
    The current version of cpu_vendor() works by calling out an external 'grep'
    process. This is rather unecessary. Also, having it in virt_utils make
    more sense IMHO. Finally, renaming it to get_cpu_vendor() makes the API
    more consistent with other functions such as get_vendor_from_pci_id().
    
    Also attached is a unittest for virt_utils, that initially tests only
    get_cpu_vendor() behaviour.
    
    Changes from v1:
     * Properly remove cpu_vendor() from virt_installer.py
     * Fix typo in name of test_vendor_unknown() method
    
    Signed-off-by: Cleber Rosa <crosa@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5467 592f7852-d20e-0410-864c-8624ca9c26a4
  5. Virt installer refactor: introduce installer.py

    lmr authored
    This adds installer.py, that holds functionality for registering and
    getting installer classes for different virtualization technologies.
    
    A unittest that checks common use cases is also included.
    
    Signed-off-by: Cleber Rosa <crosa@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5466 592f7852-d20e-0410-864c-8624ca9c26a4
Commits on Jun 28, 2011
  1. KVM test: Adding Fedora15 to the list of guests

    lmr authored
    Update tests_base.cfg, tests.cfg and get_started.py.
    Also, make it the guest OS for the default KVM
    autotest test run.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5465 592f7852-d20e-0410-864c-8624ca9c26a4
  2. KVM test: Increase default guest memory size to 1024 MB

    lmr authored
    With the introduction of Fedora 15, anaconda memory requirements
    grew, in a way that 512 MB is not enough to install guests. With
    this and the fact that Win7/Vista minimum memory requirements
    is 1024 MB, let's change the default guest memory size to 1024.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5464 592f7852-d20e-0410-864c-8624ca9c26a4
  3. KVM test: tests_base.cfg. sample: Fix test dependencies

    lmr authored
    Some of the tests that do need an installed guest don't
    have this dependency stated on their definitions. Moreover,
    with the introduction of image_copy to the upstream tree,
    image_copy is yet another valid way of providing a functional
    guest image. So, fix all test dependencies and update them.
    Also, move tests that do not need a working guest OS after the
    OS install tests.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5463 592f7852-d20e-0410-864c-8624ca9c26a4
  4. virt.virt_env_process: Catch AttributeError and make screendump threa…

    lmr authored
    …d to go on
    
    In virt_env_process, the screendump thread is started before
    the vm is created. Most of the time, this is OK.
    
    However, when setting start_vm to no, then create vm in tests,
    screendump thread might exit with an AttributeError exception.
    Some of our unattended_install case failed to get screendumps
    for this reason. We do not know what happened if
    unattended_install fails.
    
    In order to fix this issue, we may:
    
    1. catch AttributeError exception and make screendump thread
    continue.
    
    2. start screendmup thread in vm.create(), then close it in
    vm.destroy(). This need more work and may cause other
    problems.
    
    This patch uses 1).
    
    Changes from v1:
    Update the commit log.
    
    Signed-off-by: Feng Yang <fyang@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5462 592f7852-d20e-0410-864c-8624ca9c26a4
  5. tko/retrieve_logs.cgi: Give the site code a chance to run

    lmr authored
    Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5461 592f7852-d20e-0410-864c-8624ca9c26a4
  6. client.tests.stress: Update stress to the latest upstream tarball

    lmr authored
    Signed-off-by: Pradeep K Surisetty <psuriset@linux.vnet.ibm.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5460 592f7852-d20e-0410-864c-8624ca9c26a4
  7. KVM test: build.cfg.sample: add commented spice parameters

    lmr authored
    Signed-off-by: Alon Levy <alevy@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5459 592f7852-d20e-0410-864c-8624ca9c26a4
  8. kvm_installer: build spice from git

    lmr authored
    Make it possible to install spice protocol
    from git.
    
    Signed-off-by: Alon Levy <alevy@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5458 592f7852-d20e-0410-864c-8624ca9c26a4
  9. kvm_installer: introduce GitRepo helper class

    lmr authored
    Will allow adding further git repositories more easily later.
    
    Signed-off-by: Alon Levy <alevy@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5457 592f7852-d20e-0410-864c-8624ca9c26a4
  10. kvm_vm: add build/lib to LD_LIBRARY_PATH for qemu_cmd

    lmr authored
    build/lib can contain libspice-server.so built from git.
    
    Signed-off-by: Alon Levy <alevy@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5456 592f7852-d20e-0410-864c-8624ca9c26a4
Commits on Jun 27, 2011
  1. Add THP test variants to tests_base.cfg.sample

    lmr authored
    Changes from v1:
    * No need to use pre/post scripts anymore
    
    Changes from v2:
    * Put it before shutdown case
    
    Signed-off-by: Yiqiao Pu <ypu@redhat.com>
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5455 592f7852-d20e-0410-864c-8624ca9c26a4
  2. KVM test: Add Transparent Hugepages subtests

    lmr authored
    Transparent hugepage test includes:
    
    1) Smoke test and stress test
    Smoking test is test the transparent hugepage is used by kvm and guest.
    Stress test test use a parallel dd to test the stability of transparent
    hugepages
    
    2) Swap test
    Bootup a vm and verify that it can be swapped out and swapped in
    correctly
    
    3) Defrag test
    Allocate hugepage for libhugetlbfs while defrag is on and off. Then
    compare the results
    
    Changes from v1:
    * Different paths to mount debugfs and tmpfs on
    * Use of autotest API to execute commands
    * Use more current guest virt API to execute commands
    
    Changes from v2:
    * Add thp prepare in smoke and stress test
    * Put setup and clean up in try: ... finally: .... branch to make sure
    the env in host system will be clean up after test.
    
    Changes from v3:
    * Now the base THP test (smoke and stress tests) will be executed
    sequentially, if smoke fails carry on and execute stress anyway. Then
    after the test is done, report results.
    
    Signed-off-by: Yiqiao Pu <ypu@redhat.com>
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
    
    
    git-svn-id: svn://test.kernel.org/autotest/trunk@5454 592f7852-d20e-0410-864c-8624ca9c26a4
Something went wrong with that request. Please try again.