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

nmstate / nmstate / 4050 / 1

Build:
DEFAULT BRANCH: master
Ran 08 Jan 2020 03:24PM UTC
Files 29
Run time 3s
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 2020 03:15PM UTC coverage: 88.889% (+0.07%) from 88.815%
testflags="--test-type integ --pytest-args='-x'" use_codecov=false DOCKER_IMAGE=nmstate/centos8-nmstate-dev use_coveralls=true

push

travis-ci-com

tyll
nm.device: Deletion: Assume removed interface as success

Instead of making various and wrong assumption in
`_delete_device_callback()` which errors mean that the interface is
removed, just check if the interface is not there anymore. This will
also handle failures like `nm-device-error-quark: This device is not a
software device or is not realized (5)` or `error=nm-client-error-quark:
Object is no longer in the client cache (0)` that were not caught by the
previous code. When these errors happened or probably when
`NMDevice.is_real()` returns `False`, `NMDevice.get_iface()` returns
`None`. Therefore get the interface earlier to have it available in the
callback. A better solution might be to refactor Nmstate to properly
pass a context about which part of the desired state is handled in each
async call to ensure the interface name and possibly other useful
information is always present.

Signed-off-by: Till Maas <opensource@till.name>

1920 of 2160 relevant lines covered (88.89%)

0.89 hits per line

Source Files on job 4050.1 (testflags="--test-type integ --pytest-args='-x'" use_codecov=false DOCKER_IMAGE=nmstate/centos8-nmstate-dev use_coveralls=true)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3164
  • Travis Job 4050.1
  • 82574ec3 on github
  • Prev Job for testflags="--test-type integ --pytest-args='-x'" use_codecov=false DOCKER_IMAGE=nmstate/centos8-nmstate-dev use_coveralls=true on master (#4035.1)
  • Next Job for testflags="--test-type integ --pytest-args='-x'" use_codecov=false use_coveralls=true CONTAINER_IMAGE=nmstate/centos8-nmstate-dev on master (#4057.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