On 08/05/09 12:16, Michael Goldish wrote:
----- "Gerd Hoffmann"<kraxel@xxxxxxxxxx> wrote:
Hi,
Now and then autotest thinks creating the vm failed, although qemu
started up just fine. autotest then goes to wait($qemupid) and hangs
there forever ...
If you encounter this again, please send the autotest debug log --
it'll make it easier to tell why autotest hangs.
Attached.
enjoy,
Gerd
(autotest still hanging in that state, just in case you want me collect
more info ...)
08/05 14:44:57 INFO | test:0256| Test started. Number of iterations: 1
08/05 14:44:57 INFO | test:0259| Executing iteration 1 of 1
08/05 14:44:57 ERROR| warnings:0029| /autotest/git/autotest/client/tests/kvm/kvm_utils.py:1: DeprecationWarning: the md5 module is deprecated; use hashlib instead
08/05 14:44:57 ERROR| warnings:0029| import md5, thread, subprocess, time, string, random, socket, os, signal, pty
08/05 14:44:57 DEBUG| kvm:0077| Test parameters:
08/05 14:44:57 DEBUG| kvm:0081| cmd_reboot = shutdown -r now
08/05 14:44:57 DEBUG| kvm:0081| cmd_shutdown = shutdown -h now
08/05 14:44:57 DEBUG| kvm:0081| convert_ppm_files_to_png_on_error = yes
08/05 14:44:57 DEBUG| kvm:0081| depend = ['kraxel.kvm_smallpages.qcow2.ide.default.up.Linux.Fedora.9.32.rtl8139.install', 'kraxel.kvm_smallpages.qcow2.ide.default.up.Linux.Fedora.9.32.rtl8139.setup']
08/05 14:44:57 DEBUG| kvm:0081| display = vnc
08/05 14:44:57 DEBUG| kvm:0081| drive_format = ide
08/05 14:44:57 DEBUG| kvm:0081| guest_port_ssh = 22
08/05 14:44:57 DEBUG| kvm:0081| image_boot = yes
08/05 14:44:57 DEBUG| kvm:0081| image_format = qcow2
08/05 14:44:57 DEBUG| kvm:0081| image_name = fc9-32
08/05 14:44:57 DEBUG| kvm:0081| image_size = 10G
08/05 14:44:57 DEBUG| kvm:0081| images = image1
08/05 14:44:57 DEBUG| kvm:0081| kill_vm = no
08/05 14:44:57 DEBUG| kvm:0081| kill_vm_gracefully = yes
08/05 14:44:57 DEBUG| kvm:0081| kill_vm_on_error = yes
08/05 14:44:57 DEBUG| kvm:0081| main_vm = vm1
08/05 14:44:57 DEBUG| kvm:0081| mem = 1024
08/05 14:44:57 DEBUG| kvm:0081| name = kraxel.kvm_smallpages.qcow2.ide.default.up.Linux.Fedora.9.32.rtl8139.boot
08/05 14:44:57 DEBUG| kvm:0081| nics = nic1
08/05 14:44:57 DEBUG| kvm:0081| password = 123456
08/05 14:44:57 DEBUG| kvm:0081| redirs = ssh
08/05 14:44:57 DEBUG| kvm:0081| shortname = Fedora.9.32.boot
08/05 14:44:57 DEBUG| kvm:0081| ssh_port = 22
08/05 14:44:57 DEBUG| kvm:0081| ssh_prompt = \[root@.{0,50}][\#\$]
08/05 14:44:57 DEBUG| kvm:0081| ssh_status_test_command = echo $?
08/05 14:44:57 DEBUG| kvm:0081| start_vm = yes
08/05 14:44:57 DEBUG| kvm:0081| type = boot
08/05 14:44:57 DEBUG| kvm:0081| username = root
08/05 14:44:57 DEBUG| kvm:0081| vms = vm1
08/05 14:44:57 DEBUG| kvm:0087| Contents of environment: {'vm__vm1': <kvm_vm.VM instance at 0x2b8d6c8>}
08/05 14:44:58 DEBUG|kvm_prepro:0050| Preprocessing VM 'vm1'...
08/05 14:44:58 DEBUG|kvm_prepro:0053| VM object found in environment
08/05 14:44:58 DEBUG|kvm_prepro:0072| VM is not alive; starting it...
08/05 14:44:58 DEBUG| kvm_vm:0513| VM is already down
08/05 14:44:58 DEBUG| kvm_vm:0381| Running qemu command:
/autotest/git/autotest/client/tests/kvm/qemu -name 'vm1' -monitor unix:/tmp/monitor-20090731-160247-1AGm,server,nowait -drive file=/autotest/git/autotest/client/tests/kvm/images/fc9-32.qcow2,if=ide,boot=on -net nic,vlan=0 -net user,vlan=0 -m 1024 -redir tcp:5000::22 -vnc :0
08/05 14:44:58 ERROR| kvm_vm:0390| VM could not be created; qemu command failed:
/autotest/git/autotest/client/tests/kvm/qemu -name 'vm1' -monitor unix:/tmp/monitor-20090731-160247-1AGm,server,nowait -drive file=/autotest/git/autotest/client/tests/kvm/images/fc9-32.qcow2,if=ide,boot=on -net nic,vlan=0 -net user,vlan=0 -m 1024 -redir tcp:5000::22 -vnc :0