Project

General

Profile

action #39908

[functional][u] Make pkcon / packagekit installation test more explicit

Added by okurz about 3 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Target version:
SUSE QA - Milestone 31
Start date:
2020-07-03
Due date:
% Done:

100%

Estimated time:
42.00 h (Total: 84.00 h)
Difficulty:

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


Subtasks

action #68621: [sle][functional][u] Add a seperate testmodule to test pkconResolvedzluo


Related issues

Related to openQA Tests - action #36691: [sle12sp4][desktop] Implement test cases for gnome-package-kit/packagekit.Rejected2018-06-01

Related to openQA Tests - action #59241: [sle][functional][u] test fails in libqt5_qtbase - pkcon giving a false positiveRejected2019-11-08

History

#1 Updated by okurz about 3 years ago

  • Related to action #36691: [sle12sp4][desktop] Implement test cases for gnome-package-kit/packagekit. added

#2 Updated by mgriessmeier over 1 year 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

#3 Updated by zluo about 1 year 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

#4 Updated by szarate about 1 year ago

  • Related to action #59241: [sle][functional][u] test fails in libqt5_qtbase - pkcon giving a false positive added

#5 Updated by zluo about 1 year 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

#6 Updated by zluo about 1 year 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.

#8 Updated by zluo about 1 year 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

#9 Updated by zluo about 1 year ago

ready to review or merge.

#10 Updated by zluo about 1 year ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF