Build failed in Jenkins: yast-yast-registration-master #122
See <https://ci.opensuse.org/job/yast-yast-registration-master/122/display/redirect?page=changes> Changes: [jacek.tomasiak] Make tests compatible with libsuseconnect ------------------------------------------ [...truncated 78.74 KB...] [ 22s] returns list of repositories belonging to a service [ 22s] optionally returns only update repositories [ 22s] .installer_update_base_product [ 22s] returns nil if the given self_update_id is empty [ 22s] when there is no base product available [ 22s] returns nil [ 22s] when there is some product available [ 23s] returns a hash with the product keys 'name', 'version', 'arch' and 'release_type' [ 23s] uses the given self_update_id as the product name returned [ 23s] .base_product_to_register [ 23s] returns nil if not able to find a product [ 23s] returns base product base version and release_type [ 23s] .add_services [ 23s] it creates a new service if the service does not exist yet [ 23s] updates the existing service if the service already exists [ 23s] .copy_old_credentials [ 23s] does not fail when the old credentials are missing [ 23s] does not fail when the old credentials file cannot be copied [ 23s] copies old NCC credentials at upgrade [ 23s] prefers the SCC credentials if both NCC and SCC credentials are present [ 23s] copies old SCC credentials at upgrade [ 23s] copies old SMT/RMT credentials at upgrade [ 23s] .find_addon_updates [ 23s] returns new available addons for installed addons [ 23s] .select_addon_products [ 23s] selects new addon products for installation [ 23s] selects the default patterns for the selected products [ 23s] runs the solver to initialize the product statuses [ 23s] when no services list is given [ 23s] defaults to the cached list of addon services [ 23s] during update [ 23s] does not select default patterns for the selected products [ 23s] .products_from_repo [ 23s] Returns product resolvables from the specified repository [ 23s] Returns empty list if not product is found [ 23s] .select_product_addons [ 23s] selects remote addons matching the product resolvables [ 23s] reports an error when the matching remote addon is not found [ 23s] .installed_products [ 23s] returns installed products [ 23s] .find_base_product [ 23s] in installed system [ 23s] returns installed products [ 23s] at installation [ 23s] returns the selected product if a product is selected [ 23s] returns the product from the installation medium if no product is selected [ 23s] ignores a selected product not marked by the `system-installation()` provides [ 23s] on the online installation medium [ 23s] reads the base product from control.xml [ 23s] .remove_service [ 23s] removes the service and saves the repository configuration [ 23s] raises an exception when saving failes after service removal [ 23s] .service_installed? [ 23s] returns true if the service is installed [ 23s] returns false if the service is not installed [ 23s] .set_repos_state [ 23s] sets the repository state and stores the original state [ 23s] .update_product_renames [ 23s] forwards the product renames to the AddOnProduct module [ 23s] .check_repositories [ 23s] refreshes all repositories with autorefresh enabled [ 23s] returns true if all repositores refresh [ 23s] a repository refresh fails [ 23s] asks the user when a repository refresh fails [ 23s] returns false if user select aborting the migration [ 23s] disables the failed repo if user selects skipping it [ 23s] returns true if user selects skipping the failed repo [ 23s] remembers to re-enable the failed repo after migration [ 23s] .remote_product [ 23s] converts a Hash into OpenStruct [ 23s] includes the version release [ 23s] does not includes the version release if 'version_release' parameter is false [ 23s] .version_without_release [ 23s] product can be found in libzypp stack [ 23s] returns version number without release [ 23s] product cannot be found in libzypp stack [ 23s] returns original version number at least [ 23s] [ 23s] Registration::UI::AddonSelectionRegistrationDialog [ 23s] #initialize [ 23s] sets the development filter to the previous state [ 23s] .run [ 23s] returns response from addon selection according to pressed button [ 23s] returns `:skip` if no addon is selected and user click next [ 23s] returns `:next` if some addons are selected and user click next [ 23s] works in textmode [ 23s] recomputes auto_selection after each widget change [ 23s] a recommended addon is available [ 23s] preselects the recommended addons [ 23s] does not preselect the recommended addons if something is already selected [ 23s] does not preselect the recommended addons if something is already registered [ 23s] when development versions are not filtered [ 23s] sets the filter as not checked in the UI [ 23s] displays development add-ons [ 23s] when development versions are filtered [ 23s] sets the filter as checked in the UI [ 23s] does not display development add-ons that are not registered [ 23s] display registered development add-ons [ 23s] displays recommended development add-ons [ 23s] displays auto-selected development add-ons [ 23s] when there is no development versions to filter [ 23s] shows no filter in the UI [ 23s] #handle_dialog [ 23s] filters development releases [ 23s] [ 23s] Registration::Registration [ 23s] #register [ 23s] registers the system using the provided registration code (FAILED - 1) [ 23s] #register_product [ 23s] it should behave like add_product [ 23s] adds the selected product and returns added zypp services [ 23s] does not add the target system prefix if not at upgrade [ 23s] #upgrade_product [ 23s] it should behave like add_product [ 23s] adds the selected product and returns added zypp services [ 23s] does not add the target system prefix if not at upgrade [ 23s] #update_system [ 23s] updates the system registration with the new target distro [ 23s] #activated_products [ 23s] returns list of activated products [ 23s] #get_addon_list [ 23s] no base product found [ 23s] returns empty list if no base product is found [ 23s] a base product is found [ 23s] downloads available extensions [ 23s] uses version without release for connecting SCC [ 23s] #verify_callback [ 23s] stores the SSL error details [ 23s] logs the exception raised inside [ 23s] #migration_products [ 23s] returns migration products from the server [ 23s] #get_updates_list [ 23s] returns an empty list if no base product is available or selected [ 23s] when the control file defines a self_update_id [ 23s] returns updates list from the server for the self update id [ 23s] when the control file does not define a self_update_id [ 23s] returns updates list from the server for the base product [ 23s] when an exception connecting to the server takes place [ 23s] does not catch the error [ 23s] #synchronize_products [ 23s] synchronizes the local products with the server [ 23s] #downgrade_product [ 23s] downgrades the product registration [ 23s] .is_registered? [ 23s] returns true if the global credentials file exists [ 23s] returns false if the global credentials file does not exist [ 23s] .allowed? [ 23s] when system is not registered yet [ 23s] returns true [ 23s] when system is already registered [ 23s] and running in normal mode [ 23s] returns true [ 23s] and running in firstboot stage [ 23s] returns true [ 23s] but running neither in normal mode nor in firstboot stage [ 23s] returns false [ 23s] [ 23s] Registration::Releasever [ 23s] #activate [ 23s] exports the new $releasever value in the environment [ 23s] refreshes the repositories containing $releasever in the URL [ 23s] refreshes the repositories containing a complex $releasever in the URL [ 23s] refreshes the repositories containing an expression in the URL [ 23s] skips repository reload if $releasever is not used in any repository [ 23s] .set? [ 23s] returns false if the $releasever has not been set [ 23s] returns true if the $releasever has been set [ 23s] [ 23s] Registration::FinishDialog [ 23s] #run [ 23s] raises RuntimeError if unknown action passed as first parameter [ 23s] first paramater "Info" [ 23s] returns info entry hash with scenarios in "when" key [ 23s] first parameter "Write" [ 23s] do nothing if system is not registered [ 23s] the system is registered [ 23s] creates at target system configuration for suse connect [ 23s] restores the repository setup [ 23s] removes the old NCC credentials [ 23s] [ 23s] Registration::MigrationRepositories [ 23s] .reset [ 23s] resets the selected packages [ 23s] #activate_services [ 23s] activates the specified services for upgrade [ 23s] preselects patches if configured to install them [ 23s] disables update repositories if updates should not be installed [ 23s] keeps module update repositories enabled eventhough updates should not be installed [ 23s] #activate_repositories [ 23s] activates the specified repositories and disables the rest [ 23s] preselects patches if configured to install them [ 23s] does not preselect patches if configured to skip them [ 23s] [ 23s] Registration::EulaReader [ 23s] #current_language [ 23s] returns the current language if there is a license for it [ 23s] returns the country fallback if the current language is missing [ 23s] returns 'en_US' fallback if the current language and country is missing [ 23s] returns 'en' fallback if 'en_US' fallback is missing [ 23s] returns any present translation when no English fallback is found [ 23s] [ 23s] Failures: [ 23s] [ 23s] 1) Registration::Registration#register registers the system using the provided registration code [ 23s] Failure/Error: Registration::Registration.new.register("email", reg_code, target_distro) [ 23s] [ 23s] Errno::EACCES: [ 23s] Permission denied @ rb_sysopen - /etc/zypp/credentials.d/SCCcredentials [ 23s] # ./src/lib/registration/registration.rb:63:in `register' [ 23s] # ./test/registration_spec.rb:23:in `block (3 levels) in <top (required)>' [ 23s] [ 23s] Finished in 6.18 seconds (files took 1.81 seconds to load) [ 23s] 663 examples, 1 failure [ 23s] [ 23s] Failed examples: [ 23s] [ 23s] rspec ./test/registration_spec.rb:13 # Registration::Registration#register registers the system using the provided registration code [ 23s] [ 23s] rake aborted! [ 23s] Command failed with status (1): [rspec --color --format doc 'test/repo_stat...] [ 23s] [ 23s] Tasks: TOP => test:unit [ 23s] (See full trace by running task with --trace) [ 23s] error: Bad exit status from /var/tmp/rpm-tmp.49QpgA (%check) [ 23s] [ 23s] [ 23s] RPM build errors: [ 23s] Bad exit status from /var/tmp/rpm-tmp.49QpgA (%check) [ 23s] [ 23s] yast-jenkins failed "build yast2-registration.spec" at Tue Nov 30 09:42:05 UTC 2021. [ 23s] The buildroot was: /var/tmp/build-root/openSUSE_Factory-x86_64 rm -rf YaST:Head rake aborted! Command failed with status (1): [echo -e 'y\ny\ny\n' | osc -A 'https://api....] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Result: PID 13052 exited with value 1 Scanning for a pull request... Found pull request #548 Adding comment ":x: Public Jenkins [job #122](https://ci.opensuse.org/job/yast-yast-registration-master/122/) failed" to pull request https://github.com/yast/yast-registration/pull/548 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-registration/issues/548/comments... OK Success Build step 'Execute shell' marked build as failure Not sending mail to unregistered user jacek.tomasiak@gmail.com
participants (1)
-
admin@opensuse.org