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.16.z] Migrate Old CV UI coverage (Upgrade) #16768

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #16283

Purpose

  • Migrate upgrade case from test_contentview_old.py (not collected during test sessions)
  • Promoted CVV in multiple environments, using UI to Delete the CVV and/or CV, removes it from the environments.
  • Needs Airgun 1592)

PRT Case (for Upgrade)

trigger: test-robottelo
pytest: tests/foreman/ui/test_contentview.py::test_positive_delete_cv_promoted_to_multi_env
airgun: 1592
env:
    ROBOTTELO_server__deploy_workflow: 'deploy-satellite-upgrade'
    ROBOTTELO_server__deploy_arguments__deploy_rhel_version: '9'
    ROBOTTELO_server__deploy_arguments__deploy_sat_version: '6.16'
    ROBOTTELO_server__deploy_arguments__deploy_snap_version: 'ystream'
    BROKER_AnsibleTower__inventory: 'osp-rhos01-satellite-upgrade'

CV_old upgrade case brought into new UI

(cherry picked from commit 8a2c367)
@Satellite-QE Satellite-QE requested a review from a team as a code owner October 24, 2024 17:15
@Satellite-QE Satellite-QE added 6.16.z Introduced in or relating directly to Satellite 6.16 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Oct 24, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_contentview.py::test_positive_delete_cv_promoted_to_multi_env
airgun: 1592

@Satellite-QE Satellite-QE added the AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing label Oct 24, 2024
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 9150
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/test_contentview.py::test_positive_delete_cv_promoted_to_multi_env --external-logging
Test Result : ================= 1 failed, 10 warnings in 1148.35s (0:19:08) ==================

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label Oct 24, 2024
@vsedmik
Copy link
Contributor

vsedmik commented Oct 25, 2024

@damoore044 , import of VERSION hasn't been cherry-picked to this branch, you'll need to add it

20:19:22  >           assert cv_info['Latest version'] == VERSION, (
20:19:22                  f'Latest version for CV {cv["name"]}: {cv_info["Latest version"]},'
20:19:22                  f' does not match expected: {VERSION}.'
20:19:22              )
20:19:22  E           NameError: name 'VERSION' is not defined

FAKE_FILE_NEW_NAME,
REPOS,
DataFile,
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
)
)
VERSION = 'Version 1.0'

Copy link

This pull request has not been updated in the past 45 days.

@github-actions github-actions bot added the Stale Stale issue or Pull Request label Dec 10, 2024
Copy link

This pull request is now being closed after stale warnings.

@github-actions github-actions bot closed this Dec 18, 2024
@Gauravtalreja1 Gauravtalreja1 deleted the cherry-pick-6.16.z-8a2c367162e39d35c5ca962f79373b5a80033eeb branch January 7, 2025 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.16.z Introduced in or relating directly to Satellite 6.16 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-Failed Indicates that latest PRT run is failed for the PR Stale Stale issue or Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants