3-2-7 Mirror test case are failing. Script is sending with 1350 frame size but vhost vm physical interface has only 1400 MTU
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
Fix Committed
|
Medium
|
Senthilnathan Murugappan | |||
R4.0 |
New
|
Medium
|
Senthilnathan Murugappan | |||
R4.1 |
New
|
Medium
|
Senthilnathan Murugappan | |||
R5.0 |
New
|
Medium
|
Senthilnathan Murugappan | |||
Trunk |
In Progress
|
Medium
|
Senthilnathan Murugappan |
Bug Description
Mirror test case are failing due to ping with MTU 1350 not going though vrouter. Vrouter physical NIC has 1400 MTU but vhost is configured with 1500 MTU. this might be a provision issue or sanity virtual infra issue.
===
(Pdb) ping_with_
*** NameError: name 'ping_with_
(Pdb) src_vm.
2017-11-08 23:26:59,306 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_
2017-11-08 23:27:06,892 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_
2017-11-08 23:27:14,440 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_
2017-11-08 23:27:22,043 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_
2017-11-08 23:27:29,723 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_
2017-11-08 23:27:37,369 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_
2017-11-08 23:27:44,978 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_
2017-11-08 23:27:52,521 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_
2017-11-08 23:28:00,206 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_
2017-11-08 23:28:07,856 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_
2017-11-08 23:28:15,523 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_
False
(Pdb) src_vm.
2017-11-08 23:39:45,147 - INFO - Ping to IP 182.35.245.3 from VM ctest-src_
===================
root@server4:~#
root@server4:~# ip a
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,
link/ether 02:a1:b6:0e:43:cc brd ff:ff:ff:ff:ff:ff
inet 10.0.0.7/24 brd 10.0.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::a1:
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,
link/ether 02:5e:8b:fe:1a:f1 brd ff:ff:ff:ff:ff:ff
inet6 fe80::5e:
valid_lft forever preferred_lft forever
4: pkt1: <UP,LOWER_UP> mtu 65535 qdisc noqueue state UNKNOWN group default
link/void c2:6e:20:1c:3b:40 brd 00:00:00:00:00:00
5: pkt3: <UP,LOWER_UP> mtu 65535 qdisc noqueue state UNKNOWN group default
link/void 36:9f:66:3d:b2:26 brd 00:00:00:00:00:00
6: pkt2: <UP,LOWER_UP> mtu 65535 qdisc noqueue state UNKNOWN group default
link/void ca:bf:14:3e:28:39 brd 00:00:00:00:00:00
7: vhost0: <BROADCAST,
link/ether 02:5e:8b:fe:1a:f1 brd ff:ff:ff:ff:ff:ff
inet 10.10.0.7/24 brd 10.10.0.255 scope global vhost0
valid_lft forever preferred_lft forever
inet6 fe80::5e:
valid_lft forever preferred_lft forever
8: virbr0: <NO-CARRIER,
link/ether 52:54:00:75:9b:73 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
9: virbr0-nic: <BROADCAST,
link/ether 52:54:00:75:9b:73 brd ff:ff:ff:ff:ff:ff
220: pkt0: <BROADCAST,
link/ether 5e:e8:05:ad:e9:d9 brd ff:ff:ff:ff:ff:ff
inet6 fe80::5ce8:
valid_lft forever preferred_lft forever
221: tape11008cf-0d: <BROADCAST,
link/ether ba:ac:20:3b:d2:cc brd ff:ff:ff:ff:ff:ff
inet6 fe80::b8ac:
valid_lft forever preferred_lft forever
test failure log :
Traceback (most recent call last): wrappers. py", line 73, in wrapper intf_mirror/ test_intf_ mirror. py", line 35, in test_intf_ mirroring_ disable_ enable_ scenarios intf_mirroring_ disable_ enable_ scenarios( ) intf_mirroring/ verify. py", line 54, in verify_ intf_mirroring_ disable_ enable_ scenarios intf_mirroring_ src_on_ cn1_vn1_ dst_on_ cn2_vn2_ analyzer_ on_cn3_ vn3(sub_ intf=True, parent_intf=True) intf_mirroring/ verify. py", line 69, in verify_ intf_mirroring_ src_on_ cn1_vn1_ dst_on_ cn2_vn2_ analyzer_ on_cn3_ vn3 intf_mirroring( compute_ nodes, [0, 1, 2], sub_intf, parent_intf) intf_mirroring/ verify. py", line 556, in verify_ intf_mirroring intf=parent_ intf): intf_mirroring/ verify. py", line 593, in _verify_ intf_mirroring port_mirroring( src_vm_ fixture, dst_vm_fixture, mirror_vm_fixture, vlan=vlan, parent= parent_ intf): servicechain/ mirror/ verify. py", line 664, in verify_ port_mirroring ping_with_ certainty( dst_ip, count=5, size='1350')
File "tcutils/
result = function(self, *args, **kwargs)
File "scripts/
return self.verify_
File "common/
return self.verify_
File "common/
return self.verify_
File "common/
analyzer_vm_ip, analyzer_fq_name, routing_instance, src_port=sport, sub_intf=sub_intf, parent_
File "common/
if not self.verify_
File "tcutils/util.py", line 61, in f_retry
result = f(*args, **kwargs) # first attempt
File "common/
assert src_vm.
AssertionError