[yast-commit] Build failed in Jenkins: yast-yast-packager-master #14
See https://ci.suse.de/job/yast-yast-packager-master/14/display/redirect?page=ch...
Changes:
[jreidinger] move client to lib to allow further testing
[jreidinger] add initial test for productsources
[jreidinger] refactor and improve test coverage
[jreidinger] make rubocop happy
[jreidinger] add support to have alias in online repos (bsc#1017823)
[jreidinger] make rubocop happy
[jreidinger] fix doc
[jreidinger] changes
------------------------------------------
[...truncated 134.00 KB...]
[ 12s] returns :next if an addon is selected
[ 12s] does not display any popup
[ 12s] no addon is selected
[ 12s] displays a popup asking for confirmation
[ 12s] returns :next if the popup is confirmed
[ 12s] returns nil if the popup is not confirmed
[ 12s]
[ 12s] #Yast::ProductLicenseClass:0x0000000002b7eee8
[ 12s] #DisplayLicenseDialogWithTitle (partial test)
[ 12s] when running in text mode
[ 12s] on the installation
[ 12s] uses the preselected language
[ 12s] when there is no translation for the preselected language
[ 12s] falls back to 'english'
[ 12s] on the installed system
[ 12s] uses the default language
[ 12s] when there is no translation for the default language
[ 12s] falls back to 'english'
[ 12s] #HandleLicenseDialogRet
[ 12s] while changing a license language
[ 12s] updates the UI with new license translation
[ 12s] while adjusting EULA agreement buttons
[ 12s] enables the [Next] button
[ 12s] while user wants to abort from the License Agreement dialog
[ 12s] in inst-sys
[ 12s] user confirms the aborting
[ 12s] returns :abort
[ 12s] user declines the aborting
[ 12s] continues handling the user input
[ 12s] on running system
[ 12s] user confirms the aborting
[ 12s] returns :abort
[ 12s] user declines the aborting
[ 12s] continues handling the user input
[ 12s] while going back to previous dialog
[ 12s] returns :back
[ 12s] while going to the next dialog
[ 12s] while all licenses have been accepted
[ 12s] returns :accepted
[ 12s] while some license(s) have not been accepted
[ 12s] returns symbol :abort, :accepted, :halt according to the third function parameter
[ 12s] #location_is_url?
[ 12s] returns true for http, https and ftp URL (case insensitive)
[ 12s] returns false for other URL schema
[ 12s] returns false for non URL string
[ 12s] returns false for non String values
[ 12s] returns false for nil
[ 12s] #AcceptanceNeeded
[ 12s] when called in the initial stage of installation
[ 12s] when licenses exists
[ 12s] when called for base-product
[ 12s] returns that acceptance is needed if no-acceptance-needed file is not found
[ 12s] returns that acceptance is not needed if the no-acceptance-needed file is found
[ 12s] when called for add-on product
[ 12s] when value has not been stored yet
[ 12s] returns the safe default true
[ 12s] when value has been already stored
[ 12s] returns the stored value
[ 12s] when no license exists
[ 12s] do not blame that there is no license directory
[ 12s] when not called in initial installation
[ 12s] when called for base-product
[ 12s] returns the safe default true
[ 12s] throws an error
[ 12s] when value has been already stored
[ 12s] returns the stored value
[ 12s] when called for add-on product
[ 12s] when value has not been stored yet
[ 12s] returns the safe default true
[ 12s] when value has been already stored
[ 12s] returns the stored value
[ 12s] #product_license
[ 12s] returns true if a license is found
[ 12s] returns false if no license is found
[ 12s] returns false if an empty license is found
[ 12s] #license_accepted_for?
[ 12s] reads the license and asks for a already seen license with the same content
[ 12s] when license has been already accepted
[ 12s] returns true
[ 12s] when the license has not been already accepted
[ 12s] returns false
[ 12s] #repository_product
[ 12s] when a product exists in the given repository
[ 12s] returns the product
[ 12s] when no product exists in the given repository
[ 12s] returns nil
[ 12s]
[ 12s] PackagerRepositoriesIncludeInclude
[ 12s] .autorefresh_for?
[ 12s] returns false for local 'cd://foo/bar' URL
[ 12s] returns false for local 'dvd://foo/bar' URL
[ 12s] returns false for local 'dir://foo/bar' URL
[ 12s] returns false for local 'hd://foo/bar' URL
[ 12s] returns false for local 'iso://foo/bar' URL
[ 12s] returns false for local 'file://foo/bar' URL
[ 12s] returns true for remote 'http://foo/bar' URL
[ 12s] returns true for remote 'https://foo/bar' URL
[ 12s] returns true for remote 'nfs://foo/bar' URL
[ 12s] returns true for remote 'nfs4://foo/bar' URL
[ 12s] returns true for remote 'smb://foo/bar' URL
[ 12s] returns true for remote 'cifs://foo/bar' URL
[ 12s] returns true for remote 'ftp://foo/bar' URL
[ 12s] returns true for remote 'sftp://foo/bar' URL
[ 12s] returns true for remote 'tftp://foo/bar' URL
[ 12s] handles uppercase URLs correctly
[ 12s] .createSource
[ 12s] returns :again symbol when URL is empty
[ 12s] creates the repository
[ 12s] returns :ok symbol on success
[ 12s] returns :abort and removes the repository if license is rejected
[ 12s] if the URL cannot be expanded (is invalid)
[ 12s] returns :again symbol
[ 12s] displays an error popup
[ 12s] more products available on the medium
[ 12s] displays a dialog for selecting the products to use
[ 12s] adds only the repositories for the selected products
[ 12s] returns :next if nothing is selected
[ 12s] returns :abort if product selection is aborted
[ 12s]
[ 12s] Yast::SlideShowCallbacksClass
[ 12s] #DisplayStartInstall
[ 12s] package data usage is available
[ 12s] does not display the space warning when free space is >8EiB
[ 12s] does not display the space warning when free space is enough
[ 12s] displays the space warning when free space is not enough
[ 12s] package data usage is not available
[ 12s] does not display the space warning when free space is >8EiB
[ 12s] does not display the space warning when free space is enough
[ 12s] displays the space warning when free space is not enough
[ 12s]
[ 12s] #Yast::PackageInstallationClass:0x000000000415e718
[ 12s] #Commit
[ 12s] when commit is successful
[ 12s] returns the commit result
[ 12s] when running in normal mode
[ 12s] shows a summary
[ 12s] when not running in normal mod
[ 12s] does not show a summary
[ 12s] when commit fails
[ 12s] logs the error and returns []
[ 12s] when update messages are received
[ 12s] shows the update messages
[ 12s] in installation mode
[ 12s] does not show the update messages
[ 12s] in autoinstallation mode
[ 12s] does not show the update messages
[ 12s]
[ 12s] Pending: (Failures listed here are expected and do not affect your suite's status)
[ 12s]
[ 12s] 1) #Yast::SpaceCalculationClass:0x00000000030fa278 #get_partition_info on test mount during installation on nfs with mount options honours the options and adds 'ro' and 'nolock'
[ 12s] # TODO: NFS not fully supported in libstorage-ng yet
[ 12s] # ./test/space_calculation_test.rb:98
[ 12s]
[ 12s] 2) #Yast::SpaceCalculationClass:0x00000000030fa278 #get_partition_info on test mount during installation on nfs without mount options uses 'ro,nolock'
[ 12s] # TODO: NFS not fully supported in libstorage-ng yet
[ 12s] # ./test/space_calculation_test.rb:108
[ 12s]
[ 12s] 3) #Yast::SpaceCalculationClass:0x00000000030fa278 #get_partition_info on test mount during installation on encrypted device mounts the DM device
[ 12s] # TODO: Encryption not fully supported in libstorage-ng yet
[ 12s] # ./test/space_calculation_test.rb:133
[ 12s]
[ 12s] 4) #Yast::SpaceCalculationClass:0x00000000030fa278 .ReservedSpace count reserved space for given partition
[ 12s] # TODO: mkfs_options is not properly managed yet
[ 12s] # ./test/space_calculation_test.rb:377
[ 12s]
[ 12s] Failures:
[ 12s]
[ 12s] 1) Yast::InstProductsourcesClient#main returns :auto if AddOnProduct is set to skip
[ 12s] Failure/Error: expect(client.main).to eq :auto
[ 12s]
[ 12s] RuntimeError:
[ 12s] Cannot find client installation/misc.rb
[ 12s] # ./src/lib/y2packager/clients/inst_productsources.rb:96:in `main'
[ 12s] # ./test/lib/clients/inst_productsources_test.rb:19:in `block (3 levels) in
participants (1)
-
jenkins@suse.de