See https://ci.suse.de/job/yast-yast-registration-master/48/display/redirect?page=changes
Changes:
[Stefan.Hundhammer] Added missing require (bsc#1167945)
[Stefan.Hundhammer] Version bump and change log
[lslezak] Adapt Rakefile and Dockerfile for SLE-15-SP2
[jreidinger] allow optional types for string and map
[jreidinger] changes
[mvidner] Declining/refusal of an addon license means canceling all addons.
[mvidner] version + changelog
[mvidner] More yardoc
[jreidinger] do not use directly profile
[noreply] Evaluating addon-list: Uses version without release for connecting SCC
[igonzalezsosa] Extract Registration::Storage::Config to its own file
[igonzalezsosa] Extend Config to read settings from the current system
[igonzalezsosa] Update RuboCop configuration
[igonzalezsosa] The scc_auto client uses the Config#read method
[igonzalezsosa] Extend Storage::Config documentation
[igonzalezsosa] Set the scc module as clonable
[jreidinger] changes
[jreidinger] update dependencies
[jreidinger] add comment about lazy loading
[igonzalezsosa] Export the registration code in the addons list
[igonzalezsosa] Do not export empty elements in <suse_register/>
[igonzalezsosa] Bump version and update changes file
[igonzalezsosa] Do not try to export a nil reg_code
[igonzalezsosa] Reduce Config#addons_from_system cognitive complexity
[jreidinger] handle exceptions from xml parser
[jreidinger] changes
------------------------------------------ [...truncated 81.73 KB...] [ 20s] shows the eula [ 20s] [ 20s] Registration::UI::NotInstalledProductsDialog [ 20s] #run [ 20s] when there is a registered but not installed product [ 20s] displays a product summary popup [ 20s] [ 20s] Registration::UI::FailedCertificatePopup [ 20s] #show [ 20s] displays the certificate details [ 20s] displays the certificate import hints [ 20s] suggests to call the install_ssl_certificates script in inst-sys [ 20s] .show [ 20s] displays the failed certificate popup [ 20s] [ 20s] Registration::Dialogs::OnlineSearchSummary [ 20s] #contents [ 20s] produces a Term [ 20s] #title [ 20s] produces a String or nil [ 20s] #back_button [ 20s] produces a String or nil [ 20s] #abort_button [ 20s] produces a String or nil [ 20s] #next_button [ 20s] produces a String or nil [ 20s] #skip_store_for [ 20s] produces an Array [ 20s] #contents [ 20s] includes a list of addons [ 20s] includes a list of packages [ 20s] when the list of addons is empty [ 20s] does not include a list of addons [ 20s] when the list of packages is empty [ 20s] does not include a list of packages [ 20s] [ 20s] Registration::Dialogs::OnlineSearch [ 20s] #selected_packages [ 20s] when the user aborts the search [ 20s] returns an empty array [ 20s] when the user selects some packages for installation [ 20s] returns the selected packages [ 20s] [ 20s] Registration::Controllers::PackageSearch [ 20s] #search [ 20s] returns the list of packages from SCC [ 20s] when text contains leading and/or trailing spaces [ 20s] performs the package search ignoring them [ 20s] #toggle_package [ 20s] when the package is not selected for installation [ 20s] and the addon is already registered [ 20s] adds the package to the list of packages to install [ 20s] when the addon is not registered [ 20s] but the user accepts to register the addon [ 20s] adds the package to the list of packages to install [ 20s] selects the addon for registration [ 20s] and the user refuses to register the addon [ 20s] does not add the package to the list of packages to install [ 20s] does not select the addon for registration [ 20s] when the addon is selected for registration [ 20s] does not ask about registering the addon [ 20s] adds the package to the list of packages to install [ 20s] when the addon is auto selected for registration [ 20s] does not ask about registering the addon [ 20s] selects the addon [ 20s] adds the package to the list of packages to install [ 20s] when the package is already selected for installation [ 20s] and the package is already selected [ 20s] unselects the package [ 20s] and the addon is still needed [ 20s] does not unselect the addon [ 20s] and the addon is not needed anymore [ 20s] and the user agrees to unselect it [ 20s] unselects the addon [ 20s] and the user wants to keep the addon [ 20s] does not unselect the addon [ 20s] when an already installed package is selected for installation [ 20s] does not select the package [ 20s] [ 20s] Registration::EulaReader [ 20s] #current_language [ 20s] returns the current language if there is a license for it [ 20s] returns the country fallback if the current language is missing [ 20s] returns 'en_US' fallback if the current language and country is missing [ 20s] returns 'en' fallback if 'en_US' fallback is missing [ 20s] returns any present translation when no English fallback is found [ 20s] [ 20s] discover_registration_services client [ 20s] when no SLP server is annnounced [ 20s] returns nil and does not ask the user [ 20s] when a SLP server is present [ 20s] returns the SLP server selected by user [ 20s] returns :cancel when the SLP dialog is canceled [ 20s] [ 20s] Registration::UI::BaseSystemRegistrationDialog [ 20s] .run [ 20s] runs the dialog [ 20s] #run [ 20s] when system is not registered [ 20s] limits the reg_code InputField to 512 [ 20s] when user enters a correct regcode [ 20s] registers the base system with provided email and reg. code [ 20s] when user enters a wrong regcode [ 20s] does not register the system [ 20s] when user enters an invalid regcode [ 20s] displays error popup and does not register the system [ 20s] when user sets a registration URL through regurl= parameter [ 20s] uses the given URL to register the system [ 20s] when user enters a local RMT server [ 20s] registers the system via local RMT server [ 20s] when user enters an invalid local RMT server [ 20s] shows an error and does not try to register the system [ 20s] when user skips registration [ 20s] does not try to register the system and closes the dialog [ 20s] Online installation medium [ 20s] when full_system_media_name and full_system_download_url is defined in control.xml [ 20s] reports the media name and the download url to the user [ 20s] when full_system_media_name and full_system_download_url is NOT defined in control.xml [ 20s] does not mention any media information [ 20s] Full installation medium [ 20s] suggests selecting the repositories from the medium [ 20s] when system is already registered [ 20s] in installation mode [ 20s] disables widgets [ 20s] skips the SLP discovery [ 20s] [ 20s] Registration::FinishDialog [ 20s] #run [ 20s] raises RuntimeError if unknown action passed as first parameter [ 20s] first paramater "Info" [ 20s] returns info entry hash with scenarios in "when" key [ 20s] first parameter "Write" [ 20s] do nothing if system is not registered [ 20s] the system is registered [ 20s] creates at target system configuration for suse connect [ 20s] restores the repository setup [ 20s] removes the old NCC credentials [ 20s] [ 20s] Registration::UI::RegistrationUpdateDialog [ 20s] .run [ 20s] updates system registration, base and add-on products [ 20s] [ 20s] Registration::UI::MigrationReposSelectionDialog [ 20s] .run [ 20s] displays the configured repositories and returns the user input [ 20s] configures the selected repositories for distribution upgrade [ 20s] starts the repository manager when the respective button is pressed [ 20s] [ 20s] scc client [ 20s] the system is already registered [ 20s] returns :abort when closing the status dialog [ 20s] [ 20s] Yast::InstSccClient [ 20s] the system is already registered [ 20s] returns :abort when closing the status dialog [ 20s] displays an error when loading the available extensions fails [ 20s] goes back to initial screen when aborting selection of url [ 20s] the system is updating reusing old credentials [ 20s] switchs to manual registration when aborting selection of url [ 20s] [ 20s] Registration::RegistrationUI [ 20s] #register_system_and_base_product [ 20s] registers the system using the provided registration code [ 20s] #get_available_addons [ 20s] returns available addons [ 20s] #update_system [ 20s] updates the system registration with the new target distro [ 20s] resets registration credentials and registration url in case of failure [ 20s] #update_base_product [ 20s] updates the base product registration [ 20s] resets registration credentials in case of failure [ 20s] #register_addons [ 20s] when the addons are free [ 20s] does not ask for reg. code if all addons are free [ 20s] returns :next if everything goes fine [ 20s] returns :back if some registration failed [ 20s] when the addons need reg. code [ 20s] returns :next if everything goes fine [ 20s] keep asking for a reg. code if some reg. code failed [ 20s] #try_register_addons [ 20s] for a non-free product without a known regcode [ 21s] uses the base product regcode [ 21s] #migration_products [ 21s] returns migration products from the server with UI feedback [ 21s] #downgrade_product [ 21s] displays UI feedback and downgrades the product [ 21s] #synchronize_products [ 21s] displays UI feedback and synchronizes the products [ 21s] registered_addons_to_rollback [ 21s] returns an empty array in case of not 'registered but not installed' addons [ 21s] returns an empty array if the user doesn't want to rollback the obtained addons [ 21s] returns an array with all the registered but not installed addons if user accepts [ 21s] [ 21s] Registration::UI::ImportCertificateDialog [ 21s] .run [ 21s] displays the certificate details and returns the user input [ 21s] [ 21s] Failures: [ 21s] [ 21s] 1) Registration::RegistrationCodesLoader#reg_codes_from_xml returns nil if xml is not valid [ 21s] Failure/Error: allow(Yast::XML).to receive(:XMLToYCPFile).and_raise(Yast::XMLDeserializationError) [ 21s] [ 21s] NameError: [ 21s] uninitialized constant Yast::XMLDeserializationError [ 21s] # ./test/registration_codes_loader_spec.rb:147:in `block (3 levels) in <top (required)>' [ 21s] [ 21s] Finished in 4.89 seconds (files took 3.92 seconds to load) [ 21s] 640 examples, 1 failure [ 21s] [ 21s] Failed examples: [ 21s] [ 21s] rspec ./test/registration_codes_loader_spec.rb:146 # Registration::RegistrationCodesLoader#reg_codes_from_xml returns nil if xml is not valid [ 21s] [ 21s] rake aborted! [ 21s] Command failed with status (1): [rspec --color --format doc 'test/wizard_cl...] [ 21s] [ 21s] Tasks: TOP => test:unit [ 21s] (See full trace by running task with --trace) [ 21s] error: Bad exit status from /var/tmp/rpm-tmp.QVAVSj (%check) [ 21s] [ 21s] [ 21s] RPM build errors: [ 21s] Bad exit status from /var/tmp/rpm-tmp.QVAVSj (%check) [ 21s] [ 21s] vm-yast-ci-worker failed "build yast2-registration.spec" at Tue Aug 11 08:13:56 UTC 2020. [ 21s]
The buildroot was: /var/tmp/build-root/SUSE_SLE-15-SP3_GA-x86_64 rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...]
Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Result: PID 15516 exited with value 1 Scanning for a pull request... Found pull request #503 Adding comment ":x: Internal Jenkins [job #48](https://ci.suse.de/job/yast-yast-registration-master/48/) failed" to pull request https://github.com/yast/yast-registration/pull/503 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-registration/issues/503/comments... OK Success Build step 'Execute shell' marked build as failure Not sending mail to unregistered user lslezak@suse.cz Not sending mail to unregistered user Stefan.Hundhammer@gmx.de Not sending mail to unregistered user mvidner@suse.cz Not sending mail to unregistered user jreidinger@suse.cz Not sending mail to unregistered user noreply@github.com Not sending mail to unregistered user igonzalezsosa@suse.com
See https://ci.suse.de/job/yast-yast-registration-master/49/display/redirect?page=changes
Changes:
[schubi] utoYaST: Added supplements: autoyast(suse_register) into the spec file
------------------------------------------ Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on yast-nbg-head1 (yast-head yast-pot libstorage libyui snapper) in workspace https://ci.suse.de/job/yast-yast-registration-master/ws/ No credentials specified
git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
git config remote.origin.url https://github.com/yast/yast-registration.git # timeout=10
Pruning obsolete local branches Fetching upstream changes from https://github.com/yast/yast-registration.git
git --version # timeout=10 git fetch --tags --progress --prune -- https://github.com/yast/yast-registration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 7a5158da76bf332155d5b59b9674b2ad254e84ca (origin/master)
git config core.sparsecheckout # timeout=10 git checkout -f 7a5158da76bf332155d5b59b9674b2ad254e84ca # timeout=10
Commit message: "Merge pull request #505 from yast/master-bsc-1146494"
git rev-list --no-walk 577e6a808782db9aa1b14fcdf072dcb329f64b0d # timeout=10
Cleaning workspace
git rev-parse --verify HEAD # timeout=10
Resetting working tree
git reset --hard # timeout=10 git clean -fdx # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content YAST_SUBMIT=sle_latest
[EnvInject] - Variables injected successfully. [EnvInject] - Mask passwords that will be passed as build parameters. [yast-yast-registration-master] $ /bin/sh -xe /tmp/jenkins747793832624480015.sh + cd https://ci.suse.de/job/yast-yast-registration-master/ws/ + LC_ALL=en_US.UTF-8 + /usr/local/bin/jenkins_status_comment.rb rake osc:sr * Starting syntax check... * Done * Making tarball https://ci.suse.de/job/yast-yast-registration-master/ws/package/yast2-registration-4.3.6.tar.bz2 ... * ...Done osc -A 'https://api.suse.de/' --traceback checkout 'Devel:YaST:Head' yast2-registration
All files have proper license reference. A Devel:YaST:Head A Devel:YaST:Head/yast2-registration A Devel:YaST:Head/yast2-registration/yast2-registration-4.2.40.tar.bz2 A Devel:YaST:Head/yast2-registration/yast2-registration.changes A Devel:YaST:Head/yast2-registration/yast2-registration.spec At revision 368. rm https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration/yast2-registration.spec rm https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration/yast2-registration.changes rm https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration/yast2-registration-4.2.40.tar.bz2 cp package/yast2-registration.spec https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration cp package/yast2-registration.changes https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration cp package/yast2-registration-4.3.6.tar.bz2 https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration osc -A 'https://api.suse.de/' addremove A yast2-registration-4.3.6.tar.bz2 D yast2-registration-4.2.40.tar.bz2 osc -A 'https://api.suse.de/' cat 'SUSE:SLE-15-SP3:GA' 'yast2-registration' 'yast2-registration.spec' > /tmp/yast-rake20200811-16443-5d9z5o Checking IDs in *.changes file Version has been changed in *.spec file osc -A 'https://api.suse.de/' cat 'SUSE:SLE-15-SP3:GA' 'yast2-registration' 'yast2-registration.changes' | diff - 'yast2-registration.changes' rm -rf Devel:YaST:Head cleaning * Starting osc check... osc -A 'https://api.suse.de/' --traceback checkout 'Devel:YaST:Head' yast2-registration * Done. Everything looks good. A Devel:YaST:Head A Devel:YaST:Head/yast2-registration A Devel:YaST:Head/yast2-registration/yast2-registration-4.2.40.tar.bz2 A Devel:YaST:Head/yast2-registration/yast2-registration.changes A Devel:YaST:Head/yast2-registration/yast2-registration.spec At revision 368. rm https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration/yast2-registration.spec rm https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration/yast2-registration.changes rm https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration/yast2-registration-4.2.40.tar.bz2 cp package/yast2-registration.spec https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration cp package/yast2-registration.changes https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration cp package/yast2-registration-4.3.6.tar.bz2 https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration osc -A 'https://api.suse.de/' addremove A yast2-registration-4.3.6.tar.bz2 D yast2-registration-4.2.40.tar.bz2 mkdir -p /var/tmp/Devel:YaST:Head/SUSE_SLE-15-SP3_GA yes | osc -A 'https://api.suse.de/' build --no-verify --release=1 --keep-pkgs=/var/tmp/Devel:YaST:Head/SUSE_SLE-15-SP3_GA SUSE_SLE-15-SP3_GA Building package yast2-registration from project Devel:YaST:Head building package... Building yast2-registration.spec for SUSE_SLE-15-SP3_GA/x86_64 Getting buildinfo from server and store to https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration/.osc/_buildinfo-SUSE_SLE-15-SP3_GA-x86_64.xml Getting buildconfig from server and store to https://ci.suse.de/job/yast-yast-registration-master/ws/Devel:YaST:Head/yast2-registration/.osc/_buildconfig-SUSE_SLE-15-SP3_GA-x86_64 buildinfo is broken... it says: unresolvable: yast2 conflicts with yast2-packager yast2 conflicts with yast2-update rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...]
Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Result: PID 16442 exited with value 1 Scanning for a pull request... Found pull request #505 Adding comment ":x: Internal Jenkins [job #49](https://ci.suse.de/job/yast-yast-registration-master/49/) failed" to pull request https://github.com/yast/yast-registration/pull/505 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-registration/issues/505/comments... OK Success Build step 'Execute shell' marked build as failure Not sending mail to unregistered user lslezak@suse.cz Not sending mail to unregistered user Stefan.Hundhammer@gmx.de Not sending mail to unregistered user mvidner@suse.cz Not sending mail to unregistered user jreidinger@suse.cz Not sending mail to unregistered user schubi@suse.de Not sending mail to unregistered user noreply@github.com Not sending mail to unregistered user igonzalezsosa@suse.com
yast-commit@lists.opensuse.org