From: Dor Laor <dlaor@redhat.com>
To: Michael Goldish <mgoldish@redhat.com>
Cc: autotest@test.kernel.org, kvm@vger.kernel.org
Subject: Re: [Autotest] [KVM-AUTOTEST PATCH 15/17] KVM test: add timedrift test to kvm_tests.cfg.sample
Date: Tue, 21 Jul 2009 12:47:36 +0300 [thread overview]
Message-ID: <4A658EB8.5040800@redhat.com> (raw)
In-Reply-To: <d6a58f8b3c65f5ba084e74a236377baf87391145.1248102188.git.mgoldish@redhat.com>
On 07/20/2009 06:07 PM, Michael Goldish wrote:
> Currently the test will only run on Windows.
> It should be able to run on Linux just as well, but if I understand correctly,
> testing time drift on Linux is less interesting.
Linux is interesting too. The problem is more visible on windows since
it uses 1000hz frequency when it plays multimedia. It makes timer irq
injection harder.
Does the test fail without the rtc-td-hack?
>
> Also make some tiny cosmetic changes (spacing), and move the stress_boot test
> before the shutdown test (shutdown should be last).
>
> Signed-off-by: Michael Goldish<mgoldish@redhat.com>
> ---
> client/tests/kvm/kvm_tests.cfg.sample | 46 ++++++++++++++++++++++++++------
> 1 files changed, 37 insertions(+), 9 deletions(-)
>
> diff --git a/client/tests/kvm/kvm_tests.cfg.sample b/client/tests/kvm/kvm_tests.cfg.sample
> index 1288952..2d75a66 100644
> --- a/client/tests/kvm/kvm_tests.cfg.sample
> +++ b/client/tests/kvm/kvm_tests.cfg.sample
> @@ -92,20 +92,33 @@ variants:
> test_name = disktest
> test_control_file = disktest.control
>
> - - linux_s3: install setup
> + - linux_s3: install setup
> type = linux_s3
>
> - - shutdown: install setup
> + - timedrift: install setup
> + type = timedrift
> + extra_params += " -rtc-td-hack"
> + # 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
> +
> + - stress_boot: install setup
> + type = stress_boot
> + max_vms = 5
> + alive_test_cmd = ps aux
> +
> + - shutdown: install setup
> type = shutdown
> kill_vm = yes
> kill_vm_gracefully = no
>
>
> - - stress_boot:
> - type = stress_boot
> - max_vms = 5
> - alive_test_cmd = ps aux
> -
> # NICs
> variants:
> - @rtl8139:
> @@ -121,6 +134,7 @@ variants:
> variants:
> # Linux section
> - @Linux:
> + no timedrift
> cmd_shutdown = shutdown -h now
> cmd_reboot = shutdown -r now
> ssh_status_test_command = echo $?
> @@ -303,8 +317,6 @@ variants:
> md5sum=bf4635e4a4bd3b43838e72bc8c329d55
> md5sum_1m=18ecd37b639109f1b2af05cfb57dfeaf
>
> -
> -
> # Windows section
> - @Windows:
> no autotest
> @@ -318,6 +330,21 @@ variants:
> migration_test_command = ver&& vol
> stress_boot:
> alive_test_cmd = systeminfo
> + timedrift:
> + # For this to work, the ISO should contain vlc (vlc.exe) and a video (ED_1024.avi)
> + cdrom = windows/vlc.iso
> + time_command = "echo TIME: %date% %time%"
> + time_filter_re = "(?<=TIME: \w\w\w ).{19}(?=\.\d\d)"
> + time_format = "%m/%d/%Y %H:%M:%S"
> + guest_load_command = 'cmd /c "d:\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
>
> variants:
> - Win2000:
> @@ -582,5 +609,6 @@ variants:
> only qcow2.*ide.*default.*up.*Ubuntu-8.10-server.*(autotest.sleeptest)
> only rtl8139
>
> +
> # Choose your test list
> only fc8_quick
next prev parent reply other threads:[~2009-07-21 9:51 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-20 15:07 [KVM-AUTOTEST PATCH 0/17] kvm_subprocess, guestwizard improvements, timedrift and other small things Michael Goldish
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 01/17] Add new module kvm_subprocess Michael Goldish
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 02/17] Modify kvm_vm and kvm_preprocessing to use the new kvm_subprocess module Michael Goldish
2009-07-23 1:37 ` [Autotest] " Lucas Meneghel Rodrigues
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 03/17] Modify remote_login and remote_scp in kvm_utils to use kvm_subprocess Michael Goldish
2009-07-23 4:02 ` [Autotest] " Lucas Meneghel Rodrigues
2009-07-23 4:03 ` Lucas Meneghel Rodrigues
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 04/17] Modify run_autotest() in kvm_tests.py to use the new kvm_subprocess module Michael Goldish
2009-07-23 4:03 ` [Autotest] " Lucas Meneghel Rodrigues
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 05/17] Remove kvm_spawn and run_bg() from kvm_utils.py Michael Goldish
2009-07-23 4:04 ` [Autotest] " Lucas Meneghel Rodrigues
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 06/17] kvm_guest_wizard: rename output_dir to debug_dir in barrier_2() Michael Goldish
2009-07-24 18:07 ` [Autotest] " Lucas Meneghel Rodrigues
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 07/17] kvm_guest_wizard: pass 'params' directly to barrier_2() Michael Goldish
2009-07-24 19:36 ` [Autotest] " Lucas Meneghel Rodrigues
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 08/17] kvm_guest_wizard: allow keeping screendump history for debugging purposes Michael Goldish
2009-07-24 19:36 ` [Autotest] " Lucas Meneghel Rodrigues
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 09/17] kvm_tests.cfg.sample: add 'keep_screendump_history = yes' to step file tests Michael Goldish
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 10/17] KVM test: optionally convert PPM files to PNG format after test Michael Goldish
2009-07-24 19:38 ` [Autotest] " Lucas Meneghel Rodrigues
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 11/17] KVM test: kvm_tests.cfg.sample: convert PPM files to PNG by default Michael Goldish
2009-07-24 19:38 ` [Autotest] " Lucas Meneghel Rodrigues
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 12/17] KVM test: add simple timedrift test (mainly for Windows) Michael Goldish
2009-07-21 9:23 ` [Autotest] " Dor Laor
2009-07-21 9:37 ` Michael Goldish
2009-07-21 9:42 ` Dor Laor
2009-07-21 17:25 ` Marcelo Tosatti
2009-07-21 14:57 ` Yolkfull Chow
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 13/17] KVM test: fix a parsing problem in kvm_config.py Michael Goldish
2009-07-27 13:31 ` [Autotest] " Lucas Meneghel Rodrigues
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 14/17] KVM test: fix string and docstring indentation " Michael Goldish
2009-07-27 13:31 ` [Autotest] " Lucas Meneghel Rodrigues
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 15/17] KVM test: add timedrift test to kvm_tests.cfg.sample Michael Goldish
2009-07-21 9:47 ` Dor Laor [this message]
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 16/17] KVM test: initialize some VM attributes in __init__() to prevent trouble Michael Goldish
2009-07-27 13:34 ` [Autotest] " Lucas Meneghel Rodrigues
2009-07-20 15:07 ` [KVM-AUTOTEST PATCH 17/17] KVM test: make some style changes in kvm_preprocessing.py Michael Goldish
2009-07-27 13:35 ` [Autotest] " Lucas Meneghel Rodrigues
2009-07-22 20:32 ` [Autotest] [KVM-AUTOTEST PATCH 01/17] Add new module kvm_subprocess Lucas Meneghel Rodrigues
2009-10-12 6:55 ` [KVM-AUTOTEST,01/17] " Cao, Chen
[not found] <925924498.753771248172831899.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-07-21 10:41 ` [Autotest] [KVM-AUTOTEST PATCH 15/17] KVM test: add timedrift test to kvm_tests.cfg.sample Michael Goldish
2009-07-21 17:33 ` Marcelo Tosatti
-- strict thread matches above, loose matches on Subject: below --
2009-08-11 12:31 [KVM-AUTOTEST PATCH] KVM test: kvm_subprocess: add function kill_tail_thread() Michael Goldish
2009-08-11 12:31 ` [KVM-AUTOTEST PATCH] KVM test: kvm_tests.cfg.sample: improve shell_prompt regular expressions Michael Goldish
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A658EB8.5040800@redhat.com \
--to=dlaor@redhat.com \
--cc=autotest@test.kernel.org \
--cc=kvm@vger.kernel.org \
--cc=mgoldish@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.