| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Signed-off-by: Murillo F. Bernardes <mfb@br.ibm.com>
|
|
|
|
|
| |
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|
|
|
|
|
|
|
| |
is created but left paused, so it is necessary to destroy the domain afterwards,
whether the test succeeded or failed.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|
|
|
|
|
|
| |
didn't test.
Signed-off-by: Jim Dykman <dykman@us.ibm.com>
|
|
|
|
|
|
| |
Signed-off-by: Dan Stekloff <dsteklof@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will simplify the way we differentiate between HV and PV domains,
as well as make it easier to run normal tests in either HV or PV mode.
This patch has been modified by Ewan Mellor, to match his recent changes to
remove the nics= configuration option.
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Dan Stekloff <dsteklof@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
entries in vif to guide the configuration. This is much less confusing.
Closes bug #440.
Change the example configuration files to match. Also change them to use the
XenSource OUI in the MAC addresses. Also change xm-test to match.
Remove the obsolete ipaddr configuration entry, and the backend_mac vif config
option.
Remove the preprocess_vifs function, folding it into the configure_vifs
function, and creating a simple comma_sep_kv_to_dict helper.
Remove the configure_vfr method, as it is unused.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|
|
|
|
|
|
|
|
|
|
| |
1) Added script create_disk_image to make full virt image
2) Changed XenDomain.py to build separate XmTestDomain object
for vmx guests (this structure will need to be cleaned up)
3) Changed ramdisk Makefile.am to create disk.img if vmx configured
Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
|
|
|
|
|
| |
Signed-off-by: Jim Dykman <dykman@us.ibm.com>
|
|
|
|
|
| |
Signed-off-by: Jim Dykman <dykman@us.ibm.com>
|
|
|
|
|
| |
Signed-off-by: Jim Dykman <dykman@us.ibm.com>
|
|
|
|
|
| |
Signed-off-by: Jim Dykman <dykman@us.ibm.com>
|
|
|
|
|
| |
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|
|
|
|
|
| |
"xm list --long" reflects removed devices.
|
|\ |
|
| |
| |
| |
| |
| | |
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
created if the domain creation actually succeeded). Use total_memory not
free_memory to determine how big to make the domain -- when ballooning down of
dom0 works properly, creating a domain larger than free_memory is possible.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
| |
| |
| |
| |
| |
| | |
restored DomUs, since they currently Oops on x86_64.
|
| | |
|
|/
|
|
|
|
| |
network-detach to the reporting site.
|
|
|
|
|
| |
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|
|
|
|
| |
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to respond first time. For restored and unpaused domains there is no need for
the console to output data, so we cannot use this as a way to detect the
liveness of a console. Instead, a command must always be sent to the console,
which means that this failure can only be detected once the constructor of the
Console class has returned successfully. The __chewall loop still remains, in
order to detect runaway consoles and to clear out previous data from the
console before executing commands, but we no longer treat failure of that
method to read data as a failure of the console itself.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|
|
|
|
|
|
| |
frontend device teardown.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|
|
|
|
|
|
| |
13_create_multinic from the XFAIL list, as this one works also.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|
|
|
|
| |
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|
|
|
|
| |
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|\ |
|
| |
| |
| |
| |
| |
| | |
we run the entire suite
|
| |
| |
| |
| |
| | |
Signed-off-by: Murillo Fernandes Bernardes <mfb@br.ibm.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
current Console.py API, because no bytes have come from it, but that's not a
failure -- an unpaused domain has no reason to output any more data. We need
to send a command to the domain before we can be sure whether it is alive or
dead, so move the FAIL call, allowing the console connection to throw
ConsoleError.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(should be testing against -1, not merely using if or if not), one block-list
command was missing, and the block-detach command is asynchronous (to give the
domain time to close down the device) so we need a time.sleep(1) call before
trying xm block-list.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|/
|
|
|
|
|
| |
a DomU running with a block device attached.
Signed-off-by: Dan Smith <danms@us.ibm.com>
|
|
|
|
|
|
| |
Signed-off-by: Murillo Fernandes Bernardes <mfb@br.ibm.com>
|
| |
|
|
|
|
|
|
| |
daemon death.
|
| |
|
|
|
|
|
|
| |
as they are block-attach'd and block-detach'd.
|
| |
|
|
|
|
|
|
|
| |
This should allow the rest of the tests to run without reporting
failure because this test killed the console system.
|
| |
|
|
|
|
|
|
|
|
| |
We need to attach a console before rebooting to make sure the domain did
actually boot in the first place. Also, use a better method for pulling out
the uptime string.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
correctly. Many checks were looking using output.find("Error") > 1, which is
incorrect, as we do not guarantee that the word "Error" will be first in the
output (never mind the fact that strings are indexed from 0).
All these checks have been changed to compare against -1. In particular, this
should fix the failure of create_noparm_neg and create_badparm_neg on a machine
with the /etc/xen/xmdefconfig file in place, as xm create issues the
Using config file "/etc/xen/xmdefconfig" diagnostic before reporting the error.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|
|
|
|
|
|
|
|
|
| |
first *should* report failure, so the test should not fail because of this.
The test now fails because multiple calls to block-attach seem to detach the
block devicem, which is wrong.
Signed-off-by: Dan Smith <danms@us.ibm.com>
|
|
|
|
|
|
| |
restored to a working state and that the nics retain their configuration.
|
| |
|
|
|
|
|
|
| |
contain less garbage
|
|
|
|
|
|
|
|
|
| |
with a block device attached. It starts up a domain, mounts a block
device, writes data to it, saves, restores, and then verifies that the
block device can still be read.
Signed-off-by: Dan Smith <danms@us.ibm.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
in with xm-test in changeset 7634. It also adds an "autogen" script
that re-creates these files.
The auto-generated files really don't need to be in the tree, as they
should be generated by the user on the machine where they plan to run
xm-test.
Signed-off-by: Dan Smith <danms@us.ibm.com>
|