[yast-commit] Build failed in Jenkins: yast-yast-autoinstallation-master #55
See https://ci.suse.de/job/yast-yast-autoinstallation-master/55/display/redirect...
Changes:
[igonzalezsosa] Simplify the Profile.setElementByList method
[igonzalezsosa] Add a Profile.set_element_by_path method
[igonzalezsosa] RuboCop: disable BlockLength cop for tests
[igonzalezsosa] Update yast2.rpm dependency
[igonzalezsosa] Bump version and update changes file
[igonzalezsosa] Update from code review
[igonzalezsosa] Documentation fixes
------------------------------------------
[...truncated 151.02 KB...]
[ 32s] adds each element into the current profile
[ 32s] but there is no content for some of the elements
[ 32s] does not include the element with no content
[ 32s] when a module uses an alternative resource name
[ 32s] uses the alternative name
[ 32s] #create
[ 32s] exports modules data into the current profile
[ 32s] when a module is 'hidden'
[ 32s] includes that module
[ 32s] when a module exports empty data
[ 33s] does not include it
[ 33s] when a module has elements to merge
[ 33s] creates each element in the current profile
[ 33s] but there is no content for some of the elements
[ 33s] does not include the element with no content
[ 33s] when a module uses an alternative resource name
[ 33s] uses the alternative name
[ 33s] #ReadXML
[ 33s] when the file is valid
[ 33s] returns true
[ 33s] imports the file content
[ 33s] when the file content is invalid
[ 33s] returns false
[ 33s] displays an error message
[ 33s] does not import the file content
[ 33s] when the content is encrypted
[ 33s] decrypts and imports the file content
[ 33s] during the first stage
[ 34s] saves the unencrypted content
[ 34s] #Save
[ 34s] returns true if saved profile to file
[ 34s] returns false when failed
[ 34s] #SaveSingleSections
[ 34s] returns list of saved sections
[ 34s] it does not return sections that failed to save
[ 34s] #set_element_by_path
[ 34s] when a string is given as path
[ 34s] sets the element by using the path's parts
[ 34s] when a profile path object is given as path
[ 34s] sets the element by using the path's parts
[ 34s] #setElementByList
[ 34s] when the element exists
[ 34s] replaces its value
[ 34s] when the element does not exist
[ 34s] adds the element in the given path
[ 34s] when the element is supposed to be an array member but it does not exist
[ 34s] adds an element to the array
[ 34s] fills any gap with nil
[ 34s] when parent elements are missing
[ 34s] adds all the full hierarchy up to the given path
[ 34s]
[ 34s] Yast::AutoinstClass
[ 34s] #Read
[ 34s] when some class definition exists
[ 34s] read content into @Classes
[ 34s] returns nil
[ 34s] when class definition is not valid
[ 34s] sets Classes to []
[ 34s] returns nil
[ 34s] when classes definition file does not exist
[ 34s] sets Classes to []
[ 34s] returns nil
[ 34s] when classes definition is empty or not valid XML
[ 34s] set Classes to []
[ 34s] returns nil
[ 34s] #Files
[ 34s] when some class definition exists
[ 34s] sets confs to an array containing classes configurations
[ 34s] when classes definitions are not found
[ 34s] when directory does not exist
[ 34s] sets confs to an empty array
[ 34s] when directory is empty
[ 34s] sets confs to an empty array
[ 34s] #classDirChanged
[ 34s] reads again the classes definitions
[ 34s] #findPath
[ 34s] when class and configuration exists
[ 34s] returns string with path to classes directory, class name and configuration
[ 34s] when class does not exist
[ 34s] returns string with path to a default directory below the classes directory
[ 34s] when name does not exist
[ 34s] returns string with path to a default directory below the classes directory
[ 34s] #Compat
[ 34s] when a classes.xml file exists in the new location
[ 34s] does not overwrite classes.xml file
[ 34s] when a classes.xml file does not exist in the new location
[ 34s] and /etc/autoinstall/classes.xml exists
[ 34s] creates a classes.xml file in the new location
[ 34s] and /etc/autoinstall/classes.xml is empty or not valid XML
[ 34s] creates a classes.xmlfile in the new location with no classes
[ 34s] #class_dir=
[ 34s] sets the classes definitions directory
[ 34s] #MergeClasses
[ 34s] executes xsltproc and returns a hash with info about the result
[ 34s] when all elements must be merged
[ 34s] merges elements from profile and configuration
[ 34s] when some elements are not intended to be merged
[ 34s] does not merge those elements
[ 34s] #Import
[ 34s] sets profile_conf variable as a copy of the given settings
[ 34s] #Export
[ 34s] returns a copy of profile_conf
[ 34s] #Summary
[ 34s] when some settings are given
[ 34s] returns a summary containing class names and configurations
[ 34s] when no class name is given
[ 34s] 'None' is used instead
[ 34s] when no configuration is given
[ 34s] 'None' is used instead
[ 34s] when no settings are given
[ 34s] returns an empty summary
[ 34s] #Save
[ 34s] creates a classes.xml file in the new location
[ 34s] does not raise exception when serialization failed
[ 34s] when classes are marked for deletion
[ 34s] deletes classes files
[ 34s]
[ 34s] Yast::AutoinstallAskInclude
[ 34s] #askDialog
[ 34s] when ask-list is empty
[ 34s] no dialog is shown
[ 34s] dialogs creation
[ 34s] when the ask-list contains a question with type 'string'
[ 34s] creates a TextEntry widget
[ 34s] when the ask-list contains a question with timeout=0
[ 34s] waits for user input infinitely
[ 34s] when the ask-list contains a question with timeout>0
[ 34s] when user does not do anything
[ 34s] waits for user input with timeout and then time-outs
[ 34s] when user stops the execution manually
[ 34s] waits for user input with timeout and then stops and waits for user infinitely
[ 34s] when ask-list contains a question with type 'selection'
[ 34s] creates a ComboBox widget
[ 34s] when ask-list contains a question with type 'password'
[ 34s] creates two Password widgets
[ 34s] when ask-list contains a question with type 'static_text'
[ 34s] creates a Label widget
[ 34s] when ask-list contains question with type 'symbol'
[ 34s] creates a ComboBox widget
[ 34s] when ask-list contains a question with type 'boolean'
[ 34s] creates a CheckBox widget
[ 34s] when ask-list contains more than one question
[ 34s] creates one widget for each one of them
[ 34s] when ask-list contains more than one password question
[ 34s] creates two password widgets for each question without repeating the Ids
[ 34s] dialogs actions
[ 34s] when ok button is pressed
[ 34s] when a path was specified
[ 34s] response is saved into the Profile at the specified path
[ 34s] when a pathlist was specified
[ 34s] saves response into Profile at the paths specified in the pathlist
[ 34s] when a file was specified
[ 34s] saves the user answer in the file
[ 34s] when response is a boolean
[ 34s] converts the answer to a string and saves it in the file
[ 34s] when asking for a 'password' and values don't match
[ 34s] shows an error message and try run the dialog again
[ 34s] when a script was specified
[ 34s] shows some feedback while script is running
[ 34s] when 'environment' property is not set
[ 34s] runs the script without passing the ask response
[ 34s] when 'environment' property is set
[ 34s] runs the script passing the ask response
[ 34s] when more dialogs left
[ 34s] next dialog is shown
[ 34s] when no more dialogs left
[ 34s] finishes dialog processing and returns
[ 34s] when a value for 'next dialog' is set
[ 34s] jumps to that dialog
[ 34s]
[ 34s] Yast::AutoinstallConfTreeInclude
[ 34s] #ShowSource
[ 34s] shows xml with current profile serialized to XML
[ 34s] shows error popup when profile serialization failed
[ 34s] #configureModule
[ 34s] when the user accepts the configuration dialog
[ 34s] and the settings have been changed
[ 34s] sets the module and the profile as modified
[ 34s] and the settings has not been changed
[ 34s] does not set the module or profile as modified
[ 34s] when new settings are not valid
[ 35s] imports the original settings again
[ 35s] reports the error and returns :abort
[ 35s] when the user aborts the configuration dialog
[ 35s] imports the original settings again
[ 35s]
[ 35s] Pending: (Failures listed here are expected and do not affect your suite's status)
[ 35s]
[ 35s] 1) Yast::AutoinstPartPlan #read partition target exporting nfs root partition
[ 35s] # pending on nfs definition in yml files
[ 35s] # ./test/AutoinstPartPlan_test.rb:41
[ 35s]
[ 35s] Failures:
[ 35s]
[ 35s] 1) Y2Autoinstallation::StorageController#delete_section when deleting a drive section removes selected section
[ 35s] Failure/Error: subject.delete_section
[ 35s]
[ 35s] NoMethodError:
[ 35s] undefined method `partitions' for #Y2Storage::AutoinstProfile::PartitioningSection:0x000055938fd246c8
[ 35s] # ./src/lib/autoinstall/storage_controller.rb:76:in `delete_section'
[ 35s] # ./test/lib/storage_controller_test.rb:77:in `block (4 levels) in
participants (1)
-
jenkins@suse.de