[ovs-build] Still Failing: openvswitch/ovs#5255 (branch-2.7 - 9fa8b30)

Travis CI builds at travis-ci.org
Tue Sep 12 18:12:03 UTC 2017

Build Update for openvswitch/ovs

Build: #5255
Status: Still Failing

Duration: 1 hour, 21 minutes, and 48 seconds
Commit: 9fa8b30 (branch-2.7)
Author: Ilya Maximets
Message: dpif-netdev: Fix per packet cycles statistics.

DP_STAT_LOOKUP_HIT statistics used mistakenly for calculation
of total number of packets. This leads to completely wrong
per packet cycles statistics.

For example:

	emc hits:0
	megaflow hits:253702308
	avg. subtable lookups per hit:1.50
	avg cycles per packet: 248.32 (157498766585/634255770)

	In this case 634255770 total_packets value used for avg
	per packet calculation:

	  total_packets = 'megaflow hits' + 'megaflow hits' * 1.5

	The real value should be 524.38 (157498766585/253702308)

Fix that by summing only stats that reflect match/not match.
It's decided to make direct summing of required values instead of
disabling some stats in a loop to make calculations more clear and
avoid similar issues in the future.

CC: Jan Scheurich <jan.scheurich at ericsson.com>
Fixes: 3453b4d62a98 ("dpif-netdev: dpcls per in_port with sorted subtables")
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Jan Scheurich <jan.scheurich at ericsson.com>
Acked-by: Cian Ferriter <cian.ferriter at intel.com>
Tested-by: Cian Ferriter <cian.ferriter at intel.com>
Signed-off-by: Darrell Ball <dlu998 at gmail.com>

View the changeset: https://github.com/openvswitch/ovs/compare/378de3a526e6...9fa8b30992c1

View the full build log and details: https://travis-ci.org/openvswitch/ovs/builds/274625754?utm_source=email&utm_medium=notification


You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20170912/eb54cb0d/attachment-0001.html>

More information about the build mailing list