action #39908
closed[functional][u] Make pkcon / packagekit installation test more explicit
100%
Description
Motivation¶
On font changes like introduced by
https://bugzilla.opensuse.org/show_bug.cgi?id=1105181
many openQA tests fail and some even in very obscure way because the previous needles for an older font do not match anymore in an annoying way, hidden behind a job timeout or that the screen lock kicks in. Problem is that we use "pkcon install" here and need to check for both the exit status as well as for needles to handle the policykit based authentication windows. We thought about executing that only in an explicit test module and using zypper otherwise.
However, that would not reduce the number of needles necessary to maintain, only make it more explicit what is happening
Acceptance Criteria¶
AC1: seperate testmodule to test pkcon is added
AC2: all current scenarios which use pkcon are adapted to use zypper_call instead
Updated by okurz over 6 years ago
- Related to action #36691: [sle12sp4][desktop] Implement test cases for gnome-package-kit/packagekit. added
Updated by mgriessmeier almost 5 years ago
- Description updated (diff)
- Category changed from Enhancement to existing tests to New test
- Status changed from New to Workable
- Target version changed from future to Milestone 31
- Estimated time set to 42.00 h
Updated by zluo over 4 years ago
- Due date set to 2020-07-03
- Start date changed from 2018-08-17 to 2020-07-03
Grund: Änderung an zugehörigem Ticket: #68621
Updated by szarate over 4 years ago
- Related to action #59241: [sle][functional][u] test fails in libqt5_qtbase - pkcon giving a false positive added
Updated by zluo over 4 years ago
- Status changed from Workable to In Progress
- Assignee set to zluo
take over for AC2: all current scenarios which use pkcon are adapted to use zypper_call instead
check where 'pkcon install' is used and then think about replace it
Updated by zluo over 4 years ago
first change in function 'ensure_installed' in lib/susedistribution.pm:
http://10.162.23.47/tests/7902#step/qgis/7
need more verification because of timeout issue for zypper install.
Updated by zluo over 4 years ago
PR for adpat 'pkcon install' by 'zypper in':
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10743
to check verification on osd: https://openqa.suse.de/tests/4482075
Updated by zluo over 4 years ago
- Status changed from In Progress to Resolved
PR merged and got verified:
https://openqa.opensuse.org/tests/1352370
https://openqa.opensuse.org/tests/1353174