coordination #73627
closed
[epic][qe-core][migration][functional] Move common-criteria pattern out of allpatterns tests
Added by fcrozat over 4 years ago.
Updated about 3 years ago.
Estimated time:
(Total: 16.00 h)
Description
Currently, test which install "all patterns" will also install common criteria pattern (patterns-certification-common-criteria).
This pattern is changing drastically how SLES system behaves regarding obtaining root privileges, using "su" or "polkit". This is causing test failures in openQA (https://bugzilla.suse.com/show_bug.cgi?id=1177446 and https://bugzilla.suse.com/show_bug.cgi?id=1177445 )
I would suggest to ensure patterns-certification-common-criteria pattern is NOT installed in the "all patterns" case (because it causes a change in default behaviour) and have a specific set of tests where patterns-certification-common-criteria is installed and tests are adapted to detected those "behaviour" changes. This would ensure CC pattern is really doing what it is supposed to do, without causing side effects on the "all patterns" testcase.
@weigao, I guess that will aslo affect migration tests.
- Subject changed from Move common-criteria pattern out of allpatterns tests to [u][migration][functional] Move common-criteria pattern out of allpatterns tests
- Priority changed from Normal to High
- Related to action #73645: [sle][migration][SLE15SP3] Remove common-criteria pattern for all patterns test added
As this is kind of a legacy test scenario, and the real objective seems to be ensuring that packages don't conflict with each other, I just created: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/11252
I'll propose in the next grooming meeting of my functional team to move away from installation, and boot an installed system instead, enable all the modules and install all patterns where applicable, as this would be faster, than adapting the installation workflow to exclude CC pattern
and the end result would be the same.
maritawerner wrote:
@weigao, I guess that will aslo affect migration tests.
@Marita we will check it and 73645 is for tracking this. Thanks for notification.
- Status changed from New to In Progress
- Assignee set to szarate
- Status changed from In Progress to New
- Assignee deleted (
szarate)
Working on subtask, unasigning from this one.
- Subject changed from [u][migration][functional] Move common-criteria pattern out of allpatterns tests to [qe-core][migration][functional] Move common-criteria pattern out of allpatterns tests
Hi @szarate, will function team modify select_patterns related functions to support method to remove common-criteria pattern out of all patterns scenario? Currently it will make us hard to create SLES15SP2 qcow2 without common-criteria pattern for all patterns. Thanks.
- Status changed from New to Workable
- Category set to Infrastructure
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: select_modules_and_patterns
https://openqa.suse.de/tests/7508325
To prevent further reminder comments one of the following options should be followed:
- The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
- The openQA job group is moved to "Released" or "EOL" (End-of-Life)
- The bugref in the openQA scenario is removed or replaced, e.g.
label:wontfix:boo1234
- Tracker changed from action to coordination
- Subject changed from [qe-core][migration][functional] Move common-criteria pattern out of allpatterns tests to [epic][qe-core][migration][functional] Move common-criteria pattern out of allpatterns tests
- Status changed from Workable to Resolved
This seems to have been resolved by both the migration and the security team.
Also available in: Atom
PDF