From: Dor Laor <dlaor@redhat.com>
To: Lucas Meneghel Rodrigues <lmr@redhat.com>
Cc: KVM mailing list <kvm@vger.kernel.org>,
Autotest mailing list <autotest@test.kernel.org>,
Avi Kivity <avi@redhat.com>, Cleber Rosa <crosa@redhat.com>,
Ronen Hod <rhod@redhat.com>,
Michael Goldish <mgoldish@redhat.com>
Subject: Re: KVM autotest tip of the week - Running qemu-kvm unittests
Date: Sun, 17 Jul 2011 16:47:05 +0300 [thread overview]
Message-ID: <4E22E7D9.8040109@redhat.com> (raw)
In-Reply-To: <1310735534.10020.13.camel@freedom>
On 07/15/2011 04:12 PM, Lucas Meneghel Rodrigues wrote:
> Hi guys, due to some personal issues this week this tip came later than
> I wanted, but nevertheless, here it is:
>
> http://autotest.kernel.org/wiki/KVMAutotest/RunQemuUnittests
>
> Ever wanted to make kvm autotest to execute the qemu-kvm unittest suite
> automatically on your local qemu-kvm branch? So this is for you!
>
> Cheers,
>
> Lucas
>
Nice write up!
Why not put 'preserve_srcdir = True' by default?
In general, you can simplify the documentation by using the most
frequent use case at the beginning. For example, you can just point to
another link to get you all the yum dependencies instead of adding it
here in this page where they do not belong.
The get_started.py script is cool :)
Note that in your output screendump is not functioning.
The setup was really neat and the tests managed to execute easily. I did
got some failures and exception below:
"16:13:23 ERROR| Test failed: TestFail: Unit tests failed: apic access
emulator idt_test msr xsave rmap_chain svm svm-disabled
16:13:23 DEBUG| Terminating screendump thread
16:13:23 DEBUG| Param 'convert_ppm_files_to_png' specified, converting
PPM files to PNG format
16:13:23 DEBUG| Param 'keep_ppm_files' not specified, removing all PPM
files from debug dir
16:13:23 ERROR| Exception escaping from test:
Traceback (most recent call last):
File "/home/dor/src/autotest/client/common_lib/test.py", line 418, in
_exec
_call_test_function(self.execute, *p_args, **p_dargs)
File "/home/dor/src/autotest/client/common_lib/test.py", line 623, in
_call_test_function
return func(*args, **dargs)
File "/home/dor/src/autotest/client/common_lib/test.py", line 291, in
execute
postprocess_profiled_run, args, dargs)
File "/home/dor/src/autotest/client/common_lib/test.py", line 211, in
_call_run_once
self.run_once(*args, **dargs)
File "/home/dor/src/autotest/client/tests/kvm/kvm.py", line 88, in
run_once
run_func(self, params, env)
File "/home/dor/src/autotest/client/tests/kvm/tests/unittest.py",
line 121, in run_unittest
raise error.TestFail("Unit tests failed: %s" % " ".join(tests_failed))
TestFail: Unit tests failed: apic access emulator idt_test msr xsave
rmap_chain svm svm-disabled
16:13:23 DEBUG| Logging subprocess finished
16:13:23 DEBUG| Logging subprocess finished
16:13:23 DEBUG| Running 'gzip -9
"/home/dor/src/autotest/client/results/default/kvm.unittest/sysinfo/dmesg"'
16:13:23 ERROR| /var/log/messages collection failed with [Errno 13]
Permission denied: '/var/log/messages'
16:13:23 DEBUG| Running 'grep MemTotal /proc/meminfo'
16:13:23 DEBUG| Running 'rpm -qa'
16:13:27 ERROR| child process failed
16:13:27 DEBUG| Traceback (most recent call last):
File "/home/dor/src/autotest/client/bin/parallel.py", line 18, in
fork_start
l()
File "/home/dor/src/autotest/client/bin/job.py", line 520, in <lambda>
l = lambda : test.runtest(self, url, tag, args, dargs)
File "/home/dor/src/autotest/client/bin/test.py", line 115, in runtest
job.sysinfo.log_after_each_iteration)
File "/home/dor/src/autotest/client/common_lib/test.py", line 710, in
runtest
mytest._exec(args, dargs)
File "/home/dor/src/autotest/client/common_lib/test.py", line 418, in
_exec
_call_test_function(self.execute, *p_args, **p_dargs)
File "/home/dor/src/autotest/client/common_lib/test.py", line 623, in
_call_test_function
return func(*args, **dargs)
File "/home/dor/src/autotest/client/common_lib/test.py", line 291, in
execute
postprocess_profiled_run, args, dargs)
File "/home/dor/src/autotest/client/common_lib/test.py", line 211, in
_call_run_once
self.run_once(*args, **dargs)
File "/home/dor/src/autotest/client/tests/kvm/kvm.py", line 88, in
run_once
run_func(self, params, env)
File "/home/dor/src/autotest/client/tests/kvm/tests/unittest.py",
line 121, in run_unittest
raise error.TestFail("Unit tests failed: %s" % " ".join(tests_failed))
TestFail: Unit tests failed: apic access emulator idt_test msr xsave
rmap_chain svm svm-disabled
16:13:27 INFO | FAIL kvm.unittest kvm.unittest timestamp=1310908407
localtime=Jul 17 16:13:27 Unit tests failed: apic access emulator
idt_test msr xsave rmap_chain svm svm-disabled
16:13:27 INFO | END FAIL kvm.unittest kvm.unittest
timestamp=1310908407 localtime=Jul 17 16:13:27
"
Still, it's cool and simple to use. I'm was and still am an enthusiastic
autotest fan!
Dor
next prev parent reply other threads:[~2011-07-17 13:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-15 13:12 KVM autotest tip of the week - Running qemu-kvm unittests Lucas Meneghel Rodrigues
2011-07-17 13:47 ` Dor Laor [this message]
2011-07-17 18:27 ` Lucas Meneghel Rodrigues
2011-07-18 4:02 ` Lucas Meneghel Rodrigues
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=4E22E7D9.8040109@redhat.com \
--to=dlaor@redhat.com \
--cc=autotest@test.kernel.org \
--cc=avi@redhat.com \
--cc=crosa@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=lmr@redhat.com \
--cc=mgoldish@redhat.com \
--cc=rhod@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox