From patchwork Tue Dec 8 02:59:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 65617 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB82xj1o007289 for ; Tue, 8 Dec 2009 02:59:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754938AbZLHC7c (ORCPT ); Mon, 7 Dec 2009 21:59:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934278AbZLHC7b (ORCPT ); Mon, 7 Dec 2009 21:59:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39925 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965446AbZLHC70 (ORCPT ); Mon, 7 Dec 2009 21:59:26 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB82xWvs012617 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 7 Dec 2009 21:59:32 -0500 Received: from localhost.localdomain (vpn-11-165.rdu.redhat.com [10.11.11.165]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB82xBsp014907; Mon, 7 Dec 2009 21:59:29 -0500 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, mgoldish@redhat.com, Lucas Meneghel Rodrigues Subject: [PATCH 4/5] KVM test: Reorganizing configuration files Date: Tue, 8 Dec 2009 00:59:04 -0200 Message-Id: <1260241145-19029-4-git-send-email-lmr@redhat.com> In-Reply-To: <1260241145-19029-3-git-send-email-lmr@redhat.com> References: <1260241145-19029-1-git-send-email-lmr@redhat.com> <1260241145-19029-2-git-send-email-lmr@redhat.com> <1260241145-19029-3-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/client/tests/kvm/address_pools.cfg.sample b/client/tests/kvm/address_pools.cfg.sample new file mode 100644 index 0000000..b5967ce --- /dev/null +++ b/client/tests/kvm/address_pools.cfg.sample @@ -0,0 +1,65 @@ +# Copy this file to address_pools.cfg and edit it. +# +# This file specifies several MAC-IP ranges for each host in the network that +# may run KVM tests. A MAC address must not be used twice, so these ranges +# must not overlap. The VMs running on each host will only use MAC addresses +# from the pool of that host. +# If you wish to use a static MAC-IP mapping, where each MAC address range is +# mapped to a known corresponding IP address range, specify the bases of the IP +# address ranges in this file. +# If you specify a MAC address range without a corresponding IP address range, +# the IP addresses for that range will be determined at runtime by listening +# to DHCP traffic using tcpdump. +# If you wish to determine IP addresses using tcpdump in any case, regardless +# of any # IP addresses specified in this file, uncomment the following line: +#always_use_tcpdump = yes +# You may also specify this parameter for specific hosts by adding it in the +# appropriate sections below. + +variants: + # Rename host1 to an actual (short) hostname in the network that will be running the Autotest client + - @host1: + # Add/remove ranges here + address_ranges = r1 r2 + + # Modify the following parameters to reflect the DHCP server's configuration + address_range_base_mac_r1 = 52:54:00:12:35:56 + #address_range_base_ip_r1 = 10.0.2.20 + address_range_size_r1 = 16 + + # Modify the following parameters to reflect the DHCP server's configuration + address_range_base_mac_r2 = 52:54:00:12:35:80 + #address_range_base_ip_r2 = 10.0.2.40 + address_range_size_r2 = 16 + + # Rename host2 to an actual (short) hostname in the network that will be running the Autotest client + - @host2: + # Add/remove ranges here + address_ranges = r1 r2 + + # Modify the following parameters to reflect the DHCP server's configuration + address_range_base_mac_r1 = 52:54:00:12:36:56 + #address_range_base_ip_r1 = 10.0.3.20 + address_range_size_r1 = 16 + + # Modify the following parameters to reflect the DHCP server's configuration + address_range_base_mac_r2 = 52:54:00:12:36:80 + #address_range_base_ip_r2 = 10.0.3.40 + address_range_size_r2 = 16 + + # Add additional hosts here... + + # This will be used for hosts that do not appear on the list + - @default_host: + # Add/remove ranges here + address_ranges = r1 r2 + + # Modify the following parameters to reflect the DHCP server's configuration + address_range_base_mac_r1 = 52:54:00:12:34:56 + #address_range_base_ip_r1 = 10.0.1.20 + address_range_size_r1 = 16 + + # Modify the following parameters to reflect the DHCP server's configuration + address_range_base_mac_r2 = 52:54:00:12:34:80 + #address_range_base_ip_r2 = 10.0.1.40 + address_range_size_r2 = 16 diff --git a/client/tests/kvm/build.cfg.sample b/client/tests/kvm/build.cfg.sample new file mode 100644 index 0000000..9da698b --- /dev/null +++ b/client/tests/kvm/build.cfg.sample @@ -0,0 +1,85 @@ +# Copy this file to build.cfg and edit it. +# +# This configuration file holds the KVM build test config parameters. +# The default is noinstall (won't attempt to build KVM), so if you stick with it +# please make sure: +# 1) You have setup symbolic links to qemu and qemu-img binaries on the +# KVM test dir. +# 2) The appropriate KVM modules are already loaded on your machine. + +variants: + - build: + type = build + # Load modules built/installed by the build test? + load_modules = no + variants: + - release: + mode = release + ## Install from a kvm release. You can optionally specify + ## a release tag. If you omit it, the build test will get + ## the latest release tag available at that moment. + # release_tag = 84 + release_dir = http://downloads.sourceforge.net/project/kvm/ + release_listing = http://sourceforge.net/projects/kvm/files/ + - snapshot: + mode = snapshot + ## Install from a kvm snapshot location. You can optionally + ## specify a snapshot date. If you omit it, the test will get + ## yesterday's snapshot. + # snapshot_date = 20090712 + snapshot_dir = http://foo.org/kvm-snapshots/ + - localtar: + mode = localtar + ## Install from tarball located on the host's filesystem. + tarball = /tmp/kvm-84.tar.gz + - localsrc: + mode = localsrc + ## Install from tarball located on the host's filesystem. + srcdir = /tmp/kvm-84 + - git: + mode = git + ## Install KVM from git repositories. + ## If you provide only "git_repo" and "user_git_repo", the + ## build test will assume it will perform all build from the + ## userspace dir, building modules trough + ## make -C kernel LINUX=%s sync. As of today (07-13-2009) + ## upstream needs 3 git repos: + ## * git_repo (linux sources) + ## * user_git_repo (qemu sources) + ## * kmod_repo" to build KVM userspace + kernel modules. + git_repo = git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git + # kernel_branch = kernel_branch_name + # kernel_lbranch = kernel_lbranch_name + # kernel_tag = kernel_tag_name + user_git_repo = git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git + # user_branch = user_branch_name + # user_lbranch = user_lbranch_name + # user_tag = user_tag_name + kmod_repo = git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git + # kmod_branch = kmod_branch_name + # kmod_lbranch = kmod_lbranch_name + # kmod_tag = kmod_tag_name + - koji: + mode = koji + ## Install KVM from koji (Fedora build server) + ## It is possible to install packages right from Koji if you + ## provide a release tag or a build. + ## Tag (if available) + koji_tag = dist-f11 + ## Build (if available, is going to override tag). + koji_build = qemu-0.10-16.fc11 + ## Command to interact with the build server + koji_cmd = /usr/bin/koji + ## The name of the source package that will be built + src_pkg = qemu + ## Name of the rpms we need installed + pkg_list = ['qemu-kvm', 'qemu-kvm-tools', 'qemu-system-x86', 'qemu-common', 'qemu-img'] + ## Paths of the qemu relevant executables that should be checked + qemu_bin_paths = ['/usr/bin/qemu-kvm', '/usr/bin/qemu-img'] + + +# Choose your install method here. The variant noinstall is not defined by +# default, so therefore no attempt to build/install KVM will be made by +# default +only build.noinstall + diff --git a/client/tests/kvm/cdkeys.cfg.sample b/client/tests/kvm/cdkeys.cfg.sample new file mode 100644 index 0000000..17ec5cc --- /dev/null +++ b/client/tests/kvm/cdkeys.cfg.sample @@ -0,0 +1,17 @@ +# Copy this file to cdkeys.cfg and edit it. +# +# Replace the 'CDKEY' strings with real cdkeys where necessary. +# Guests that do not require cdkeys by default are commented out. +# You may uncomment them if necessary. + +RHEL.5.3.i386: cdkey = CDKEY +RHEL.5.3.x86_64: cdkey = CDKEY +Win2000: cdkey = CDKEY +WinXP.32: cdkey = CDKEY +WinXP.64: cdkey = CDKEY +Win2003.32: cdkey = CDKEY +Win2003.64: cdkey = CDKEY +#WinVista.32: cdkey = CDKEY +#WinVista.64: cdkey = CDKEY +#Win2008.32: cdkey = CDKEY +#Win2008.64: cdkey = CDKEY diff --git a/client/tests/kvm/kvm_address_pools.cfg.sample b/client/tests/kvm/kvm_address_pools.cfg.sample deleted file mode 100644 index debfe56..0000000 --- a/client/tests/kvm/kvm_address_pools.cfg.sample +++ /dev/null @@ -1,64 +0,0 @@ -# Rename this file to kvm_address_pools.cfg. -# This file specifies several MAC-IP ranges for each host in the network that -# may run KVM tests. A MAC address must not be used twice, so these ranges -# must not overlap. The VMs running on each host will only use MAC addresses -# from the pool of that host. -# If you wish to use a static MAC-IP mapping, where each MAC address range is -# mapped to a known corresponding IP address range, specify the bases of the IP -# address ranges in this file. -# If you specify a MAC address range without a corresponding IP address range, -# the IP addresses for that range will be determined at runtime by listening -# to DHCP traffic using tcpdump. -# If you wish to determine IP addresses using tcpdump in any case, regardless -# of any # IP addresses specified in this file, uncomment the following line: -#always_use_tcpdump = yes -# You may also specify this parameter for specific hosts by adding it in the -# appropriate sections below. - -variants: - # Rename host1 to an actual (short) hostname in the network that will be running the Autotest client - - @host1: - # Add/remove ranges here - address_ranges = r1 r2 - - # Modify the following parameters to reflect the DHCP server's configuration - address_range_base_mac_r1 = 52:54:00:12:35:56 - #address_range_base_ip_r1 = 10.0.2.20 - address_range_size_r1 = 16 - - # Modify the following parameters to reflect the DHCP server's configuration - address_range_base_mac_r2 = 52:54:00:12:35:80 - #address_range_base_ip_r2 = 10.0.2.40 - address_range_size_r2 = 16 - - # Rename host2 to an actual (short) hostname in the network that will be running the Autotest client - - @host2: - # Add/remove ranges here - address_ranges = r1 r2 - - # Modify the following parameters to reflect the DHCP server's configuration - address_range_base_mac_r1 = 52:54:00:12:36:56 - #address_range_base_ip_r1 = 10.0.3.20 - address_range_size_r1 = 16 - - # Modify the following parameters to reflect the DHCP server's configuration - address_range_base_mac_r2 = 52:54:00:12:36:80 - #address_range_base_ip_r2 = 10.0.3.40 - address_range_size_r2 = 16 - - # Add additional hosts here... - - # This will be used for hosts that do not appear on the list - - @default_host: - # Add/remove ranges here - address_ranges = r1 r2 - - # Modify the following parameters to reflect the DHCP server's configuration - address_range_base_mac_r1 = 52:54:00:12:34:56 - #address_range_base_ip_r1 = 10.0.1.20 - address_range_size_r1 = 16 - - # Modify the following parameters to reflect the DHCP server's configuration - address_range_base_mac_r2 = 52:54:00:12:34:80 - #address_range_base_ip_r2 = 10.0.1.40 - address_range_size_r2 = 16 diff --git a/client/tests/kvm/kvm_cdkeys.cfg.sample b/client/tests/kvm/kvm_cdkeys.cfg.sample deleted file mode 100644 index 60bfe59..0000000 --- a/client/tests/kvm/kvm_cdkeys.cfg.sample +++ /dev/null @@ -1,16 +0,0 @@ -# Rename this file to kvm_cdkeys.cfg. -# Replace the 'CDKEY' strings with real cdkeys where necessary. -# Guests that do not require cdkeys by default are commented out. -# You may uncomment them if necessary. - -RHEL.5.3.i386: cdkey = CDKEY -RHEL.5.3.x86_64: cdkey = CDKEY -Win2000: cdkey = CDKEY -WinXP.32: cdkey = CDKEY -WinXP.64: cdkey = CDKEY -Win2003.32: cdkey = CDKEY -Win2003.64: cdkey = CDKEY -#WinVista.32: cdkey = CDKEY -#WinVista.64: cdkey = CDKEY -#Win2008.32: cdkey = CDKEY -#Win2008.64: cdkey = CDKEY diff --git a/client/tests/kvm/kvm_tests.cfg.sample b/client/tests/kvm/kvm_tests.cfg.sample deleted file mode 100644 index 20ae332..0000000 --- a/client/tests/kvm/kvm_tests.cfg.sample +++ /dev/null @@ -1,941 +0,0 @@ -# Define the objects we'll be using -vms = vm1 -images = image1 -nics = nic1 - -# Choose the main VM -main_vm = vm1 - -# Some preprocessor/postprocessor params -start_vm = yes -convert_ppm_files_to_png_on_error = yes -#keep_ppm_files = yes -#keep_ppm_files_on_error = yes -kill_vm = no -kill_vm_gracefully = yes -kill_unresponsive_vms = yes - -# Some default VM params -qemu_binary = qemu -qemu_img_binary = qemu-img -smp = 1 -mem = 512 -image_size = 10G -shell_port = 22 -display = vnc - -# Default scheduler params -used_cpus = 1 -used_mem = 512 - -# Port redirections -redirs = remote_shell -guest_port_remote_shell = 22 - -# NIC parameters -nic_mode = user -#nic_mode = tap -nic_script = scripts/qemu-ifup -address_index = 0 - - -# Tests -variants: - - install: - type = steps - fail_if_stuck_for = 300 - stuck_detection_history = 2 - keep_screendump_history = yes - force_create_image = yes - kill_vm = yes - kill_vm_timeout = 60 - kill_vm_timeout_on_error = 0 - - - unattended_install: - type = unattended_install - kill_vm_on_error = yes - force_create_image = yes - pre_command = scripts/unattended.py - floppy = "images/floppy.img" - extra_params += " -boot d" - - - setup: install unattended_install - type = steps - fail_if_stuck_for = 300 - stuck_detection_history = 2 - kill_vm_on_error = yes - keep_screendump_history = yes - - - boot: install setup unattended_install - type = boot - kill_vm_on_error = yes - - - reboot: install setup unattended_install - type = boot - reboot_method = shell - kill_vm_on_error = yes - - - migrate: install setup unattended_install - type = migration - migration_test_command = help - migration_bg_command = "cd /tmp; nohup tcpdump -q -t ip host localhost" - migration_bg_check_command = pgrep tcpdump - migration_bg_kill_command = pkill tcpdump - kill_vm_on_error = yes - iterations = 2 - used_mem = 1024 - - - autotest: install setup unattended_install - type = autotest - test_timeout = 720 - variants: - - sleeptest: - test_name = sleeptest - test_timeout = 30 - test_control_file = sleeptest.control - - dbench: - test_name = dbench - test_control_file = dbench.control - - bonnie: - test_name = bonnie - test_control_file = bonnie.control - - ebizzy: - test_name = ebizzy - test_control_file = ebizzy.control - - stress: - test_name = stress - test_control_file = stress.control - - disktest: - test_name = disktest - test_control_file = disktest.control - - ctcs2: - test_name = cerberus - # If you think this is too lengthy, please change the cerberus - # control file and set this timeout appropriately. - test_timeout = 3900 - test_control_file = cerberus.control - - npb: - test_name = npb - test_control_file = npb.control - - hackbench: - test_name = hackbench - test_control_file = hackbench.control - - - - linux_s3: install setup unattended_install - type = linux_s3 - - - timedrift: install setup unattended_install - extra_params += " -rtc-td-hack" - variants: - - with_load: - type = timedrift - # Pin the VM and host load to CPU #0 - cpu_mask = 0x1 - # Set the load and rest durations - load_duration = 20 - rest_duration = 20 - # Fail if the drift after load is higher than 50% - drift_threshold = 50 - # Fail if the drift after the rest period is higher than 10% - drift_threshold_after_rest = 10 - # For now, make sure this test is executed alone - used_cpus = 100 - - with_migration: - type = timedrift_with_migration - migration_iterations = 3 - drift_threshold = 10 - drift_threshold_single = 3 - - with_reboot: - type = timedrift_with_reboot - reboot_iterations = 1 - drift_threshold = 10 - drift_threshold_single = 3 - - - stress_boot: install setup unattended_install - type = stress_boot - max_vms = 5 - alive_test_cmd = uname -a - clone_address_index_base = 10 - kill_vm = yes - kill_vm_vm1 = no - kill_vm_gracefully = no - extra_params += " -snapshot" - used_cpus = 5 - used_mem = 2560 - - - autoit: install setup unattended_install - type = autoit - autoit_binary = D:\AutoIt3.exe - autoit_script_timeout = 600 - autoit_script_params = - variants: - - notepad: - autoit_script = autoit/notepad1.au3 - - stub: - download = yes - download_cmd = "git clone" - rsc_server = "git://the.resource.server/autoit" - dst_rsc_dir = "C:\" - autoit_entry = "C:\autoit\stub\stub.au3" - - - guest_s4: install setup unattended_install - type = guest_s4 - check_s4_support_cmd = grep -q disk /sys/power/state - test_s4_cmd = "cd /tmp; nohup tcpdump -q -t ip host localhost" - check_s4_cmd = pgrep tcpdump - set_s4_cmd = echo disk > /sys/power/state - kill_test_s4_cmd = pkill tcpdump - services_up_timeout = 30 - - - nic_hotplug: install setup unattended_install - type = pci_hotplug - pci_type = nic - reference_cmd = lspci - find_pci_cmd = 'lspci | tail -n1' - pci_test_cmd = 'nslookup www.redhat.com' - wait_secs_for_hook_up = 3 - variants: - - nic_8139: - pci_model = rtl8139 - match_string = "8139" - - nic_virtio: - pci_model = virtio - match_string = "Virtio network device" - - nic_e1000: - pci_model = e1000 - match_string = "Gigabit Ethernet Controller" - - - block_hotplug: install setup unattended_install - type = pci_hotplug - pci_type = block - reference_cmd = lspci - find_pci_cmd = 'lspci | tail -n1' - images += " stg" - boot_drive_stg = no - image_name_stg = storage - image_size_stg = 1G - remove_image_stg = yes - force_create_image_stg = yes - pci_test_cmd = "yes | mke2fs `fdisk -l 2>&1 | awk '/\/dev\/[sv]d[a-z] doesn/ {print $2}'`" - wait_secs_for_hook_up = 3 - kill_vm_on_error = yes - variants: - - block_virtio: - pci_model = virtio - match_string = "Virtio block device" - - block_scsi: - pci_model = scsi - match_string = "SCSI" - variants: - - fmt_qcow2: - image_format_stg = qcow2 - - fmt_raw: - image_format_stg = raw - - - system_reset: install setup unattended_install - type = boot - reboot_method = system_reset - sleep_before_reset = 20 - kill_vm_on_error = yes - - - system_powerdown: install setup unattended_install - type = shutdown - shutdown_method = system_powerdown - sleep_before_powerdown = 20 - kill_vm = yes - kill_vm_gracefully = no - - - shutdown: install setup unattended_install - type = shutdown - shutdown_method = shell - kill_vm = yes - kill_vm_gracefully = no - - - vlan_tag: install setup unattended_install - type = vlan_tag - # subnet should not be used by host - subnet = 192.168.123 - vlans = "10 20" - nic_mode = tap - vms += " vm2" - extra_params_vm1 += " -snapshot" - extra_params_vm2 += " -snapshot" - kill_vm_gracefully_vm2 = no - address_index_vm2 = 1 - - - physical_resources_check: install setup unattended_install - type = physical_resources_check - catch_uuid_cmd = dmidecode | awk -F: '/UUID/ {print $2}' - -# NICs -variants: - - @rtl8139: - - virtio: rtl8139.install rtl8139.setup - no install setup - nic_model = virtio - - e1000: rtl8139.install rtl8139.setup - no install setup - nic_model = e1000 - - -# Guests -variants: - # Linux section - - @Linux: - no timedrift autoit - shutdown_command = shutdown -h now - reboot_command = shutdown -r now - status_test_command = echo $? - username = root - password = 123456 - shell_client = ssh - shell_port = 22 - file_transfer_client = scp - file_transfer_port = 22 - mem_chk_cmd = dmidecode -t 17 | awk -F: '/Size/ {print $2}' - cpu_chk_cmd = grep -c processor /proc/cpuinfo - - variants: - - Fedora: - no setup - shell_prompt = "^\[.*\][\#\$]\s*$" - - variants: - - 8.32: - no setup - image_name = fc8-32 - install: - steps = Fedora-8-i386.steps - cdrom = linux/Fedora-8-i386-DVD.iso - md5sum = dd6c79fddfff36d409d02242e7b10189 - md5sum_1m = dabae451bb69fbbad0e505b25144b1f9 - - - 8.64: - no setup - image_name = fc8-64 - install: - steps = Fedora-8-64.steps - cdrom = linux/Fedora-8-x86_64-DVD.iso - md5sum = 2cb231a86709dec413425fd2f8bf5295 - md5sum_1m = 145f6414e19492649a56c89f0a45e719 - - - 9.32: - image_name = fc9-32 - install: - steps = Fedora-9-i386.steps - cdrom = linux/Fedora-9-i386-DVD.iso - md5sum = 72601f685ea8c808c303353d8bf4d307 - md5sum_1m = f24fa25689e5863f1b99984c6feb787f - - - 9.64: - image_name = fc9-64 - install: - steps = Fedora-9-64.steps - cdrom = linux/Fedora-9-x86_64-DVD.iso - md5sum = 05b2ebeed273ec54d6f9ed3d61ea4c96 - md5sum_1m = 9822ab5097e37e8fe306ef2192727db4 - - - 11.32: - image_name = fc11-32 - install: - steps = Fedora-11-32.steps - cdrom = linux/Fedora-11-i386-DVD.iso - md5sum = e3b1e2d1ba42aa4705fa5f41771b3927 - md5sum_1m = dc8ddf90648c247339c721395aa49714 - unattended_install: - cdrom = linux/Fedora-11-i386-DVD.iso - md5sum = e3b1e2d1ba42aa4705fa5f41771b3927 - md5sum_1m = dc8ddf90648c247339c721395aa49714 - tftp = "images/tftpboot" - extra_params += " -bootp /pxelinux.0 -boot n" - kernel_args = "ks=floppy nicdelay=60" - unattended_file = unattended/Fedora-11.ks - - - 11.64: - image_name = fc11-64 - install: - cdrom = linux/Fedora-11-x86_64-DVD.iso - md5sum = 9d419844adeb93120215fe7505c9bce8 - md5sum_1m = 405ee05e2387a2e4328b008d5bcbdd1e - type = steps - steps = Fedora-11-64.steps - unattended_install: - cdrom = linux/Fedora-11-x86_64-DVD.iso - md5sum = 9d419844adeb93120215fe7505c9bce8 - md5sum_1m = 405ee05e2387a2e4328b008d5bcbdd1e - tftp = "images/tftpboot" - extra_params += " -bootp /pxelinux.0 -boot n" - kernel_args = "ks=floppy nicdelay=60" - unattended_file = unattended/Fedora-11.ks - - - DSL-4.2.5: - no setup dbench bonnie linux_s3 - image_name = dsl-4.2.5 - install: - steps = DSL-4.2.5.steps - cdrom = linux/dsl-4.2.5.iso - md5sum = 61694888aede3e01229865b8e6acd4a1 - md5sum_1m = 527f2481bd25310f2e3a6e5345ff3d12 - - - Mandriva-One-2007: - only install - image_name = mandriva-one-2007 - steps = Mandriva-One-2007-32.steps - cdrom = linux/mandriva-one-2007-i386.iso - md5sum = 7e9e183dc11b9d39f480238e4e12bb05 - md5sum_1m = dc7865a75db665efc86d59bca7c1fe07 - - - openSUSE-11.0.32: - no setup dbench bonnie - image_name = openSUSE-11.0-32 - install: - steps = openSUSE-11.0-32.steps - cdrom = linux/openSUSE-11.0-DVD-i386.iso - md5sum = ed6a5b3feb668866df812b1c2aed9d7f - md5sum_1m = c720b30557af758e69de450409516369 - - - openSUSE-11.1.32: - no setup dbench bonnie - image_name = openSUSE-11.1-32 - install: - steps = openSUSE-11.1-32-and-64.steps - cdrom = linux/openSUSE-11.1-DVD-i586.iso - md5sum = 8f51b278c0415be28c5699e465444bd3 - md5sum_1m = b70217417468389083429f81ba7ce2bd - - - openSUSE-11.1.64: - no setup dbench bonnie - image_name = openSUSE-11.1-64 - install: - steps = openSUSE-11.1-32-and-64.steps - cdrom = linux/openSUSE-11.1-DVD-x86_64.iso - md5sum = 2afee1b8a87175e6dee2b8dbbd1ad8e8 - md5sum_1m = 768ca32503ef92c28f2d144f2a87e4d0 - - - @Ubuntu: - shell_prompt = "^root@.*[\#\$]\s*$" - - variants: - - Ubuntu-6.10-32: - only install - image_name = ubuntu-6.10-32 - steps = Ubuntu-6.10-32.steps - cdrom = linux/ubuntu-6.10-desktop-i386.iso - md5sum = 17fb825641571ce5888a718329efd016 - md5sum_1m = 7531d0a84e7451d17c5d976f1c3f8509 - - - Ubuntu-8.04-32: - skip = yes - image_name = ubuntu-8.04-32 - install: - steps = Ubuntu-8.04-32.steps - cdrom = linux/ubuntu-8.04.1-desktop-i386.iso - setup: - steps = Ubuntu-8.04-32-setupssh.steps - - - Ubuntu-8.10-server-32: - image_name = ubuntu-8.10-server-32 - install: - steps = Ubuntu-8.10-server-32.steps - cdrom = linux/ubuntu-8.10-server-i386.iso - md5sum = a2ec9975a91e1228c8292ed9799dc302 - md5sum_1m = ea493eb8ef7722ead693492fd9f8a13f - setup: - steps = Ubuntu-8.10-server-32-gcc.steps - - - RHEL: - no setup - shell_prompt = "^\[.*\][\#\$]\s*$" - nic_hotplug: - modprobe_module = acpiphp - block_hotplug: - modprobe_module = acpiphp - - variants: - - 5.3.i386: - no setup - image_name = rhel5-32 - install: - steps=RHEL-5.3-i386.steps - cdrom=linux/RHEL-5.3-i386-DVD.iso - md5sum=371c62851611fd32ead440df6f24a296 - md5sum_1m=242318dd44152210f6ff6cdda1bfbf51 - unattended_install: - cdrom=linux/RHEL-5.3-i386-DVD.iso - md5sum=371c62851611fd32ead440df6f24a296 - md5sum_1m=242318dd44152210f6ff6cdda1bfbf51 - tftp = "images/tftpboot" - extra_params += " -bootp /pxelinux.0 -boot n" - kernel_args = "ks=floppy nicdelay=60" - unattended_file = unattended/RHEL-5-series.ks - - 5.3.x86_64: - no setup - image_name = rhel5-64 - install: - steps=RHEL-5.3-x86_64.steps - cdrom=linux/RHEL-5.3-x86_64-DVD.iso - md5sum=c5ed6b284410f4d8212cafc78fd7a8c5 - md5sum_1m=b999f437583098ea5bbd56fb1de1d011 - unattended_install: - cdrom=linux/RHEL-5.3-x86_64-DVD.iso - md5sum=c5ed6b284410f4d8212cafc78fd7a8c5 - md5sum_1m=b999f437583098ea5bbd56fb1de1d011 - tftp = "images/tftpboot" - extra_params += " -bootp /pxelinux.0 -boot n" - kernel_args = "ks=floppy nicdelay=60" - unattended_file = unattended/RHEL-5-series.ks - - 4.7.i386: - no setup autotest - image_name = rhel4-32 - install: - steps=RHEL-4.7-i386.steps - cdrom=linux/RHEL-4.7-i386-DVD.iso - md5sum=ee5092653732a88ddbaf8eef2484c500 - md5sum_1m=127081cbed825d7232331a2083975528 - unattended_install: - cdrom=linux/RHEL-4.7-i386-DVD.iso - md5sum=ee5092653732a88ddbaf8eef2484c500 - md5sum_1m=127081cbed825d7232331a2083975528 - tftp = "images/tftpboot" - extra_params += " -bootp /pxelinux.0 -boot n" - kernel_args = "ks=floppy nicdelay=60" - unattended_file = unattended/RHEL-4-series.ks - - 4.7.x86_64: - no setup autotest - image_name = rhel4-64 - install: - steps=RHEL-4.7-x86_64.steps - cdrom=linux/RHEL-4.7-x86_64-DVD.iso - md5sum=ea9dae16dd86f7d94092d0e672333292 - md5sum_1m=58fa63eaee68e269f4cb1d2edf479792 - unattended_install: - cdrom=linux/RHEL-4.7-x86_64-DVD.iso - md5sum=ea9dae16dd86f7d94092d0e672333292 - md5sum_1m=58fa63eaee68e269f4cb1d2edf479792 - tftp = "images/tftpboot" - extra_params += " -bootp /pxelinux.0 -boot n" - kernel_args = "ks=floppy nicdelay=60" - unattended_file = unattended/RHEL-4-series.ks - - 3.9.i386: - no setup autotest linux_s3 - image_name = rhel3-32 - install: - steps=RHEL-3.9-i386.steps - cdrom=linux/RHEL-3.9-i386-DVD.iso - md5sum=ddd11a1cb104119039b0fa05df6d52b8 - md5sum_1m=5f10c9417c7b8372b3456c1b5f3f9ed0 - unattended_install: - cdrom=linux/RHEL-3.9-i386-DVD.iso - md5sum=ddd11a1cb104119039b0fa05df6d52b8 - md5sum_1m=5f10c9417c7b8372b3456c1b5f3f9ed0 - tftp = "images/tftpboot" - extra_params += " -bootp /pxelinux.0 -boot n" - kernel_args = "ks=floppy nicdelay=60" - unattended_file = unattended/RHEL-3-series.ks - - 3.9.x86_64: - no setup autotest linux_s3 - image_name = rhel3-64 - install: - steps=RHEL-3.9-x86_64.steps - cdrom=linux/RHEL-3.9-x86_64-DVD.iso - md5sum=bf4635e4a4bd3b43838e72bc8c329d55 - md5sum_1m=18ecd37b639109f1b2af05cfb57dfeaf - unattended_install: - cdrom=linux/RHEL-3.9-x86_64-DVD.iso - md5sum=bf4635e4a4bd3b43838e72bc8c329d55 - md5sum_1m=18ecd37b639109f1b2af05cfb57dfeaf - tftp = "images/tftpboot" - extra_params += " -bootp /pxelinux.0 -boot n" - kernel_args = "ks=floppy nicdelay=60" - unattended_file = unattended/RHEL-3-series.ks - # Windows section - - @Windows: - no autotest linux_s3 vlan_tag - shutdown_command = shutdown /s /t 0 - reboot_command = shutdown /r /t 0 - status_test_command = echo %errorlevel% - shell_prompt = "^\w:\\.*>\s*$" - username = Administrator - password = 123456 - shell_linesep = "\r\n" - shell_client = nc - shell_port = 22 - # File transfers are currently unsupported - # file_transfer_client = scp - # file_transfer_port = 22 - - # This ISO will be used for all tests except install: - cdrom = windows/winutils.iso - - cpu_chk_cmd = echo %NUMBER_OF_PROCESSORS% - mem_chk_cmd = wmic memphysical - - migrate: - migration_test_command = ver && vol - migration_bg_command = start ping -t localhost - migration_bg_check_command = tasklist | find /I "ping.exe" - migration_bg_kill_command = taskkill /IM ping.exe /F - stress_boot: - alive_test_cmd = systeminfo - timedrift: - time_command = "echo TIME: %date% %time%" - time_filter_re = "(?<=TIME: \w\w\w ).{19}(?=\.\d\d)" - time_format = "%m/%d/%Y %H:%M:%S" - # For this to work, the cdrom at d: should contain vlc (d:\vlc\vlc.exe) and a video (d:\ED_1024.avi) - guest_load_command = 'cmd /c "d:\vlc\vlc -f --loop --no-qt-privacy-ask --no-qt-system-tray d:\ED_1024.avi"' - # Alternative guest load: - #guest_load_command = "(dir /s && dir /s && dir /s && dir /s) > nul" - guest_load_stop_command = "taskkill /F /IM vlc.exe" - guest_load_instances = 2 - host_load_command = "bzip2 -c --best /dev/urandom > /dev/null" - # Alternative host load: - #host_load_command = "dd if=/dev/urandom of=/dev/null" - host_load_instances = 8 - guest_s4: - check_s4_support_cmd = powercfg /hibernate on - test_s4_cmd = start ping -t localhost - check_s4_cmd = tasklist | find /I "ping.exe" - set_s4_cmd = rundll32.exe PowrProf.dll, SetSuspendState - kill_test_s4_cmd = taskkill /IM ping.exe /F - services_up_timeout = 30 - nic_hotplug: - reference_cmd = ipconfig /all - find_pci_cmd = ipconfig /all | find "Description" - wait_secs_for_hook_up = 10 - nic_e1000: - match_string = "Intel(R) PRO/1000 MT Network Connection" - nic_virtio: - match_string = "VirtIO Ethernet" - block_hotplug: - wait_secs_for_hook_up = 10 - reference_cmd = wmic diskdrive list brief - find_pci_cmd = wmic diskdrive list brief - pci_test_cmd = echo select disk 1 > dt && echo online >> dt && echo detail disk >> dt && echo exit >> dt && diskpart /s dt - physical_resources_check: - catch_uuid_cmd = - - variants: - - Win2000: - no reboot - image_name = win2000-32 - kill_vm_gracefully = no - install: - steps = Win2000-32.steps - cdrom = windows/Windows2000_sp4.iso - md5sum = dda6039f3a9173f0f6bfae40f5efdfea - md5sum_1m = dd28fba196d366d56fe774bd93df5527 - user = user - setup: - steps = Win2000-32-rss.steps - - - WinXP.32: - image_name = winXP-32 - install: - steps = WinXP-32.steps - user = user - cdrom = windows/WindowsXP-sp2-vlk.iso - md5sum = 743450644b1d9fe97b3cf379e22dceb0 - md5sum_1m = b473bf75af2d1269fec8958cf0202bfd - unattended_install: - cdrom = windows/WindowsXP-sp2-vlk.iso - md5sum = 743450644b1d9fe97b3cf379e22dceb0 - md5sum_1m = b473bf75af2d1269fec8958cf0202bfd - unattended_file = unattended/winxp32.sif - finish_program = deps/finish.exe - setup: - steps = WinXP-32-rss.steps - - - WinXP.64: - no reboot - image_name = winXP-64 - install: - steps = WinXP-64.steps - cdrom = windows/WindowsXP-64.iso - md5sum = 8d3f007ec9c2060cec8a50ee7d7dc512 - md5sum_1m = e812363ff427effc512b7801ee70e513 - user = user - setup: - steps = WinXP-64-rss.steps - - - Win2003: - image_size = 20G - shutdown_command = shutdown /s /f /t 0 - reboot_command = shutdown /r /f /t 0 - - variants: - - 32: - image_name = win2003-32 - install: - steps = Win2003-32.steps - cdrom = windows/Windows2003_r2_VLK.iso - md5sum = 03e921e9b4214773c21a39f5c3f42ef7 - md5sum_1m = 37c2fdec15ac4ec16aa10fdfdb338aa3 - user = user - setup: - steps = Win2003-32-rss.steps - - - 64: - image_name = win2003-64 - install: - steps = Win2003-64.steps - cdrom = windows/Windows2003-x64.iso - md5sum = 5703f87c9fd77d28c05ffadd3354dbbd - md5sum_1m = 439393c384116aa09e08a0ad047dcea8 - user = user - setup: - steps = Win2003-64-rss.steps - - - WinVista: - image_name = winvista - image_size = 20G - - variants: - - 32: - image_name += -32 - install: - steps = Win-Vista-32.steps - cdrom = windows/WindowsVista-32.iso - md5sum = 1008f323d5170c8e614e52ccb85c0491 - md5sum_1m = c724e9695da483bc0fd59e426eaefc72 - setup: - steps = WinVista-32-rss.steps - - - 64: - image_name += -64 - install: - steps = Win-Vista-64.steps - cdrom = windows/WindowsVista-64.iso - md5sum = 11e2010d857fffc47813295e6be6d58d - md5sum_1m = 0947bcd5390546139e25f25217d6f165 - setup: - steps = WinVista-64-rss.steps - - - Win2008: - image_name = win2008 - image_size = 20G - shutdown_command = shutdown /s /f /t 0 - reboot_command = shutdown /r /f /t 0 - - variants: - - 32: - image_name += -32 - install: - steps = Win2008-32.steps - cdrom = windows/Windows2008-x86.iso - #en_windows_server_2008_datacenter_enterprise_standard_x86_dvd_X14-26710.iso - #sha1sum = 6CA018FF96F1E9B2B310A36546B6FDED99A421E6 - md5sum=0bfca49f0164de0a8eba236ced47007d - md5sum_1m=07d7f5006393f74dc76e6e2e943e2440 - setup: - steps = Win2008-32-rss.steps - - - 64: - image_name += -64 - install: - steps = Win2008-64.steps - cdrom = windows/Windows2008-x64.iso - #en_windows_server_2008_datacenter_enterprise_standard_x64_dvd_X14-26714.iso - #sha1sum = BD000374709F67E9358814DB6EC8F0DDAAA16F70 - md5sum=27c58cdb3d620f28c36333a5552f271c - md5sum_1m=efdcc11d485a1ef9afa739cb8e0ca766 - passwd = 1q2w3eP - setup: - steps = Win2008-64-rss.steps - - - Win7: - image_name = win7 - image_size = 20G - shutdown_command = shutdown /s /f /t 0 - reboot_command = shutdown /r /f /t 0 - - variants: - - 64: - image_name += -64 - install: - cdrom = windows/en_windows_7_ultimate_x64_dvd_x15-65922.iso - md5sum=f43d22e4fb07bf617d573acd8785c028 - md5sum_1m=b44d8cf99dbed2a5cb02765db8dfd48f - type = steps - steps = Win7-64.steps - passwd = 1q2w3eP - setup: - type = steps - steps = Win7-64-rss.steps - - # Unix/BSD section - - @Unix: - only install - kill_vm = yes - kill_vm_gracefully = no - kill_vm_timeout = 0 - - variants: - - NetBSD-1.6.2: - image_name = NetBSD-1.6.2 - image_size = 4G - steps = NetBSD-1.6.2.steps - cdrom = bsd/netbsd-1.6.2-i386.iso - md5sum=72eb680300f77d529bfbc880ba8208f3 - md5sum_1m=f1a9e1e825c90adfb1be35c6177bd9ac - - - OpenBSD-4.1: - image_name = OpenBSD-4.1 - steps = OpenBSD-4.1-32.steps - cdrom = unix/openbsd41-i386-07-05-06.iso - md5sum = 984790db10ebdd6fc7a9cf97abc7c967 - md5sum_1m = 8fc234b4b0ecfe56843a32ac1d26ed55 - - # Live CD section - - @livecd: - only install - kill_vm = yes - kill_vm_gracefully = no - kill_vm_timeout = 0 - - variants: - - Belenix: - steps = Belenix-0.7.1.steps - cdrom = unix/belenix_0.7.1.iso - md5sum = 29cea6160cf5250de138e2820e53e342 - md5sum_1m = 427bbef1b85d6d051799b825d686ae94 - - - Slax: - steps = Slax-6.0.7.steps - cdrom = linux/slax-6.0.7.iso - md5sum = cde0ecba3c8289d786e12c44666ded6e - md5sum_1m = ddf02bc7444f22d1160a6e5a8fc8723f - - - FreeSBIE-2.0.1: - steps = FreeSBIE-2.0.1.steps - cdrom = unix/FreeSBIE-2.0.1-RELEASE.iso - md5sum = b2f680d27c21bbfaf4fb90dce090a118 - md5sum_1m = 4d81ee7fe0101b0a14225963bfff60c1 - - - memtest: - mem = 128 - steps = memtest86+.steps - cdrom = misc/memtest86+-2.01.iso - md5sum = 9fae22f2666369968a76ef59e9a81ced - - -linux_s3: - only Linux - - -variants: - - @up: - no autotest.npb - - smp2: - smp = 2 - used_cpus = 2 - stress_boot: used_cpus = 10 - timedrift.with_load: used_cpus = 100 - - -variants: - - @default: - - noacpi: - only Fedora Ubuntu Windows - no WinVista Win2008 - no smp2.*Windows - extra_params += " -no-acpi" - - userirq: - only Fedora Ubuntu Windows - extra_params += " -no-kvm-irqchip -no-kvm-pit" - - -variants: - - @ide: - drive_format=ide - - scsi: - drive_format=scsi - - virtio_blk: - drive_format=virtio - image_boot=yes - - -virtio|virtio_blk|e1000: - only Fedora.9 openSUSE-11 Ubuntu-8.10-server - - -variants: - - @qcow2: - image_format = qcow2 - - vmdk: - only Fedora Ubuntu Windows - only smp2 - only rtl8139 - only default - image_format = vmdk - - raw: - only Fedora Ubuntu Windows - only smp2 - only rtl8139 - only default - image_format = raw - - -variants: - - @smallpages: - - hugepages: - pre_command = "/usr/bin/python scripts/hugepage.py /mnt/kvm_hugepage" - extra_params += " -mem-path /mnt/kvm_hugepage" - - -variants: - - @basic: - only Fedora Windows - - @full: - - @fc8_quick: - only qcow2 - only ide - only default - only up - only Fedora.8.32 - only install setup boot shutdown - only rtl8139 - only hugepages - - @sample1: - only qcow2 - only ide - only default - only up - only Fedora.9.* RHEL.5.* Windows - only rtl8139 - - @custom: - only qcow2.*ide.*default.*up.*Ubuntu-8.10-server.*(autotest.sleeptest) - only rtl8139 - - @winXP_32_unattended: - only qcow2 - only ide - only default - only up - only WinXP.32 - no install setup - no hugepages - only unattended_install setup boot shutdown - only rtl8139 - - @fc11_kickstart: - only qcow2 - only ide - only default - only up - only Fedora.11.64 - no install setup - no hugepages - only unattended_install boot shutdown - only rtl8139 - - - -include kvm_cdkeys.cfg - - -image_name.* ?<= images/ -cdrom.* ?<= isos/ -steps ?<= steps/ - - -# Choose your test list -only fc11_kickstart diff --git a/client/tests/kvm/tests.cfg.sample b/client/tests/kvm/tests.cfg.sample new file mode 100644 index 0000000..b13f2e7 --- /dev/null +++ b/client/tests/kvm/tests.cfg.sample @@ -0,0 +1,69 @@ +# Copy this file to tests.cfg and edit it. +# +# This file contains the test set definitions. Define your test sets here. +include tests_base.cfg +include cdkeys.cfg + +# Modify/comment the following lines if you wish to modify +# the paths of the image files, ISO files, step files or qemu binaries. +# If you keep these lines commented, all mentioned paths are expected +# to be found in the KVM test dir (tests/kvm/). +# On the example below: +# * qemu and qemu-img are expected to be found under /usr/bin/qemu-kvm and +# /usr/bin/qemu-img respectively. +# * All image files are expected under tests/kvm/images/ +# * All iso files are expected under tests/kvm/isos/ +# * All step files are expected under tests/kvm/steps_data/ +#qemu_binary = /usr/bin/qemu-kvm +#qemu_img_binary = /usr/bin/qemu-img +#image_name.* ?<= /tmp/kvm_autotest_root/images/ +#cdrom.* ?<= /tmp/kvm_autotest_root/isos/ +#steps ?<= /tmp/kvm_autotest_root/steps_data/ + +variants: + - @full: + - @sample1: + only Fedora Windows + - @sample2: + only qcow2 + only ide + only default + only up + only Fedora.9.* RHEL.5.* Windows + only rtl8139 + - @sample3: + only qcow2.*ide.*default.*up.*Ubuntu-8.10-server.*(autotest.sleeptest) + only rtl8139 + - @fc8_step: + only qcow2 + only ide + only default + only up + only Fedora.8.32 + only install setup boot shutdown + only rtl8139 + only hugepages + - @winXP_32_unattended: + only qcow2 + only ide + only default + only up + only WinXP.32 + no install setup + no hugepages + only unattended_install setup boot shutdown + only rtl8139 + - @fc11_kickstart: + only qcow2 + only ide + only default + only up + only Fedora.11.64 + no install setup + no hugepages + only unattended_install boot shutdown + only rtl8139 + +# Choose your test list from the testsets defined +only fc11_kickstart + diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample new file mode 100644 index 0000000..a403399 --- /dev/null +++ b/client/tests/kvm/tests_base.cfg.sample @@ -0,0 +1,886 @@ +# Copy this file to tests_base.cfg and edit it. +# +# Define the objects we'll be using +vms = vm1 +images = image1 +nics = nic1 + +# Choose the main VM +main_vm = vm1 + +# Some preprocessor/postprocessor params +start_vm = yes +convert_ppm_files_to_png_on_error = yes +#keep_ppm_files = yes +#keep_ppm_files_on_error = yes +kill_vm = no +kill_vm_gracefully = yes +kill_unresponsive_vms = yes + +# Some default VM params +qemu_binary = qemu +qemu_img_binary = qemu-img +smp = 1 +mem = 512 +image_size = 10G +shell_port = 22 +display = vnc + +# Default scheduler params +used_cpus = 1 +used_mem = 512 + +# Port redirections +redirs = remote_shell +guest_port_remote_shell = 22 + +# NIC parameters +nic_mode = user +#nic_mode = tap +nic_script = scripts/qemu-ifup +address_index = 0 + + +# Tests +variants: + - install: + type = steps + fail_if_stuck_for = 300 + stuck_detection_history = 2 + keep_screendump_history = yes + force_create_image = yes + kill_vm = yes + kill_vm_timeout = 60 + kill_vm_timeout_on_error = 0 + + - unattended_install: + type = unattended_install + kill_vm_on_error = yes + force_create_image = yes + pre_command = scripts/unattended.py + floppy = "images/floppy.img" + extra_params += " -boot d" + + - setup: install unattended_install + type = steps + fail_if_stuck_for = 300 + stuck_detection_history = 2 + kill_vm_on_error = yes + keep_screendump_history = yes + + - boot: install setup unattended_install + type = boot + kill_vm_on_error = yes + + - reboot: install setup unattended_install + type = boot + reboot_method = shell + kill_vm_on_error = yes + + - migrate: install setup unattended_install + type = migration + migration_test_command = help + migration_bg_command = "cd /tmp; nohup tcpdump -q -t ip host localhost" + migration_bg_check_command = pgrep tcpdump + migration_bg_kill_command = pkill tcpdump + kill_vm_on_error = yes + iterations = 2 + used_mem = 1024 + + - autotest: install setup unattended_install + type = autotest + test_timeout = 720 + variants: + - sleeptest: + test_name = sleeptest + test_timeout = 30 + test_control_file = sleeptest.control + - dbench: + test_name = dbench + test_control_file = dbench.control + - bonnie: + test_name = bonnie + test_control_file = bonnie.control + - ebizzy: + test_name = ebizzy + test_control_file = ebizzy.control + - stress: + test_name = stress + test_control_file = stress.control + - disktest: + test_name = disktest + test_control_file = disktest.control + - ctcs2: + test_name = cerberus + # If you think this is too lengthy, please change the cerberus + # control file and set this timeout appropriately. + test_timeout = 3900 + test_control_file = cerberus.control + - npb: + test_name = npb + test_control_file = npb.control + - hackbench: + test_name = hackbench + test_control_file = hackbench.control + + + - linux_s3: install setup unattended_install + type = linux_s3 + + - timedrift: install setup unattended_install + extra_params += " -rtc-td-hack" + variants: + - with_load: + type = timedrift + # Pin the VM and host load to CPU #0 + cpu_mask = 0x1 + # Set the load and rest durations + load_duration = 20 + rest_duration = 20 + # Fail if the drift after load is higher than 50% + drift_threshold = 50 + # Fail if the drift after the rest period is higher than 10% + drift_threshold_after_rest = 10 + # For now, make sure this test is executed alone + used_cpus = 100 + - with_migration: + type = timedrift_with_migration + migration_iterations = 3 + drift_threshold = 10 + drift_threshold_single = 3 + - with_reboot: + type = timedrift_with_reboot + reboot_iterations = 1 + drift_threshold = 10 + drift_threshold_single = 3 + + - stress_boot: install setup unattended_install + type = stress_boot + max_vms = 5 + alive_test_cmd = uname -a + clone_address_index_base = 10 + kill_vm = yes + kill_vm_vm1 = no + kill_vm_gracefully = no + extra_params += " -snapshot" + used_cpus = 5 + used_mem = 2560 + + - autoit: install setup unattended_install + type = autoit + autoit_binary = D:\AutoIt3.exe + autoit_script_timeout = 600 + autoit_script_params = + variants: + - notepad: + autoit_script = autoit/notepad1.au3 + - stub: + download = yes + download_cmd = "git clone" + rsc_server = "git://the.resource.server/autoit" + dst_rsc_dir = "C:\" + autoit_entry = "C:\autoit\stub\stub.au3" + + - guest_s4: install setup unattended_install + type = guest_s4 + check_s4_support_cmd = grep -q disk /sys/power/state + test_s4_cmd = "cd /tmp; nohup tcpdump -q -t ip host localhost" + check_s4_cmd = pgrep tcpdump + set_s4_cmd = echo disk > /sys/power/state + kill_test_s4_cmd = pkill tcpdump + services_up_timeout = 30 + + - nic_hotplug: install setup unattended_install + type = pci_hotplug + pci_type = nic + reference_cmd = lspci + find_pci_cmd = 'lspci | tail -n1' + pci_test_cmd = 'nslookup www.redhat.com' + wait_secs_for_hook_up = 3 + variants: + - nic_8139: + pci_model = rtl8139 + match_string = "8139" + - nic_virtio: + pci_model = virtio + match_string = "Virtio network device" + - nic_e1000: + pci_model = e1000 + match_string = "Gigabit Ethernet Controller" + + - block_hotplug: install setup unattended_install + type = pci_hotplug + pci_type = block + reference_cmd = lspci + find_pci_cmd = 'lspci | tail -n1' + images += " stg" + boot_drive_stg = no + image_name_stg = storage + image_size_stg = 1G + remove_image_stg = yes + force_create_image_stg = yes + pci_test_cmd = "yes | mke2fs `fdisk -l 2>&1 | awk '/\/dev\/[sv]d[a-z] doesn/ {print $2}'`" + wait_secs_for_hook_up = 3 + kill_vm_on_error = yes + variants: + - block_virtio: + pci_model = virtio + match_string = "Virtio block device" + - block_scsi: + pci_model = scsi + match_string = "SCSI" + variants: + - fmt_qcow2: + image_format_stg = qcow2 + - fmt_raw: + image_format_stg = raw + + - system_reset: install setup unattended_install + type = boot + reboot_method = system_reset + sleep_before_reset = 20 + kill_vm_on_error = yes + + - system_powerdown: install setup unattended_install + type = shutdown + shutdown_method = system_powerdown + sleep_before_powerdown = 20 + kill_vm = yes + kill_vm_gracefully = no + + - shutdown: install setup unattended_install + type = shutdown + shutdown_method = shell + kill_vm = yes + kill_vm_gracefully = no + + - vlan_tag: install setup unattended_install + type = vlan_tag + # subnet should not be used by host + subnet = 192.168.123 + vlans = "10 20" + nic_mode = tap + vms += " vm2" + extra_params_vm1 += " -snapshot" + extra_params_vm2 += " -snapshot" + kill_vm_gracefully_vm2 = no + address_index_vm2 = 1 + + - physical_resources_check: install setup unattended_install + type = physical_resources_check + catch_uuid_cmd = dmidecode | awk -F: '/UUID/ {print $2}' + +# NICs +variants: + - @rtl8139: + - virtio: rtl8139.install rtl8139.setup + no install setup + nic_model = virtio + - e1000: rtl8139.install rtl8139.setup + no install setup + nic_model = e1000 + + +# Guests +variants: + # Linux section + - @Linux: + no timedrift autoit + shutdown_command = shutdown -h now + reboot_command = shutdown -r now + status_test_command = echo $? + username = root + password = 123456 + shell_client = ssh + shell_port = 22 + file_transfer_client = scp + file_transfer_port = 22 + mem_chk_cmd = dmidecode -t 17 | awk -F: '/Size/ {print $2}' + cpu_chk_cmd = grep -c processor /proc/cpuinfo + + variants: + - Fedora: + no setup + shell_prompt = "^\[.*\][\#\$]\s*$" + + variants: + - 8.32: + no setup + image_name = fc8-32 + install: + steps = Fedora-8-i386.steps + cdrom = linux/Fedora-8-i386-DVD.iso + md5sum = dd6c79fddfff36d409d02242e7b10189 + md5sum_1m = dabae451bb69fbbad0e505b25144b1f9 + + - 8.64: + no setup + image_name = fc8-64 + install: + steps = Fedora-8-64.steps + cdrom = linux/Fedora-8-x86_64-DVD.iso + md5sum = 2cb231a86709dec413425fd2f8bf5295 + md5sum_1m = 145f6414e19492649a56c89f0a45e719 + + - 9.32: + image_name = fc9-32 + install: + steps = Fedora-9-i386.steps + cdrom = linux/Fedora-9-i386-DVD.iso + md5sum = 72601f685ea8c808c303353d8bf4d307 + md5sum_1m = f24fa25689e5863f1b99984c6feb787f + + - 9.64: + image_name = fc9-64 + install: + steps = Fedora-9-64.steps + cdrom = linux/Fedora-9-x86_64-DVD.iso + md5sum = 05b2ebeed273ec54d6f9ed3d61ea4c96 + md5sum_1m = 9822ab5097e37e8fe306ef2192727db4 + + - 11.32: + image_name = fc11-32 + install: + steps = Fedora-11-32.steps + cdrom = linux/Fedora-11-i386-DVD.iso + md5sum = e3b1e2d1ba42aa4705fa5f41771b3927 + md5sum_1m = dc8ddf90648c247339c721395aa49714 + unattended_install: + cdrom = linux/Fedora-11-i386-DVD.iso + md5sum = e3b1e2d1ba42aa4705fa5f41771b3927 + md5sum_1m = dc8ddf90648c247339c721395aa49714 + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/Fedora-11.ks + + - 11.64: + image_name = fc11-64 + install: + cdrom = linux/Fedora-11-x86_64-DVD.iso + md5sum = 9d419844adeb93120215fe7505c9bce8 + md5sum_1m = 405ee05e2387a2e4328b008d5bcbdd1e + type = steps + steps = Fedora-11-64.steps + unattended_install: + cdrom = linux/Fedora-11-x86_64-DVD.iso + md5sum = 9d419844adeb93120215fe7505c9bce8 + md5sum_1m = 405ee05e2387a2e4328b008d5bcbdd1e + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/Fedora-11.ks + + - DSL-4.2.5: + no setup dbench bonnie linux_s3 + image_name = dsl-4.2.5 + install: + steps = DSL-4.2.5.steps + cdrom = linux/dsl-4.2.5.iso + md5sum = 61694888aede3e01229865b8e6acd4a1 + md5sum_1m = 527f2481bd25310f2e3a6e5345ff3d12 + + - Mandriva-One-2007: + only install + image_name = mandriva-one-2007 + steps = Mandriva-One-2007-32.steps + cdrom = linux/mandriva-one-2007-i386.iso + md5sum = 7e9e183dc11b9d39f480238e4e12bb05 + md5sum_1m = dc7865a75db665efc86d59bca7c1fe07 + + - openSUSE-11.0.32: + no setup dbench bonnie + image_name = openSUSE-11.0-32 + install: + steps = openSUSE-11.0-32.steps + cdrom = linux/openSUSE-11.0-DVD-i386.iso + md5sum = ed6a5b3feb668866df812b1c2aed9d7f + md5sum_1m = c720b30557af758e69de450409516369 + + - openSUSE-11.1.32: + no setup dbench bonnie + image_name = openSUSE-11.1-32 + install: + steps = openSUSE-11.1-32-and-64.steps + cdrom = linux/openSUSE-11.1-DVD-i586.iso + md5sum = 8f51b278c0415be28c5699e465444bd3 + md5sum_1m = b70217417468389083429f81ba7ce2bd + + - openSUSE-11.1.64: + no setup dbench bonnie + image_name = openSUSE-11.1-64 + install: + steps = openSUSE-11.1-32-and-64.steps + cdrom = linux/openSUSE-11.1-DVD-x86_64.iso + md5sum = 2afee1b8a87175e6dee2b8dbbd1ad8e8 + md5sum_1m = 768ca32503ef92c28f2d144f2a87e4d0 + + - @Ubuntu: + shell_prompt = "^root@.*[\#\$]\s*$" + + variants: + - Ubuntu-6.10-32: + only install + image_name = ubuntu-6.10-32 + steps = Ubuntu-6.10-32.steps + cdrom = linux/ubuntu-6.10-desktop-i386.iso + md5sum = 17fb825641571ce5888a718329efd016 + md5sum_1m = 7531d0a84e7451d17c5d976f1c3f8509 + + - Ubuntu-8.04-32: + skip = yes + image_name = ubuntu-8.04-32 + install: + steps = Ubuntu-8.04-32.steps + cdrom = linux/ubuntu-8.04.1-desktop-i386.iso + setup: + steps = Ubuntu-8.04-32-setupssh.steps + + - Ubuntu-8.10-server-32: + image_name = ubuntu-8.10-server-32 + install: + steps = Ubuntu-8.10-server-32.steps + cdrom = linux/ubuntu-8.10-server-i386.iso + md5sum = a2ec9975a91e1228c8292ed9799dc302 + md5sum_1m = ea493eb8ef7722ead693492fd9f8a13f + setup: + steps = Ubuntu-8.10-server-32-gcc.steps + + - RHEL: + no setup + shell_prompt = "^\[.*\][\#\$]\s*$" + nic_hotplug: + modprobe_module = acpiphp + block_hotplug: + modprobe_module = acpiphp + + variants: + - 5.3.i386: + no setup + image_name = rhel5-32 + install: + steps=RHEL-5.3-i386.steps + cdrom=linux/RHEL-5.3-i386-DVD.iso + md5sum=371c62851611fd32ead440df6f24a296 + md5sum_1m=242318dd44152210f6ff6cdda1bfbf51 + unattended_install: + cdrom=linux/RHEL-5.3-i386-DVD.iso + md5sum=371c62851611fd32ead440df6f24a296 + md5sum_1m=242318dd44152210f6ff6cdda1bfbf51 + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/RHEL-5-series.ks + - 5.3.x86_64: + no setup + image_name = rhel5-64 + install: + steps=RHEL-5.3-x86_64.steps + cdrom=linux/RHEL-5.3-x86_64-DVD.iso + md5sum=c5ed6b284410f4d8212cafc78fd7a8c5 + md5sum_1m=b999f437583098ea5bbd56fb1de1d011 + unattended_install: + cdrom=linux/RHEL-5.3-x86_64-DVD.iso + md5sum=c5ed6b284410f4d8212cafc78fd7a8c5 + md5sum_1m=b999f437583098ea5bbd56fb1de1d011 + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/RHEL-5-series.ks + - 4.7.i386: + no setup autotest + image_name = rhel4-32 + install: + steps=RHEL-4.7-i386.steps + cdrom=linux/RHEL-4.7-i386-DVD.iso + md5sum=ee5092653732a88ddbaf8eef2484c500 + md5sum_1m=127081cbed825d7232331a2083975528 + unattended_install: + cdrom=linux/RHEL-4.7-i386-DVD.iso + md5sum=ee5092653732a88ddbaf8eef2484c500 + md5sum_1m=127081cbed825d7232331a2083975528 + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/RHEL-4-series.ks + - 4.7.x86_64: + no setup autotest + image_name = rhel4-64 + install: + steps=RHEL-4.7-x86_64.steps + cdrom=linux/RHEL-4.7-x86_64-DVD.iso + md5sum=ea9dae16dd86f7d94092d0e672333292 + md5sum_1m=58fa63eaee68e269f4cb1d2edf479792 + unattended_install: + cdrom=linux/RHEL-4.7-x86_64-DVD.iso + md5sum=ea9dae16dd86f7d94092d0e672333292 + md5sum_1m=58fa63eaee68e269f4cb1d2edf479792 + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/RHEL-4-series.ks + - 3.9.i386: + no setup autotest linux_s3 + image_name = rhel3-32 + install: + steps=RHEL-3.9-i386.steps + cdrom=linux/RHEL-3.9-i386-DVD.iso + md5sum=ddd11a1cb104119039b0fa05df6d52b8 + md5sum_1m=5f10c9417c7b8372b3456c1b5f3f9ed0 + unattended_install: + cdrom=linux/RHEL-3.9-i386-DVD.iso + md5sum=ddd11a1cb104119039b0fa05df6d52b8 + md5sum_1m=5f10c9417c7b8372b3456c1b5f3f9ed0 + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/RHEL-3-series.ks + - 3.9.x86_64: + no setup autotest linux_s3 + image_name = rhel3-64 + install: + steps=RHEL-3.9-x86_64.steps + cdrom=linux/RHEL-3.9-x86_64-DVD.iso + md5sum=bf4635e4a4bd3b43838e72bc8c329d55 + md5sum_1m=18ecd37b639109f1b2af05cfb57dfeaf + unattended_install: + cdrom=linux/RHEL-3.9-x86_64-DVD.iso + md5sum=bf4635e4a4bd3b43838e72bc8c329d55 + md5sum_1m=18ecd37b639109f1b2af05cfb57dfeaf + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/RHEL-3-series.ks + # Windows section + - @Windows: + no autotest linux_s3 vlan_tag + shutdown_command = shutdown /s /t 0 + reboot_command = shutdown /r /t 0 + status_test_command = echo %errorlevel% + shell_prompt = "^\w:\\.*>\s*$" + username = Administrator + password = 123456 + shell_linesep = "\r\n" + shell_client = nc + shell_port = 22 + # File transfers are currently unsupported + # file_transfer_client = scp + # file_transfer_port = 22 + + # This ISO will be used for all tests except install: + cdrom = windows/winutils.iso + + cpu_chk_cmd = echo %NUMBER_OF_PROCESSORS% + mem_chk_cmd = wmic memphysical + + migrate: + migration_test_command = ver && vol + migration_bg_command = start ping -t localhost + migration_bg_check_command = tasklist | find /I "ping.exe" + migration_bg_kill_command = taskkill /IM ping.exe /F + stress_boot: + alive_test_cmd = systeminfo + timedrift: + time_command = "echo TIME: %date% %time%" + time_filter_re = "(?<=TIME: \w\w\w ).{19}(?=\.\d\d)" + time_format = "%m/%d/%Y %H:%M:%S" + # For this to work, the cdrom at d: should contain vlc (d:\vlc\vlc.exe) and a video (d:\ED_1024.avi) + guest_load_command = 'cmd /c "d:\vlc\vlc -f --loop --no-qt-privacy-ask --no-qt-system-tray d:\ED_1024.avi"' + # Alternative guest load: + #guest_load_command = "(dir /s && dir /s && dir /s && dir /s) > nul" + guest_load_stop_command = "taskkill /F /IM vlc.exe" + guest_load_instances = 2 + host_load_command = "bzip2 -c --best /dev/urandom > /dev/null" + # Alternative host load: + #host_load_command = "dd if=/dev/urandom of=/dev/null" + host_load_instances = 8 + guest_s4: + check_s4_support_cmd = powercfg /hibernate on + test_s4_cmd = start ping -t localhost + check_s4_cmd = tasklist | find /I "ping.exe" + set_s4_cmd = rundll32.exe PowrProf.dll, SetSuspendState + kill_test_s4_cmd = taskkill /IM ping.exe /F + services_up_timeout = 30 + nic_hotplug: + reference_cmd = ipconfig /all + find_pci_cmd = ipconfig /all | find "Description" + wait_secs_for_hook_up = 10 + nic_e1000: + match_string = "Intel(R) PRO/1000 MT Network Connection" + nic_virtio: + match_string = "VirtIO Ethernet" + block_hotplug: + wait_secs_for_hook_up = 10 + reference_cmd = wmic diskdrive list brief + find_pci_cmd = wmic diskdrive list brief + pci_test_cmd = echo select disk 1 > dt && echo online >> dt && echo detail disk >> dt && echo exit >> dt && diskpart /s dt + physical_resources_check: + catch_uuid_cmd = + + variants: + - Win2000: + no reboot + image_name = win2000-32 + kill_vm_gracefully = no + install: + steps = Win2000-32.steps + cdrom = windows/Windows2000_sp4.iso + md5sum = dda6039f3a9173f0f6bfae40f5efdfea + md5sum_1m = dd28fba196d366d56fe774bd93df5527 + user = user + setup: + steps = Win2000-32-rss.steps + + - WinXP.32: + image_name = winXP-32 + install: + steps = WinXP-32.steps + user = user + cdrom = windows/WindowsXP-sp2-vlk.iso + md5sum = 743450644b1d9fe97b3cf379e22dceb0 + md5sum_1m = b473bf75af2d1269fec8958cf0202bfd + unattended_install: + cdrom = windows/WindowsXP-sp2-vlk.iso + md5sum = 743450644b1d9fe97b3cf379e22dceb0 + md5sum_1m = b473bf75af2d1269fec8958cf0202bfd + unattended_file = unattended/winxp32.sif + finish_program = deps/finish.exe + setup: + steps = WinXP-32-rss.steps + + - WinXP.64: + no reboot + image_name = winXP-64 + install: + steps = WinXP-64.steps + cdrom = windows/WindowsXP-64.iso + md5sum = 8d3f007ec9c2060cec8a50ee7d7dc512 + md5sum_1m = e812363ff427effc512b7801ee70e513 + user = user + setup: + steps = WinXP-64-rss.steps + + - Win2003: + image_size = 20G + shutdown_command = shutdown /s /f /t 0 + reboot_command = shutdown /r /f /t 0 + + variants: + - 32: + image_name = win2003-32 + install: + steps = Win2003-32.steps + cdrom = windows/Windows2003_r2_VLK.iso + md5sum = 03e921e9b4214773c21a39f5c3f42ef7 + md5sum_1m = 37c2fdec15ac4ec16aa10fdfdb338aa3 + user = user + setup: + steps = Win2003-32-rss.steps + + - 64: + image_name = win2003-64 + install: + steps = Win2003-64.steps + cdrom = windows/Windows2003-x64.iso + md5sum = 5703f87c9fd77d28c05ffadd3354dbbd + md5sum_1m = 439393c384116aa09e08a0ad047dcea8 + user = user + setup: + steps = Win2003-64-rss.steps + + - WinVista: + image_name = winvista + image_size = 20G + + variants: + - 32: + image_name += -32 + install: + steps = Win-Vista-32.steps + cdrom = windows/WindowsVista-32.iso + md5sum = 1008f323d5170c8e614e52ccb85c0491 + md5sum_1m = c724e9695da483bc0fd59e426eaefc72 + setup: + steps = WinVista-32-rss.steps + + - 64: + image_name += -64 + install: + steps = Win-Vista-64.steps + cdrom = windows/WindowsVista-64.iso + md5sum = 11e2010d857fffc47813295e6be6d58d + md5sum_1m = 0947bcd5390546139e25f25217d6f165 + setup: + steps = WinVista-64-rss.steps + + - Win2008: + image_name = win2008 + image_size = 20G + shutdown_command = shutdown /s /f /t 0 + reboot_command = shutdown /r /f /t 0 + + variants: + - 32: + image_name += -32 + install: + steps = Win2008-32.steps + cdrom = windows/Windows2008-x86.iso + #en_windows_server_2008_datacenter_enterprise_standard_x86_dvd_X14-26710.iso + #sha1sum = 6CA018FF96F1E9B2B310A36546B6FDED99A421E6 + md5sum=0bfca49f0164de0a8eba236ced47007d + md5sum_1m=07d7f5006393f74dc76e6e2e943e2440 + setup: + steps = Win2008-32-rss.steps + + - 64: + image_name += -64 + install: + steps = Win2008-64.steps + cdrom = windows/Windows2008-x64.iso + #en_windows_server_2008_datacenter_enterprise_standard_x64_dvd_X14-26714.iso + #sha1sum = BD000374709F67E9358814DB6EC8F0DDAAA16F70 + md5sum=27c58cdb3d620f28c36333a5552f271c + md5sum_1m=efdcc11d485a1ef9afa739cb8e0ca766 + passwd = 1q2w3eP + setup: + steps = Win2008-64-rss.steps + + - Win7: + image_name = win7 + image_size = 20G + shutdown_command = shutdown /s /f /t 0 + reboot_command = shutdown /r /f /t 0 + + variants: + - 64: + image_name += -64 + install: + cdrom = windows/en_windows_7_ultimate_x64_dvd_x15-65922.iso + md5sum=f43d22e4fb07bf617d573acd8785c028 + md5sum_1m=b44d8cf99dbed2a5cb02765db8dfd48f + type = steps + steps = Win7-64.steps + passwd = 1q2w3eP + setup: + type = steps + steps = Win7-64-rss.steps + + # Unix/BSD section + - @Unix: + only install + kill_vm = yes + kill_vm_gracefully = no + kill_vm_timeout = 0 + + variants: + - NetBSD-1.6.2: + image_name = NetBSD-1.6.2 + image_size = 4G + steps = NetBSD-1.6.2.steps + cdrom = bsd/netbsd-1.6.2-i386.iso + md5sum=72eb680300f77d529bfbc880ba8208f3 + md5sum_1m=f1a9e1e825c90adfb1be35c6177bd9ac + + - OpenBSD-4.1: + image_name = OpenBSD-4.1 + steps = OpenBSD-4.1-32.steps + cdrom = unix/openbsd41-i386-07-05-06.iso + md5sum = 984790db10ebdd6fc7a9cf97abc7c967 + md5sum_1m = 8fc234b4b0ecfe56843a32ac1d26ed55 + + # Live CD section + - @livecd: + only install + kill_vm = yes + kill_vm_gracefully = no + kill_vm_timeout = 0 + + variants: + - Belenix: + steps = Belenix-0.7.1.steps + cdrom = unix/belenix_0.7.1.iso + md5sum = 29cea6160cf5250de138e2820e53e342 + md5sum_1m = 427bbef1b85d6d051799b825d686ae94 + + - Slax: + steps = Slax-6.0.7.steps + cdrom = linux/slax-6.0.7.iso + md5sum = cde0ecba3c8289d786e12c44666ded6e + md5sum_1m = ddf02bc7444f22d1160a6e5a8fc8723f + + - FreeSBIE-2.0.1: + steps = FreeSBIE-2.0.1.steps + cdrom = unix/FreeSBIE-2.0.1-RELEASE.iso + md5sum = b2f680d27c21bbfaf4fb90dce090a118 + md5sum_1m = 4d81ee7fe0101b0a14225963bfff60c1 + + - memtest: + mem = 128 + steps = memtest86+.steps + cdrom = misc/memtest86+-2.01.iso + md5sum = 9fae22f2666369968a76ef59e9a81ced + + +linux_s3: + only Linux + + +variants: + - @up: + no autotest.npb + - smp2: + smp = 2 + used_cpus = 2 + stress_boot: used_cpus = 10 + timedrift.with_load: used_cpus = 100 + + +variants: + - @default: + - noacpi: + only Fedora Ubuntu Windows + no WinVista Win2008 + no smp2.*Windows + extra_params += " -no-acpi" + - userirq: + only Fedora Ubuntu Windows + extra_params += " -no-kvm-irqchip -no-kvm-pit" + + +variants: + - @ide: + drive_format=ide + - scsi: + drive_format=scsi + - virtio_blk: + drive_format=virtio + image_boot=yes + + +virtio|virtio_blk|e1000: + only Fedora.9 openSUSE-11 Ubuntu-8.10-server + + +variants: + - @qcow2: + image_format = qcow2 + - vmdk: + only Fedora Ubuntu Windows + only smp2 + only rtl8139 + only default + image_format = vmdk + - raw: + only Fedora Ubuntu Windows + only smp2 + only rtl8139 + only default + image_format = raw + + +variants: + - @smallpages: + - hugepages: + pre_command = "/usr/bin/python scripts/hugepage.py /mnt/kvm_hugepage" + extra_params += " -mem-path /mnt/kvm_hugepage" +