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

noironetworks / opflex / 1801
68%

Build:
DEFAULT BRANCH: master
Ran 08 Jan 2021 06:39PM UTC
Jobs 1
Files 270
Run time 41s
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

pending completion
1801

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>

1 of 1 new or added line in 1 file covered. (100.0%)

22474 of 28216 relevant lines covered (79.65%)

3619.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1801.1 (TEST_SUITE=travis-build.sh) 08 Jan 2021 06:39PM UTC 0
79.65
Travis Job 1801.1
Source Files on build 1801
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1801
  • 2908590e on github
  • Prev Build on master (#1794)
  • Next Build on master (#1804)
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