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

agama-project / agama / 23000586689 / 1 – rust
64%
master: 78%

Build:
Build:
LAST BUILD BRANCH: bridge_UI
DEFAULT BRANCH: master
Ran 12 Mar 2026 12:05PM UTC
Files 185
Run time 5s
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: 23.738% (-0.03%) from 23.765%
rust – 23000586689.1

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)

2290 of 9647 relevant lines covered (23.74%)

0.47 hits per line

Source Files on job rust - 23000586689.1
  • Tree
  • List 185
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23000586689
  • a135c718 on github
  • Prev Job for on SLE-16 (#21518715186.1)
  • Next Job for on SLE-16 (#23131609114.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