New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix updates_packagekit_gpk for sles 15 #4445
Fix updates_packagekit_gpk for sles 15 #4445
Conversation
Please call |
run make test prepare locally, no compilation failure for this file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix one trivial issue and rebase. This should retrigger travis CI checks and work now as the broken perltidy version is avoided
@@ -43,8 +43,11 @@ sub tell_packagekit_to_quit { | |||
# Update with GNOME PackageKit Update Viewer | |||
sub run { | |||
my ($self) = @_; | |||
# updates_packagekit_gpk is disabled for SLE15 because of bsc#1060844 | |||
return record_soft_failure 'bsc#1060844' if sle_version_at_least('15') && is_sle(); | |||
if (sle_version_at_least('15') && is_sle) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use more common order is_sle && sle_version_at_least('15')
- remove softfailure for bsc#1060844 - provide a workaround for bsc#1081584 - see poo#17712 for more details - verification run: http://e13.suse.de/tests/373#step/updates_packagekit_gpk - needle PR: https://gitlab.suse.de/openqa/os-autoinst-needles-sles/merge_requests/712
@okurz yes, updated now, thanks |
if (is_sle && sle_version_at_least('15')) { | ||
select_console 'root-console'; | ||
zypper_call("in gnome-packagekit", timeout => 90); | ||
record_soft_failure 'bsc#1081584'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually this code is wrong because the zypper in call will just ignore if the package actually is there so the soft-failure is shown regardless which it shouldn't be. See http://lord.arch.suse.de/tests/610#step/updates_packagekit_gpk/11 for an example showing the bug even though gnome-packagekit is already installed as a package. please fix by checking the return values of the zypper_call
http://e13.suse.de/tests/373#step/updates_packagekit_gpk
https://gitlab.suse.de/openqa/os-autoinst-needles-sles/merge_requests/712