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

Enable repos for long failing hostCollection UI tests #16593

Merged

Conversation

LadislavVasina1
Copy link
Contributor

@LadislavVasina1 LadislavVasina1 commented Oct 7, 2024

Problem Statement

6 UI host collection tests require that the reposets which are assigned to the hosts are enabled by the test setup which is not happening at the moment in 6.15.z.

Solution

Add repository override parameter to the setup_content function which is part of the module_repos_collection fixture that is used by the failing tests.
image

PRT test Cases example

trigger: test-robottelo
pytest: tests/foreman/ui/test_hostcollection.py -k 'test_positive_install_package or test_positive_remove_package or test_positive_upgrade_package or test_positive_install_package_group or test_positive_install_remove_package_group or test_positive_install_errata'

@LadislavVasina1 LadislavVasina1 added UI Issues and PRs involving the UI No-CherryPick PR doesnt need CherryPick to previous branches 6.15.z Introduced in or relating directly to Satellite 6.15 labels Oct 7, 2024
@LadislavVasina1 LadislavVasina1 requested review from sambible, vsedmik and a team October 7, 2024 06:52
@LadislavVasina1 LadislavVasina1 self-assigned this Oct 7, 2024
@LadislavVasina1
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_hostcollection.py -k 'test_positive_install_package or test_positive_remove_package or test_positive_upgrade_package or test_positive_install_package_group or test_positive_install_remove_package_group or test_positive_install_errata'

@LadislavVasina1
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_hostcollection.py -k 'test_positive_install_package or test_positive_remove_package or test_positive_upgrade_package or test_positive_install_package_group or test_positive_install_remove_package_group or test_positive_install_errata'
deploy_rhel_version: 8

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 8885
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_hostcollection.py -k test_positive_install_package or test_positive_remove_package or test_positive_upgrade_package or test_positive_install_package_group or test_positive_install_remove_package_group or test_positive_install_errata --external-logging
Test Result : ========== 6 passed, 8 deselected, 815 warnings in 2703.63s (0:45:03) ==========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Oct 7, 2024
@LadislavVasina1 LadislavVasina1 requested a review from a team October 7, 2024 11:45
@pondrejk pondrejk merged commit 10d6c5a into SatelliteQE:6.15.z Oct 7, 2024
17 checks passed
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 No-CherryPick PR doesnt need CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR UI Issues and PRs involving the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants