3-2-7 Mirror test case are failing. Script is sending with 1350 frame size but vhost vm physical interface has only 1400 MTU

Bug #1731078 reported by shajuvk
6
This bug affects 1 person
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

test report:
http://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

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

Tags: sanity
Revision history for this message
shajuvk (shajuvk) wrote :

test failure log :

Traceback (most recent call last):
File "tcutils/wrappers.py", line 73, in wrapper
result = function(self, *args, **kwargs)
File "scripts/intf_mirror/test_intf_mirror.py", line 35, in test_intf_mirroring_disable_enable_scenarios
return self.verify_intf_mirroring_disable_enable_scenarios()
File "common/intf_mirroring/verify.py", line 54, in verify_intf_mirroring_disable_enable_scenarios
return self.verify_intf_mirroring_src_on_cn1_vn1_dst_on_cn2_vn2_analyzer_on_cn3_vn3(sub_intf=True, parent_intf=True)
File "common/intf_mirroring/verify.py", line 69, in verify_intf_mirroring_src_on_cn1_vn1_dst_on_cn2_vn2_analyzer_on_cn3_vn3
return self.verify_intf_mirroring(compute_nodes, [0, 1, 2], sub_intf, parent_intf)
File "common/intf_mirroring/verify.py", line 556, in verify_intf_mirroring
analyzer_vm_ip, analyzer_fq_name, routing_instance, src_port=sport, sub_intf=sub_intf, parent_intf=parent_intf):
File "common/intf_mirroring/verify.py", line 593, in _verify_intf_mirroring
if not self.verify_port_mirroring(src_vm_fixture, dst_vm_fixture, mirror_vm_fixture, vlan=vlan, parent=parent_intf):
File "tcutils/util.py", line 61, in f_retry
result = f(*args, **kwargs) # first attempt
File "common/servicechain/mirror/verify.py", line 664, in verify_port_mirroring
assert src_vm.ping_with_certainty(dst_ip, count=5, size='1350')
AssertionError

description: updated
Changed in juniperopenstack:
importance: Undecided → Medium
information type: Proprietary → Public
shajuvk (shajuvk)
tags: added: sanity
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/38809
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/39614
Submitter: Ankit Jain (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/39614
Committed: http://github.com/Juniper/contrail-test-ci/commit/68dfeb1aab89f7cc5f2b671af32a57452c953be6
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 68dfeb1aab89f7cc5f2b671af32a57452c953be6
Author: Senthilnathan Murugappan <email address hidden>
Date: Wed Jan 10 19:54:29 2018 -0800

Changing image name to ubuntu

Making the image name and ping size consistent across all the branches

Change-Id: Ie9a011dbdb72489edc02a4f71a424dc8657bc9f6
Closes-Bug: #1731078

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.