Build failed in Jenkins: yast-yast-country-master #35
See https://ci.suse.de/job/yast-yast-country-master/35/display/redirect?page=cha...
Changes:
[ancor] Use Yast::Execute to get better logs
[jreidinger] Add test to verify keyboard code are valid
[jreidinger] fix invalid code
[jreidinger] changes
[jreidinger] fix mock
------------------------------------------
[...truncated 45.59 KB...]
[ 19s] #read
[ 19s] reads keyboard information
[ 19s] #write
[ 19s] writes keyboard information
[ 19s] returns the value from the finish client
[ 19s] #reset
[ 19s] resets the keyboard setting
[ 19s] #packages
[ 19s] returns an empty hash (no packages to install)
[ 19s] #modified?
[ 19s] keyboard settings are modified ?
[ 19s] #modified
[ 19s] set to modified
[ 19s]
[ 19s] Keyboards
[ 19s] .all_keyboards
[ 19s] returns list with all code valid (FAILED - 1)
[ 19s]
[ 19s] Language::AutoClient
[ 19s] #change
[ 19s] runs select_language client
[ 19s] returns the value from the select_language client
[ 19s] #summary
[ 19s] returns the AutoYaST summary
[ 19s] #import
[ 19s] imports the profile
[ 19s] #export
[ 19s] exports the profile
[ 19s] #read
[ 19s] reads language information
[ 19s] #write
[ 19s] writes language information
[ 19s] returns the value from the finish client
[ 19s] #reset
[ 19s] resets the language setting
[ 19s] #packages
[ 19s] returns an empty hash (no packages to install)
[ 19s] #modified?
[ 19s] language information is modified ?
[ 19s] #modified
[ 19s] set to modified
[ 19s]
[ 19s] Yast::Language
[ 19s] #integrate_inst_sys_extension
[ 19s] shows UI feedback and extends the inst-sys for selected language
[ 19s] #valid_language?
[ 19s] when checking for a known, valid language
[ 19s] returns true
[ 19s] when checking for an unknown language
[ 19s] returns false
[ 19s] #correct_language
[ 19s] when called with a known, valid language
[ 19s] returns the same unchanged language
[ 19s] when called with an unknown language
[ 19s] reports an error and returns the default fallback language
[ 19s] returns the default fallback language without reporting an error if it is disabled
[ 19s] #Set
[ 19s] when called in inst-sys
[ 19s] sets the new language, encoding integrates inst-sys extension and adapts install.inf
[ 19s] otherwise (running system, AutoYast config, etc.)
[ 19s] sets the new language and encoding
[ 19s] when called in text mode, in first stage, and user wants CJK language
[ 19s] sets language name into its English translation
[ 19s] #Save
[ 19s] updates the .sysconfig.language.INSTALLED_LANGUAGES value
[ 19s] forces writting .sysconfig.language to disk
[ 19s] when language is zh_HK
[ 19s] sets LC_MESSAGES to zh_TW
[ 19s] when LC_MESSAGES is zh_TW
[ 19s] and language is not zh_HK
[ 19s] cleans LC_MESSAGES
[ 19s] when using the readonly_language feature
[ 19s] sets the default language using localectl
[ 19s] in the initial stage
[ 19s] sets the default language using systemd-firstboot
[ 19s] when not using the readonly_language feature
[ 19s] sets the chosen language using localectl
[ 19s] in the initial stage
[ 19s] sets the default language using systemd-firstboot
[ 19s] when the command fails
[ 19s] reports an error
[ 19s] #GetLocaleString
[ 19s] when using UTF-8
[ 19s] returns the full locale
[ 19s] and the language is not found in the database
[ 19s] returns the full locale
[ 19s] and the suffix '@' is already include in the given locale
[ 19s] returns the same locale
[ 19s] when UTF-8 is not being used
[ 19s] returns the full language identifier with no encoding
[ 19s] #ResetRecommendedPackages
[ 19s] resets the recommended packages
[ 19s] #SwitchToEnglishIfNeeded
[ 19s] when running on normal stage
[ 19s] does not change the language
[ 19s] returns false
[ 19s] when not running on textmode
[ 19s] does not change the language
[ 19s] when running on fbiterm
[ 19s] and it is using a supported language
[ 19s] does not change the language
[ 19s] returns false
[ 19s] and it is using a non supported language
[ 19s] changes the language to English
[ 19s] displays an error message if asked to do so
[ 19s] does not display any error message if not asked to do so
[ 19s] returns true
[ 19s] when not running on fbiterm
[ 19s] and it is not using a CJK language
[ 19s] does not change the language
[ 19s] returns false
[ 19s] and it is using a CJK language
[ 19s] changes the language to English
[ 19s] displays an error message if asked to do so
[ 19s] does not display any error message if not asked to do so
[ 19s] returns true
[ 19s] #FillEnglishNames
[ 19s] does not modify the WFM language
[ 19s] #main_language
[ 19s] returns empty string for nil
[ 19s] returns main language for variant with dialect
[ 19s] returns main language for variant with dialect and encoding
[ 19s] returns main language even when it has more then two chars
[ 19s] #Export
[ 19s] returns map with language
[ 19s] returns map with installed languages
[ 19s] returns map with use_utf8 if utf is not used
[ 19s] language settings are default values
[ 19s] exports an empty hash for the AutoYaST profile
[ 19s] #Import
[ 19s] sets language from map
[ 19s] sets utf-8 encoding from map
[ 19s] sets installed languages from map
[ 19s] adds to installed languages language from map
[ 19s] in autoinstallation
[ 19s] sets package locale to imported language
[ 19s] sets additional locales to imported languages
[ 19s] #Summary
[ 19s] returns string with html list
[ 19s] #IncompleteTranslation
[ 19s] returns true if language translation is lower than threshold
[ 19s] returns false otherwise
[ 19s] #GetGivenLanguageCountry
[ 19s] returns country part of passed language
[ 19s] returns upper cased language if country part is missing
[ 19s] #Read
[ 20s] sets initial language
[ 20s] sets initial languages
[ 20s] clears expert settings changed flag
[ 20s] really is set to true
[ 20s] reads language from localed.conf
[ 20s] reads languages from sysconfig
[ 20s] reads utf8 settings during runtime
[ 20s] #MakeProposal
[ 20s] returns array of string with proposal text
[ 20s] force_reset is set to true
[ 20s] sets default language
[ 20s] language changed is set to true
[ 20s] forces read of languages map
[ 20s]
[ 20s] Y2Country::Widgets::LanguageSelection
[ 20s] enlists all available languages
[ 20s] these methods are only tested if they exist
[ 20s] #label
[ 20s] produces a String
[ 20s] #help
[ 20s] produces a String
[ 20s] #opt
[ 20s] produces Symbols
[ 20s] #handle
[ 20s] produces a Symbol or nil
[ 20s] #validate
[ 20s] produces a Boolean (or nil)
[ 20s] #items
[ 20s] produces an array of pairs of strings
[ 20s] #handle
[ 20s] when language remains unchanged
[ 20s] returns nil
[ 20s] when language has been changed
[ 20s] sets the new language
[ 20s] resets the timezones map
[ 20s] when emit_event is set to true and Yast::Mode is not config
[ 20s] returns :redraw
[ 20s] language needed to be switched to English
[ 20s] switch language to english
[ 20s] language does not need to be switched to English
[ 20s] sets console font according to language
[ 20s] sets WFM language according to selected language
[ 20s] selected langauge is nn_NO
[ 20s] it sets WFM language to nb_NO instead
[ 20s] #store
[ 20s] calls #handle method
[ 20s] when emit_event is set to false and Yast::Mode is not config
[ 20s] language needed to be switched to English
[ 20s] switch language to english
[ 20s] language does not need to be switched to English
[ 20s] sets console font according to language
[ 20s] sets WFM language according to selected language
[ 20s] selected langauge is nn_NO
[ 20s] it sets WFM language to nb_NO instead
[ 20s]
[ 20s] Failures:
[ 20s]
[ 20s] 1) Keyboards.all_keyboards returns list with all code valid
[ 20s] Failure/Error: expect(valid_codes).to include(code)
[ 20s] expected ["#", "#", "sg", "nl", "mk-utf", "trq", "uk", "is-latin1", "de", "la-latin1", "us", "ko", "ro-std", "...c", "cn-latin1", "cz-lat2-us", "es-cp850", "ir", "korean", "lt.std", "no-latin1", "ruwin_alt-UTF-8"] to include "es-ast"
[ 20s] # ./keyboard/test/data/keyboard_test.rb:15:in `block (4 levels) in
participants (1)
-
jenkins@suse.de