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

agama-project / agama / 16804867557 / 1 – rust
81%
master: 81%

Build:
DEFAULT BRANCH: master
Ran 07 Aug 2025 12:56PM UTC
Files 186
Run time 4s
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

07 Aug 2025 12:45PM UTC coverage: 21.661%. First build
rust – 16804867557.1

push

github

web-flow
Retry registration when a network error happens during autoinstallation (#2642)

## Problem

- In most cases the network is already configured when Agama starts.
- But in some rare scenarios the network needs to be configured from the
installation profile itself to get it running.
- The problem is that the NetworkManager configures the network
asynchronously (in backgroung), at the point when the system is being
registered the network might not be configured yet and the registration
fails.
- https://bugzilla.suse.com/show_bug.cgi?id=1246990

<img width="1282" height="145" alt="image"
src="https://github.com/user-attachments/assets/70ea4bf9-023d-4639-b4f9-f9a72bf34283"
/>

## Solution

- Pass the registration error details (the error code) from the HTTP
client
- The CLI tool then checks the error code and if it is a network error
or a timeout then it tries the registration again after a small delay (4
attempts with exponential backoff: 2,4,8,16 second delays)
- The Web UI is not changed, it fails immediately without any retry. If
a retry is needed user can just press the button again.

<img width="1280" height="210" alt="image"
src="https://github.com/user-attachments/assets/be345880-24b8-4a27-8151-fc93ce6b4e53"
/>


## Testing

- Tested manually

2014 of 9298 relevant lines covered (21.66%)

0.43 hits per line

Source Files on job rust - 16804867557.1
  • Tree
  • List 186
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16804867557
  • 940ad035 on github
  • Prev Job for on master (#16797917197.)
  • Next Job for on master (#16805692514.3)
  • 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