See <https://ci.opensuse.org/job/yast-yast-country-master/63/display/redirect?page=changes> Changes: [ancor] Use Yast::Execute to get better logs [Josef Reidinger] Add test to verify keyboard code are valid [Josef Reidinger] fix invalid code [Josef Reidinger] changes [Josef Reidinger] fix mock ------------------------------------------ [...truncated 52.62 KB...] [ 36s] closes the dialog [ 36s] restores the keyboard layout to the previous selected [ 36s] [ 36s] Y2Keyboard::KeyboardLayoutLoader [ 36s] #load_layout [ 36s] set layout temporarily [ 36s] [ 36s] Language::AutoClient [ 36s] #change [ 36s] runs select_language client [ 36s] returns the value from the select_language client [ 36s] #summary [ 36s] returns the AutoYaST summary [ 36s] #import [ 36s] imports the profile [ 36s] #export [ 36s] exports the profile [ 36s] #read [ 36s] reads language information [ 36s] #write [ 36s] writes language information [ 36s] returns the value from the finish client [ 36s] #reset [ 36s] resets the language setting [ 36s] #packages [ 36s] returns an empty hash (no packages to install) [ 36s] #modified? [ 36s] language information is modified ? [ 36s] #modified [ 36s] set to modified [ 36s] [ 36s] Y2Country::Widgets::LanguageSelection [ 36s] enlists all available languages [ 36s] these methods are only tested if they exist [ 36s] #label [ 36s] produces a String [ 36s] #help [ 36s] produces a String [ 36s] #opt [ 36s] produces Symbols [ 36s] #handle [ 36s] produces a Symbol or nil [ 36s] #validate [ 36s] produces a Boolean (or nil) [ 36s] #items [ 36s] produces an array of pairs of strings [ 36s] #handle [ 36s] when language remains unchanged [ 36s] returns nil [ 36s] when language has been changed [ 36s] sets the new language [ 36s] resets the timezones map [ 36s] when emit_event is set to true and Yast::Mode is not config [ 36s] returns :redraw [ 36s] language needed to be switched to English [ 36s] switch language to english [ 36s] language does not need to be switched to English [ 36s] sets console font according to language [ 36s] sets WFM language according to selected language [ 36s] selected langauge is nn_NO [ 36s] it sets WFM language to nb_NO instead [ 36s] #store [ 36s] calls #handle method [ 36s] when emit_event is set to false and Yast::Mode is not config [ 36s] language needed to be switched to English [ 36s] switch language to english [ 36s] language does not need to be switched to English [ 36s] sets console font according to language [ 36s] sets WFM language according to selected language [ 36s] selected langauge is nn_NO [ 36s] it sets WFM language to nb_NO instead [ 36s] [ 36s] Yast::Language [ 36s] #integrate_inst_sys_extension [ 36s] shows UI feedback and extends the inst-sys for selected language [ 36s] #valid_language? [ 36s] when checking for a known, valid language [ 36s] returns true [ 36s] when checking for an unknown language [ 36s] returns false [ 36s] #correct_language [ 36s] when called with a known, valid language [ 36s] returns the same unchanged language [ 36s] when called with an unknown language [ 36s] reports an error and returns the default fallback language [ 36s] returns the default fallback language without reporting an error if it is disabled [ 36s] #Set [ 36s] when called in inst-sys [ 36s] sets the new language, encoding integrates inst-sys extension and adapts install.inf [ 36s] otherwise (running system, AutoYast config, etc.) [ 36s] sets the new language and encoding [ 36s] when called in text mode, in first stage, and user wants CJK language [ 36s] sets language name into its English translation [ 36s] #Save [ 36s] updates the .sysconfig.language.INSTALLED_LANGUAGES value [ 36s] forces writting .sysconfig.language to disk [ 36s] when language is zh_HK [ 36s] sets LC_MESSAGES to zh_TW [ 36s] when LC_MESSAGES is zh_TW [ 36s] and language is not zh_HK [ 36s] cleans LC_MESSAGES [ 36s] when using the readonly_language feature [ 36s] sets the default language using localectl [ 36s] in the initial stage [ 36s] sets the default language using systemd-firstboot [ 36s] when not using the readonly_language feature [ 36s] sets the chosen language using localectl [ 36s] in the initial stage [ 36s] sets the default language using systemd-firstboot [ 36s] when the command fails [ 37s] reports an error [ 37s] #GetLocaleString [ 37s] when using UTF-8 [ 37s] returns the full locale [ 37s] and the language is not found in the database [ 37s] returns the full locale [ 37s] and the suffix '@' is already include in the given locale [ 37s] returns the same locale [ 37s] when UTF-8 is not being used [ 37s] returns the full language identifier with no encoding [ 37s] #ResetRecommendedPackages [ 37s] resets the recommended packages [ 37s] #SwitchToEnglishIfNeeded [ 37s] when running on normal stage [ 37s] does not change the language [ 37s] returns false [ 37s] when not running on textmode [ 37s] does not change the language [ 37s] when running on fbiterm [ 37s] and it is using a supported language [ 37s] does not change the language [ 37s] returns false [ 37s] and it is using a non supported language [ 37s] changes the language to English [ 37s] displays an error message if asked to do so [ 37s] does not display any error message if not asked to do so [ 37s] returns true [ 37s] when not running on fbiterm [ 37s] and it is not using a CJK language [ 37s] does not change the language [ 37s] returns false [ 37s] and it is using a CJK language [ 37s] changes the language to English [ 37s] displays an error message if asked to do so [ 37s] does not display any error message if not asked to do so [ 37s] returns true [ 37s] #FillEnglishNames [ 37s] does not modify the WFM language [ 37s] #main_language [ 37s] returns empty string for nil [ 37s] returns main language for variant with dialect [ 37s] returns main language for variant with dialect and encoding [ 37s] returns main language even when it has more then two chars [ 37s] #Export [ 37s] returns map with language [ 37s] returns map with installed languages [ 37s] returns map with use_utf8 if utf is not used [ 37s] language settings are default values [ 37s] exports an empty hash for the AutoYaST profile [ 37s] #Import [ 37s] sets language from map [ 37s] sets utf-8 encoding from map [ 37s] sets installed languages from map [ 37s] adds to installed languages language from map [ 37s] in autoinstallation [ 37s] sets package locale to imported language [ 37s] sets additional locales to imported languages [ 37s] #Summary [ 37s] returns string with html list [ 37s] #IncompleteTranslation [ 37s] returns true if language translation is lower than threshold [ 37s] returns false otherwise [ 37s] #GetGivenLanguageCountry [ 37s] returns country part of passed language [ 37s] returns upper cased language if country part is missing [ 37s] #Read [ 37s] sets initial language [ 37s] sets initial languages [ 37s] clears expert settings changed flag [ 37s] really is set to true [ 37s] reads language from localed.conf [ 37s] reads languages from sysconfig [ 37s] reads utf8 settings during runtime [ 37s] #MakeProposal [ 37s] returns array of string with proposal text [ 37s] force_reset is set to true [ 37s] sets default language [ 37s] language changed is set to true [ 37s] forces read of languages map [ 37s] [ 37s] Yast::Console [ 37s] #SelectFont [ 37s] sets console fonts for the given language [ 37s] returns the encoding [ 37s] when no console font is available [ 37s] does not set the console font [ 37s] returns the encoding [ 37s] when using a product with a decidated console map [ 37s] sets console fonts for the given language [ 37s] when using braille [ 37s] runs /usr/bin/setfont [ 37s] [ 37s] Failures: [ 37s] [ 37s] 1) Keyboards.all_keyboards returns list with all code valid [ 37s] Failure/Error: expect(valid_codes).to include(code) [ 37s] 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" [ 37s] # ./keyboard/test/data/keyboard_test.rb:15:in `block (4 levels) in <top (required)>' [ 37s] # ./keyboard/test/data/keyboard_test.rb:13:in `each' [ 37s] # ./keyboard/test/data/keyboard_test.rb:13:in `block (3 levels) in <top (required)>' [ 37s] [ 37s] Finished in 2.44 seconds (files took 0.93042 seconds to load) [ 37s] 252 examples, 1 failure [ 37s] [ 37s] Failed examples: [ 37s] [ 37s] rspec ./keyboard/test/data/keyboard_test.rb:9 # Keyboards.all_keyboards returns list with all code valid [ 37s] [ 37s] rake aborted! [ 37s] Command failed with status (1): [rspec --color --format doc 'timezone/test/...] [ 37s] [ 37s] Tasks: TOP => test:unit [ 37s] (See full trace by running task with --trace) [ 37s] error: Bad exit status from /var/tmp/rpm-tmp.dOF7Fg (%check) [ 37s] [ 37s] [ 37s] RPM build errors: [ 37s] Bad exit status from /var/tmp/rpm-tmp.dOF7Fg (%check) [ 37s] [ 37s] yast-jenkins failed "build yast2-country.spec" at Thu Mar 11 14:50:47 UTC 2021. [ 37s] The buildroot was: /var/tmp/build-root/openSUSE_Factory-x86_64 rm -rf YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.opensuse.org/' b...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Result: PID 26416 exited with value 1 Scanning for a pull request... Found pull request #266 Adding comment ":x: Public Jenkins [job #63](https://ci.opensuse.org/job/yast-yast-country-master/63/) failed" to pull request https://github.com/yast/yast-country/pull/266 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-country/issues/266/comments... OK Success Build step 'Execute shell' marked build as failure Not sending mail to unregistered user ancor@suse.de