Coverage build fails for sflow_parser_test

Bug #1488209 reported by Sundaresan Rajangam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Won't Fix
High
Sundaresan Rajangam
Trunk
Fix Committed
High
Sundaresan Rajangam

Bug Description

controller/src/analytics/test/sflow_parser_test.cc:51: Failure
Value of: parser.Parse(&act_sflow_data)
  Actual: 0
Expected: -1
controller/src/analytics/test/sflow_parser_test.cc:51: Failure
Value of: parser.Parse(&act_sflow_data)
  Actual: 0
Expected: -1
controller/src/analytics/test/sflow_parser_test.cc:51: Failure
Value of: parser.Parse(&act_sflow_data)
  Actual: 0
Expected: -1
controller/src/analytics/test/sflow_parser_test.cc:51: Failure
Value of: parser.Parse(&act_sflow_data)
  Actual: 0
Expected: -1
controller/src/analytics/test/sflow_parser_test.cc:51: Failure
Value of: parser.Parse(&act_sflow_data)
  Actual: 0
Expected: -1
[ FAILED ] SFlowParserTest.ParseErrorSFlowFlowSample (5 ms)
[----------] 9 tests from SFlowParserTest (21 ms total)

[----------] Global test environment tear-down
[==========] 9 tests from 1 test case ran. (22 ms total)
[ PASSED ] 8 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] SFlowParserTest.ParseErrorSFlowFlowSample

 1 FAILED TEST

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

Review in progress for https://review.opencontrail.org/13256
Submitter: Sundaresan Rajangam (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13257
Submitter: Sundaresan Rajangam (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13256
Committed: http://github.org/Juniper/contrail-controller/commit/3e917d4b8d00edc14558152dc3c12d3cb652be10
Submitter: Zuul
Branch: master

commit 3e917d4b8d00edc14558152dc3c12d3cb652be10
Author: Sundaresan Rajangam <email address hidden>
Date: Mon Aug 24 11:39:24 2015 -0700

Fix sflow_parser_test

In test ParseErrorSFlowFlowSample, sample_type and sample_length were
not set. Since the buff_ was not initialized in SFlowPktGen, the test
was flaky.

Change-Id: Ie63f64f39741f2c70294e8dc152c291f3e6e5155
Closes-Bug: #1488209

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

Reviewed: https://review.opencontrail.org/13257
Committed: http://github.org/Juniper/contrail-controller/commit/94945906d5f1b6fe366d4d79c53a50a3a363b156
Submitter: Zuul
Branch: R2.22-dev

commit 94945906d5f1b6fe366d4d79c53a50a3a363b156
Author: Sundaresan Rajangam <email address hidden>
Date: Mon Aug 24 11:39:24 2015 -0700

Fix sflow_parser_test

In test ParseErrorSFlowFlowSample, sample_type and sample_length were
not set. Since the buff_ was not initialized in SFlowPktGen, the test
was flaky.

Change-Id: Ie63f64f39741f2c70294e8dc152c291f3e6e5155
Closes-Bug: #1488209
(cherry picked from commit 3e917d4b8d00edc14558152dc3c12d3cb652be10)

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.