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

noironetworks / opflex / 672 / 1
76%
master: 68%

Build:
Build:
LAST BUILD BRANCH: coveralls
DEFAULT BRANCH: master
Ran 05 Jun 2020 07:55PM UTC
Files 258
Run time 29s
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

05 Jun 2020 07:55PM UTC coverage: 76.386%. First build
TEST_SUITE=travis-build.sh

push

travis-ci

Gautam Venkataramanan
Fix for agent crash reported in CSCvu46192/SR689109894

Root cause:
During leaf replacement of VPC member, the tep ip of replaced leaf changes. Due to this we remove the stale opflex peer connection and add new tep ip of replaced leaf. During this process we seem to be hitting crash due to hoisting issue in BOOST_FOREACH.
More details on this here: https://www.boost.org/doc/libs/1_73_0/doc/html/foreach/pitfalls.html

Tests performed:
./opflex_server --policy=/home/noiro/work/opflex/agent-ovs/policy.json --peer "127.0.0.1:8010" <-- this is agent's configured peer that listens on 8009
./opflex_server --policy=/home/noiro/work/opflex/agent-ovs/policy.json --peer "127.0.0.1:8011" --peer "127.0.0.1:8012" --server_port 8010
./opflex_server --policy=/home/noiro/work/opflex/agent-ovs/policy.json --peer "127.0.0.1:8012" --peer "127.0.0.1:8013" --server_port 8011
./opflex_server --policy=/home/noiro/work/opflex/agent-ovs/policy.json --peer "127.0.0.1:8013" --peer "127.0.0.1:8011" --server_port 8012
sudo ./opflex_agent -c ~/agent.conf 2>&1 | tee agent.log

TODO: this will be followed up with UT in libopflex to hit the exact case which led to crash

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

20069 of 26273 relevant lines covered (76.39%)

3547.11 hits per line

Source Files on job 672.1 (TEST_SUITE=travis-build.sh)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 333
  • Travis Job 672.1
  • 24ca2d73 on github
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