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

Add test coverage for BZ:2187967 #14464

Merged

Conversation

Gauravtalreja1
Copy link
Collaborator

Problem Statement

Missing coverage for BZ:2187967, which verifies ansible roles inheritance functionality for host with parent/nested hostgroup

Solution

Add a end-to-end test to cover this customer scenario from BZ:2187967

@Gauravtalreja1 Gauravtalreja1 added QETestCoverage Issues and PRs relating to a Satellite bug CherryPick PR needs CherryPick to previous branches AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing 6.14.z Introduced in or relating directly to Satellite 6.14 6.15.z Introduced in or relating directly to Satellite 6.15 labels Mar 20, 2024
@Gauravtalreja1 Gauravtalreja1 self-assigned this Mar 20, 2024
@Gauravtalreja1 Gauravtalreja1 requested a review from a team as a code owner March 20, 2024 17:16
@Gauravtalreja1
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/api/test_ansible.py -k test_positive_ansible_roles_inherited_from_hostgroup

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 6146
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/api/test_ansible.py -k test_positive_ansible_roles_inherited_from_hostgroup --external-logging
Test Result : ======= 1 passed, 11 deselected, 1 warning, 1 error in 993.07s (0:16:33) =======

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label Mar 20, 2024
@Gauravtalreja1 Gauravtalreja1 force-pushed the ansible-hg-host-inheritance-api branch from ae5eafb to fa8a343 Compare March 20, 2024 17:44
@Gauravtalreja1
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/api/test_ansible.py -k test_positive_ansible_roles_inherited_from_hostgroup

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 6149
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/api/test_ansible.py -k test_positive_ansible_roles_inherited_from_hostgroup --external-logging
Test Result : ======= 1 passed, 11 deselected, 1 warning, 1 error in 772.28s (0:12:52) =======

@Gauravtalreja1 Gauravtalreja1 force-pushed the ansible-hg-host-inheritance-api branch from fa8a343 to 1147849 Compare March 20, 2024 21:26
@Gauravtalreja1
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/api/test_ansible.py -k test_positive_ansible_roles_inherited_from_hostgroup

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 6151
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/api/test_ansible.py -k test_positive_ansible_roles_inherited_from_hostgroup --external-logging
Test Result : =========== 1 passed, 11 deselected, 1 warning in 779.65s (0:12:59) ============

@Satellite-QE Satellite-QE added PRT-Passed Indicates that latest PRT run is passed for the PR and removed PRT-Failed Indicates that latest PRT run is failed for the PR labels Mar 20, 2024
Signed-off-by: Gaurav Talreja <[email protected]>
@Gauravtalreja1 Gauravtalreja1 force-pushed the ansible-hg-host-inheritance-api branch from 1147849 to 512fd51 Compare March 21, 2024 09:57
@Satellite-QE Satellite-QE removed the PRT-Passed Indicates that latest PRT run is passed for the PR label Mar 21, 2024
@Gauravtalreja1 Gauravtalreja1 added the PRT-Passed Indicates that latest PRT run is passed for the PR label Mar 21, 2024
@Satellite-QE Satellite-QE removed the PRT-Passed Indicates that latest PRT run is passed for the PR label Mar 26, 2024
@Gauravtalreja1 Gauravtalreja1 added the PRT-Passed Indicates that latest PRT run is passed for the PR label Mar 27, 2024
@pondrejk pondrejk merged commit c8b9584 into SatelliteQE:master Mar 28, 2024
9 checks passed
github-actions bot pushed a commit that referenced this pull request Mar 28, 2024
* Add test coverage for BZ:2187967

Signed-off-by: Gaurav Talreja <[email protected]>

* Fix typo in the test metadata suggested by lhellebr

Co-authored-by: Lukáš Hellebrandt <[email protected]>

---------

Signed-off-by: Gaurav Talreja <[email protected]>
Co-authored-by: Lukáš Hellebrandt <[email protected]>
(cherry picked from commit c8b9584)
github-actions bot pushed a commit that referenced this pull request Mar 28, 2024
* Add test coverage for BZ:2187967

Signed-off-by: Gaurav Talreja <[email protected]>

* Fix typo in the test metadata suggested by lhellebr

Co-authored-by: Lukáš Hellebrandt <[email protected]>

---------

Signed-off-by: Gaurav Talreja <[email protected]>
Co-authored-by: Lukáš Hellebrandt <[email protected]>
(cherry picked from commit c8b9584)
@Gauravtalreja1 Gauravtalreja1 deleted the ansible-hg-host-inheritance-api branch March 28, 2024 12:08
shweta83 pushed a commit to shweta83/robottelo that referenced this pull request Apr 10, 2024
* Add test coverage for BZ:2187967

Signed-off-by: Gaurav Talreja <[email protected]>

* Fix typo in the test metadata suggested by lhellebr

Co-authored-by: Lukáš Hellebrandt <[email protected]>

---------

Signed-off-by: Gaurav Talreja <[email protected]>
Co-authored-by: Lukáš Hellebrandt <[email protected]>
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 6.15.z Introduced in or relating directly to Satellite 6.15 AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing CherryPick PR needs CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR QETestCoverage Issues and PRs relating to a Satellite bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants