Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open vswitch test in autotest #1042

Open
piyushgupta11 opened this issue Nov 7, 2013 · 0 comments
Open

open vswitch test in autotest #1042

piyushgupta11 opened this issue Nov 7, 2013 · 0 comments

Comments

@piyushgupta11
Copy link

hi
I am running fedora 19 and wanted to execute virt-test for openvswitch. i have done the setup for open vswitch and installed kvm in fedora. I was successfully able to execute load_module test case. now I was trying to execute ovs_basic.ping.

I am having error as when the test tries to install vm through kvm it doesnot get console of the vm.
I was running test through
sudo ./run -v -t openvswitch --nettype=bridge --no-downloads --machine-type=i440fx -g Fedora.19.x86_64 --test="ovs_basic.ping"

and I am getting this error
04:45:49 DEBUG| Running '/bin/qemu-img check /home/piyush/virt-test/shared/data/images/jeos-19-64.qcow2'
04:45:50 ERROR|
04:45:50 ERROR| Traceback (most recent call last):
04:45:50 ERROR| File "/home/piyush/virt-test/virttest/standalone_test.py", line 207, in run_once
04:45:50 ERROR| params = env_process.preprocess(self, params, env)
04:45:50 ERROR| File "/usr/lib/python2.7/site-packages/autotest/client/shared/error.py", line 138, in new_fn
04:45:50 ERROR| return fn(_args, *_kwargs)
04:45:50 ERROR| File "/home/piyush/virt-test/virttest/env_process.py", line 635, in preprocess
04:45:50 ERROR| process(test, params, env, preprocess_image, preprocess_vm)
04:45:50 ERROR| File "/home/piyush/virt-test/virttest/env_process.py", line 390, in process
04:45:50 ERROR| _call_vm_func()
04:45:50 ERROR| File "/home/piyush/virt-test/virttest/env_process.py", line 365, in _call_vm_func
04:45:50 ERROR| vm_func(test, vm_params, env, vm_name)
04:45:50 ERROR| File "/home/piyush/virt-test/virttest/env_process.py", line 124, in preprocess_vm
04:45:50 ERROR| migration_exec_cmd=params.get("migration_exec_cmd_dst"))
04:45:50 ERROR| File "/usr/lib/python2.7/site-packages/autotest/client/shared/error.py", line 138, in new_fn
04:45:50 ERROR| return fn(_args, *_kwargs)
04:45:50 ERROR| File "/home/piyush/virt-test/virttest/qemu_vm.py", line 2016, in create
04:45:50 ERROR| monitor_name, monitor_params, timeout)
04:45:50 ERROR| File "/home/piyush/virt-test/virttest/qemu_monitor.py", line 150, in wait_for_create_monitor
04:45:50 ERROR| raise MonitorConnectError(monitor_name)
04:45:50 ERROR| MonitorConnectError: Could not connect to monitor 'hmp1'
04:45:50 ERROR|
04:45:50 ERROR| FAIL ovs_basic.ping -> MonitorConnectError: Could not connect to monitor 'hmp1'
04:45:50 INFO |
FAIL (110.00 s)
TOTAL TIME: 111.21 s (01:51)
04:45:50 INFO | Job total elapsed time: 111.21 s
TESTS PASSED: 0
TESTS FAILED: 1
SUCCESS RATE: 0.00 %
04:45:50 INFO | Tests passed: 0
04:45:50 INFO | Tests failed: 1
04:45:50 INFO | Success rate: 0.00 %

I tried to install the vm through gui and it was successful but through test console it is giving error.

please help me in solving the problem
thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant