Sanity: script test_underlay_broadcast_traffic_handling fails Vcenter scenario

Bug #1735563 reported by Sarath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
High
Sarath
Trunk
Fix Committed
High
Sarath

Bug Description

script test_underlay_broadcast_traffic_handling fails Vcenter scenario

2017-11-28 00:02:12,792 - DEBUG - Executing command: tcpdump -nnr /tmp/['ens160', 'ens192']_ctest-random-37909540.pcap | grep -c length
2017-11-28 00:02:12,799 - DEBUG - STDOUT: 0

2017-11-28 00:02:12,799 - DEBUG - STDERR: tcpdump: /tmp/[ens160,: No such file or directory

2017-11-28 00:02:12,799 - WARNING - 0 packets are found in tcpdump output file /tmp/['ens160', 'ens192']_ctest-random-37909540.pcap but expected 10
2017-11-28 00:02:17,776 - ERROR - <type 'exceptions.AssertionError'>
Python 2.7.12: /usr/bin/python
Tue Nov 28 00:02:12 2017

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.

 /contrail-test/tcutils/wrappers.py in wrapper(self=<serial_scripts.vm_regression.test_vm_serial.Tes...ndling[sanity,vcenter_compute] id=0x7f974105ff10>, *args=(), **kwargs={})
   76 log.info('Initial checks done. Running the testcase now')
   77 log.info('')
   78 result = function(self, *args, **kwargs)
   79 except KeyboardInterrupt:
   80 raise
result = None
function = <function test_underlay_broadcast_traffic_handling>
self = <serial_scripts.vm_regression.test_vm_serial.Tes...ndling[sanity,vcenter_compute] id=0x7f974105ff10>
args = ()
kwargs = {}

 /contrail-test/serial_scripts/vm_regression/test_vm_serial.py in test_underlay_broadcast_traffic_handling(self=<serial_scripts.vm_regression.test_vm_serial.Tes...ndling[sanity,vcenter_compute] id=0x7f974105ff10>)
  941 # Analyze pcap
  942 assert verify_tcpdump_count(self, session, pcap, exp_count=packet_count), "There should only be %s\
  943 packet from source %s on compute %s" %(packet_count, broadcast_address, compute_ip)
  944 self.logger.info(
  945 'Packet count matched: Compute %s has receive only %s packet from source IP %s.\
packet undefined
source undefined
s undefined
on undefined
compute undefined
packet_count = 10
broadcast_address = '10.87.36.63'
compute_ip = '10.87.36.19'
<type 'exceptions.AssertionError'>: There should only be 10 packet from source 10.87.36.63 on compute 10.87.36.19

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

Review in progress for https://review.opencontrail.org/38229
Submitter: Sarath (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/38230
Submitter: Sarath (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/38229
Committed: http://github.com/Juniper/contrail-test/commit/b23527c7018f00527e09b7610e1c03f6511e483b
Submitter: Zuul (<email address hidden>)
Branch: master

commit b23527c7018f00527e09b7610e1c03f6511e483b
Author: sarath <email address hidden>
Date: Fri Dec 8 20:28:19 2017 -0800

closes-bug: #1735563

Change-Id: I9701f02d76050420263724fc73f97125af59ce2c

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/38230
Committed: http://github.com/Juniper/contrail-test/commit/4fb5bd63a6f21cc00ba8ce464baf2f47f8662ea7
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 4fb5bd63a6f21cc00ba8ce464baf2f47f8662ea7
Author: sarath <email address hidden>
Date: Fri Dec 8 20:28:19 2017 -0800

closes-bug: #1735563

Change-Id: I9701f02d76050420263724fc73f97125af59ce2c

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.