Project

General

Profile

Actions

action #47342

closed

coordination #47195: [sle][migration][functional][u][epic] check orphaned_packages_check.pm for SLE installation tests

[functional][u][easy] Consolidate orphaned_packages_check.pm schedule

Added by okurz almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Target version:
SUSE QA - Milestone 24
Start date:
2019-02-11
Due date:
% Done:

0%

Estimated time:
Difficulty:
easy

Description

Motivation

See parent ticket #47195 . We have the module triggered in quite some different places, should be fine to consolidate that

Acceptance criteria

  • AC1: orphaned_packages_check is called in less different places

Suggestions

Currently we have

$ git grep orphaned
lib/main_common.pm:    loadtest "console/orphaned_packages_check" if is_jeos;
lib/main_common.pm:    loadtest 'console/orphaned_packages_check' if get_var('UPGRADE');
lib/main_common.pm:    loadtest "console/repo_orphaned_packages_check" if is_jeos;
products/sle/main.pm:    loadtest 'console/orphaned_packages_check';

and this does not even include the module for build validation. It should be fine to have that in less places.


Related issues 1 (0 open1 closed)

Related to openQA Tests - action #47339: [functional][u][easy] Trigger orphaned_packages_check.pm as part of functional checksResolvedzluo2019-02-11

Actions
Actions #1

Updated by okurz almost 6 years ago

  • Copied from action #47339: [functional][u][easy] Trigger orphaned_packages_check.pm as part of functional checks added
Actions #2

Updated by okurz almost 6 years ago

  • Subject changed from [functional][u][easy] Trigger orphaned_packages_check.pm as part of functional checks to [functional][u][easy] Consolidate orphaned_packages_check.pm schedule
Actions #3

Updated by okurz almost 6 years ago

  • Copied from deleted (action #47339: [functional][u][easy] Trigger orphaned_packages_check.pm as part of functional checks)
Actions #4

Updated by okurz almost 6 years ago

  • Parent task set to #47195
Actions #5

Updated by okurz almost 6 years ago

  • Target version changed from Milestone 23 to Milestone 24
Actions #6

Updated by agraul over 5 years ago

  • Status changed from Workable to In Progress
  • Assignee set to agraul
Actions #7

Updated by agraul over 5 years ago

Regarding: lib/main_common.pm: loadtest "console/repo_orphaned_packages_check" if is_jeos;:

So far I fail to see the connection to orphaned_packages_check. This test module checks that no *-mini packages are installed, I am not sure if its name is a good choice.

Actions #8

Updated by agraul over 5 years ago

My first idea was to only load the test module from within load_consoletests, since that . I found one test scenario for SLE 15 SP1 (https://openqa.suse.de/tests/2488421) that does not load_consoletests and therefore would be left out. I think it makes more sense to skip the consolidation-only part and rather look at #47339 to find a common place for 'orphaned_packages_check" to be loaded.

Actions #9

Updated by okurz over 5 years ago

  • Status changed from In Progress to Workable
  • Assignee deleted (agraul)

back to the u-team backlog

Actions #10

Updated by zluo over 5 years ago

  • Status changed from Workable to In Progress
  • Assignee set to zluo

take over and checking now

Actions #11

Updated by zluo over 5 years ago

for load_online_migration_tests in products/sle/main.pm: loadtest 'console/orphaned_packages_check';
This should stay as it.

lib/main_common.pm: loadtest "console/orphaned_packages_check" if is_jeos;
lib/main_common.pm: loadtest 'console/orphaned_packages_check' if get_var('UPGRADE');
This can changed as together for sure.

lib/main_common.pm: loadtest "console/repo_orphaned_packages_check" if is_jeos;
this is a different test module, so no change.

Actions #12

Updated by zluo over 5 years ago

to check http://f40.suse.de/tests/3273 for sure that jeos test still includes orphaned_packages_check.
PR https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7198

Actions #13

Updated by zluo over 5 years ago

  • Related to action #47339: [functional][u][easy] Trigger orphaned_packages_check.pm as part of functional checks added
Actions #14

Updated by zluo over 5 years ago

  • Status changed from In Progress to Feedback

PR got merged and need to check on osd:
https://openqa.suse.de/tests/2785336 (sles 15)

https://openqa.suse.de/tests/2785695 (sles 12)

Actions #15

Updated by SLindoMansilla over 5 years ago

  • Status changed from Feedback to Workable

Verification runs finished. It seem to not being resolved. Removing from feedback queue.

Actions #17

Updated by zluo over 5 years ago

  • Status changed from In Progress to Resolved

And this is already consolidated as well.

Actions

Also available in: Atom PDF