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.15.z] Errata coverage for CV Incremental Update #14065

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #13994

Purpose

  • Add coverage for incremental update, that it is available when expected, and
  • that the expected host's content-view and environment(s) are are updated as expected, and
  • the available errata/packages to host are updated by the incremental version as expected.
  • we can install updated packages and see the expected (filtered-security only) applicable errata/count drops, and
    the applicable packages count drops.
  • modification to helper method cv_publish_promote, which did not always filter environment ids for promotion as expected.

Coverage reason

We already have some testing for if any incremental update is needed on a single view/environment, test_positive_incremental_update_required:

  • But the existing test doesn't check the successful update and new CV version itself (contained errata/content). Or how the registered host's applicability is affected by the new version.

PRT Case

trigger: test-robottelo
pytest: tests/foreman/api/test_errata.py::test_positive_incremental_update_apply_to_envs_cvs

Incremental update errata coverage

(cherry picked from commit f9e5fc6)
@Satellite-QE Satellite-QE added the 6.15.z Introduced in or relating directly to Satellite 6.15 label Feb 13, 2024
@Satellite-QE Satellite-QE requested a review from a team as a code owner February 13, 2024 16:58
@Satellite-QE Satellite-QE added Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Feb 13, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/api/test_errata.py::test_positive_incremental_update_apply_to_envs_cvs

@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 5704
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/api/test_errata.py::test_positive_incremental_update_apply_to_envs_cvs
Test Result : ================= 1 passed, 11 warnings in 1033.40s (0:17:13) ==================

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Feb 13, 2024
@damoore044 damoore044 added the AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing label Feb 13, 2024
@Satellite-QE Satellite-QE merged commit 229546e into 6.15.z Feb 13, 2024
16 checks passed
@Satellite-QE Satellite-QE deleted the cherry-pick-6.15.z-f9e5fc6448e89255e0a1bb6d3e2ed8caa4b502ad branch February 13, 2024 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.15.z Introduced in or relating directly to Satellite 6.15 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 PRT-Passed Indicates that latest PRT run is passed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants