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

agama-project / agama / 23000586689
64%
master: 77%

Build:
Build:
LAST BUILD BRANCH: network-tanstack-form-part6
DEFAULT BRANCH: master
Ran 12 Mar 2026 12:05PM UTC
Jobs 3
Files 765
Run time 1min
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

12 Mar 2026 11:51AM UTC coverage: 54.301% (-0.02%) from 54.32%
23000586689

push

github

web-flow
bsc#1259485: handle nil user passwords when importing from AutoYaST (#3266)


## Problem

[bsc#1259485](https://bugzilla.suse.com/show_bug.cgi?id=1259458)

## Solution

* Properly handle nil user passwords.
* Improve backend errors representation.

<details>
<summary>Before</summary>

```
# agama config generate erb.xml
Backend call failed with status 400 and text '{"error":"agama-autoyast did not produce \"/tmp/autoyastexaBYw/autoinst.json\": No such file or directory (os error 2)"}'
```
</details>

<details>
<summary>Now in case of error (this error does not happen anymore, but
it would look like this)</summary>

```
Backend responded with code 400 and the following message:

"Failed to convert the AutoYaST profile: Could not write the Agama configuration:
/usr/lib64/ruby/gems/3.4.0/gems/agama-yast-17.devel350.11998276e/lib/agama/commands/agama_autoyast.rb:95:in 'Agama::Commands::AgamaAutoYaST#write_agama_config': Agama::Commands::CouldNotWriteAgamaConfig (Agama::Commands::CouldNotWriteAgamaConfig)
\tfrom /usr/lib64/ruby/gems/3.4.0/gems/agama-yast-17.devel350.11998276e/lib/agama/commands/agama_autoyast.rb:57:in 'Agama::Commands::AgamaAutoYaST#run'
\tfrom /usr/lib64/ruby/gems/3.4.0/gems/agama-yast-17.devel350.11998276e/bin/agama-autoyast:49:in '<top (required)>'
\tfrom /usr/bin/agama-autoyast:25:in 'Kernel#load'
\tfrom /usr/bin/agama-autoyast:25:in '<main>'
/usr/lib64/ruby/gems/3.4.0/gems/agama-yast-17.devel350.11998276e/lib/agama/autoyast/root_reader.rb:41:in 'Agama::AutoYaST::RootReader#read': undefined method 'value' for nil (NoMethodError)

        hsh = { \"password\" => root_user.password.value.to_s }
                                                ^^^^^^
\tfrom /usr/lib64/ruby/gems/3.4.0/gems/agama-yast-17.devel350.11998276e/lib/agama/autoyast/converter.rb:61:in 'Agama::AutoYaST::Converter#to_agama'
\tfrom /usr/lib64/ruby/gems/3.4.0/gems/agama-yast-17.devel350.11998276e/lib/agama/commands/agama_autoyast.rb:88:in 'Agama::Commands::AgamaAutoYaST... (continued)

2228 of 4007 branches covered (55.6%)

Branch coverage included in aggregate %.

0 of 24 new or added lines in 4 files covered. (0.0%)

1 existing line in 1 file now uncovered.

14262 of 26361 relevant lines covered (54.1%)

44.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-cli/src/config.rs
7
0.0
0.0% rust/agama-server/src/profile/web.rs
8
57.27
-4.49% rust/agama-lib/src/http/base_http_client.rs
8
23.46
-0.9% rust/agama-lib/src/profile.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
23.46
-0.9% rust/agama-lib/src/profile.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
1 rust 23000586689.1 12 Mar 2026 12:05PM UTC 185
23.74
GitHub Action Run
3 service 19173157227.3 07 Nov 2025 03:47PM UTC 390
88.51
GitHub Action Run
3 web 22848068030.3 09 Mar 2026 10:03AM UTC 580
68.53
GitHub Action Run
Source Files on build 23000586689
  • Tree
  • List 765
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23000586689
  • a135c718 on github
  • Prev Build on SLE-16 (#22848068030)
  • Next Build on SLE-16 (#23131609114)
  • 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