RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2053025 - [rhel-9.0] Backport latest test fixes in python3-ipatests
Summary: [rhel-9.0] Backport latest test fixes in python3-ipatests
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: ipa
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florence Blanc-Renaud
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-10 13:36 UTC by anuja
Modified: 2022-05-17 13:00 UTC (History)
5 users (show)

Fixed In Version: ipa-4.9.8-5.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 12:44:26 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-7833 0 None None None 2022-02-10 13:48:43 UTC
Red Hat Issue Tracker RHELPLAN-111842 0 None None None 2022-02-10 13:48:47 UTC
Red Hat Product Errata RHBA-2022:2387 0 None Closed The graph (Grafana - Top 5 Most Utilized Disks - I/O operations/sec (over time) (BR10A)) shows meaningless values 2022-05-31 12:08:19 UTC

Comment 2 Michal Polovka 2022-02-15 14:29:37 UTC
Pre-verified manually using RHEL9 machine with compose http://artifacts.osci.redhat.com/comp/rhel-9.0.0/43038828-3332-ipa and python3-ipatests-4.9.8-5.el9.noarch

============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.9.10', 'Platform': 'Linux-5.14.0-56.el9.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '6.2.2', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.7.0', 'multihost': '3.0', 'sourceorder': '0.5', 'html': '3.1.1'}}
rootdir: /usr/lib/python3.9/site-packages/ipatests
plugins: metadata-1.7.0, multihost-3.0, sourceorder-0.5, html-3.1.1
collecting ... collected 7 items
...
test_integration/test_otp.py::TestOTPToken::test_check_otpd_after_idle_timeout PASSED [100%]

Content of /usr/lib/python3.9/site-packages/ipatests/test_integration/test_otp.py
from commit 4c54e9d6ddb72eab6f654bf3dc2d29f27498ac96
358             tasks.ldapsearch_dm(self.master, "", ldap_args=[], scope="base")
359 
from commit b36bcf4ea5ed93baa4dc63f8e2be542d678211fb
315     def setup_otp_nsslapd(self):
316         check_services = self.master.run_command(
317             ['systemctl', 'list-units', '--state=failed']
318         )
319         assert "ipa-otpd" not in check_services.stdout_text
320         # Be sure no services are running and failed units


Required commits are present, Therefore marking as pre-verified tested.

Comment 5 Michal Polovka 2022-02-22 14:11:51 UTC
Verified with nightly compose on RHEL9.0 machine with python3-ipatests-4.9.8-5.el9.noarch

Content of /usr/lib/python3.9/site-packages/ipatests/test_integration/test_otp.py from commit 4c54e9d6ddb72eab6f654bf3dc2d29f27498ac96:

356             # ldapsearch will wake up slapd and force walking through
357             # the connection list, in order to spot the idle connections
358             tasks.ldapsearch_dm(self.master, "", ldap_args=[], scope="base")
359 
 

from commit b36bcf4ea5ed93baa4dc63f8e2be542d678211fb:
315     def setup_otp_nsslapd(self):
316         check_services = self.master.run_command(
317             ['systemctl', 'list-units', '--state=failed']
318         )
319         assert "ipa-otpd" not in check_services.stdout_text
320         # Be sure no services are running and failed units

============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.9.10', 'Platform': 'Linux-5.14.0-58.el9.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '6.2.2', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.7.0', 'multihost': '3.0', 'sourceorder': '0.5', 'html': '3.1.1'}}
rootdir: /usr/lib/python3.9/site-packages/ipatests
plugins: metadata-1.7.0, multihost-3.0, sourceorder-0.5, html-3.1.1
collecting ... collected 7 items

test_integration/test_otp.py::TestOTPToken::test_otp_auth_ind PASSED     [ 14%]
test_integration/test_otp.py::TestOTPToken::test_hopt PASSED             [ 28%]
test_integration/test_otp.py::TestOTPToken::test_totp PASSED             [ 42%]
test_integration/test_otp.py::TestOTPToken::test_otptoken_sync PASSED    [ 57%]
test_integration/test_otp.py::TestOTPToken::test_2fa_enable_single_prompt PASSED [ 71%]
test_integration/test_otp.py::TestOTPToken::test_2fa_disable_single_prompt PASSED [ 85%]
test_integration/test_otp.py::TestOTPToken::test_check_otpd_after_idle_timeout PASSED [100%]


Required commits are present, test fix is present, therefore marking as Verified. Automation is and will not be present.

Comment 7 errata-xmlrpc 2022-05-17 12:44:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: ipa), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2387


Note You need to log in before you can comment on or make changes to this bug.