From 81e78afa4f6e592480b150d46975e73575fab011 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) --- 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 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/foreman/api/test_ansible.py b/tests/foreman/api/test_ansible.py index 65bffca5dc6..3eb0f14b848 100644 --- a/tests/foreman/api/test_ansible.py +++ b/tests/foreman/api/test_ansible.py @@ -127,7 +127,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 a0ab51630af..445c8ad4126 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.'