Bug 1213992

Summary: [Build 3.31] Client /usr/share/YaST2/clients/firstboot_user.rb failed with 'cannot load such file -- y2users/commit_config_collection' (LoadError).
Product: [openSUSE] PUBLIC SUSE Linux Enterprise Server 15 SP5 Reporter: Martin Loviska <mloviska>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED DUPLICATE QA Contact:
Severity: Normal    
Priority: P5 - None CC: felix.niederwanger, scott.bradnick, yast2-maintainers
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://openqa.suse.de/tests/11722861/modules/firstrun/steps/13
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2 logs
Leap 15.4 firstboot issue
Leap 15.5 firstboot issue
SLE15SP4 firstboot issue

Description Martin Loviska 2023-08-04 14:30:53 UTC
Created attachment 868632 [details]
yast2 logs

## Observation

openQA test in scenario sle-15-SP5-Windows 10 BIOS-x86_64-wsl-main+skip_reg@win10_64bit fails in
[firstrun](https://openqa.suse.de/tests/11722861/modules/firstrun/steps/13)

## Test suite description
Basic WSL test Test scope:
    1) Prepare WSL and other features in Windows
    2) Download the image
    3) Import embedded certificate from the image
    4) Load image
    5) Define users
    6) Exit WSL

After accepting the licence in WSL 15-SP4 and SP5, we can see the following error:

```
2023-08-04 07:04:31 <1> DESKTOP-891ESDH(411) [Ruby] yast/wfm.rb(run_client):341 Call client /usr/share/YaST2/clients/firstboot_user.rb
2023-08-04 07:04:32 <1> DESKTOP-891ESDH(411) [Y2Perl] Y2PerlComponent.cc(Y2PerlComponent):35 Creating Y2PerlComponent
2023-08-04 07:04:32 <2> DESKTOP-891ESDH(411) [-e] YaPI is deprecated, do not use it anymore! It will be removed soon.
2023-08-04 07:04:32 <3> DESKTOP-891ESDH(411) [Ruby] yast/wfm.rb(handle_exception):271 Client /usr/share/YaST2/clients/firstboot_user.rb failed with 'cannot load such file -- y2users/commit_config_collection' (LoadError).
Backtrace:
/usr/lib64/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib64/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/share/YaST2/lib/y2firstboot/clients/user.rb:24:in `<top (required)>'
/usr/lib64/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib64/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/share/YaST2/clients/firstboot_user.rb:26:in `<top (required)>'
/usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:345:in `eval'
/usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:345:in `run_client'
/usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:206:in `call_builtin'
/usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:206:in `call_builtin_wrapper'
/usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:195:in `CallFunction'
/usr/share/YaST2/modules/ProductControl.rb:1306:in `block in RunFrom'
/usr/lib64/ruby/vendor_ruby/2.5.0/yast/y2logger.rb:98:in `group'
/usr/share/YaST2/modules/ProductControl.rb:1276:in `RunFrom'
/usr/share/YaST2/modules/ProductControl.rb:1501:in `Run'
/usr/share/YaST2/clients/firstboot.rb:76:in `block in main'
/usr/share/YaST2/lib/ui/wizards/layout.rb:186:in `open_wizard'
/usr/share/YaST2/clients/firstboot.rb:54:in `main'
/usr/share/YaST2/clients/firstboot.rb:141:in `<top (required)>'
/usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:345:in `eval'
/usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:345:in `run_client'
/usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:206:in `call_builtin'
/usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:206:in `call_builtin_wrapper'
/usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:195:in `CallFunction'
/usr/lib/YaST2/bin/y2start:68:in `<main>'
2023-08-04 07:04:32 <3> DESKTOP-891ESDH(411) [Ruby] yast/wfm.rb(handle_exception):308 Internal error. Please report a bug report with logs.<br>Run save_y2logs to get complete logs.<br><br>Caller:  /usr/lib64/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require&#39;<br><br>Details: cannot load such file -- y2users/commit_config_collection
2023-08-04 07:04:32 <1> DESKTOP-891ESDH(411) [ui] YPushButton.cc(setFunctionKey):202 Guessing button role YOKButton for YPushButton "OK" at 0x7fcd500efd60 from function key F10
2023-08-04 07:04:32 <1> DESKTOP-891ESDH(411) [ui] YCPDialogParser.cc(parseButtonBox):1171 Relaxed sanity check for YButtonBox at 0x7fcd500ee950
2023-08-04 07:05:03 <1> DESKTOP-891ESDH(411) [Interpreter] modules/ProductControl.rb:1306 Called YaST client returned.
2023-08-04 07:05:03 <1> DESKTOP-891ESDH(411) [Ruby] modules/Hooks.rb(execute):167 Executing hook 'installation_failure'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 Cannot convert FalseClass from 'any' to 'symbol'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 ------------- Backtrace begin -------------
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/lib64/ruby/vendor_ruby/2.5.0/yast/convert.rb:41:in `block (2 levels) in <module:Convert>'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/share/YaST2/modules/ProductControl.rb:1311:in `block in RunFrom'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/lib64/ruby/vendor_ruby/2.5.0/yast/y2logger.rb:98:in `group'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/share/YaST2/modules/ProductControl.rb:1276:in `RunFrom'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/share/YaST2/modules/ProductControl.rb:1501:in `Run'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/share/YaST2/clients/firstboot.rb:76:in `block in main'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/share/YaST2/lib/ui/wizards/layout.rb:186:in `open_wizard'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/share/YaST2/clients/firstboot.rb:54:in `main'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/share/YaST2/clients/firstboot.rb:141:in `<top (required)>'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:345:in `eval'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:345:in `run_client'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:206:in `call_builtin'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:206:in `call_builtin_wrapper'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/lib64/ruby/vendor_ruby/2.5.0/yast/wfm.rb:195:in `CallFunction'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 /usr/lib/YaST2/bin/y2start:68:in `<main>'
2023-08-04 07:05:03 <2> DESKTOP-891ESDH(411) [Ruby] yast/convert.rb(block (2 levels) in <module:Convert>):41 ------------- Backtrace end ---------------
2023-08-04 07:05:03 <1> DESKTOP-891ESDH(411) [Ruby] modules/Hooks.rb(execute):167 Executing hook 'after_firstboot_user'
```

## Reproducible

Fails since (at least) Build [3.31](https://openqa.suse.de/tests/11722861) (current job)


## Expected result

Last good: [3.30](https://openqa.suse.de/tests/11720697) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=x86_64&distri=sle&flavor=Windows+10+BIOS&machine=win10_64bit&test=wsl-main%2Bskip_reg&version=15-SP5)
Comment 1 Martin Loviska 2023-08-04 14:38:01 UTC
Affected images:

* SUSE-Linux-Enterprise-15-SP5-15.5-WSL.x86_64-155.3.31.0-Build3.31.appx
* SUSE-Linux-Enterprise-Server-15-SP4-15.4-WSL.x86_64-154.3.152.0-Build3.152.appx
Comment 2 Martin Loviska 2023-08-17 11:37:12 UTC
Also appears in Leap15.6

https://openqa.opensuse.org/tests/3513235#step/firstrun/5
Comment 3 Scott Bradnick 2023-08-22 19:30:56 UTC
Can the YaST team look at this?
Comment 4 Scott Bradnick 2023-08-22 19:50:43 UTC
Seems similar to boo#1214195

15.5 uses
---------

   49s] [ DEBUG   ]: 15:09:23 | system: Retrieving: yast2-firstboot-4.5.6-lp155.1.5.noarch (e609cb8571ac72ab97e1747ef00295c3) (199/200),  95.3 KiB    
[   49s] [ DEBUG   ]: 15:09:23 | system: Retrieving: yast2-firstboot-wsl-4.5.6-lp155.1.5.noarch (e609cb8571ac72ab97e1747ef00295c3) (200/200),  19.8 KiB
[   49s] [ DEBUG   ]: 15:09:23 | system: Retrieving: yast2-users-4.5.7-150500.3.8.1.x86_64 (6d7f3b555a2f7c782e4686fdc492b010) (196/200), 231.7 KiB

I do see the 4.5.7 version here: https://build.opensuse.org/package/show/SUSE:SLE-15-SP5:Update/yast2-users

15.6 uses
---------

[   75s] [ DEBUG   ]: 15:09:30 | system: Retrieving: yast2-firstboot-4.6.1-lp156.1.1.noarch (0901500e3ec703f21c71fb933797eece) (199/200),  95.6 KiB    
[   75s] [ DEBUG   ]: 15:09:30 | system: Retrieving: yast2-firstboot-wsl-4.6.1-lp156.1.1.noarch (0901500e3ec703f21c71fb933797eece) (200/200),  20.1 KiB
[   75s] [ DEBUG   ]: 15:09:30 | system: Retrieving: yast2-users-4.6.4-150600.1.1.x86_64 (eb7714b33dc16e4aa9f1bd030e9f30b7) (196/200), 231.9 KiB
Comment 5 Scott Bradnick 2023-08-22 20:53:41 UTC
Leap 15.4 is doing it too:

15.4 uses
---------
[   45s] [ DEBUG   ]: 20:32:33 | system: Retrieving: yast2-firstboot-4.4.8-lp154.1.4.noarch (49f6b6b719e843d9420da4a126665239) (199/200),  90.9 KiB    
[   45s] [ DEBUG   ]: 20:32:33 | system: Retrieving: yast2-firstboot-wsl-4.4.8-lp154.1.4.noarch (49f6b6b719e843d9420da4a126665239) (200/200),  18.4 KiB
[   45s] [ DEBUG   ]: 20:32:33 | system: Retrieving: yast2-users-4.4.15-150400.3.15.1.x86_64 (c468308b07a29873ae394266de87895f) (196/200), 231.1 KiB
Comment 6 Scott Bradnick 2023-08-22 21:10:33 UTC
Created attachment 868951 [details]
Leap 15.4 firstboot issue
Comment 7 Scott Bradnick 2023-08-22 21:11:10 UTC
Created attachment 868952 [details]
Leap 15.5 firstboot issue
Comment 8 Scott Bradnick 2023-08-22 21:11:49 UTC
Created attachment 868953 [details]
SLE15SP4 firstboot issue
Comment 9 Michal Filka 2023-08-23 07:14:28 UTC
Sounds as duplicate: https://bugzilla.suse.com/show_bug.cgi?id=1214195

*** This bug has been marked as a duplicate of bug 1214195 ***