autotest / virt-test

Linux Virtualization Tests
Other
97 stars 139 forks source link

LIbvirt: unattended_install.cdrom.extra_cdrom_ks fails #427

Closed sathnaga closed 11 years ago

sathnaga commented 11 years ago

The installation happens successfully I guess during the post install scripts 'the completion of installation' is not sent properly through serial.

The installation works fine in the version, Version: master, SHA1: e1183ef2dd717c772f5f93cb61fd6d8334f420b3

I am not sure what is the last version it was working.

Guide me incase if it is working for you all.

Command used: ./run -t libvirt -g RHEL.6.2.x86_64 --tests="unattended_install.cdrom.extra_cdrom_ks boot shutdown" -v

Below log is same for both latest next and master: next, 2013.05.16-6-g8ed932e, 8ed932e24ba34f7d0224a0d30ba8849718534663 master, 2013.05.16, b70883d7f197dd4f2679221ff52a0cec14dc2fbb

22:53:13 DEBUG| (address cache) DHCP lease OK: 52:54:00:07:08:09 --> 192.168.122.195 22:56:57 DEBUG| (address cache) DHCP lease OK: 52:54:00:07:08:09 --> 192.168.122.195 22:57:07 WARNI| Requested MAC address release from persistent vm virt-tests-vm1-next. Ignoring. 22:57:07 DEBUG| Checking image file /home/sath/virt-test/shared/data/images/rhel62-64.qcow2 22:57:07 ERROR| 22:57:07 ERROR| Traceback (most recent call last): 22:57:07 ERROR| run_func(self, params, env)rttest/standalone_test.py", line 199, in run_once 22:57:07 ERROR| File "/home/sath/autotest-td/client/shared/error.py", line 138, in new_fn 22:57:07 ERROR| return fn(_args, *_kwargs) 22:57:07 ERROR| File "/home/sath/virt-test/tests/unattended_install.py", line 865, in run_unattended_install 22:57:07 ERROR| raise e 22:57:07 ERROR| VMDeadError: VM is dead reason: Domain virt-tests-vm1-next is inactive detail: 'shut off' 22:57:07 ERROR| 22:57:07 ERROR| FAIL unattended_install.cdrom.extra_cdrom_ks -> VMDeadError: VM is dead reason: Domain virt-tests-vm1-next is inactive detail: 'shut off' 22:57:07 INFO |

sathnaga commented 11 years ago

@cevich @lmr : Please let me know if I am missing something.

cevich commented 11 years ago

I believe @lmr fixed this problem yesterday shortly after you reported. Then there was another problem, and we fixed that one too :D

You're command looks fine, and yesterday this was working for me with another OS. Please grab a fresh copy of next and give it a try again, there has been so many changes lately I cannot keep track :S

If still not working, can you give us more details? What OS/version is host? Does bone-stock default JeOS test set work (w/o any guest defined)?

i.e. ./run -t libvirt

Maybe include more of the debug log :)

cevich commented 11 years ago

@sathnaga Please check out pull request #427 and let me know if this works for you too. Thanks.