From dd60132fd5283a38b1d8ac37025d2065d1f51d0d Mon Sep 17 00:00:00 2001 From: Jameer Pathan <21165044+jameerpathan111@users.noreply.github.com> Date: Fri, 7 Jun 2024 08:45:35 +0200 Subject: [PATCH] Use jira issue to get bug status (#15359) (cherry picked from commit 7d1e8507894be3c2827a5cac76c22d9551414445) --- tests/foreman/api/test_ansible.py | 2 +- tests/foreman/api/test_organization.py | 2 +- tests/foreman/api/test_provisioning.py | 4 ++-- tests/foreman/sys/test_pulp3_filesystem.py | 2 +- tests/foreman/ui/test_computeresource_vmware.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/foreman/api/test_ansible.py b/tests/foreman/api/test_ansible.py index b637d4328b1..65648db1a05 100644 --- a/tests/foreman/api/test_ansible.py +++ b/tests/foreman/api/test_ansible.py @@ -299,7 +299,7 @@ def test_positive_read_facts_with_filter( # gather ansible facts by running ansible roles on the host host.play_ansible_roles() - if is_open('BZ:2216471'): + if is_open('SAT-18656'): wait_for( lambda: len(rex_contenthost.nailgun_host.get_facts()) > 0, timeout=30, diff --git a/tests/foreman/api/test_organization.py b/tests/foreman/api/test_organization.py index a2de908dc98..09b147b5c91 100644 --- a/tests/foreman/api/test_organization.py +++ b/tests/foreman/api/test_organization.py @@ -75,7 +75,7 @@ def test_positive_create(self, target_sat): headers={'content-type': 'text/plain'}, verify=False, ) - if is_open('BZ:2228820'): + if is_open('SAT-20559'): assert response.status_code in [http.client.UNSUPPORTED_MEDIA_TYPE, 500] else: assert response.status_code == http.client.UNSUPPORTED_MEDIA_TYPE diff --git a/tests/foreman/api/test_provisioning.py b/tests/foreman/api/test_provisioning.py index dcff1295da3..e4df44d3bab 100644 --- a/tests/foreman/api/test_provisioning.py +++ b/tests/foreman/api/test_provisioning.py @@ -557,11 +557,11 @@ def test_rhel_pxe_provisioning_fips_enabled( # Verify FIPS is enabled on host after provisioning is completed sucessfully if int(host_os.major) >= 8: result = provisioning_host.execute('fips-mode-setup --check') - fips_status = 'FIPS mode is disabled' if is_open('BZ:2240076') else 'FIPS mode is enabled' + fips_status = 'FIPS mode is disabled' if is_open('SAT-20386') else 'FIPS mode is enabled' assert fips_status in result.stdout else: result = provisioning_host.execute('cat /proc/sys/crypto/fips_enabled') - assert (0 if is_open('BZ:2240076') else 1) == int(result.stdout) + assert (0 if is_open('SAT-20386') else 1) == int(result.stdout) # Run a command on the host using REX to verify that Satellite's SSH key is present on the host template_id = ( diff --git a/tests/foreman/sys/test_pulp3_filesystem.py b/tests/foreman/sys/test_pulp3_filesystem.py index d4c04798c35..dda6526e651 100644 --- a/tests/foreman/sys/test_pulp3_filesystem.py +++ b/tests/foreman/sys/test_pulp3_filesystem.py @@ -34,7 +34,7 @@ def test_selinux_status(target_sat): result = target_sat.execute('getenforce') assert 'Enforcing' in result.stdout # check there are no SELinux denials - if not is_open('BZ:2263294'): + if not is_open('SAT-23121'): result = target_sat.execute('ausearch --input-logs -m avc -ts today --raw') assert result.status == 1, 'Some SELinux denials were found in journal.' diff --git a/tests/foreman/ui/test_computeresource_vmware.py b/tests/foreman/ui/test_computeresource_vmware.py index 0549e07f65a..8f77b66793f 100644 --- a/tests/foreman/ui/test_computeresource_vmware.py +++ b/tests/foreman/ui/test_computeresource_vmware.py @@ -401,7 +401,7 @@ def _finalize(): assert provider_content['cluster'] == settings.vmware.cluster assert provider_content['annotation_notes'] == annotation_notes assert provider_content['virtual_hw_version'] == virtual_hw_version - if not is_open('BZ:2266672'): + if not is_open('SAT-23630'): assert values['provider_content']['firmware'] == firmware assert provider_content['resource_pool'] == resource_pool assert provider_content['folder'] == folder