[yast-commit] Build failed in Jenkins: yast-yast-packager-master #13
See http://ci.opensuse.org/job/yast-yast-packager-master/13/display/redirect?pag...
Changes:
[Josef Reidinger] move client to lib to allow further testing
[Josef Reidinger] add initial test for productsources
[Josef Reidinger] refactor and improve test coverage
[Josef Reidinger] make rubocop happy
[Josef Reidinger] add support to have alias in online repos (bsc#1017823)
[Josef Reidinger] make rubocop happy
[Josef Reidinger] fix doc
[Josef Reidinger] changes
------------------------------------------
[...truncated 127.54 KB...]
[ 12s] adds the repository
[ 12s] #AddRepo
[ 12s] when the repo is added successfully
[ 12s] returns the new repository id
[ 12s] sets priority if it is greater than -1
[ 12s] refresh packages metadata
[ 12s] when the repo is not added successfully
[ 12s] reports the error and returns nil
[ 12s] #Integrate
[ 12s] installer extension package contains y2update.tgz
[ 12s] updates the inst-sys with the y2update.tgz
[ 12s] installer extension package does not contain y2update.tgz
[ 12s] does not update inst-sys
[ 12s] #IntegrateY2Update
[ 12s] installer extension package contains y2update.tgz
[ 12s] updates the inst-sys with the y2update.tgz
[ 12s] installer extension package does not contain y2update.tgz
[ 13s] does not update inst-sys
[ 13s]
[ 13s] Y2Packager::Dialogs::AddonSelector
[ 13s] #help_text
[ 13s] returns a String
[ 13s] #abort_handler
[ 13s] returns :abort
[ 13s] in installation
[ 13s] asks for confirmation
[ 13s] returns :abort when confirmed
[ 13s] returns nil when not confirmed
[ 13s] #next_handler
[ 13s] an addon is selected
[ 13s] returns :next if an addon is selected
[ 13s] does not display any popup
[ 13s] no addon is selected
[ 13s] displays a popup asking for confirmation
[ 13s] returns :next if the popup is confirmed
[ 13s] returns nil if the popup is not confirmed
[ 13s]
[ 13s] #Yast::PackageSlideShowClass:0x000000000436dec8
[ 13s] #ListSum
[ 13s] returns the sum skipping '-1' values
[ 13s] #ListSumCutOff
[ 13s] returns sum of values if no value is over max_cutoff
[ 13s] returns -x * max_cutoff where x is number of value higher then max_cutoff if any apear
[ 13s]
[ 13s] #Yast::SourceDialogsClass:0x00000000032d71e0
[ 13s] #valid_scheme?
[ 13s] returns true for all known zypp uris
[ 13s] returns true for 'https://' URL
[ 13s] returns false for empty URL and reports error
[ 13s] returns false for 'foo://' URL and reports error
[ 13s] returns false for 'foo' URL and reports error
[ 13s] #PreprocessISOURL
[ 13s] keeps additional URL parameter (workgroup)
[ 13s] handles escaped URL parameter
[ 13s] handles iso with part in url and part in path
[ 13s] handles properly escaped spaces
[ 13s] handles empty iso uri
[ 13s] #PostprocessISOURL
[ 13s] keeps additional URL parameter (workgroup)
[ 13s] uses dir url scheme parameter for local ISO files
[ 13s] prevents double escaping if get already escaped string
[ 13s] .IsISOURL
[ 13s] returns true for iso with spaces
[ 13s] .URLScheme
[ 13s] returns scheme of url
[ 13s] return "url" if parameter is empty string
[ 13s] return "url" if parameter is invalid url string
[ 13s] .SelectStore
[ 13s] sets url to full url for DVD and CD selection
[ 13s] the global add-on checkbox is disabled
[ 13s] ignores the selected RadioButton
[ 13s] sets empty URL
[ 13s] SelectHandle
[ 13s] the global add-on checkbox is disabled
[ 13s] returns nil after pressing [Next] even if the CD RadioButton is selected
[ 13s] the global add-on checkbox is enabled
[ 13s] returns :finish after pressing [Next] if the CD RadioButton is selected
[ 13s] SelectValidate
[ 13s] the global add-on checkbox is disabled
[ 13s] returns true
[ 13s] ignores the RadioButton state
[ 13s] the global add-on checkbox is enabled
[ 13s] returns :finish after pressing [Next] if the CD RadioButton is selected
[ 13s]
[ 13s] PackagerRepositoriesIncludeInclude
[ 13s] .autorefresh_for?
[ 13s] returns false for local 'cd://foo/bar' URL
[ 13s] returns false for local 'dvd://foo/bar' URL
[ 13s] returns false for local 'dir://foo/bar' URL
[ 13s] returns false for local 'hd://foo/bar' URL
[ 13s] returns false for local 'iso://foo/bar' URL
[ 13s] returns false for local 'file://foo/bar' URL
[ 13s] returns true for remote 'http://foo/bar' URL
[ 13s] returns true for remote 'https://foo/bar' URL
[ 13s] returns true for remote 'nfs://foo/bar' URL
[ 13s] returns true for remote 'nfs4://foo/bar' URL
[ 13s] returns true for remote 'smb://foo/bar' URL
[ 13s] returns true for remote 'cifs://foo/bar' URL
[ 13s] returns true for remote 'ftp://foo/bar' URL
[ 13s] returns true for remote 'sftp://foo/bar' URL
[ 13s] returns true for remote 'tftp://foo/bar' URL
[ 13s] handles uppercase URLs correctly
[ 13s] .createSource
[ 13s] returns :again symbol when URL is empty
[ 13s] creates the repository
[ 13s] returns :ok symbol on success
[ 13s] returns :abort and removes the repository if license is rejected
[ 13s] if the URL cannot be expanded (is invalid)
[ 13s] returns :again symbol
[ 13s] displays an error popup
[ 13s] more products available on the medium
[ 13s] displays a dialog for selecting the products to use
[ 13s] adds only the repositories for the selected products
[ 13s] returns :next if nothing is selected
[ 13s] returns :abort if product selection is aborted
[ 13s]
[ 13s] #Yast::InstURLClass:0x0000000002bc2eb8
[ 13s] #installInf2Url
[ 13s] when ZyppRepURL is defined in install.inf
[ 13s] returns ZyppRepoURL
[ 13s] when ZyppRepoURL is not defined
[ 13s] returns cd:///
[ 13s] when an extra_dir is given
[ 13s] adds the extra_dir to the path
[ 13s] when ssl verification is disabled
[ 13s] and a HTTPS URL is given
[ 13s] adds ssl_verify=no to the URL
[ 13s] and a HTTPS URL with extra query parameters is given
[ 13s] adds ssl_verify=no to the URL
[ 13s]
[ 13s] #Yast::DefaultDesktopClass:0x000000000338ea98
[ 13s] .GetAllDesktopsMap
[ 13s] returns hash with all desktops defined in product
[ 13s] .Desktop
[ 13s] returns default desktop name if not set
[ 13s] returns name specified with #SetDesktop
[ 13s]
[ 13s] Yast::SlideShowCallbacksClass
[ 13s] #DisplayStartInstall
[ 13s] package data usage is available
[ 13s] does not display the space warning when free space is >8EiB
[ 13s] does not display the space warning when free space is enough
[ 13s] displays the space warning when free space is not enough
[ 13s] package data usage is not available
[ 13s] does not display the space warning when free space is >8EiB
[ 13s] does not display the space warning when free space is enough
[ 13s] displays the space warning when free space is not enough
[ 13s]
[ 13s] Pending: (Failures listed here are expected and do not affect your suite's status)
[ 13s]
[ 13s] 1) #Yast::SpaceCalculationClass:0x0000000003a8f540 #get_partition_info on test mount during installation on nfs with mount options honours the options and adds 'ro' and 'nolock'
[ 13s] # TODO: NFS not fully supported in libstorage-ng yet
[ 13s] # ./test/space_calculation_test.rb:98
[ 13s]
[ 13s] 2) #Yast::SpaceCalculationClass:0x0000000003a8f540 #get_partition_info on test mount during installation on nfs without mount options uses 'ro,nolock'
[ 13s] # TODO: NFS not fully supported in libstorage-ng yet
[ 13s] # ./test/space_calculation_test.rb:108
[ 13s]
[ 13s] 3) #Yast::SpaceCalculationClass:0x0000000003a8f540 #get_partition_info on test mount during installation on encrypted device mounts the DM device
[ 13s] # TODO: Encryption not fully supported in libstorage-ng yet
[ 13s] # ./test/space_calculation_test.rb:133
[ 13s]
[ 13s] 4) #Yast::SpaceCalculationClass:0x0000000003a8f540 .ReservedSpace count reserved space for given partition
[ 13s] # TODO: mkfs_options is not properly managed yet
[ 13s] # ./test/space_calculation_test.rb:377
[ 13s]
[ 13s] Failures:
[ 13s]
[ 13s] 1) Yast::InstProductsourcesClient#main returns :auto if AddOnProduct is set to skip
[ 13s] Failure/Error: expect(client.main).to eq :auto
[ 13s]
[ 13s] RuntimeError:
[ 13s] Cannot find client installation/misc.rb
[ 13s] # ./src/lib/y2packager/clients/inst_productsources.rb:96:in `main'
[ 13s] # ./test/lib/clients/inst_productsources_test.rb:19:in `block (3 levels) in
participants (1)
-
admin@opensuse.org