Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2057505

Summary: [rhel-8.6] Backport latest test fixes in python3-ipatests
Product: Red Hat Enterprise Linux 8 Reporter: anuja <amore>
Component: ipaAssignee: Florence Blanc-Renaud <frenaud>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.6CC: frenaud, lmiksik, rcritten, rjeffman, sumenon, tscherf
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: idm-DL1-8060020220224175416.92098735 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2060841 (view as bug list) Environment:
Last Closed: 2022-05-10 14:09:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2060841    

Description anuja 2022-02-23 14:26:26 UTC
Please backport following commits into RHEL 9 python3-ipatests package

1) https://pagure.io/freeipa/c/663cd9af681370afd1d745ff2bdb3f85aa1094cd ipatests: Tests for Autoprivate group.
2) https://pagure.io/freeipa/c/9d1f227975c895b7f6005ebfac9f4565b09d280e mark xfail for test_idoverride_with_auto_private_group[hybrid]
3) https://pagure.io/freeipa/c/3403af580d80e349170a0cf03ac99753d1b5d93a Mark xfail test_gidnumber_not_corresponding_existing_group[true,hybrid]

Thank you!

Comment 7 anuja 2022-03-01 11:26:53 UTC
Marking verified tested:
using test-compose with versions:
2022-03-01T10:23:40+0000   - arch: x86_64
2022-03-01T10:23:40+0000     epoch: null
2022-03-01T10:23:40+0000     name: ipa-server
2022-03-01T10:23:40+0000     release: 7.module+el8.6.0+14337+19b76db2
2022-03-01T10:23:40+0000     source: rpm
2022-03-01T10:23:40+0000     version: 4.9.8
python3-ipatests-4.9.8-7.module+el8.6.0+14337+19b76db2.noarch


[GCC 8.5.0 20210514 (Red Hat 8.5.0-7)]
============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-3.10.1, py-1.11.0, pluggy-1.0.0 -- /usr/libexec/platform-python
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-369.el8.x86_64-x86_64-with-redhat-8.6-Ootpa', 'Packages': {'pytest': '3.10.1', 'py': '1.11.0', 'pluggy': '1.0.0'}, 'Plugins': {'metadata': '1.11.0', 'html': '1.22.1', 'multihost': '3.0', 'sourceorder': '0.6.0'}}
rootdir: /usr/lib/python3.6/site-packages/ipatests, inifile:
plugins: metadata-1.11.0, html-1.22.1, multihost-3.0, sourceorder-0.6.0
collecting ... collected 23 items

test_integration/test_trust.py::TestPosixAutoPrivateGroup::test_add_posix_trust PASSED [  4%]
...
...
test_integration/test_trust.py::TestNonPosixAutoPrivateGroup::test_nonposixuser_nondefault_primary_group[false] PASSED [100%]

---------------- generated xml file: /home/cloud-user/junit.xml ----------------
----------- generated html file: file:///home/cloud-user/report.html -----------
=========================== short test summary info ============================
XFAIL test_integration/test_trust.py::TestPosixAutoPrivateGroup::()::test_gidnumber_not_corresponding_existing_group[true]
  reason: https://github.com/SSSD/sssd/issues/5988
XFAIL test_integration/test_trust.py::TestNonPosixAutoPrivateGroup::()::test_idoverride_with_auto_private_group[hybrid]
  reason: https://github.com/SSSD/sssd/issues/5989
=================== 21 passed, 2 xfailed in 2675.30 seconds ====================

Comment 11 anuja 2022-03-07 10:29:33 UTC
Verified using nightly compose:
2022-03-07T07:38:47+0000     name: ipa-server
2022-03-07T07:38:47+0000     release: 7.module+el8.6.0+14337+19b76db2
2022-03-07T07:38:47+0000     source: rpm
2022-03-07T07:38:47+0000     version: 4.9.8
python3-ipatests-4.9.8-7.module+el8.6.0+14337+19b76db2.noarch

Test logs:
[GCC 8.5.0 20210514 (Red Hat 8.5.0-7)]
============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-3.10.1, py-1.11.0, pluggy-1.0.0 -- /usr/libexec/platform-python
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-369.el8.x86_64-x86_64-with-redhat-8.6-Ootpa', 'Packages': {'pytest': '3.10.1', 'py': '1.11.0', 'pluggy': '1.0.0'}, 'Plugins': {'metadata': '1.11.0', 'html': '1.22.1', 'multihost': '3.0', 'sourceorder': '0.6.0'}}
rootdir: /usr/lib/python3.6/site-packages/ipatests, inifile:
plugins: metadata-1.11.0, html-1.22.1, multihost-3.0, sourceorder-0.6.0
collecting ... collected 23 items

test_integration/test_trust.py::TestPosixAutoPrivateGroup::test_add_posix_trust PASSED [  4%]
...
...
test_integration/test_trust.py::TestNonPosixAutoPrivateGroup::test_nonposixuser_nondefault_primary_group[false] PASSED [100%]

=========================== short test summary info ============================
XFAIL test_integration/test_trust.py::TestPosixAutoPrivateGroup::()::test_gidnumber_not_corresponding_existing_group[true]
  reason: https://github.com/SSSD/sssd/issues/5988
XFAIL test_integration/test_trust.py::TestNonPosixAutoPrivateGroup::()::test_idoverride_with_auto_private_group[hybrid]
  reason: https://github.com/SSSD/sssd/issues/5989
=================== 21 passed, 2 xfailed in 2850.84 seconds ====================

Comment 16 errata-xmlrpc 2022-05-10 14:09:17 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 (idm:client and idm:DL1 bug fix and enhancement update), 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/RHEA-2022:1884