-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RHEL10 Clients coverage, rhel7 & 8 hosts bumped #17003
base: master
Are you sure you want to change the base?
Conversation
trigger: test-robottelo |
^ ignoring errata rhel10 cases for first collection, Works locally but fails for PRT, see below for proper CI exclusion comment
|
|
|
^ foreman/API tests with rhel10 params, ignoring test_errata.py |
|
829ef70
to
a008694
Compare
|
PRT Result
|
a008694
to
2b76a7f
Compare
|
^ Full test of all cases |
2b76a7f
to
595f819
Compare
trigger: test-robottelo |
PRT Result
|
595f819
to
d26d767
Compare
trigger: test-robottelo |
PRT Result
|
a16ae35
to
448d830
Compare
trigger: test-robottelo |
trigger: test-robottelo |
PRT Result
|
448d830
to
3850055
Compare
trigger: test-robottelo |
77ecb95
to
73a09d7
Compare
|
pre-commit.ci autofix |
2c36c06
to
8740193
Compare
PRT Result
|
8740193
to
ecaec78
Compare
ecaec78
to
a84e060
Compare
trigger: test-robottelo |
PRT Result
|
a84e060
to
6c37fb3
Compare
trigger: test-robottelo |
PRT Result
|
6c37fb3
to
45c606e
Compare
trigger: test-robottelo |
trigger: test-robottelo |
PRT Result
|
PRT Result
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good to me, I've only put a couple of nits below to address.
Somewhat bigger question is the usage of rhelX_contenthost
. There was a discussion at the JPL call this week about moving away from them to rhel_contenthost
+ param (to resolve the IPv6 hosts deploy issue). @JacobCallahan said he would raise a PR for that, which would cause a merge conflict for one of you.
I'd propose both of you to negotiate on the next steps so you don't double the work. Anyway we might like to avoid the rhelX_contenthost
s in this PR to minimize the conflict.
@@ -908,11 +886,10 @@ def test_module_stream_actions_on_content_host( | |||
'module_repos_collection_with_manifest', | |||
[ | |||
{ | |||
'distro': 'rhel8', | |||
'distro': 'rhel10', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'distro': 'rhel10', | |
'distro': CHOST_RHEL_VER, |
@@ -973,11 +950,10 @@ def test_module_streams_customize_action(session, default_location, vm_module_st | |||
'module_repos_collection_with_manifest', | |||
[ | |||
{ | |||
'distro': 'rhel8', | |||
'distro': 'rhel10', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'distro': 'rhel10', | |
'distro': CHOST_RHEL_VER, |
@@ -1050,11 +1026,10 @@ def test_install_modular_errata(session, default_location, vm_module_streams): | |||
'module_repos_collection_with_manifest', | |||
[ | |||
{ | |||
'distro': 'rhel8', | |||
'distro': 'rhel10', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'distro': 'rhel10', | |
'distro': CHOST_RHEL_VER, |
@@ -1439,6 +1412,7 @@ def test_syspurpose_bulk_action(session, default_location, vm): | |||
session.location.select(default_location.name) | |||
session.contenthost.bulk_set_syspurpose([vm.hostname], syspurpose_attributes) | |||
details = session.contenthost.read(vm.hostname, widget_names='details')['details'] | |||
result = vm.execute('subscription-manager repos') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a forgotten debug line. Do we need it?
'''chost.run(f'yum install -y {REAL_RHEL8_1_PACKAGE_FILENAME}') | ||
erratum = _fetch_available_errata(host, 2) | ||
assert len(erratum) == 2 | ||
assert REAL_RHEL8_1_ERRATA_ID in [errata['errata_id'] for errata in erratum] | ||
assert REAL_RHEL8_1_ERRATA_ID in [errata['errata_id'] for errata in erratum]''' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this "stringed out" intentionally?
I'd rather use #
if you aimed to remark it out, or remove completely.
Update RH repos for RHEL10 Beta, BaseOS, and Appstream
Migrate existing rhel 7 and 8 content hosts to rhel 9 and 10.
By parametrization of host fixtures listed here: /pytest_plugins/fixture_markers.py
or by importing the newly added fixtures
rhel10_contenthost
,rhel10_contenthost_module
Fore Reviewers: Many clients are still using RHEL8, and their BZ coverage relies on some RedHat packages, errata, content etc, that is not yet available for RHEL10. Should we bump these 8 clients to RHEL9, until the needed content is available for RHEL10?
PRT
For cases using fixture
rhel_contenthost
parametrized by
pytest.marker.rhel_ver_match
orrhel_ver_list