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

agama-project / agama / 16320484995 / 1 – rust
74%
master: 74%

Build:
DEFAULT BRANCH: master
Ran 16 Jul 2025 01:23PM UTC
Files 179
Run time 6s
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

16 Jul 2025 01:14PM UTC coverage: 21.593% (-0.02%) from 21.609%
rust – 16320484995.1

push

github

web-flow
nm-adapter: fix deletion of controller connection (#2564)

## Problem
Deletion of `bridge` or `bonding` connections doesn't work.

## Solution
If a controller connection is deleted, we need to make sure that we do
not update the ports, otherwise we will face the dbus error:

```
agama-web-server[2517]: Could not process the connection en0: D-Bus
 service error: org.freedesktop.NetworkManager.DependencyFailed: Can not
 find a controller for en0: Connection or device bridgeA not found
```

This fix, consider port connections also as removed, once the
corresponding controller connection is removed.


## Testing

- *Tested manually*

## Reproducer

```bash
 agama config load <<<'{
 "network": {
   "connections": [
     {
       "id": "bridgeA",
       "method4": "manual",
       "method6": "disabled",
       "addresses": [
"198.18.10.10/24"
       ],
       "ignoreAutoDns": false,
       "interface": "bridgeA",
       "status": "up",
       "autoconnect": true,
       "persistent": true,
       "bridge": {
       "ports": [ "en0" ]
       }
     }
   ]
 }
}'

agama config load <<<"$(agama config show  | jq '{network: (.network | .connections |= map(if .id == "bridgeA" then .status = "removed" else . end))}')"
```

1938 of 8975 relevant lines covered (21.59%)

0.42 hits per line

Source Files on job rust - 16320484995.1
  • Tree
  • List 179
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16320484995
  • e8f1c2c3 on github
  • Prev Job for on master (#16320036135.1)
  • Next Job for on master (#16323282632.)
  • Delete
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