Project

General

Profile

Actions

action #39908

closed

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

Added by okurz over 5 years ago. Updated over 3 years 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 1 (0 open1 closed)

action #68621: [sle][functional][u] Add a seperate testmodule to test pkconResolvedzluo2020-07-03

Actions

Related issues 2 (0 open2 closed)

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

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

Actions
Actions #1

Updated by okurz over 5 years ago

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

Updated by mgriessmeier about 4 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
Actions #3

Updated by zluo over 3 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

Actions #4

Updated by szarate over 3 years ago

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

Updated by zluo over 3 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

Actions #6

Updated by zluo over 3 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.

Actions #8

Updated by zluo over 3 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

Actions #9

Updated by zluo over 3 years ago

ready to review or merge.

Actions #10

Updated by zluo over 3 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF