aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test
Commit message (Collapse)AuthorAgeFilesLines
...
* Replace tabs with spaces.Ewan Mellor2007-03-2323-60/+59
| | | | Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
* Change the eyecatcher to be case-insensitive, so that "Internal error" isEwan Mellor2007-03-202-4/+4
| | | | | | detected. Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* Have xm-test wait for the network device to detach. This is an asynchronousEwan Mellor2007-03-201-0/+19
| | | | | | process, so xm-test needs to poll. Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* Fix typo in xm-test.Ewan Mellor2007-03-141-1/+1
| | | | Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* [XM-TEST] vTPM test changeskfraser@localhost.localdomain2007-03-132-2/+3
| | | | | | | | Remove an uninitialized variable. For some reason the 'ps aux' command does not see the process anymore (since some time on the weekend). Need to add 'COLUMNS=n'. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Make the VTPM.destroy method return 'void' upon success and adapt theEwan Mellor2007-03-091-4/+5
| | | | | | test case to reflect that. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* xm-test, acm: Use xvda* device name instead of sdb* device inside guest domain.kfraser@localhost.localdomain2007-02-261-9/+9
| | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Use the new xen-python-path to set PYTHONPATH, rather than trying to do it inEwan Mellor2007-02-012-21/+3
| | | | | | XmTestLib.__init__ (and getting it wrong). Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Copy the definition of DOM0_UUID into XenDomain so that we don't need to importEwan Mellor2007-02-012-2/+4
| | | | | | large swathes of the server to run the Xen-API tests. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Align vTPM support in the Xen-API, documentation and lib-xenkaf24@localhost.localdomain2007-01-301-17/+104
| | | | | | (after the recent changes). Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* [XM-TEST] Allow building of ramdisk on x86_64Alastair Tse2007-01-231-1/+1
| | | | Signed-off-by: Alastair Tse <atse@xensource.com>
* [XEND] Fix get_dev_property_by_uuidAlastair Tse2007-01-222-1/+131
| | | | | | | | | | | This patch replaces calls to get_dev_property() by calls to get_dev_property_by_uuid() in XenAPI.py and fixes the implementation of get_dev_property_by_uuid. I am adding a test case to the xapi grouptests to verify the fixes. There's a FIXME note in the test case which should be looked at. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* This patch does the following:Ewan Mellor2007-01-119-117/+253
| | | | | | | | | | | | | | | - renames the XenManagedDomain.py file to XenAPIDomain.py, since this name better reflects its functionality/purpose - adds domain tracking to the XenAPIDomain class so that xend-managed domains can be deleted in an 'atexit' handler upon test case termination - adds one basic xapi-related test which is part of the grouptests 'xapi' - refactors the vtpm-related test using xen-api and adds it to the grouptest 'xapi' - adds documentation to the README for how to configure xm and xend to use XML-RPC or Xen-API for communication Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* I added a parameter '-md' to 'runtest.sh' for running the xm test suiteEwan Mellor2007-01-112-0/+10
| | | | | | | | | | in a mode where all created domains a created as xend-managed domains. This patch also fixes a problem related to calling 'xm domid' on a currently suspended domain if that domain is a managed domain. In that case a 'None' is returned by Xend, which I default to '-1'. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Update sched-credit test to match new format from xm sched-credit.Ewan Mellor2007-01-091-13/+20
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* This simple patch allows domains created in the xm-test suite to beEwan Mellor2007-01-092-4/+67
| | | | | | | | created as managed domains using either a parameter to the XenTestDomain() constructor or by setting the environment variable XM_MANAGED_DOMAINS and running the tests with it. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Add needed modules to the ramdisk if the modules exist on the current system.Ewan Mellor2007-01-092-2/+22
| | | | | | (i.e. the current system contains a modularized kernel) Signed-off-by: Lynn Bendixsen <lbendixs@novell.com>
* [XM-TEST] Tweak 06_block-destroy_check_list_pos to allow more time to checkSteven Hand2007-01-041-2/+6
| | | | | | block device has gone away from point of view of domain sxp. Signed-off-by: Steven Hand <steven@xensource.com>
* Only try to label resources if ACM is enabled.Ewan Mellor2006-12-161-0/+2
| | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* merge with xen-unstable.hgawilliam@xenbuild2.aw2006-12-081-1/+7
|\
| * Download and symlink the i386 version of the ramdisk when running on x86_64.Ewan Mellor2006-12-081-1/+7
| | | | | | | | | | | | This means that people don't need to explicitly set BR_ARCH. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* | merge with xen-unstable.hgawilliam@xenbuild.aw2006-12-051-2/+3
|\|
| * This adds a recently added parameter to the vm.start call.Ewan Mellor2006-12-041-2/+3
| | | | | | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* | merge with xen-unstable.hgawilliam@xenbuild.aw2006-12-045-1/+321
|\|
| * Revert the change to destroy all VMs when skipping or failing tests -- thisEwan Mellor2006-12-031-3/+0
| | | | | | | | | | | | | | | | needs more thought, because people shouldn't need to set up their Xen-API server to run the non-Xen-API bits of the test, and at the moment, you get authentication failures on every SKIP. Signed-off-by: Ewan Mellor <ewan@xensource.com>
| * MergeAlastair Tse2006-12-019-0/+0
| |
| * Use the new xen-api.sock for the calls to the Xen-API server.Ewan Mellor2006-12-011-1/+1
| | | | | | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
| * This patch provides XmTestManagedDomain and XenManagedDomain classesEwan Mellor2006-12-016-1/+324
|/ | | | | | | | | | | | | | | | | | | similar to the XmTestDomain and XenDomain classes. I have wrapped the xen-api for VM configuration creation, starting and stopping of VMs and destruction of the VM configuration in the XenManagedDomain class's methods. No device-related functions are provided through the class. The managed domains' UUIDs are tracked and all created VMs are destroyed upon failure or skipping of the test or by calling xapi.vm_destroy_all(). I am adding a new grouptest 'xapi' for running xen-api tests. Only caveat: I am using an empty username and password (XmTestList/xapi.py) with Xend's authentication deactivated to run these tests. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* merge with xen-unstable.hgawilliam@xenbuild.aw2006-11-1036-158/+276
|\
| * When running tests unattended it's useful to know how long they haveEwan Mellor2006-11-101-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | taken, as (significantly) increasing the runtime (without introducing failures) can be considered a regression. This patch adds a block like: ==== Xm-test timing summary: Run Started : Fri, 10 Nov 2006 14:53:18 +1100 Run Stopped : Fri, 10 Nov 2006 14:53:20 +1100 ==== to the generated report. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
| * [XM-TEST] Relax craete_mem*_pos checks to allow a 2MB less thanAlastair Tse2006-11-093-3/+3
| | | | | | | | | | | | | | | | | | expected. Now that xm list outputs the real system memory allocation, this can be 1-2MB less than expected. Signed-off-by: Alastair Tse <atse@xensource.com>
| * fix xm-test configure.ac to not define RD_PATH which prevented env overrideEwan Mellor2006-11-021-4/+3
| | | | | | | | Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
| * Update README.Ewan Mellor2006-11-011-1/+2
| | | | | | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
| * Fix comment.Ewan Mellor2006-11-011-1/+1
| | | | | | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
| * Add helper script for releasing xm-test binary ISOs.Ewan Mellor2006-11-011-0/+47
| | | | | | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
| * Bump xm-test version to 1.1 to accommodate new devices.Ewan Mellor2006-11-012-1/+46
| | | | | | | | Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
| * Allow the i386 ramdisk to be used on x86_64. Part of a patch from Yu Ping Y.Ewan Mellor2006-11-011-1/+7
| | | | | | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
| * Correct copy-n-paste error.Ewan Mellor2006-11-011-4/+2
| | | | | | | | | | | | Also Whitespace cleanups. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
| * Add xvd devices to the initrd.Ewan Mellor2006-11-011-0/+13
| | | | | | | | Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
| * Update all block tests to use the Xen Virtual Block Device (xvd) rather than ↵Ewan Mellor2006-11-0122-130/+128
| | | | | | | | | | | | | | | | | | | | | | | | IDEor SCSI. This patch also modifies 09_block_attach_and_dettach_device_check_data_pos.py to force / to be read-write otherwise the mkdir fails. Also Whistspace cleanups. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
| * The XenDomain class does not respect the arch defaults whereEwan Mellor2006-11-011-8/+3
| | | | | | | | | | | | | | | | | | | | | | as XmTestDomain does. This part of the patch forces both HVM and non-HVM tests to use XmTestDomain. With appropriate changes to the extraConfig arg. On PPC we need to use the arch defaults to get the console setup correctly. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
| * This fixes another missing part for x86-64 support in the xm testsuite.Ewan Mellor2006-11-011-0/+4
| | | | | | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
| * [XEN] Replace hvm_setup_platform() with hvm_domain_initialise()kaf24@localhost.localdomain2006-11-051-1/+0
| | | | | | | | | | | | | | | | and extra code in hvm_vcpu_initialise(). Remove 'apic' config option -- HVM CPUs will always have an APIC (which should be set up in virtual wire mode for backward compatibility, just as in a real system). Signed-off-by: Keir Fraser <keir@xensource.com>
| * [XEND] Handle permission denied when calling xc.domain_getinfoAlastair Tse2006-11-031-0/+0
| | | | | | | | Signed-off-by: Alastair Tse <atse@xensource.com>
| * Fix ramdisk Makefile so that downloading from xm-test.xensource.com actuallyEwan Mellor2006-10-261-2/+2
|/ | | | | | works. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
* Add x86_64 to the supported architectures since otherwise the testsEwan Mellor2006-10-241-1/+2
| | | | | | don't run. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Fix Memory assumptions in the create tests.Ewan Mellor2006-10-244-7/+16
| | | | | | Use the architecture specified idea of minimum memory. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
* This puts two small fixes in the xm-test suite:Ewan Mellor2006-10-242-2/+5
| | | | | | | | - it turns off verbose mode of the ACM module - copies the test policy to the policies directory only if the directory has been created Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Added multiarch support to xm-test. Bumped version number to xm-test 1.0.Ewan Mellor2006-10-245-13/+82
| | | | | | New README for public ramdisks. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Update buildroot configs to match snapshot downloaded for public ramdisks.Ewan Mellor2006-10-242-8/+28
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>