See https://ci.suse.de/job/yast-yast-yast2-master/178/display/redirect?page=chan...
Changes:
[jreidinger] more adaptation for ruby3 including tests
[jreidinger] changes
------------------------------------------
[...truncated 269.51 KB...]
[ 30s] updates packages progress value and label
[ 30s] does not update progress label when setting it to nil
[ 30s] does not update progress value when setting it to nil
[ 30s] does not update progress value or label if setting them to their current value
[ 30s] #Setup
[ 30s] the total progress is adjusted to exact 100%
[ 30s] #Redraw
[ 30s] user is reading release notes
[ 30s] does not redraw the page
[ 30s] no user input
[ 30s] slideshow is available
[ 30s] shows slideshow
[ 30s] slideshow is not available
[ 30s] redraws the page
[ 30s] #HandleInput
[ 30s] switching to details
[ 30s] switches to detail view
[ 30s] saves user selection
[ 30s] switching to slide show
[ 30s] saves user selection
[ 30s] release notes have been selected before
[ 30s] redraws the page
[ 30s] switches to slide show
[ 30s] release notes have NOT been selected before
[ 30s] does not redraw the page
[ 30s] switches to slide show
[ 30s] switching to release notes
[ 30s] switches to realease notes view
[ 30s] saves user selection
[ 30s]
[ 30s] #Yast::PackageCallbacksClass:0x000055851ee74ef8
[ 30s] #textmode
[ 30s] running in CLI
[ 30s] returns true
[ 30s] running in TUI
[ 30s] returns true
[ 30s] in other cases
[ 30s] returns false
[ 30s] #display_width
[ 30s] running as CLI
[ 30s] returns 0
[ 30s] running with full UI
[ 30s] returns value from display info
[ 30s] returns 0 if value missing in display info
[ 30s] #layout_popup
[ 30s] returns yast term with popup content
[ 30s] write to Label passed message
[ 30s] adds passed button box to content
[ 30s] tick checkbox for showing details depending on info_on parameter
[ 30s] #progress_box
[ 30s] returns yast term with box content
[ 30s] write to Heading passed heading parameter
[ 30s] adds passed name to Label
[ 30s] adds passed sz to Label
[ 30s] retry_label
[ 30s] returns localized string with text and passed timeout
[ 30s] full_screen
[ 30s] returns false if running in CLI
[ 30s] returns if there is progress replace point
[ 30s] #cd_devices
[ 30s] returns detected devices as list of Item terms
[ 30s] add special mark for preferred device
[ 30s] return empty array if probing failed
[ 30s] #pkp_gpg_check
[ 30s] during installation
[ 30s] and when insecure is not set
[ 30s] returns ''
[ 30s] and when Insecure is set to '1'
[ 30s] returns 'I'
[ 30s] and when Insecure is set but different to '1'
[ 30s] returns ''
[ 30s] on an installed system
[ 30s] returns ''
[ 30s] #DoneProvide
[ 30s] when error is 2 (IO)
[ 30s] reports the error to the user
[ 30s] when error is 3 (INVALID)
[ 30s] reports the error to the user
[ 30s] when error is unknown
[ 30s] returns 'I'
[ 30s] logs the unknown error code
[ 30s] when user asks to abort
[ 30s] returns 'C'
[ 30s] when user asks to retry
[ 30s] returns 'R'
[ 30s] when user asks to ignore
[ 30s] returns 'I'
[ 30s] when the user asks to show more details
[ 30s] shows the reason
[ 30s]
[ 30s] #Yast::SignatureCheckCallbacksClass:0x000055851ea24010
[ 30s] #import_gpg_key_or_disable
[ 30s] enables repositories with accepted key
[ 30s] disables repositories with rejected key
[ 30s]
[ 30s] Packages::CommitResult
[ 30s] .from_result
[ 30s] builds a new instance from Pkg.Commit/Pkg.PkgCommit return value
[ 30s] when result is a failure
[ 30s] builds a new instance from Pkg.Commit/Pkg.PkgCommit return value
[ 30s]
[ 30s] Packages::DummyCallbacks
[ 30s] registers valid methods to Pkg
[ 30s]
[ 30s] Packages::UpdateMessagesView
[ 30s] #richtext
[ 30s] concatenates information of all messages in a richtext string
[ 30s]
[ 30s] #Yast::CommandLineClass:0x000055851e28fe58
[ 30s] invokes initialize, handler and finish
[ 30s] displays errors and aborts
[ 30s] complains about unknown commands and returns false
[ 30s] .PrintHead
[ 30s] prints header with underscore
[ 30s] .UniqueOption
[ 30s] in options is only one of the options mentioned in unique_options
[ 30s] returns string
[ 30s] in options is none of the options mentioned in unique_options
[ 30s] returns nil
[ 30s] reports error mentioning to specify one of the option if there are more in unique options
[ 30s] reports error mentioning to specify one the option if there is only one in unique options
[ 30s] in options is more then one of the options mentioned in unique_options
[ 30s] returns nil
[ 30s] reports error
[ 30s] unique_options is empty
[ 30s] returns nil
[ 30s]
[ 30s] Pending: (Failures listed here are expected and do not affect your suite's status)
[ 30s]
[ 30s] 1) Y2Issues::Presenter#to_html groups elements from the same location
[ 30s] # Not yet implemented
[ 30s] # ./library/general/test/y2issues/presenter_test.rb:59
[ 30s]
[ 30s] 2) .etc.fstab .Read is able to parse comments
[ 30s] # need to be fixed
[ 30s] Failure/Error: expect(content).to include("#comment")
[ 30s]
[ 30s] expected [{"file" => "/", "freq" => 1, "mntops" => "noatime,data=writeback,acl,user_xattr", "passno" => 1, "spec" => "UU..."/tmp", "freq" => 0, "mntops" => "defaults,size=25%", "passno" => 0, "spec" => "tmpfs", "vfstype" => "tmpfs"}] to include "#comment"
[ 30s] Diff:
[ 30s] @@ -1,2 +1,37 @@
[ 30s] -["#comment"]
[ 30s] +[{"file"=>"/",
[ 30s] + "freq"=>1,
[ 30s] + "mntops"=>"noatime,data=writeback,acl,user_xattr",
[ 30s] + "passno"=>1,
[ 30s] + "spec"=>"UUID=b66c1028-cd4a-4c08-b92d-fc4b9840845d",
[ 30s] + "vfstype"=>"ext4"},
[ 30s] + {"file"=>"/home",
[ 30s] + "freq"=>1,
[ 30s] + "mntops"=>"noatime,data=writeback,acl",
[ 30s] + "passno"=>2,
[ 30s] + "spec"=>"UUID=d2811ace-66e0-4ef2-9b68-9b2758359391",
[ 30s] + "vfstype"=>"ext4"},
[ 30s] + {"file"=>"/home/kv2",
[ 30s] + "freq"=>0,
[ 30s] + "mntops"=>"defaults",
[ 30s] + "passno"=>0,
[ 30s] + "spec"=>"192.168.1.2:/home/kv",
[ 30s] + "vfstype"=>"nfs"},
[ 30s] + {"file"=>"/media/new2",
[ 30s] + "freq"=>0,
[ 30s] + "mntops"=>"defaults",
[ 30s] + "passno"=>0,
[ 30s] + "spec"=>"192.168.1.2:/media/new2",
[ 30s] + "vfstype"=>"nfs"},
[ 30s] + {"file"=>"/media/new",
[ 30s] + "freq"=>0,
[ 30s] + "mntops"=>"defaults",
[ 30s] + "passno"=>0,
[ 30s] + "spec"=>"192.168.1.2:/media/new",
[ 30s] + "vfstype"=>"nfs"},
[ 30s] + {"file"=>"/tmp",
[ 30s] + "freq"=>0,
[ 30s] + "mntops"=>"defaults,size=25%",
[ 30s] + "passno"=>0,
[ 30s] + "spec"=>"tmpfs",
[ 30s] + "vfstype"=>"tmpfs"}]
[ 30s] # ./library/general/test/agents_test/fstab_agent_test.rb:46:in `block (3 levels) in