Skip to content
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

[6.14.z] fix cli errata tests and update cli factory method #13555

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #13505

Problem Statement

Com eval - 2 tests were failing due to cli factory method > setup_org_for_a_rh_repo with error mentioned below
test_positive_list_filter_by_org_sort_by_date
test_positive_list_filter_by_cve

Error:

E AttributeError: 'Manifest' object has no attribute 'path'

Solution

Basically due to old way of cloning and uploading manifest into the satellite didn't work, also as per 6.15.z and later version of satellite *_sca_manifest_org fixture is supposed to be used.
With this fix above 2 tests and couple of few tests are expected to get fix.

Related Issues

The below 2 tests will get benifit of the change made in cli_factory and will pass accordingly.
cli.test_activationkey.py > test_positive_subscription_quantity_attached
cli.test_host.py > test_negative_without_attach_with_lce

@Satellite-QE Satellite-QE added 6.14.z Introduced in or relating directly to Satellite 6.14 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Dec 22, 2023
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/cli/test_errata.py -k 'test_positive_list_filter_by_org_sort_by_date or test_positive_list_filter_by_cve'

@Satellite-QE Satellite-QE added the AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing label Dec 22, 2023
@Satellite-QE Satellite-QE merged commit f227da0 into 6.14.z Dec 22, 2023
22 checks passed
@Satellite-QE Satellite-QE deleted the cherry-pick-6.14.z-bf97bdb2202c615281057b8f6707df9efe8fade2 branch December 22, 2023 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.14.z Introduced in or relating directly to Satellite 6.14 Auto_Cherry_Picked Automatically cherrypicked PR using GHA AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing No-CherryPick PR doesnt need CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants