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

nmstate / nmstate / 3240 / 1

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2019 09:36AM UTC
Files 34
Run time 1s
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

28 Oct 2019 09:13AM UTC coverage: 81.176%. First build
DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type integ --pytest-args='-x'"

push

travis-ci

cathay4t
nm ovs: Handle race problem when OVS bridge is deleting

The 'test_bridge_with_internal_interface' test case of 'nm/ovs_test.py'
might fail randomly on line:

    assert not _get_bridge_current_state()

Where _get_bridge_current_state() should return {}.

But when OVS bridge is deleted, libnm might still have the NMDevice
object for the bridge while it has empty data in it, in that case,
we got:

    {
        'bridge': {
            'port': [],
            'options': {}
        }
    }

In order to fix the above scenario, treat the data as if the interface
does not exist and return `{}`.

Signed-off-by: Gris Ge <fge@redhat.com>

2471 of 3044 relevant lines covered (81.18%)

0.81 hits per line

Source Files on job 3240.1 (DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type integ --pytest-args='-x'")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2478
  • Travis Job 3240.1
  • 2b526b85 on github
  • Next Job for DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type integ --pytest-args='-x'" on master (#3245.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