Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Side by Side Diff: client/tests/kvm/tests_base.cfg.sample

Issue 6883035: Merge remote branch 'autotest-upstream/master' into autotest-merge (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copy this file to tests_base.cfg and edit it. 1 # Copy this file to tests_base.cfg and edit it.
2 # 2 #
3 # Define the objects we'll be using 3 # Define the objects we'll be using
4 vms = vm1 4 vms = vm1
5 images = image1 5 images = image1
6 cdroms = cd1 6 cdroms = cd1
7 nics = nic1 7 nics = nic1
8 monitors = humanmonitor1 8 monitors = humanmonitor1
9 9
10 # Choose the main VM and monitor 10 # Choose the main VM and monitor
(...skipping 22 matching lines...) Expand all
33 qemu_img_binary = qemu-img 33 qemu_img_binary = qemu-img
34 smp = 1 34 smp = 1
35 mem = 512 35 mem = 512
36 image_size = 10G 36 image_size = 10G
37 drive_index_image1 = 0 37 drive_index_image1 = 0
38 drive_cache = none 38 drive_cache = none
39 shell_port = 22 39 shell_port = 22
40 display = vnc 40 display = vnc
41 drive_index_cd1 = 1 41 drive_index_cd1 = 1
42 42
43 qxl = on
44 qxl_dev_nr = 1
45 spice = disable-ticketing
46
43 # Monitor params 47 # Monitor params
44 monitor_type = human 48 monitor_type = human
45 49
46 # Default scheduler params 50 # Default scheduler params
47 used_cpus = 1 51 used_cpus = 1
48 used_mem = 512 52 used_mem = 512
49 53
50 # Port redirections 54 # Port redirections
51 redirs = remote_shell 55 redirs = remote_shell
52 guest_port_remote_shell = 22 56 guest_port_remote_shell = 22
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 90
87 - setup: install 91 - setup: install
88 type = steps 92 type = steps
89 fail_if_stuck_for = 300 93 fail_if_stuck_for = 300
90 stuck_detection_history = 2 94 stuck_detection_history = 2
91 kill_vm_on_error = yes 95 kill_vm_on_error = yes
92 keep_screendump_history = yes 96 keep_screendump_history = yes
93 97
94 - unattended_install: 98 - unattended_install:
95 type = unattended_install 99 type = unattended_install
100 start_vm = no
96 kill_vm = yes 101 kill_vm = yes
97 kill_vm_gracefully = yes 102 kill_vm_gracefully = yes
98 kill_vm_on_error = yes 103 kill_vm_on_error = yes
99 force_create_image = yes 104 force_create_image = yes
100 extra_params += " -boot d" 105 extra_params += " -boot d"
101 guest_port_unattended_install = 12323 106 guest_port_unattended_install = 12323
102 kernel = vmlinuz 107 kernel = vmlinuz
103 initrd = initrd.img 108 initrd = initrd.img
104 nic_mode = tap 109 nic_mode = tap
105 # uncomment the following line to test the migration in parallel 110 # uncomment the following line to test the migration in parallel
106 # migrate_background = yes 111 # migrate_background = yes
107 112
108 variants: 113 variants:
109 # Install guest from cdrom 114 # Install guest from cdrom
110 - cdrom: 115 - cdrom:
111 medium = cdrom 116 medium = cdrom
112 nic_mode = user 117 nic_mode = user
113 redirs += " unattended_install" 118 redirs += " unattended_install"
114 # Install guest from http/ftp url 119 # Install guest from http/ftp url
115 - url: 120 - url:
121 only Linux
116 medium = url 122 medium = url
117 url = REPLACE_THIS_WITH_TREE_URL 123 url = REPLACE_THIS_WITH_TREE_URL
118 # Install guest from nfs nfs_server:nfs_dir 124 # Install guest from nfs nfs_server:nfs_dir
119 - nfs: 125 - nfs:
126 only Linux
120 medium = nfs 127 medium = nfs
121 nfs_server = REPLACE_THIS_WITH_NFS_SERVER 128 nfs_server = REPLACE_THIS_WITH_NFS_SERVER
122 nfs_dir = REPLACE_THIS_WITH_NFS_DIRECTORY 129 nfs_dir = REPLACE_THIS_WITH_NFS_DIRECTORY
123 # Install guest with a remote kickstart 130 # Install guest with a remote kickstart
124 - remote_ks: 131 - remote_ks:
132 only Linux
125 medium = url 133 medium = url
126 extra_params = " --append ks=REPLACE_THIS_WITH_URL_OF_KS" 134 extra_params = " --append ks=REPLACE_THIS_WITH_URL_OF_KS"
127 url = REPLACE_THIS_WITH_TREE_URL 135 url = REPLACE_THIS_WITH_TREE_URL
128 136
129 - boot: install setup unattended_install.cdrom 137 - boot: install setup unattended_install.cdrom
130 type = boot 138 type = boot
131 restart_vm = yes 139 restart_vm = yes
132 kill_vm_on_error = yes 140 kill_vm_on_error = yes
133 login_timeout = 240 141 login_timeout = 240
134 142
(...skipping 28 matching lines...) Expand all
163 mig_cancel = yes 171 mig_cancel = yes
164 variants: 172 variants:
165 - @default: 173 - @default:
166 - with_reboot: 174 - with_reboot:
167 iterations = 1 175 iterations = 1
168 type = migration_with_reboot 176 type = migration_with_reboot
169 - with_file_transfer: 177 - with_file_transfer:
170 iterations = 1 178 iterations = 1
171 type = migration_with_file_transfer 179 type = migration_with_file_transfer
172 - with_autotest: 180 - with_autotest:
181 only Linux
173 type = autotest 182 type = autotest
174 migrate_background = yes 183 migrate_background = yes
175 test_timeout = 1800 184 test_timeout = 1800
176 variants: 185 variants:
177 - dbench: 186 - dbench:
178 test_control_file = dbench.control 187 test_control_file = dbench.control
179 - stress: 188 - stress:
180 test_control_file = stress.control 189 test_control_file = stress.control
181 - monotonic_time: 190 - monotonic_time:
182 test_control_file = monotonic_time.control 191 test_control_file = monotonic_time.control
(...skipping 14 matching lines...) Expand all
197 - boot_savevm: install setup unattended_install.cdrom 206 - boot_savevm: install setup unattended_install.cdrom
198 type = boot_savevm 207 type = boot_savevm
199 savevm_delay = 0.3 208 savevm_delay = 0.3
200 savevm_login_delay = 120 209 savevm_login_delay = 120
201 savevm_timeout = 2000 210 savevm_timeout = 2000
202 kill_vm_on_error = yes 211 kill_vm_on_error = yes
203 kill_vm_gracefully = yes 212 kill_vm_gracefully = yes
204 kill_vm = yes 213 kill_vm = yes
205 214
206 - autotest: install setup unattended_install.cdrom 215 - autotest: install setup unattended_install.cdrom
216 only Linux
207 type = autotest 217 type = autotest
208 test_timeout = 1800 218 test_timeout = 1800
209 variants: 219 variants:
210 - sleeptest: 220 - sleeptest:
211 test_timeout = 120 221 test_timeout = 120
212 test_control_file = sleeptest.control 222 test_control_file = sleeptest.control
213 - dbench: 223 - dbench:
214 test_control_file = dbench.control 224 test_control_file = dbench.control
215 - bonnie: 225 - bonnie:
216 test_control_file = bonnie.control 226 test_control_file = bonnie.control
(...skipping 19 matching lines...) Expand all
236 - tsc: 246 - tsc:
237 test_control_file = tsc.control 247 test_control_file = tsc.control
238 - scrashme: 248 - scrashme:
239 test_control_file = scrashme.control 249 test_control_file = scrashme.control
240 - hwclock: 250 - hwclock:
241 test_control_file = hwclock.control 251 test_control_file = hwclock.control
242 - rtc: 252 - rtc:
243 test_control_file = rtc.control 253 test_control_file = rtc.control
244 - iozone: 254 - iozone:
245 test_control_file = iozone.control 255 test_control_file = iozone.control
246 256 - flail:
257 test_control_file = flail.control
258 - systemtap:
259 test_control_file = systemtap.control
247 260
248 - linux_s3: install setup unattended_install.cdrom 261 - linux_s3: install setup unattended_install.cdrom
262 only Linux
249 type = linux_s3 263 type = linux_s3
250 264
251 - timedrift: install setup unattended_install.cdrom 265 - timedrift: install setup unattended_install.cdrom
252 variants: 266 variants:
253 - ntp: 267 - ntp:
254 variants: 268 variants:
255 - with_load: 269 - with_load:
256 type = timedrift 270 type = timedrift
257 # Pin the VM and host load to CPU #0 271 # Pin the VM and host load to CPU #0
258 cpu_mask = 0x1 272 cpu_mask = 0x1
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 alive_test_cmd = uname -a 336 alive_test_cmd = uname -a
323 login_timeout = 240 337 login_timeout = 240
324 kill_vm = yes 338 kill_vm = yes
325 kill_vm_vm1 = no 339 kill_vm_vm1 = no
326 kill_vm_gracefully = no 340 kill_vm_gracefully = no
327 extra_params += " -snapshot" 341 extra_params += " -snapshot"
328 used_cpus = 5 342 used_cpus = 5
329 used_mem = 2560 343 used_mem = 2560
330 344
331 - guest_test: install setup unattended_install.cdrom 345 - guest_test: install setup unattended_install.cdrom
346 only Windows
332 type = guest_test 347 type = guest_test
333 login_timeout = 360 348 login_timeout = 360
334 test_timeout = 600 349 test_timeout = 600
335 script_params = 350 script_params =
336 reboot = yes 351 reboot = yes
337 variants: 352 variants:
338 - autoit: 353 - autoit:
339 interpreter = "cmd /c D:\AutoIt3.exe" 354 interpreter = "cmd /c D:\AutoIt3.exe"
340 variants: 355 variants:
341 - notepad: 356 - notepad:
342 guest_script = autoit/notepad1.au3 357 guest_script = autoit/notepad1.au3
343 dst_rsc_path = "C:\script.au3" 358 dst_rsc_path = "C:\script.au3"
344 - stub: 359 - stub:
345 download = yes 360 download = yes
346 download_cmd = "git clone" 361 download_cmd = "git clone"
347 rsc_server = "git://the.resource.server/autoit" 362 rsc_server = "git://the.resource.server/autoit"
348 dst_rsc_dir = "C:\" 363 dst_rsc_dir = "C:\"
349 dst_rsc_path = "C:\autoit\stub\stub.au3" 364 dst_rsc_path = "C:\autoit\stub\stub.au3"
350 - powershell: 365 - powershell:
351 interpreter = "cmd /c powershell.exe -File" 366 interpreter = "cmd /c powershell.exe -File"
352 variants: 367 variants:
353 - stub: 368 - stub:
354 download = yes 369 download = yes
355 download_cmd = "git clone" 370 download_cmd = "git clone"
356 rsc_server = "git://the.resource.server/powershell" 371 rsc_server = "git://the.resource.server/powershell"
357 dst_rsc_dir = "C:\" 372 dst_rsc_dir = "C:\"
358 dst_rsc_path = "C:\powershell\stub\stub.ps1" 373 dst_rsc_path = "C:\powershell\stub\stub.ps1"
359 374
360 - iozone_windows: unattended_install.cdrom 375 - iozone_windows: unattended_install.cdrom
376 only Windows
361 type = iozone_windows 377 type = iozone_windows
362 iozone_cmd = "D:\IOzone\iozone.exe -a" 378 iozone_cmd = "D:\IOzone\iozone.exe -a"
363 iozone_timeout = 3600 379 iozone_timeout = 3600
364 380
365 - whql: install setup unattended_install.cdrom 381 - whql: install setup unattended_install.cdrom
382 only Windows
366 nic_mode = tap 383 nic_mode = tap
367 # Replace this with the address of an installed DTM server 384 # Replace this with the address of an installed DTM server
368 server_address = 10.20.30.40 385 server_address = 10.20.30.40
369 # The server should run rss.exe like a regular Windows VM, preferably 386 # The server should run rss.exe like a regular Windows VM, preferably
370 # with administrator privileges (or at least with permission to write 387 # with administrator privileges (or at least with permission to write
371 # to the DTM studio directory) 388 # to the DTM studio directory)
372 server_shell_port = 10022 389 server_shell_port = 10022
373 server_file_transfer_port = 10023 390 server_file_transfer_port = 10023
374 server_studio_path = %programfiles%\Microsoft Driver Test Manager\Studio 391 server_studio_path = %programfiles%\Microsoft Driver Test Manager\Studio
375 dsso_test_binary = deps/whql_submission_15.exe 392 dsso_test_binary = deps/whql_submission_15.exe
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 pci_model = scsi 604 pci_model = scsi
588 match_string = "LSI Logic" 605 match_string = "LSI Logic"
589 variants: 606 variants:
590 - fmt_qcow2: 607 - fmt_qcow2:
591 image_format_stg = qcow2 608 image_format_stg = qcow2
592 - fmt_raw: 609 - fmt_raw:
593 image_format_stg = raw 610 image_format_stg = raw
594 611
595 - enospc: 612 - enospc:
596 type = enospc 613 type = enospc
614 start_vm = no
597 images += " stg" 615 images += " stg"
598 drive_werror = stop 616 drive_werror = stop
599 drive_cache = none 617 drive_cache = none
600 image_name_stg = enospc 618 image_name_stg = enospc
601 image_format_stg = qcow2 619 image_format_stg = qcow2
602 image_boot_stg = no 620 image_boot_stg = no
603 image_snapshot_stg = no 621 image_snapshot_stg = no
604 check_image_stg = no 622 check_image_stg = no
605 vgtest_name = vg_kvm_test_enospc 623 vgtest_name = vg_kvm_test_enospc
606 lvtest_name = lv_kvm_test_enospc 624 lvtest_name = lv_kvm_test_enospc
607 background_cmd = "nohup dd if=/dev/zero of=%s bs=1024 &" 625 background_cmd = "nohup dd if=/dev/zero of=%s bs=1024 &"
608 kill_vm = yes 626 kill_vm = yes
609 627
610 - qmp_basic: install setup unattended_install.cdrom 628 - qmp_basic: install setup unattended_install.cdrom
611 type = qmp_basic 629 type = qmp_basic
612 630
613 - qmp_basic_rhel6: install setup unattended_install.cdrom 631 - qmp_basic_rhel6: install setup unattended_install.cdrom
614 type = qmp_basic_rhel6 632 type = qmp_basic_rhel6
615 633
616 - vlan: install setup unattended_install.cdrom 634 - vlan: install setup unattended_install.cdrom
635 only Linux
617 type = vlan 636 type = vlan
618 # subnet should not be used by host 637 # subnet should not be used by host
619 subnet = "192.168" 638 subnet = "192.168"
620 vlan_num = 5 639 vlan_num = 5
621 file_size = 10 640 file_size = 10
622 maximal = 4094 641 maximal = 4094
623 listen_cmd = "nc -l %s > %s" 642 listen_cmd = "nc -l %s > %s"
624 send_cmd = "nc %s %s < %s" 643 send_cmd = "nc %s %s < %s"
625 nic_mode = tap 644 nic_mode = tap
626 vms += " vm2" 645 vms += " vm2"
627 image_snapshot = yes 646 image_snapshot = yes
628 kill_vm_vm2 = yes 647 kill_vm_vm2 = yes
629 kill_vm_gracefully_vm2 = no 648 kill_vm_gracefully_vm2 = no
630 649
631 - ping: install setup unattended_install.cdrom 650 - ping: install setup unattended_install.cdrom
632 type = ping 651 type = ping
633 counts = 100 652 counts = 100
634 flood_minutes = 10 653 flood_minutes = 10
635 nics += ' nic2' 654 nics += ' nic2'
636 655
637 - jumbo: install setup unattended_install.cdrom 656 - jumbo: install setup unattended_install.cdrom
657 only Linux
638 type = jumbo 658 type = jumbo
639 659
640 - file_transfer: install setup unattended_install.cdrom 660 - file_transfer: install setup unattended_install.cdrom
641 type = file_transfer 661 type = file_transfer
642 filesize = 4000 662 filesize = 4000
643 transfer_timeout = 1000 663 transfer_timeout = 1000
644 variants: 664 variants:
645 - remote: 665 - remote:
646 transfer_type = remote 666 transfer_type = remote
647 667
648 - nicdriver_unload: install setup unattended_install.cdrom 668 - nicdriver_unload: install setup unattended_install.cdrom
669 only Linux
649 type = nicdriver_unload 670 type = nicdriver_unload
650 nic_mode = tap 671 nic_mode = tap
651 filesize = 100 672 filesize = 100
652 transfer_timeout = 100 673 transfer_timeout = 100
653 transfer_type = remote 674 transfer_type = remote
654 sessions_num = 10 675 sessions_num = 10
655 676
656 - nic_promisc: install setup unattended_install.cdrom 677 - nic_promisc: install setup unattended_install.cdrom
678 only Linux
657 type = nic_promisc 679 type = nic_promisc
658 filesize = 400 680 filesize = 400
659 transfer_timeout = 100 681 transfer_timeout = 100
660 transfer_type = remote 682 transfer_type = remote
661 683
662 - multicast: install setup unattended_install.cdrom 684 - multicast: install setup unattended_install.cdrom
685 only Linux
663 type = multicast 686 type = multicast
664 nic_mode = tap 687 nic_mode = tap
665 mcast = 225.0.0.1 688 mcast = 225.0.0.1
666 mgroup_count = 20 689 mgroup_count = 20
667 flood_minutes = 1 690 flood_minutes = 1
668 691
669 - pxe: 692 - pxe:
670 type = pxe 693 type = pxe
671 images = pxe 694 images = pxe
672 image_name_pxe = pxe-test 695 image_name_pxe = pxe-test
673 image_size_pxe = 1G 696 image_size_pxe = 1G
674 force_create_image_pxe = yes 697 force_create_image_pxe = yes
675 remove_image_pxe = yes 698 remove_image_pxe = yes
676 extra_params += ' -boot n' 699 extra_params += ' -boot n'
677 kill_vm_on_error = yes 700 kill_vm_on_error = yes
678 network = bridge 701 network = bridge
679 restart_vm = yes 702 restart_vm = yes
680 pxe_timeout = 60 703 pxe_timeout = 60
681 704
682 - mac_change: install setup unattended_install.cdrom 705 - mac_change: install setup unattended_install.cdrom
706 only Linux
683 type = mac_change 707 type = mac_change
684 kill_vm = yes 708 kill_vm = yes
685 709
686 - netperf: install setup unattended_install.cdrom 710 - netperf: install setup unattended_install.cdrom
711 only Linux
687 type = netperf 712 type = netperf
713 nics += ' nic2 nic3 nic4'
688 nic_mode = tap 714 nic_mode = tap
689 netperf_files = netperf-2.4.5.tar.bz2 wait_before_data.patch 715 netperf_files = netperf-2.4.5.tar.bz2 wait_before_data.patch
690 packet_size = 1500 716 packet_size = 1500
691 setup_cmd = "cd %s && tar xvfj netperf-2.4.5.tar.bz2 && cd netperf-2.4.5 && patch -p0 < ../wait_before_data.patch && ./configure && make" 717 setup_cmd = "cd %s && tar xvfj netperf-2.4.5.tar.bz2 && cd netperf-2.4.5 && patch -p0 < ../wait_before_data.patch && ./configure && make"
692 netserver_cmd = %s/netperf-2.4.5/src/netserver 718 netserver_cmd = %s/netperf-2.4.5/src/netserver
693 variants: 719 variants:
694 - stream: 720 - stream:
695 netperf_cmd = %s/netperf-2.4.5/src/netperf -t %s -H %s -l 60 -- -m %s 721 netperf_cmd = %s/netperf-2.4.5/src/netperf -t %s -H %s -l 60 -- -m %s
696 protocols = "TCP_STREAM TCP_MAERTS TCP_SENDFILE UDP_STREAM" 722 protocols = "TCP_STREAM TCP_MAERTS TCP_SENDFILE UDP_STREAM"
697 - rr: 723 - rr:
698 netperf_cmd = %s/netperf-2.4.5/src/netperf -t %s -H %s -l 60 -- -r %s 724 netperf_cmd = %s/netperf-2.4.5/src/netperf -t %s -H %s -l 60 -- -r %s
699 protocols = "TCP_RR TCP_CRR UDP_RR" 725 protocols = "TCP_RR TCP_CRR UDP_RR"
700 726
701 - ethtool: install setup unattended_install.cdrom 727 - ethtool: install setup unattended_install.cdrom
728 only Linux
702 type = ethtool 729 type = ethtool
703 filesize = 512 730 filesize = 512
704 nic_mode = tap 731 nic_mode = tap
705 732
706 - nic_bonding: 733 - nic_bonding:
734 only Linux
707 type = nic_bonding 735 type = nic_bonding
708 nics += ' nic2 nic3 nic4' 736 nics += ' nic2 nic3 nic4'
709 image_snapshot = yes 737 image_snapshot = yes
710 serial_login = yes 738 serial_login = yes
711 test_timeout = 1000 739 test_timeout = 1000
712 filesize = 4000 740 filesize = 4000
713 transfer_timeout = 1000 741 transfer_timeout = 1000
714 transfer_type = remote 742 transfer_type = remote
715 kill_vm = yes 743 kill_vm = yes
716 # you can specify the parameters of bonding module here 744 # you can specify the parameters of bonding module here
717 # bonding_params = "mode=active-backup" 745 # bonding_params = "mode=active-backup"
718 746
719 - set_link: 747 - set_link:
720 type = set_link 748 type = set_link
721 test_timeout = 1000 749 test_timeout = 1000
722 filesize = 4000 750 filesize = 4000
723 transfer_timeout = 1000 751 transfer_timeout = 1000
724 transfer_type = remote 752 transfer_type = remote
725 kill_vm =yes 753 kill_vm =yes
726 754
727 - physical_resources_check: install setup unattended_install.cdrom 755 - physical_resources_check: install setup unattended_install.cdrom
728 type = physical_resources_check 756 type = physical_resources_check
729 catch_uuid_cmd = dmidecode | awk -F: '/UUID/ {print $2}' 757 catch_uuid_cmd = dmidecode | awk -F: '/UUID/ {print $2}'
730 758
731 - ksm_overcommit: 759 - ksm_overcommit: install setup unattended_install.cdrom
760 only Linux
732 # Don't preprocess any vms as we need to change its params 761 # Don't preprocess any vms as we need to change its params
733 vms = '' 762 vms = ''
734 image_snapshot = yes 763 image_snapshot = yes
735 kill_vm_gracefully = no 764 kill_vm_gracefully = no
736 type = ksm_overcommit 765 type = ksm_overcommit
737 # Make host use swap (a value of 'no' will turn off host swap) 766 # Make host use swap (a value of 'no' will turn off host swap)
738 ksm_swap = yes 767 ksm_swap = yes
739 no hugepages 768 no hugepages
740 # Overcommit of host memmory 769 # Overcommit of host memmory
741 ksm_overcommit_ratio = 3 770 ksm_overcommit_ratio = 3
742 # Max paralel runs machine 771 # Max paralel runs machine
743 ksm_parallel_ratio = 4 772 ksm_parallel_ratio = 4
744 # Host memory reserve (default - best fit for used mem) 773 # Host memory reserve (default - best fit for used mem)
745 # ksm_host_reserve = 512 774 # ksm_host_reserve = 512
746 # ksm_guest_reserve = 1024 775 # ksm_guest_reserve = 1024
747 variants: 776 variants:
748 - ksm_serial: 777 - ksm_serial:
749 ksm_mode = "serial" 778 ksm_mode = "serial"
750 - ksm_parallel: 779 - ksm_parallel:
751 ksm_mode = "parallel" 780 ksm_mode = "parallel"
752 781
753 - iofuzz: 782 - iofuzz:
783 only Linux
754 type = iofuzz 784 type = iofuzz
755 785
756 - virtio_console: 786 - virtio_console:
787 only Linux
757 vms = '' 788 vms = ''
758 type = virtio_console 789 type = virtio_console
790 # Default number of consoles
791 virtio_console_no_serialports = 0
792 virtio_console_no_consoles = 0
793
759 # smoke params - $console_type:data_string 794 # smoke params - $console_type:data_string
760 # FIXME: test_smoke doesn't work with console yet (virtio_console bug) 795 # FIXME: test_smoke doesn't work with console yet (virtio_console bug)
761 # "serialport;console:Custom data" 796 # "serialport;console:Custom data"
797 smoke_test = yes
762 virtio_console_smoke = "serialport" 798 virtio_console_smoke = "serialport"
763 # loopback params - '$source_console_type@buffer_length:$destination_con sole_type1@buffer_length:...:$loopback_buffer_length;...' 799 # loopback params - '$source_console_type@buffer_length:$destination_con sole_type1@buffer_length:...:$loopback_buffer_length;...'
800 loopback_test = yes
764 virtio_console_loopback = "serialport:serialport;serialport@1024:serialp ort@32:console@1024:console@8:16" 801 virtio_console_loopback = "serialport:serialport;serialport@1024:serialp ort@32:console@1024:console@8:16"
765 # perf params - $console_type@buffer_length:$test_duration 802 # perf params - $console_type@buffer_length:$test_duration
766 # FIXME: test_perf doesn't work with console yet (virtio_console bug) 803 # FIXME: test_perf doesn't work with console yet (virtio_console bug)
767 # virtio_console_perf = "serialport;serialport@1000000:120;console@1024: 60" 804 # virtio_console_perf = "serialport;serialport@1000000:120;console@1024: 60"
805 perf_test = yes
768 virtio_console_perf = "serialport;serialport@1000000:120" 806 virtio_console_perf = "serialport;serialport@1000000:120"
807 # Enable destructive tests: "test_name = yes"
808 # Disable test: change yes or delete key.
809 rmmod_test = yes
810 max_ports_test = yes
811 shutdown_test = yes
812
813 # Offline migration params - '$console_type:$no_migrations:$send-:$recv- $loopback-buffer_length'
814 migrate_offline_test = yes
815 virtio_console_migration_offline = "serialport:1:2048:2048:2048;serialpo rt:5:4096:4096:4096"
816
817 # Online migration params - '$console_type:$no_migrations:$send-:$recv-$ loopback-buffer_length'
818 migrate_online_test = yes
819 virtio_console_migration_online = "serialport:1:2048:2048:2048;serialpor t:5:4096:4096:4096"
820
821 hotplug_test = yes
822 hotplug_serial_test = yes
823 hotplug_console_test = no
769 824
770 # This unit test module is for older branches of KVM that use the 825 # This unit test module is for older branches of KVM that use the
771 # kvmctl test harness (such as the code shipped with RHEL 5.x) 826 # kvmctl test harness (such as the code shipped with RHEL 5.x)
772 - unit_test_kvmctl: 827 - unit_test_kvmctl:
773 type = unit_test 828 type = unit_test
774 vms = '' 829 vms = ''
775 profilers = '' 830 profilers = ''
776 variants: 831 variants:
777 - access: 832 - access:
778 case = access 833 case = access
(...skipping 23 matching lines...) Expand all
802 - module_probe: 857 - module_probe:
803 type = module_probe 858 type = module_probe
804 # You can specify your own module list, though it is not needed usually. 859 # You can specify your own module list, though it is not needed usually.
805 # mod_list = kvm 860 # mod_list = kvm
806 load_count = 100 861 load_count = 100
807 vms = '' 862 vms = ''
808 profilers = '' 863 profilers = ''
809 take_regular_screendumps = no 864 take_regular_screendumps = no
810 865
811 - ioquit: 866 - ioquit:
867 only Linux
812 type = ioquit 868 type = ioquit
813 background_cmd = "for i in 1 2 3 4; do (dd if=/dev/urandom of=/tmp/file bs=102400 count=10000000 &); done" 869 background_cmd = "for i in 1 2 3 4; do (dd if=/dev/urandom of=/tmp/file bs=102400 count=10000000 &); done"
814 check_cmd = ps -a |grep dd 870 check_cmd = ps -a |grep dd
815 login_timeout = 360 871 login_timeout = 360
816 872
817 - qemu_img: 873 - qemu_img:
818 type = qemu_img 874 type = qemu_img
819 vms = '' 875 vms = ''
820 profilers = '' 876 profilers = ''
821 take_regular_screendumps = no 877 take_regular_screendumps = no
(...skipping 28 matching lines...) Expand all
850 subcommand = commit 906 subcommand = commit
851 - info: 907 - info:
852 subcommand = info 908 subcommand = info
853 - rebase: 909 - rebase:
854 subcommand = rebase 910 subcommand = rebase
855 rebase_mode = unsafe 911 rebase_mode = unsafe
856 image_name_snapshot1 = sn1 912 image_name_snapshot1 = sn1
857 image_name_snapshot2 = sn2 913 image_name_snapshot2 = sn2
858 914
859 - clock_getres: install setup unattended_install.cdrom 915 - clock_getres: install setup unattended_install.cdrom
916 only Linux
860 type = clock_getres 917 type = clock_getres
861 918
862 - yum_update: install setup unattended_install.cdrom 919 - yum_update: install setup unattended_install.cdrom
920 only Fedora, RHEL
863 type = yum_update 921 type = yum_update
864 shell_prompt = "Is this ok" 922 shell_prompt = "Is this ok"
865 923
866 - kdump: unattended_install.cdrom 924 - kdump: unattended_install.cdrom
925 only Linux
867 type = kdump 926 type = kdump
868 # time waited for the completion of crash dump 927 # time waited for the completion of crash dump
869 # crash_timeout = 360 928 # crash_timeout = 360
870 # command to add the crashkernel=X@Y to kernel cmd line 929 # command to add the crashkernel=X@Y to kernel cmd line
871 # kernel_param_cmd = "grubby --update-kernel=`grubby --default-kernel` - -args=crashkernel=128M@64M" 930 # kernel_param_cmd = "grubby --update-kernel=`grubby --default-kernel` - -args=crashkernel=128M@64M"
872 # command to enable kdump service 931 # command to enable kdump service
873 # kdump_enable_cmd = chkconfig kdump on && service kdump start 932 # kdump_enable_cmd = chkconfig kdump on && service kdump start
874 # command to probe the crash kernel 933 # command to probe the crash kernel
875 # crash_kernel_prob_cmd = "grep -q 1 /sys/kernel/kexec_crash_loaded" 934 # crash_kernel_prob_cmd = "grep -q 1 /sys/kernel/kexec_crash_loaded"
876 935
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 dp_regex_clientmsgdev = VirtIO Ethernet Adapter #2$ 997 dp_regex_clientmsgdev = VirtIO Ethernet Adapter #2$
939 dp_regex_clientsupportdev = VirtIO Ethernet Adapter #3$ 998 dp_regex_clientsupportdev = VirtIO Ethernet Adapter #3$
940 # Device selection for the NDISTest server machine 999 # Device selection for the NDISTest server machine
941 dp_regex_servermsgdev = VirtIO Ethernet Adapter$ 1000 dp_regex_servermsgdev = VirtIO Ethernet Adapter$
942 dp_regex_serversupportdev = VirtIO Ethernet Adapter #2$ 1001 dp_regex_serversupportdev = VirtIO Ethernet Adapter #2$
943 1002
944 # Guests 1003 # Guests
945 variants: 1004 variants:
946 # Linux section 1005 # Linux section
947 - @Linux: 1006 - @Linux:
948 no autoit iozone_windows whql
949 shutdown_command = shutdown -h now 1007 shutdown_command = shutdown -h now
950 reboot_command = shutdown -r now 1008 reboot_command = shutdown -r now
951 status_test_command = echo $? 1009 status_test_command = echo $?
952 username = root 1010 username = root
953 password = 123456 1011 password = 123456
954 shell_client = ssh 1012 shell_client = ssh
955 shell_port = 22 1013 shell_port = 22
956 file_transfer_client = scp 1014 file_transfer_client = scp
957 file_transfer_port = 22 1015 file_transfer_port = 22
958 mem_chk_cmd = dmidecode -t 17 | awk -F: '/Size/ {print $2}' 1016 mem_chk_cmd = dmidecode -t 17 | awk -F: '/Size/ {print $2}'
(...skipping 19 matching lines...) Expand all
978 time_command = "ntpdate -d -q ns1.nay.redhat.com" 1036 time_command = "ntpdate -d -q ns1.nay.redhat.com"
979 time_filter_re = "originate timestamp:.*, (.\w+\s+\d+\s+\d+\s+\d +:\d+:\d+)\.(.\d+)" 1037 time_filter_re = "originate timestamp:.*, (.\w+\s+\d+\s+\d+\s+\d +:\d+:\d+)\.(.\d+)"
980 time_format = "%b %d %Y %H:%M:%S" 1038 time_format = "%b %d %Y %H:%M:%S"
981 date: 1039 date:
982 time_command = date +'TIME: %a %m/%d/%Y %H:%M:%S.%N' 1040 time_command = date +'TIME: %a %m/%d/%Y %H:%M:%S.%N'
983 time_filter_re = "(?:TIME: \w\w\w )(.{19})(?:\.\d\d)" 1041 time_filter_re = "(?:TIME: \w\w\w )(.{19})(?:\.\d\d)"
984 time_format = "%m/%d/%Y %H:%M:%S" 1042 time_format = "%m/%d/%Y %H:%M:%S"
985 file_transfer: 1043 file_transfer:
986 tmp_dir = /tmp/ 1044 tmp_dir = /tmp/
987 clean_cmd = rm -f 1045 clean_cmd = rm -f
1046 nicdriver_unload:
1047 readlink_command = readlink -e
1048 sys_path = "/sys/class/net/%s/device/driver"
988 1049
989 variants: 1050 variants:
990 - Fedora: 1051 - Fedora:
991 no setup 1052 no setup
992 shell_prompt = "^\[.*\][\#\$]\s*$" 1053 shell_prompt = "^\[.*\][\#\$]\s*$"
993 unattended_install: 1054 unattended_install:
994 boot_path = "images/pxeboot" 1055 boot_path = "images/pxeboot"
995 # You have to use ks=floppy if you want to use floppies to 1056 # You have to use ks=floppy if you want to use floppies to
996 # hold your kickstart file 1057 # hold your kickstart file
997 #extra_params += " --append 'ks=floppy nicdelay=60 console=t tyS0,115200 console=tty0'" 1058 #extra_params += " --append 'ks=floppy nicdelay=60 console=t tyS0,115200 console=tty0'"
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
1471 setup: 1532 setup:
1472 steps = Ubuntu-8.10-server-32-gcc.steps 1533 steps = Ubuntu-8.10-server-32-gcc.steps
1473 1534
1474 - RHEL: 1535 - RHEL:
1475 no setup 1536 no setup
1476 shell_prompt = "^\[.*\][\#\$]\s*$" 1537 shell_prompt = "^\[.*\][\#\$]\s*$"
1477 nic_hotplug: 1538 nic_hotplug:
1478 modprobe_module = acpiphp 1539 modprobe_module = acpiphp
1479 block_hotplug: 1540 block_hotplug:
1480 modprobe_module = acpiphp 1541 modprobe_module = acpiphp
1542 no block_scsi
1481 unattended_install: 1543 unattended_install:
1482 boot_path = images/pxeboot 1544 boot_path = images/pxeboot
1483 # You have to use ks=floppy if you want to use floppies to 1545 # You have to use ks=floppy if you want to use floppies to
1484 # hold your kickstart file 1546 # hold your kickstart file
1485 #extra_params += " --append 'ks=floppy nicdelay=60 console=t tyS0,115200 console=tty0'" 1547 #extra_params += " --append 'ks=floppy nicdelay=60 console=t tyS0,115200 console=tty0'"
1486 extra_params += " --append 'ks=cdrom nicdelay=60 console=tty S0,115200 console=tty0'" 1548 extra_params += " --append 'ks=cdrom nicdelay=60 console=tty S0,115200 console=tty0'"
1487 1549
1488 variants: 1550 variants:
1489 - 3.9.i386: 1551 - 3.9.i386:
1490 no setup autotest linux_s3 guest_s4 shutdown 1552 no setup autotest linux_s3 guest_s4 shutdown
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
1571 unattended_install: 1633 unattended_install:
1572 unattended_file = unattended/RHEL-4-series.ks 1634 unattended_file = unattended/RHEL-4-series.ks
1573 #floppy = images/rhel48-32/ks.vfd 1635 #floppy = images/rhel48-32/ks.vfd
1574 cdrom_unattended = images/rhel48-32/ks.iso 1636 cdrom_unattended = images/rhel48-32/ks.iso
1575 kernel = images/rhel48-32/vmlinuz 1637 kernel = images/rhel48-32/vmlinuz
1576 initrd = images/rhel48-32/initrd.img 1638 initrd = images/rhel48-32/initrd.img
1577 unattended_install.cdrom: 1639 unattended_install.cdrom:
1578 cdrom_cd1 = isos/linux/RHEL-4.8-i386-DVD.iso 1640 cdrom_cd1 = isos/linux/RHEL-4.8-i386-DVD.iso
1579 md5sum_cd1 = b024f0af5079539d3ef51f71fed0b194 1641 md5sum_cd1 = b024f0af5079539d3ef51f71fed0b194
1580 md5sum_1m_cd1 = 969c197402b9058f28a278c1f807d15b 1642 md5sum_1m_cd1 = 969c197402b9058f28a278c1f807d15b
1643 nicdriver_unload:
1644 readlink_command = readlink -f
1645 sys_path = "/sys/class/net/%s/driver"
1581 1646
1582 1647
1583 - 4.8.x86_64: 1648 - 4.8.x86_64:
1584 no setup autotest 1649 no setup autotest
1585 image_name = rhel4-64 1650 image_name = rhel4-64
1586 unattended_install: 1651 unattended_install:
1587 unattended_file = unattended/RHEL-4-series.ks 1652 unattended_file = unattended/RHEL-4-series.ks
1588 #floppy = images/rhel48-64/ks.vfd 1653 #floppy = images/rhel48-64/ks.vfd
1589 cdrom_unattended = images/rhel48-64/ks.iso 1654 cdrom_unattended = images/rhel48-64/ks.iso
1590 kernel = images/rhel48-64/vmlinuz 1655 kernel = images/rhel48-64/vmlinuz
1591 initrd = images/rhel48-64/initrd.img 1656 initrd = images/rhel48-64/initrd.img
1592 unattended_install.cdrom: 1657 unattended_install.cdrom:
1593 cdrom_cd1 = isos/linux/RHEL-4.8-x86_64-DVD.iso 1658 cdrom_cd1 = isos/linux/RHEL-4.8-x86_64-DVD.iso
1594 md5sum_cd1 = 696bc877b0200cc942626673fcc3fc09 1659 md5sum_cd1 = 696bc877b0200cc942626673fcc3fc09
1595 md5sum_1m_cd1 = b11ac0ef7fd345ad712966972db63886 1660 md5sum_1m_cd1 = b11ac0ef7fd345ad712966972db63886
1661 nicdriver_unload:
1662 readlink_command = readlink -f
1663 sys_path = "/sys/class/net/%s/driver"
1596 1664
1597 1665
1598 - 5.3.i386: 1666 - 5.3.i386:
1599 no setup 1667 no setup
1600 image_name = rhel5-32 1668 image_name = rhel5-32
1601 install: 1669 install:
1602 steps = RHEL-5.3-i386.steps 1670 steps = RHEL-5.3-i386.steps
1603 cdrom_cd1 = isos/linux/RHEL-5.3-i386-DVD.iso 1671 cdrom_cd1 = isos/linux/RHEL-5.3-i386-DVD.iso
1604 md5sum_cd1 = 371c62851611fd32ead440df6f24a296 1672 md5sum_cd1 = 371c62851611fd32ead440df6f24a296
1605 md5sum_1m_cd1 = 242318dd44152210f6ff6cdda1bfbf51 1673 md5sum_1m_cd1 = 242318dd44152210f6ff6cdda1bfbf51
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1729 initrd = images/rhel60-64/initrd.img 1797 initrd = images/rhel60-64/initrd.img
1730 unattended_install.cdrom: 1798 unattended_install.cdrom:
1731 cdrom_cd1 = isos/linux/RHEL-6.0-x86_64-DVD.iso 1799 cdrom_cd1 = isos/linux/RHEL-6.0-x86_64-DVD.iso
1732 md5sum_cd1 = f7141396c6a19399d63e8c195354317d 1800 md5sum_cd1 = f7141396c6a19399d63e8c195354317d
1733 md5sum_1m_cd1 = b060eeef63e2c8700db54ae02056e80c 1801 md5sum_1m_cd1 = b060eeef63e2c8700db54ae02056e80c
1734 1802
1735 1803
1736 1804
1737 # Windows section 1805 # Windows section
1738 - @Windows: 1806 - @Windows:
1739 no autotest, linux_s3, vlan, ioquit, unattended_install.url, unattended_ install.nfs, unattended_install.remote_ks
1740 no jumbo, nicdriver_unload, nic_promisc, multicast, mac_change, ethtool, clock_getres
1741
1742 shutdown_command = shutdown /s /f /t 0 1807 shutdown_command = shutdown /s /f /t 0
1743 reboot_command = shutdown /r /f /t 0 1808 reboot_command = shutdown /r /f /t 0
1744 status_test_command = echo %errorlevel% 1809 status_test_command = echo %errorlevel%
1745 shell_prompt = "^\w:\\.*>\s*$" 1810 shell_prompt = "^\w:\\.*>\s*$"
1746 username = Administrator 1811 username = Administrator
1747 password = 123456 1812 password = 123456
1748 shell_linesep = "\r\n" 1813 shell_linesep = "\r\n"
1749 shell_client = nc 1814 shell_client = nc
1750 shell_port = 10022 1815 shell_port = 10022
1751 file_transfer_client = rss 1816 file_transfer_client = rss
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
2407 driver = igb 2472 driver = igb
2408 # Driver option to specify the maximum number of virtual functions 2473 # Driver option to specify the maximum number of virtual functions
2409 # (on vxge the option is , for example, is max_config_dev) 2474 # (on vxge the option is , for example, is max_config_dev)
2410 # the default below is for the igb driver 2475 # the default below is for the igb driver
2411 driver_option = "max_vfs=7" 2476 driver_option = "max_vfs=7"
2412 # Number of devices that are going to be requested. 2477 # Number of devices that are going to be requested.
2413 devices_requested = 7 2478 devices_requested = 7
2414 2479
2415 2480
2416 steps ?<= steps/ 2481 steps ?<= steps/
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698