Build failed in Jenkins: yast-yast-autoinstallation-master #135
See https://ci.suse.de/job/yast-yast-autoinstallation-master/135/display/redirec...
Changes:
[igonzalezsosa] Replace PackageSystem with Package
[igonzalezsosa] Update dependency on the yast2 package
[igonzalezsosa] Bump version and update changes file
------------------------------------------
[...truncated 193.79 KB...]
[ 98s] #set_element_by_path
[ 98s] when a string is given as path
[ 98s] sets the element by using the path's parts
[ 98s] when a profile path object is given as path
[ 98s] sets the element by using the path's parts
[ 98s] #setElementByList
[ 98s] when the element exists
[ 98s] replaces its value
[ 98s] when the element does not exist
[ 98s] adds the element in the given path
[ 98s] when the element is supposed to be an array member but it does not exist
[ 98s] adds an element to the array
[ 98s] fills any gap with nil
[ 98s] when parent elements are missing
[ 98s] adds all the full hierarchy up to the given path
[ 98s]
[ 98s] Yast::AutoinstClass
[ 98s] #Read
[ 98s] when some class definition exists
[ 98s] read content into @Classes
[ 98s] returns nil
[ 98s] when class definition is not valid
[ 98s] sets Classes to []
[ 98s] returns nil
[ 98s] when classes definition file does not exist
[ 98s] sets Classes to []
[ 98s] returns nil
[ 98s] when classes definition is empty or not valid XML
[ 98s] set Classes to []
[ 98s] returns nil
[ 98s] #Files
[ 98s] when some class definition exists
[ 98s] sets confs to an array containing classes configurations
[ 98s] when classes definitions are not found
[ 98s] when directory does not exist
[ 98s] sets confs to an empty array
[ 98s] when directory is empty
[ 98s] sets confs to an empty array
[ 98s] #classDirChanged
[ 98s] reads again the classes definitions
[ 98s] #findPath
[ 98s] when class and configuration exists
[ 98s] returns string with path to classes directory, class name and configuration
[ 98s] when class does not exist
[ 98s] returns string with path to a default directory below the classes directory
[ 98s] when name does not exist
[ 98s] returns string with path to a default directory below the classes directory
[ 98s] #Compat
[ 98s] when a classes.xml file exists in the new location
[ 98s] does not overwrite classes.xml file
[ 98s] when a classes.xml file does not exist in the new location
[ 98s] and /etc/autoinstall/classes.xml exists
[ 99s] creates a classes.xml file in the new location
[ 99s] and /etc/autoinstall/classes.xml is empty or not valid XML
[ 99s] creates a classes.xmlfile in the new location with no classes
[ 99s] #class_dir=
[ 99s] sets the classes definitions directory
[ 99s] #MergeClasses
[ 99s] executes xsltproc and returns a hash with info about the result
[ 99s] when all elements must be merged
[ 99s] merges elements from profile and configuration
[ 99s] when some elements are not intended to be merged
[ 99s] does not merge those elements
[ 99s] #Import
[ 99s] sets profile_conf variable as a copy of the given settings
[ 99s] #Export
[ 99s] returns a copy of profile_conf
[ 99s] #Summary
[ 99s] when some settings are given
[ 99s] returns a summary containing class names and configurations
[ 99s] when no class name is given
[ 99s] 'None' is used instead
[ 99s] when no configuration is given
[ 99s] 'None' is used instead
[ 99s] when no settings are given
[ 99s] returns an empty summary
[ 99s] #Save
[ 99s] creates a classes.xml file in the new location
[ 99s] does not raise exception when serialization failed
[ 99s] when classes are marked for deletion
[ 99s] deletes classes files
[ 99s]
[ 99s] Yast::AutoinstallConfTreeInclude
[ 99s] #ShowSource
[ 99s] shows xml with current profile serialized to XML
[ 99s] shows error popup when profile serialization failed
[ 99s] #configureModule
[ 99s] when the user accepts the configuration dialog
[ 99s] and the settings have been changed
[ 99s] sets the module and the profile as modified
[ 99s] and the settings has not been changed
[ 99s] does not set the module or profile as modified
[ 99s] when new settings are not valid
[ 99s] imports the original settings again
[ 99s] reports the error and returns :abort
[ 99s] when the user aborts the configuration dialog
[ 100s] imports the original settings again
[ 100s]
[ 100s] Pending: (Failures listed here are expected and do not affect your suite's status)
[ 100s]
[ 100s] 1) Yast::AutoinstPartPlan #read partition target exporting nfs root partition
[ 100s] # pending on nfs definition in yml files
[ 100s] # ./test/AutoinstPartPlan_test.rb:41
[ 100s]
[ 100s] 2) Y2Autoinstallation::Clients::SoftwareAuto#main 'Change' command displays a dialog to select the location of the installation source
[ 100s] # Not yet implemented
[ 100s] # ./test/lib/clients/software_auto_test.rb:114
[ 100s]
[ 100s] 3) Y2Autoinstallation::Clients::SoftwareAuto#main 'Change' command when the inst-source of the system is selected adds the given repository
[ 100s] # Not yet implemented
[ 100s] # ./test/lib/clients/software_auto_test.rb:188
[ 100s]
[ 100s] Failures:
[ 100s]
[ 100s] 1) #Yast::AutoinstSoftwareClass:0x0000563dcc471ca0 #add_additional_packages appends the given list to the one to be installed
[ 100s] Failure/Error: subject.Import(Yast::Profile.current["software"])
[ 100s]
[ 100s] ArgumentError:
[ 100s] wrong number of arguments (given 1, expected 2)
[ 100s] # /usr/share/YaST2/modules/PackagesProposal.rb:285:in `GetResolvables'
[ 100s] # /usr/share/YaST2/modules/PackageAI.rb:86:in `Installed'
[ 100s] # ./src/modules/AutoinstSoftware.rb:448:in `block in addPostPackages'
[ 100s] # ./src/modules/AutoinstSoftware.rb:448:in `reject!'
[ 100s] # ./src/modules/AutoinstSoftware.rb:448:in `addPostPackages'
[ 100s] # ./src/modules/AutoinstSoftware.rb:158:in `Import'
[ 100s] # ./test/AutoinstSoftware_test.rb:41:in `block (3 levels) in
participants (1)
-
jenkins@suse.de