lp:~nuclearbob/qa-regression-testing/autotest

Created by Max Brustkern and last modified
Get this branch:
bzr branch lp:~nuclearbob/qa-regression-testing/autotest

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Max Brustkern
Project:
QA Regression Testing
Status:
Experimental

Import details

Import Status: Failed

This branch is an import of the HEAD branch of the Git repository at https://github.com/autotest/autotest.git.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was .

Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 25 seconds — see the log
Import started on pear and finished taking 50 seconds — see the log
Import started on pear and finished taking 1 minute — see the log
Import started on pear and finished taking 30 seconds — see the log

Recent revisions

6587. By Lucas Meneghel Rodrigues <email address hidden>

virt: Remove temporarily virsh_unittest

As it needs to be reworked post virt test refactoring.

Signed-off-by: Lucas Meneghel Rodrigues <email address hidden>

6586. By Lucas Meneghel <email address hidden>

virt.utils_misc: Write keyvals of the kernel version used

We want to display kernel versions used for virt jobs, so
let's record the kernel used in each scenario right from
the install_host_kernel helper function.

Signed-off-by: Lucas Meneghel Rodrigues <email address hidden>

6585. By Xiaoqing Wei <email address hidden>

virt.kvm_vm: Don't regenerate spice cert when they already exist

Now autotest alway regenerates certs before run/boot
a guest, which is not needed, and sometimes could be
a disaster when one has a running VM, since re-generate
the certs would make your existing VM no longer accessible.

Signed-off-by: Xiaoqing Wei <email address hidden>

6584. By Xiaoqing Wei <email address hidden>

virt.kvm_vm: Adding bios_path to pass custom bios path

Sometimes people need to use customized bios, eg: for debugging.

Signed-off-by: Xiaoqing Wei <email address hidden>

6583. By Yunping Zheng <email address hidden>

virt.kvm_vm: Add prefix/disable_kvm/disable_shutdown support

This patch adds the following new config keys for
the virt tests (kvm variant):

 1) Add prefix to the qemu cmd (ex: valgrind)
 2) Explicitly add -no-kvm to the qemu cmd
 3) Explicitly add -no-shutdown to the qemu cmd

Document the additions on base.cfg.

Signed-off-by: Yunping Zheng <email address hidden>

6582. By Lucas Meneghel Rodrigues <email address hidden>

virt.kvm_vm: Skip adding interface to TAP if it's already present

This is a solution for issue #520 - when trying to create
a TAP device, the interface might be already a member of
the bridge, so the addition will fail with an IOError, with
errno == errno.EBUSY (device or resource busy). That IOError
will be wrapped in our TAPCreationError exception. So, when
performing the operation, catch the TAPCreationError and
verify errno of the detail attribute, if it's errno.EBUSY,
skip the addition operation and continue.

Signed-off-by: Lucas Meneghel Rodrigues <email address hidden>

6581. By Lucas Meneghel Rodrigues <email address hidden>

virt.storage: Backup both good and bad images upon disk corruption

It's useful to have both the good image created
at unattended install time and, when the image
gets corrupted, the bad image, both with the same
unique suffix. So expand the backup image method
to handle this behavior accordingly, and also
simplify the logic used on that method.

CC: Cleber Rosa <email address hidden>
CC: Kevin Wolf <email address hidden>
Signed-off-by: Lucas Meneghel Rodrigues <email address hidden>

6580. By Prem Karat

virt-libvirt: libvirt_vm bug fix

If the action is status, the funtion is supposed to return True when libvirtd
    service is running,otherwise return False if its stopped.
    However in this case since the function calls utilis.run without
    ignore_status=True, if the libvirtd service is stopped, then a CmdError
    is raised and the utils.run function fails to return after raising the
    error, in which case service_libvirtd_control(status) will never return false
    when libvirtd service is stopped.

    The fix will be to use ignore_status=True while calling utils.run,
    so that it can return if there is a CmdError, in case libvirtd is
    stopped.

Signed-off-by: Prem Karat <email address hidden>

6579. By Chris Evich

virt-libvirt: Enhance libvirt_xml

* Improved LibvirtXMLError exception with optional string argument
* Added module docstring
* Added LibvirtXMLBase base-class for common methods/attributes
* Added simple LibvirtXML class

Signed-off-by: Chris Evich <email address hidden>

6578. By Chris Evich

client: xml_utils documentation update

I noticed some confusion on intended usage of some of the classes.
Added extensive documentation regarding design intent and references
to additional examples and docs.

Signed-off-by: Chris Evich <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers