Project

General

Profile

action #47342

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 over 3 years ago. Updated about 3 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

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

History

#1 Updated by okurz over 3 years ago

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

#2 Updated by okurz over 3 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

#3 Updated by okurz over 3 years ago

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

#4 Updated by okurz over 3 years ago

  • Parent task set to #47195

#5 Updated by okurz about 3 years ago

  • Target version changed from Milestone 23 to Milestone 24

#6 Updated by agraul about 3 years ago

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

#7 Updated by agraul about 3 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.

#8 Updated by agraul about 3 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.

#9 Updated by okurz about 3 years ago

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

back to the u-team backlog

#10 Updated by zluo about 3 years ago

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

take over and checking now

#11 Updated by zluo about 3 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.

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

#13 Updated by zluo about 3 years ago

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

#14 Updated by zluo about 3 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)

#15 Updated by SLindoMansilla about 3 years ago

  • Status changed from Feedback to Workable

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

#17 Updated by zluo about 3 years ago

  • Status changed from In Progress to Resolved

And this is already consolidated as well.

Also available in: Atom PDF