Bug 1214069 - yast2-packger unit test is broken
Summary: yast2-packger unit test is broken
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Current
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-08 11:23 UTC by Ladislav Slezák
Modified: 2024-01-09 16:50 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)