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_certainty(dst_ip, count=5, size='1350')
*** NameError: name 'ping_with_certainty' is not defined
(Pdb) src_vm.ping_with_certainty(dst_ip, count=5, size='1350')
2017-11-08 23:26:59,306 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_vm-33882190 failed
2017-11-08 23:27:06,892 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_vm-33882190 failed
2017-11-08 23:27:14,440 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_vm-33882190 failed
2017-11-08 23:27:22,043 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_vm-33882190 failed
2017-11-08 23:27:29,723 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_vm-33882190 failed
2017-11-08 23:27:37,369 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_vm-33882190 failed
2017-11-08 23:27:44,978 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_vm-33882190 failed
2017-11-08 23:27:52,521 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_vm-33882190 failed
2017-11-08 23:28:00,206 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_vm-33882190 failed
2017-11-08 23:28:07,856 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_vm-33882190 failed
2017-11-08 23:28:15,523 - WARNING - Ping to IP 182.35.245.3 from VM ctest-src_vm-33882190 failed
False
(Pdb) src_vm.ping_with_certainty(dst_ip, count=5, size='1340')
2017-11-08 23:39:45,147 - INFO - Ping to IP 182.35.245.3 from VM ctest-src_vm-33882190 passed
===================
root@server4:~#
root@server4:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
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,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc pfifo_fast state UP group default qlen 1000
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:b6ff:fe0e:43cc/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc pfifo_fast state UP group default qlen 1000
link/ether 02:5e:8b:fe:1a:f1 brd ff:ff:ff:ff:ff:ff
inet6 fe80::5e:8bff:fefe:1af1/64 scope link
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,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
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:8bff:fefe:1af1/64 scope link
valid_lft forever preferred_lft forever
8: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
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,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 500
link/ether 52:54:00:75:9b:73 brd ff:ff:ff:ff:ff:ff
220: pkt0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether 5e:e8:05:ad:e9:d9 brd ff:ff:ff:ff:ff:ff
inet6 fe80::5ce8:5ff:fead:e9d9/64 scope link
valid_lft forever preferred_lft forever
221: tape11008cf-0d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 500
link/ether ba:ac:20:3b:d2:cc brd ff:ff:ff:ff:ff:ff
inet6 fe80::b8ac:20ff:fe3b:d2cc/64 scope link
valid_lft forever preferred_lft forever
test report: mayamruga. englab. juniper. net/Docs/ sanity/ cb-sanity/ CB-R3.2- ubuntu14- mitaka/ daily/R3. 2/3.2.6. 0-63/Ubuntu- 14.04.5- LTS-3.2. 6.0-63~ mitaka- Sanity- jenkins- VT_CB_R3. 2_ub1404_ Mitaka- 89_1510080548. 68.html
http://
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_ certainty( dst_ip, count=5, size='1350') certainty' is not defined ping_with_ certainty( dst_ip, count=5, size='1350') vm-33882190 failed vm-33882190 failed vm-33882190 failed vm-33882190 failed vm-33882190 failed vm-33882190 failed vm-33882190 failed vm-33882190 failed vm-33882190 failed vm-33882190 failed vm-33882190 failed ping_with_ certainty( dst_ip, count=5, size='1340') vm-33882190 passed
*** 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:~# UP,LOWER_ UP> mtu 65536 qdisc noqueue state UNKNOWN group default MULTICAST, UP,LOWER_ UP> mtu 1400 qdisc pfifo_fast state UP group default qlen 1000 b6ff:fe0e: 43cc/64 scope link MULTICAST, UP,LOWER_ UP> mtu 1400 qdisc pfifo_fast state UP group default qlen 1000 8bff:fefe: 1af1/64 scope link MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000 8bff:fefe: 1af1/64 scope link BROADCAST, MULTICAST, UP> mtu 1500 qdisc noqueue state DOWN group default MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 500 MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000 5ff:fead: e9d9/64 scope link MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 500 20ff:fe3b: d2cc/64 scope link
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