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

nmstate / nmstate / 3240

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2019 09:15AM UTC
Jobs 6
Files 272
Run time 20min
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
3240

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>

16101 of 24352 relevant lines covered (66.12%)

0.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3240.1 (DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type integ --pytest-args='-x'") 28 Oct 2019 09:36AM UTC 0
81.18
Travis Job 3240.1
2 3240.2 (DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type format") 28 Oct 2019 09:15AM UTC 0
Travis Job 3240.2
3 3240.3 (DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type lint") 28 Oct 2019 09:16AM UTC 0
Travis Job 3240.3
4 3240.4 (DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type unit_py27") 28 Oct 2019 09:16AM UTC 0
66.26
Travis Job 3240.4
5 3240.5 (DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type unit_py36") 28 Oct 2019 09:16AM UTC 0
66.03
Travis Job 3240.5
6 3240.6 (DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type unit_py37") 28 Oct 2019 09:18AM UTC 0
66.03
Travis Job 3240.6
Source Files on build 3240
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3240
  • 2b526b85 on github
  • Prev Build on master (#3237)
  • Next Build on master (#3245)
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