Bug 1214069

Summary: yast2-packger unit test is broken
Product: [openSUSE] openSUSE Tumbleweed Reporter: Ladislav Slezák <lslezak>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ladislav Slezák 2023-08-08 11:23:34 UTC
It fails with:

       #<Yast::Y2Logger:0x0000564073c899e8 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x0000564073c89970 @datetime_format=nil>, @formatter=nil, @logdev=nil> received :warn with unexpected arguments
         expected: (/no repos in \/tmp\/d20230808-26505-18t0hzw\/repos.d/)
              got: ("No widget with ID `id (`contents) in the current dialog")
       Diff:
       @@ -1 +1 @@
       -[/no repos in \/tmp\/d20230808-26505-18t0hzw\/repos.d/]
       +["No widget with ID `id (`contents) in the current dialog"]
       
     # /usr/share/YaST2/modules/Progress.rb:906:in `try_replace_widget'
     # /usr/share/YaST2/modules/Progress.rb:450:in `New'
     # /usr/share/YaST2/modules/PackageCallbacks.rb:2491:in `ProcessStart'
     # ./src/lib/packager/clients/pkg_finish.rb:93:in `write'
     # /usr/share/YaST2/lib/installation/finish_client.rb:57:in `run'
     # ./test/pkg_finish_test.rb:349:in `block (5 levels) in <top (required)>'
Comment 1 Ladislav Slezák 2023-08-08 11:49:44 UTC
Fixed in yast2-packager-4.6.2 (https://github.com/yast/yast-packager/pull/640)