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

agama-project / agama / 16464057835
74%

Build:
DEFAULT BRANCH: master
Ran 23 Jul 2025 07:24AM UTC
Jobs 3
Files 1128
Run time 2min
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

23 Jul 2025 07:13AM UTC coverage: 64.231% (-11.7%) from 75.953%
16464057835

push

github

web-flow
nm/client: fix deactivate_connection() race (#2582)

## Problem

There was a potential race condition where the ActiveConnection could be
removed directly after the call to `nm_proxy.active_connections()`.

## Solution

This situation should not throw an error but instead return `Ok(None)`,
as it's not fatal and the caller can handle it gracefully.

It's seems to be similar to the error handling here
https://github.com/agama-project/agama/blob/9d76c6780/rust/agama-network/src/nm/client.rs#L395
but one step before.


## Testing

- *Tested manually*

- The issue was discovered by one out of 10 runs on migrating an
OvsBridge from wicked to Networkmanager
https://github.com/openSUSE/wicked2nm/pull/33
  To reproduce, one can run this inside the `wicked2nm` repo:
  ```bash
  cd tests;
  cnt=0; err=0; 
  while true; do 
    ((cnt++)); 
    ./test.sh --nm-cleanup ovs-bridge2.1 || ((err++)); 
    echo "cnt:$cnt err:$err"; 
    sleep 2; 
  done
  ```
  The error message looks like:
  ```
[ERROR] Migration failed: Could not update the network configuration:
D-Bus service error: org.freedesktop.DBus.Error.UnknownMethod: Object
does not exist at path
“/org/freedesktop/NetworkManager/ActiveConnection/690”
  ```

2135 of 3882 branches covered (55.0%)

Branch coverage included in aggregate %.

0 of 7 new or added lines in 1 file covered. (0.0%)

1 existing line in 1 file now uncovered.

24799 of 38051 relevant lines covered (65.17%)

48.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
0.0
0.0% rust/agama-network/src/nm/client.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-network/src/nm/client.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
1 rust 16464057835.1 23 Jul 2025 07:24AM UTC 181
21.94
GitHub Action Run
3 web 16418844775.3 21 Jul 2025 01:53PM UTC 558
68.07
GitHub Action Run
3 service 16420935520.3 21 Jul 2025 03:19PM UTC 389
88.5
GitHub Action Run
Source Files on build 16464057835
  • Tree
  • List 1128
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #16464057835
  • 06c86349 on github
  • Prev Build on master (#16444309950)
  • Next Build on master (#16568043780)
  • 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