Skip to contentSkip to conversation

Network Patch set V4

DISCUSSION pradeep 3 participants 5 messages Oct 11, 2010 – Oct 13, 2010 KVM

lore
Share & tools
lore

pradeep

author
#0 lore raw

Hi Lucas, i covered below tests on RHEL 5.5 , RHEL 6 guests with vhost enbled. Please find the below errors and cause for errros.

I also attached few other test cases can be added to out TODO list of network patchset. I am working on couple of these issues.

1. Nice_promisc:
-----------------
With RHEL 5.5: PASS

With RHEL 6: FAIL

its failing to login to the RHEL6 guest by serial.

02:07:06 ERROR| Test failed: TestFail: Could not log into guest 'vm2'

2. nicdriver_unload
--------------------------------

With RHEL 5.5: FAIL

With RHEL 6: FAIL

03:17:26 DEBUG| Got shell prompt -- logged in
03:17:26 DEBUG| Contents of environment: {'address_cache':
{'00:1a:4a:65:09:09': '192.168.122.66', '9a:52:2f:62:dd:52':
'192.168.122.39', '00:1a:64:12:e4:c1': '9.126.89.23', '9a:52:2f:62:1a:b8': '192.168.122.95', '9a:52:2f:62:e6:67':
'192.168.122.176', '9a:52:2f:62:8c:b8': '192.168.122.59', '9a:52:2f:62:0b:38': '192.168.122.7'}, 'vm__vm2': <kvm_vm.VM instance at 0x2311f80>, 'tcpdump': <kvm_subprocess.kvm_tail instance at 0x2314710>, 'version': 0} 03:17:26 INFO | ['iteration.1'] 03:17:26 0x2314710>ERROR| Exception escaping from test: Traceback (most recent 0x2314710>call last): File 0x2314710>"/home/pradeep/vhost_net/autotest/client/common_lib/test.py", 0x2314710>line 412, in _exec _call_test_function(self.execute, *p_args, 0x2314710>**p_dargs) File 0x2314710>"/home/pradeep/vhost_net/autotest/client/common_lib/test.py", 0x2314710>line 598, in _call_test_function return func(*args, **dargs)
File "/home/pradeep/vhost_net/autotest/client/common_lib/test.py",
line 284, in execute postprocess_profiled_run, args, dargs)
File "/home/pradeep/vhost_net/autotest/client/common_lib/test.py",
line 202, in _call_run_once self.run_once_profiling(postprocess_profiled_run, *args, **dargs) File "/home/pradeep/vhost_net/autotest/client/common_lib/test.py", line 308, in run_once_profiling self.run_once(*args, **dargs) File "/home/pradeep/vhost_net/autotest/client/tests/kvm/kvm.py", line 73, in run_once run_func(self, params, env) File "/home/pradeep/vhost_net/autotest/client/tests/kvm/tests/nicdriver_unload.py", line 27, in run_nicdriver_unload raise error.TestFail("Could not log into guest '%s'" % vm.name)

3. Netperf
--------------

RHEL 5.5: FAIL

RHEL6: FAIL

some tests fail with TCP_CRR, UDP_RR are failed.
Looks like a bug..

4.multicast
-------------

RHEL 5.5: fail
RHEL 6:   PASS

09:14:44 DEBUG| Command failed; status: 147, output:
join_mcast_pid:8638

[1]+ Stopped python /tmp/join_mcast.py 20 225.0.0 1
09:14:44 INFO | Initial ping test, mcast: 225.0.0.1

09:14:44 DEBUG| PING 225.0.0.1 (225.0.0.1) from 9.126.89.201
e1000_0_5900: 56(84) bytes of data.
09:15:03 DEBUG|

09:15:03 ERROR| Test failed: TestFail: Ping return non-zero value PING 225.0.0.1 (225.0.0.1) from 9.126.89.201 e1000_0_5900: 56(84) bytes of data.

5. mac_chnage
-------------

RHEL 5.5: PASS
RHEL6: FAIL

Trying to log into guest 'vm2' by serial
login fail

This is the reason for nic_promisc also.

6. jumbo:
----------

RHEL:5.5 FAIL
RHEL6: FAIL

09:50:55 DEBUG| PING 10.168.0.9 (10.168.0.9) from 9.126.89.201
e1000_0_5900: 16082(16110) bytes of data.

09:50:57 DEBUG| 
09:50:57 DEBUG| --- 10.168.0.9 ping statistics ---
09:50:57 DEBUG| 1 packets transmitted, 0 received, 100% packet loss,
time 2134ms
09:50:57 DEBUG| 
09:50:57 DEBUG| (Process terminated with status 1)
09:50:58 DEBUG| PING 10.168.0.9 (10.168.0.9) from 9.126.89.201
e1000_0_5900: 16082(16110) bytes of data.
09:51:00 DEBUG| 
09:51:00 DEBUG| --- 10.168.0.9 ping statistics ---
09:51:00 DEBUG| 1 packets transmitted, 0 received, 100% packet loss,
time 2047ms
09:51:00 DEBUG| 
09:51:00 DEBUG| (Process terminated with status 1)
09:51:01 DEBUG| PING 10.168.0.9 (10.168.0.9) from 9.126.89.201
e1000_0_5900: 16082(16110) bytes of data.
09:51:03 DEBUG| 
09:51:03 DEBUG| --- 10.168.0.9 ping statistics ---
09:51:03 DEBUG| 1 packets transmitted, 0 received, 100% packet loss,
time 2041ms
09:51:03 DEBUG| 
09:51:03 DEBUG| (Process terminated with status 1)
09:51:04 DEBUG| PING 10.168.0.9 (10.168.0.9) from 9.126.89.201
e1000_0_5900: 16082(16110) bytes of data.
09:51:06 DEBUG| 
09:51:06 DEBUG| --- 10.168.0.9 ping statistics ---
09:51:06 DEBUG| 1 packets transmitted, 0 received, 100% packet loss,
time 2036ms
09:51:06 DEBUG| 
09:51:06 DEBUG| (Process terminated with status 1)
09:51:07 DEBUG| Timeout elapsed
09:51:07 DEBUG| e1000_0_5900 Link encap:Ethernet  HWaddr

1E:1D:84:CF:CD:6B

04:45:11 DEBUG| Running 'arp -d 192.168.122.115 -i e1000_0_5900' 04:45:11 ERROR| Test failed: TestError: MTU is not as expected even after 10 seconds

7. file_transfer
----------------
RHEL 5.5: FAIL

file transfer pass from host to guest.
file transfer fail while transferring from guest to host

Need to debug further for this.

RHEL 6: pass

8. ethtool
-------------------
RHEL 5.5: PASS
RHEL6: FAIL

05:26:44 DEBUG| Command failed; status: 92, output: Cannot set large receive offload settings: Operation not supported 05:26:44 ERROR| Fail to enable lro

05:29:44 ERROR| Test failed: TestError: Enable/disable offload function fail

-----------------------------------------------------------------------------

We may include below tests to for Network Patch set:
I am working on couple of issues among below mentioned.

Ping6 testing

* ping6 with various message sizes guest to/from local/remote host using link-local addresses
By default IPv6 seems to be disabled on virbr0. Enable it by doing

NIC bonding test :

https://fedoraproject.org/wiki/QA:Testcase_Virtualization_Nic_Bonding

NFS testing

* create NFS server on guest, mount dir on host, copy and delete files, do reverse on host

Setting and unsetting ethernet adapters.

set_link name [up|down]

Multiple Nics Stress
Run parallel netperf sessions across multiple virtio-net NICs on the guest

#1 lore raw
Quoted 9 lines · pradeep

Hi Lucas, i covered below tests on RHEL 5.5 , RHEL 6 guests with vhost enbled. Please find the below errors and cause for errros.

I also attached few other test cases can be added to out TODO list of network patchset. I am working on couple of these issues.

1. Nice_promisc:
-----------------
With RHEL 5.5: PASS

...

Thanks for your feedback, I will re-test them with rhel5/6 and reply the test result.

Quoted 8 lines

-----------------------------------------------------------------------------

We may include below tests to for Network Patch set:
I am working on couple of issues among below mentioned.

Ping6 testing

Quoted 8 lines

* ping6 with various message sizes guest to/from local/remote host using link-local addresses
By default IPv6 seems to be disabled on virbr0. Enable it by doing

NIC bonding test :

https://fedoraproject.org/wiki/QA:Testcase_Virtualization_Nic_Bonding

I have a draft patch for bonding testing, will improve and send it to mailist.

Quoted 8 lines

NFS testing

* create NFS server on guest, mount dir on host, copy and delete files, do reverse on host

Setting and unsetting ethernet adapters.

set_link name [up|down]

I only wrote a testcases, didn't automate it, could you help to review ?

Steps:
1. boot up a guest with virtio_nic
2. login guest through serial
3. transfer a big file from guest to host
guest) # scp a.out $host_ip:~
4. put down link by monitor
qemu) # set_link $nic_model.0 down
5. try to capture date by tcpdump
host)# tcpdump port $scp_port and src $guest_ip -i $tap
6. put up link by monitor
qemu) set_link $nic_model.0 down
7. try to capture date by tcpdump
host)# tcpdump port $scp_port and src $guest_ip -i $tap
8. transfer a big file from host to guest
host) # scp a.out $guest_ip:~
9. put down link by monitor
qemu) # set_link $nic_model.0 down
10. try to capture date by tcpdump
guest)# tcpdump port $scp_port and dest $guest_ip -i eth0
11. put up link by monitor
qemu) set_link $nic_model.0 down
12. try to capture date by tcpdump
host)# tcpdump port $scp_port and dest $guest_ip -i eth0

Expected Results:
4. it should not capture nothing
6. it should capture some packets
10. it should not capture nothing
12. it should capture some packets

#2 lore raw
Quoted 47 lines · Amos Kong
Quoted 9 lines · pradeep

Hi Lucas, i covered below tests on RHEL 5.5 , RHEL 6 guests with vhost enbled. Please find the below errors and cause for errros.

I also attached few other test cases can be added to out TODO list of network patchset. I am working on couple of these issues.

1. Nice_promisc:
-----------------
With RHEL 5.5: PASS

...

Thanks for your feedback, I will re-test them with rhel5/6 and reply the test result.

Quoted 8 lines

-----------------------------------------------------------------------------

We may include below tests to for Network Patch set:
I am working on couple of issues among below mentioned.

Ping6 testing

Quoted 8 lines

* ping6 with various message sizes guest to/from local/remote host using link-local addresses
By default IPv6 seems to be disabled on virbr0. Enable it by doing

NIC bonding test :

https://fedoraproject.org/wiki/QA:Testcase_Virtualization_Nic_Bonding

I have a draft patch for bonding testing, will improve and send it to mailist.

Quoted 8 lines

NFS testing

* create NFS server on guest, mount dir on host, copy and delete files, do reverse on host

Setting and unsetting ethernet adapters.

set_link name [up|down]

I only wrote a testcases, didn't automate it, could you help to review ?

Quoted 15 lines

Steps:
1. boot up a guest with virtio_nic
2. login guest through serial
3. transfer a big file from guest to host guest) # scp a.out $host_ip:~
4. put down link by monitor
qemu) # set_link $nic_model.0 down
5. try to capture date by tcpdump
host)# tcpdump port $scp_port and src $guest_ip -i $tap
6. put up link by monitor
qemu) set_link $nic_model.0 down
7. try to capture date by tcpdump
host)# tcpdump port $scp_port and src $guest_ip -i $tap
8. transfer a big file from host to guest host) # scp a.out $guest_ip:~

I think we should use something simpler, like ping guest-host and host-guest at the same time.

Quoted 14 lines

9. put down link by monitor
qemu) # set_link $nic_model.0 down
10. try to capture date by tcpdump
guest)# tcpdump port $scp_port and dest $guest_ip -i eth0
11. put up link by monitor
qemu) set_link $nic_model.0 down
12. try to capture date by tcpdump
host)# tcpdump port $scp_port and dest $guest_ip -i eth0

Expected Results:
4. it should not capture nothing
6. it should capture some packets
10. it should not capture nothing
12. it should capture some packets

author
#3 lore raw

Hi Michael

could you share pointer to your tree which has rhel6 + vhost fixes.

Thanks
Pradeep

author
#4 lore raw
In reply to Amos Kong
Quoted 11 lines · On Tue, 12 Oct 2010 15:23:05 +0800 Amos Kong <[email protected]> wrote:
Quoted 9 lines · pradeep

Hi Lucas, i covered below tests on RHEL 5.5 , RHEL 6 guests with vhost enbled. Please find the below errors and cause for errros.

I also attached few other test cases can be added to out TODO list of network patchset. I am working on couple of these issues.

1. Nice_promisc:
-----------------
With RHEL 5.5: PASS

Quoted 6 lines

...

Thanks for your feedback, I will re-test them with rhel5/6 and reply the test result.

Thanks for that/

Quoted 48 lines
Quoted 9 lines

-----------------------------------------------------------------------------

We may include below tests to for Network Patch set:
I am working on couple of issues among below mentioned.

Ping6 testing

Quoted 8 lines

* ping6 with various message sizes guest to/from local/remote
host using link-local addresses
By default IPv6 seems to be disabled on virbr0. Enable it by doing

NIC bonding test :

https://fedoraproject.org/wiki/QA:Testcase_Virtualization_Nic_Bonding

I have a draft patch for bonding testing, will improve and send it to mailist.

Quoted 8 lines

NFS testing

* create NFS server on guest, mount dir on host, copy and delete files, do reverse on host

Setting and unsetting ethernet adapters.

set_link name [up|down]

I only wrote a testcases, didn't automate it, could you help to review ?

Steps:
1. boot up a guest with virtio_nic
2. login guest through serial
3. transfer a big file from guest to host guest) # scp a.out $host_ip:~
4. put down link by monitor
qemu) # set_link $nic_model.0 down
5. try to capture date by tcpdump
host)# tcpdump port $scp_port and src $guest_ip -i $tap
6. put up link by monitor
qemu) set_link $nic_model.0 down
7. try to capture date by tcpdump
host)# tcpdump port $scp_port and src $guest_ip -i $tap
8. transfer a big file from host to guest host) # scp a.out $guest_ip:~

Quoted 8 lines

9. put down link by monitor
qemu) # set_link $nic_model.0 down
10. try to capture date by tcpdump
guest)# tcpdump port $scp_port and dest $guest_ip -i eth0
11. put up link by monitor
qemu) set_link $nic_model.0 down
12. try to capture date by tcpdump
host)# tcpdump port $scp_port and dest $guest_ip -i eth0

As Michel suggested, some thing simpler like Ping would be fine. Apart from this every thing seems to be fine.

Quoted 10 lines

Expected Results:
4. it should not capture nothing
6. it should capture some packets
10. it should not capture nothing
12. it should capture some packets
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html