Hi
I am running the KVM autotest with Fedora 16 as guest. The main purpose of
trying KVM autotests is to generate strace when qemu is installing,booting
and shutdown the guest, to know the syscalls that qemu uses.
The tests run successfully when I use qemu-kvm and the qemu, but when I add
the strace option in the test the install of the guest run fine but the
boot up and shutdown tests fail.
I did changes in the tests.cfg in /path/to/autotest/tests/kvm where all the
different tests to run guest using qemu and qemu-kvm are configured. Made
changes in the qemu_f16_quick tests which uses qemu to install, boot and
shutdown the guest. I want the tests to use the qemu on my system which is
in /usr/local/bin/qemu-system-x86_64 with strace on. So changed the
qemu_binary option in the test so that it picks up the qemu we want with
strace option:
qemu_binary = '/usr/bin/strace -o -c
mystrace.out /usr/local/bin/qemu-system-x86_64'
Then used the steps mentioned in the following link to run the tests
https://github.com/autotest/autotest/wiki/KVMAutotest-GetStartedClient
But the boot and shutdown tests fail with No DHCP lease for MAC.
Below is the result of the tests
Test Status Seconds Info
---- ------ ------- ----
(Result file: ../../results/default/status)
e1000.Fedora.16.64.unattended_install.cdrom GOOD 4018
completed successfully
e1000.Fedora.16.64.boot FAIL
544 Unhandled VMIPAddressMissingError: No DHCP lease for MAC
9a:7c:b0:0b:1b:a9 [context: Try to log into guest. --> logging into
'vm1']
e1000.Fedora.16.64.shutdown FAIL 366
Unhandled VMIPAddressMissingError: No DHCP lease for MAC 9a:7c:b0:0b:78:80
[context: (run_shutdown) --> logging into 'vm1']
----
GOOD 4934
I have increased the log in time of the guest to 540s and also increased
the lease time to infinite in the DHCP range on my host system but still
get the above error.
Have the debug log from the client too let me know if that is required.
Can someone help me in resolving the above issue or have better way to get
strace while running the KVM autotests.
Thanks a lot
Regards,
Richa Marwaha
LTC Security
Email address:[email protected]_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest