[yast-commit] Build failed in Jenkins: yast-yast-autoinstallation-master #131
See https://ci.opensuse.org/job/yast-yast-autoinstallation-master/131/display/re...
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 149.92 KB...]
[ 35s] resolve relurl using ayrelurl from install.inf
[ 35s] init-scripts
[ 35s] strip white spaces from location
[ 35s] autoyast profile url is not relurl schema
[ 35s] resolve relurl using autoyast profile url
[ 35s] autoyast profile url is relurl schema
[ 35s] resolve relurl using ayrelurl from install.inf
[ 35s] post-scripts
[ 35s] strip white spaces from location
[ 35s] autoyast profile url is not relurl schema
[ 35s] resolve relurl using autoyast profile url
[ 35s] autoyast profile url is relurl schema
[ 35s] resolve relurl using ayrelurl from install.inf
[ 35s] chroot-scripts
[ 35s] strip white spaces from location
[ 35s] autoyast profile url is not relurl schema
[ 35s] resolve relurl using autoyast profile url
[ 35s] autoyast profile url is relurl schema
[ 35s] resolve relurl using ayrelurl from install.inf
[ 35s] postpartitioning-scripts
[ 35s] strip white spaces from location
[ 35s] autoyast profile url is not relurl schema
[ 35s] resolve relurl using autoyast profile url
[ 35s] autoyast profile url is relurl schema
[ 35s] resolve relurl using ayrelurl from install.inf
[ 35s] #Export
[ 35s] returns hash with defined scripts
[ 35s] #Summary
[ 35s] returns richtext string with scripts summary
[ 35s] #AddEditScript
[ 35s] given filename exists
[ 35s] edits existing one
[ 35s] given filename does not exist
[ 35s] adds new one to merged
[ 35s] #deleteScript
[ 35s] removes script with given filename from merged list
[ 35s] #typeString
[ 35s] returns string according to given type
[ 35s] returns localized "Unknown" for unknown type
[ 35s] #Write
[ 35s] returns true outside of auto installation and auto upgrade
[ 35s] executes script
[ 35s] shows a feedback during script when notification is set for script
[ 35s] shows a report if feedback parameter is set
[ 35s] for pre-scripts
[ 35s] downloads script from location if defined
[ 35s] creates script file from source if location not defined
[ 35s] for postpartitioning-scripts
[ 35s] downloads script from location if defined
[ 35s] creates script file from source if location not defined
[ 35s] for init-scripts
[ 35s] downloads script from location if defined
[ 35s] creates script file from source if location not defined
[ 35s]
[ 35s] Yast::AutoInstallRules
[ 35s] #ProbeRules
[ 35s] detect system properties
[ 35s] #getHostid
[ 35s] returns host IP in hex format (initial Stage)
[ 35s] returns nil if an error occurs finding the IP address
[ 35s] #getHostname
[ 35s] /bin/hostname returns the hostname properly
[ 35s] returns that hostname
[ 35s] /bin/hostname fails
[ 35s] and install.inf contains a Hostname
[ 35s] returns the name stored in install.inf
[ 35s] and install.inf does not contain a Hostname
[ 35s] returns nil
[ 35s] #Read
[ 35s] Reading rules with -or- operator
[ 35s] Reading rules with -and- operator
[ 35s] Reading rules with default operator
[ 35s] shows error Popup when xml is not valid
[ 35s] #getNetwork
[ 35s] the host address is known to wicked
[ 35s] returns the network for the system's hostaddress
[ 35s] the host address is unknown
[ 35s] returns nil
[ 35s] an error occurs finding the IP
[ 35s] returns nil
[ 35s] #merge_profiles
[ 35s] executes xsltproc and returns a hash with info about the result
[ 35s] when all elements must be merged
[ 35s] merges elements from the base profile and the rule profile
[ 35s] when some elements are not intended to be merged
[ 35s] does not merge those elements
[ 35s] #Merge
[ 35s] when no XML profile has been given to merge
[ 35s] does not read and merge any XML profile
[ 35s] when a profile is not valid
[ 35s] returns false
[ 35s] when only one XML profile is given
[ 35s] does read but not merge this XML profile
[ 35s] when two XML profiles are given
[ 35s] cleans up each profile before merging them
[ 35s] merges two XML profiles
[ 35s]
[ 35s] #Yast::AutoinstFunctionsClass:0x000055f6f7395690
[ 35s] #second_stage_required?
[ 35s] when not in initial stage
[ 35s] returns false
[ 35s] when not in autoinst or autoupgrade mode
[ 35s] returns false
[ 35s] when second stage is disabled
[ 35s] returns false
[ 35s] when in autoinst mode and second stage is enabled
[ 35s] relies on ProductControl.RunRequired
[ 35s] when in autoupgrade mode and second stage is enabled
[ 35s] relies on ProductControl.RunRequired
[ 35s] #check_second_stage_environment
[ 35s] second stage is not needed
[ 35s] returns an empty error string
[ 35s] second stage is needed
[ 35s] required package are installed
[ 35s] returns an empty error string
[ 35s] required package are not installed
[ 35s] registration has not been defined in AY configuration file
[ 35s] reports error to set registration
[ 35s] registration has failed
[ 36s] reports error to check registration settings
[ 36s] #selected_product
[ 36s] returns proper base product when explicitly selected in the profile and such base product exists on media
[ 36s] returns nil when product is explicitly selected in the profile and such base product doesn't exist on media
[ 36s] returns base product identified by patterns in the profile if such base product exists on media
[ 36s] returns base product identified by packages in the profile if such base product exists on media
[ 36s] returns base product if there is just one on media and product cannot be identified from profile
[ 36s] when there is not a valid software section
[ 36s] returns nil
[ 36s] logs a message
[ 36s]
[ 36s] Yast::AutoinstConfig
[ 36s] #find_slp_autoyast
[ 36s] when no 'autoyast' provider returned by SLP
[ 36s] returns nil
[ 36s] when only one 'autoyast' provider returned by SLP
[ 36s] returns the service URL
[ 36s] when two or more 'autoyast' services are returned by SLP
[ 36s] when no additional SLP attributes are found
[ 36s] asks user to choose one URL and returns the selected one
[ 36s] #update_profile_location
[ 36s] when profile location is not defined
[ 36s] returns 'floppy' with path to a profile as the new location
[ 36s] when profile location is 'default'
[ 36s] returns 'file' with path to a profile as the new location
[ 36s] when profile location is 'usb'
[ 36s] returns 'usb' with path to a profile as the new location
[ 36s] when profile location is 'slp'
[ 36s] returns the URL found using SLP search
[ 36s] #ParseCmdLine
[ 36s] when the profile url is invalid
[ 36s] reports an error and returns false
[ 36s] when the autoyast profile url is valid
[ 36s] parses the given profile location and fill internal structures and returns boolean whether it succeded
[ 36s] when "relurl" is defined
[ 36s] sets host and filename correctly
[ 36s] when "relurl" is defined and sub-pathes are defined
[ 36s] sets host and filename correctly
[ 36s] when "file://" is defined
[ 36s] when no sub path is defined
[ 36s] sets host and filename correctly
[ 36s] when sub path is defined
[ 36s] sets host and filename correctly
[ 36s] when "file:///" is defined (old format)
[ 36s] when no sub path is defined
[ 36s] sets host and filename correctly
[ 36s] when sub path is defined
[ 36s] sets host and filename correctly
[ 36s] #profile_path
[ 36s] returns '/
See https://ci.opensuse.org/job/yast-yast-autoinstallation-master/132/display/re...
Changes:
------------------------------------------
[...truncated 152.16 KB...]
[ 51s] resolve relurl using ayrelurl from install.inf
[ 51s] init-scripts
[ 51s] strip white spaces from location
[ 51s] autoyast profile url is not relurl schema
[ 51s] resolve relurl using autoyast profile url
[ 51s] autoyast profile url is relurl schema
[ 51s] resolve relurl using ayrelurl from install.inf
[ 51s] post-scripts
[ 51s] strip white spaces from location
[ 51s] autoyast profile url is not relurl schema
[ 51s] resolve relurl using autoyast profile url
[ 51s] autoyast profile url is relurl schema
[ 51s] resolve relurl using ayrelurl from install.inf
[ 51s] chroot-scripts
[ 51s] strip white spaces from location
[ 51s] autoyast profile url is not relurl schema
[ 51s] resolve relurl using autoyast profile url
[ 51s] autoyast profile url is relurl schema
[ 51s] resolve relurl using ayrelurl from install.inf
[ 51s] postpartitioning-scripts
[ 51s] strip white spaces from location
[ 51s] autoyast profile url is not relurl schema
[ 51s] resolve relurl using autoyast profile url
[ 51s] autoyast profile url is relurl schema
[ 51s] resolve relurl using ayrelurl from install.inf
[ 51s] #Export
[ 51s] returns hash with defined scripts
[ 51s] #Summary
[ 51s] returns richtext string with scripts summary
[ 51s] #AddEditScript
[ 51s] given filename exists
[ 51s] edits existing one
[ 51s] given filename does not exist
[ 51s] adds new one to merged
[ 51s] #deleteScript
[ 51s] removes script with given filename from merged list
[ 51s] #typeString
[ 51s] returns string according to given type
[ 51s] returns localized "Unknown" for unknown type
[ 51s] #Write
[ 51s] returns true outside of auto installation and auto upgrade
[ 51s] executes script
[ 51s] shows a feedback during script when notification is set for script
[ 51s] shows a report if feedback parameter is set
[ 51s] for pre-scripts
[ 51s] downloads script from location if defined
[ 51s] creates script file from source if location not defined
[ 51s] for postpartitioning-scripts
[ 51s] downloads script from location if defined
[ 51s] creates script file from source if location not defined
[ 51s] for init-scripts
[ 51s] downloads script from location if defined
[ 51s] creates script file from source if location not defined
[ 51s]
[ 51s] Yast::AutoInstallRules
[ 51s] #ProbeRules
[ 52s] detect system properties
[ 52s] #getHostid
[ 52s] returns host IP in hex format (initial Stage)
[ 52s] returns nil if an error occurs finding the IP address
[ 52s] #getHostname
[ 52s] /bin/hostname returns the hostname properly
[ 52s] returns that hostname
[ 52s] /bin/hostname fails
[ 52s] and install.inf contains a Hostname
[ 52s] returns the name stored in install.inf
[ 52s] and install.inf does not contain a Hostname
[ 52s] returns nil
[ 52s] #Read
[ 52s] Reading rules with -or- operator
[ 52s] Reading rules with -and- operator
[ 52s] Reading rules with default operator
[ 52s] shows error Popup when xml is not valid
[ 52s] #getNetwork
[ 52s] the host address is known to wicked
[ 52s] returns the network for the system's hostaddress
[ 52s] the host address is unknown
[ 52s] returns nil
[ 52s] an error occurs finding the IP
[ 52s] returns nil
[ 52s] #merge_profiles
[ 52s] executes xsltproc and returns a hash with info about the result
[ 52s] when all elements must be merged
[ 52s] merges elements from the base profile and the rule profile
[ 52s] when some elements are not intended to be merged
[ 52s] does not merge those elements
[ 52s] #Merge
[ 52s] when no XML profile has been given to merge
[ 52s] does not read and merge any XML profile
[ 52s] when a profile is not valid
[ 52s] returns false
[ 52s] when only one XML profile is given
[ 52s] does read but not merge this XML profile
[ 52s] when two XML profiles are given
[ 52s] cleans up each profile before merging them
[ 52s] merges two XML profiles
[ 52s]
[ 52s] #Yast::AutoinstFunctionsClass:0x000055f8004d8fe8
[ 52s] #second_stage_required?
[ 52s] when not in initial stage
[ 52s] returns false
[ 52s] when not in autoinst or autoupgrade mode
[ 52s] returns false
[ 52s] when second stage is disabled
[ 52s] returns false
[ 52s] when in autoinst mode and second stage is enabled
[ 52s] relies on ProductControl.RunRequired
[ 52s] when in autoupgrade mode and second stage is enabled
[ 52s] relies on ProductControl.RunRequired
[ 52s] #check_second_stage_environment
[ 52s] second stage is not needed
[ 52s] returns an empty error string
[ 52s] second stage is needed
[ 52s] required package are installed
[ 52s] returns an empty error string
[ 52s] required package are not installed
[ 52s] registration has not been defined in AY configuration file
[ 52s] reports error to set registration
[ 52s] registration has failed
[ 52s] reports error to check registration settings
[ 52s] #selected_product
[ 52s] returns proper base product when explicitly selected in the profile and such base product exists on media
[ 52s] returns nil when product is explicitly selected in the profile and such base product doesn't exist on media
[ 52s] returns base product identified by patterns in the profile if such base product exists on media
[ 52s] returns base product identified by packages in the profile if such base product exists on media
[ 52s] returns base product if there is just one on media and product cannot be identified from profile
[ 52s] when there is not a valid software section
[ 52s] returns nil
[ 52s] logs a message
[ 52s]
[ 52s] Yast::AutoinstConfig
[ 52s] #find_slp_autoyast
[ 52s] when no 'autoyast' provider returned by SLP
[ 52s] returns nil
[ 52s] when only one 'autoyast' provider returned by SLP
[ 52s] returns the service URL
[ 52s] when two or more 'autoyast' services are returned by SLP
[ 52s] when no additional SLP attributes are found
[ 52s] asks user to choose one URL and returns the selected one
[ 52s] #update_profile_location
[ 52s] when profile location is not defined
[ 52s] returns 'floppy' with path to a profile as the new location
[ 52s] when profile location is 'default'
[ 52s] returns 'file' with path to a profile as the new location
[ 52s] when profile location is 'usb'
[ 52s] returns 'usb' with path to a profile as the new location
[ 52s] when profile location is 'slp'
[ 52s] returns the URL found using SLP search
[ 52s] #ParseCmdLine
[ 52s] when the profile url is invalid
[ 52s] reports an error and returns false
[ 52s] when the autoyast profile url is valid
[ 52s] parses the given profile location and fill internal structures and returns boolean whether it succeded
[ 52s] when "relurl" is defined
[ 52s] sets host and filename correctly
[ 52s] when "relurl" is defined and sub-pathes are defined
[ 52s] sets host and filename correctly
[ 52s] when "file://" is defined
[ 52s] when no sub path is defined
[ 52s] sets host and filename correctly
[ 52s] when sub path is defined
[ 52s] sets host and filename correctly
[ 52s] when "file:///" is defined (old format)
[ 52s] when no sub path is defined
[ 52s] sets host and filename correctly
[ 52s] when sub path is defined
[ 52s] sets host and filename correctly
[ 52s] #profile_path
[ 52s] returns '/
participants (1)
-
admin@opensuse.org