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] add & remove ansible role #14835

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #14556

Problem Statement

Ansible role should be added and removed for new_ui host

Solution

Added test coverage to resolve above problem statement

Additional info

Removed test_positive_assign_role_in_new_ui , because single test case is covering add and remove scenario.

Dependent PR: SatelliteQE/airgun#1347

* add remove ansible role from host

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit 2d915bc)
@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 Apr 18, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt -k test_positive_assign_and_remove_ansible_role_to_host
airgun: 1347

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

PRT Result

Build Number: 112
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt -k test_positive_assign_and_remove_ansible_role_to_host --external-logging
Test Result : ========== 1 failed, 14 deselected, 26 warnings in 883.59s (0:14:43) ===========

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label Apr 18, 2024
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 6604
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt -k test_positive_assign_and_remove_ansible_role_to_host --external-logging
Test Result : ========== 1 failed, 14 deselected, 26 warnings in 913.06s (0:15:13) ===========

@shweta83
Copy link
Contributor

@amolpati30 Can you please check the failure?

@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 6613
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt -k test_positive_assign_and_remove_ansible_role_to_host --external-logging
Test Result : ========== 1 failed, 14 deselected, 26 warnings in 813.71s (0:13:33) ===========

@shubhamsg199
Copy link
Contributor

trigger: test-robottelo
pytest: tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt -k test_positive_assign_and_remove_ansible_role_to_host

@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 6615
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt -k test_positive_assign_and_remove_ansible_role_to_host --external-logging
Test Result : ========== 1 passed, 14 deselected, 29 warnings in 811.66s (0:13:31) ===========

@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 Apr 19, 2024
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 122
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_ansible.py::TestAnsibleCfgMgmt -k test_positive_assign_and_remove_ansible_role_to_host --external-logging
Test Result : ========== 1 passed, 14 deselected, 29 warnings in 819.02s (0:13:39) ===========

@Satellite-QE Satellite-QE merged commit a6f2f9b into 6.14.z Apr 19, 2024
19 of 22 checks passed
@Satellite-QE Satellite-QE deleted the cherry-pick-6.14.z-2d915bcd6043486dc1ffd2da466dad2089ef6d9e branch April 19, 2024 08:35
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 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.

4 participants