• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

noironetworks / opflex / 1801 / 1
68%
master: 68%

Build:
DEFAULT BRANCH: master
Ran 08 Jan 2021 06:39PM UTC
Files 270
Run time 40s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Jan 2021 06:39PM UTC coverage: 79.65% (+0.09%) from 79.561%
TEST_SUITE=travis-build.sh

push

travis-ci-com

GitHub
Fix stale entries seen after deletion of service during make check tests (#330)

Issue was happening once every few runs. But then it became unreproducible due to the way threads were scheduled. Tried 25+ times with the fix and things look good.

Description:
- SNAT/DNAT flows will be programmed initially from higher prio Agent thread.
- Low prio Svc Stats thread today programs the flows with stats cookies
later on so that snat/dnat flows become eventually consistent to correlate stats.
- In case svc gets deleted, then agent io thread will delete svc flows immediately.
Since svc stats thread is low priority, it could be in the process of updating
SNAT/DNAT flows after agent thread deleted SNAT/DNAT flows. This can lead to
stale snat/dnat flow entries for that svc.
- To avoid these stale entries, call programServiceSnatDnatFlows() for the deleted
svc so that the stale entries (if any) can be cleared for this service. If there
are no stale entries (already deleted), then the below call is a NO-OP.
- Also, when a svc is deleted, prior to the fix we were looping over list of svcs
to update snat/dnat flows. This loop is needed only for EP updates. For svc updates,
we just need to call programServiceSnatDnatFlows() only once for that svc.

Signed-off-by: Gautam Venkataramanan <gautam.chennai@gmail.com>

22474 of 28216 relevant lines covered (79.65%)

3619.28 hits per line

Source Files on job 1801.1 (TEST_SUITE=travis-build.sh)
  • Tree
  • List 0
  • Changed 119
  • Source Changed 1
  • Coverage Changed 119
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1195
  • Travis Job 1801.1
  • 2908590e on github
  • Prev Job for TEST_SUITE=travis-build.sh on master (#1794.1)
  • Next Job for TEST_SUITE=travis-build.sh on master (#1804.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc