hi Lucas,Amos, Good news! the test passed by following Lucas suggestion!! The result of scan_results.py as following:
[root@localhost kvm]# ./scan_results.py Test Status Seconds Info ---- ------ ------- ---- (Result file: ../../results/default/status) virtio_blk.smp2.Fedora.11.64.virtio_net.unattended_install.cdrom GOOD 2691 completed successfully virtio_blk.smp2.Fedora.11.64.virtio_net.boot GOOD 67 completed successfully virtio_blk.smp2.Fedora.11.64.virtio_net.shutdown GOOD 30 completed successfully ---- GOOD 2799 So far, my kvm-autotest run up finally!! thanks a lot to both of you!! I will use the kvm-autotest framework to test the kvm project, so if meeting something wrong or issue, I will seek advice from both of you!! Thanks again!! wuyu8242 发件人: Lucas Meneghel Rodrigues 发送时间: 2011-03-26 04:15:41 收件人: wuyu8242 抄送: Amos Kong; autotest 主题: Re: Re: Re: [Autotest] About using kvm-autotest On Fri, 2011-03-25 at 15:34 +0800, wuyu8242 wrote: > > hi Amos & Lucas, > Sorry for disturbing you again! > > Today's test failed again. so I want to ask the phenomenon of > running autotest. the result I run qemu-kvm manually with few of > parameters is okay. the operation as following: > > #qemu-img create -f qcow2 XP.img 20G > #qemu-kvm -m 1024 --cdrom xxxx.iso -hda fc11-64.img > #qemu-kvm --cdrom /path/to/fc11_64.iso -hda fc11-64.img -vga std > > after the last command running, the qemu window appears. then the > graphic install start. > > but the kvm-autotest boot failed. the question lies in these > parameters of qemu-kvm? Ok, I tried here with a default install, I think I know what might be happening (even though I didn't get useful info to debug the problem first). The qemu-kvm shipped with Fedora 14 don't have support to boot from virtio disks, something that qemu-kvm upstream has for quite some time now. So the install goes on, but on boot qemu-kvm can't boot the recently installed virtio disk. So, as a workaround, I ask you to add image_boot = yes to your tests_base.cfg. Around line 2419, you'll see: variants: - @ide: drive_format=ide - scsi: drive_format=scsi - virtio_blk: drive_format=virtio Please add image_boot = yes to the virtio_blk variant, so the block looks like this: variants: - @ide: drive_format=ide - scsi: drive_format=scsi - virtio_blk: drive_format=virtio image_boot = yes That will resolve the problem. This incompatibility between what Fedora ships and qemu-kvm upstream has given us enough headache. I'll post a fix to the configuration file later.
_______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest