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

nmstate / nmstate / 651

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2018 08:03AM UTC
Jobs 1
Files 22
Run time 2s
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
651

push

travis-ci

cathay4t
Fix duplex setting when ethtool return unknown.

Issue:
    With virtio-net, libnmstate will failed with error:
        ERROR    NM main-loop aborted: Connection update failed:
        error=nm-connection-error-quark: 802-3-ethernet.duplex:
        'unknown' is not a valid duplex value (7)

Root cause:
    The ethtool return 'unknown' duplex for virtio-net. The 'unknown' is
    illegal value for NetworkManager API.

Fix:
   * Only apply NetworkManager allowed duplex setting: either "half" or
     "full".
   * Hide the 'ethernet' subtree when duplex is not `half` or `full`.
   * Add unit test for invalid ether duplex query.

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

919 of 1280 relevant lines covered (71.8%)

0.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 651.1 06 Nov 2018 08:03AM UTC 0
71.8
Travis Job 651.1
Source Files on build 651
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #651
  • 4137edb7 on github
  • Prev Build on master (#647)
  • Next Build on master (#654)
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